A well-formed formula in propositional logic is a formula constructed from the set of rules below:

  • An atomic proposition is well-formed.
  • If is well-formed, then so is
  • If and are well-formed, then so are , , , and .
  • If is well-formed, then so is .