You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function returns the length of a formula (parentheses and spaces are ignored).
Useful for proofs by induction on the length of a propositional formula.
sage: f = propcalc.formula("a")
sage: len(f)
1
sage: g = propcalc.formula("a|b")
sage: len(g)
3