Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

well-formed formula

A string of symbols that counts as a sentence of the formal language.

A well-formed formula is any string built by the formation rules: every sentence letter is one; if A is one, so is its negation; if A and B are, so is each of their conjunction, disjunction, conditional, and biconditional, wrapped in brackets. Nothing else is.

Examples

  • (P ∧ Q) → R is well-formed.

  • P ∧ ∨ Q is not.

Read the full section →