Proof Result:

Logical Language and Proofs

Formulas

The standard propositional logical symbols can be used. Specifically, the allowed symbols and their representations are

Justification

Each line of a proof consists of a formula written with variables and the symbols above and a justification. The justification is separated by : and consists of numbers, referencing the lines that justify the current formula. The possible justifications are

Writing Proofs

Proofs are started with a show line, which consists of show followed by the formula to be proved. The following lines are formulas with justifications, until the QED line.

Proof Techniques

There are three styles of proofs that are allowed: direct derivations, conditional derivations, and indirect derivations. They are identified by their QED lines.

Note that proofs can be nested using show and QED lines as usual.

Examples of Proofs

Law of Excluded Middle: T |- (p \/ --p)

1. show: (p \/ --p)
2. show: ----(p \/ --p)
3. --(p \/ --p) :AS
4. show: --p
5. p :AS
6. p \/ --p :ADD 5
7. :ID 3 6
8. p \/ --p :ADD 4
9. :ID 3 8
10. p \/ --p :DNE 2
11. :DD 10

One version of DeMorgan's Law: --(P /\ Q) |- --P \/ --Q

1. show: --P \/ --Q
2. --(P /\ Q) :PR
3. show: ----(--P \/ --Q)
4. --(--P \/ --Q) :AS
5. show: ----P
6. --P :AS
7. --P \/ --Q :ADD 6
8. :ID 4 7
9. P :DNE 5
10. show: ----Q
11. --Q :AS
12. --P \/ --Q :ADD 11
13. :ID 4 12
14. Q :DNE 10
15. P /\ Q :ADJ 9 14
16. :ID 2 15
17. --P \/ --Q :DNE 3
18. :DD 17