You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
662 B

  1. \begin{logicproof}{2}
  2. (p \implies q)
  3. \land (q \implies p) & \prem \\
  4. p \lor \lnot p & $\LEM$ \\
  5. \begin{subproof}
  6. p & \assum \\
  7. p \implies q & $\ande{1} 1$ \\
  8. q & $\impe 3,4$ \\
  9. p \land q & $\andi 3,5$ \\
  10. (p \land q) \lor (\lnot p \land \lnot q) & $\ori{1} 6$
  11. \end{subproof}
  12. \begin{subproof}
  13. \lnot p & \assum \\
  14. q \implies p & $\ande{2} 1$ \\
  15. \lnot q & $\MT 8,9$ \\
  16. \lnot p \land \lnot q & $\andi 8,10$ \\
  17. (p \land q) \lor (\lnot p \land \lnot q) & $\ori{2} 11$
  18. \end{subproof}
  19. (p \land q) \lor (\lnot p \land \lnot q) & $\ore 2,3-7,8-12$
  20. \end{logicproof}