Metamath Proof Explorer


Table of Contents - 21.26.2. The language of Propositional Calculus.

Sentences of propositional calculus are encoded as sequences of nonnegative integers. Variables are encoded as where is a natural number. The negation of a sentence of propositional calculus is encoded as . Two sentences of propositional calculus and can be combined using the implication . To avoid the necessity of brackets, this is done in an RPN-format. We can thus encode the sentence " implies " as .

  1. cpropvar
  2. cpropneg
  3. cpropimp
  4. df-propvar
  5. df-propneg
  6. df-propimp
  7. cprop
  8. df-prop
  9. dfproplem
  10. varprop
  11. negprop
  12. impprop
  13. dfprop1
  14. dfprop2
  15. dfprop