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.

23 lines
649 B

  1. \begin{logicproof}{2}
  2. q \lor \lnot q & $\LEM$ \\
  3. \begin{subproof}
  4. q & \assum\\
  5. \begin{subproof}
  6. p & \assum\\
  7. q & $\copying 2$
  8. \end{subproof}
  9. p \imp q & $\impi 3-4$ \\
  10. (p \to q) \lor (q \to r) & $\ori{1} 5$
  11. \end{subproof}
  12. \begin{subproof}
  13. \lnot q & \assum\\
  14. \begin{subproof}
  15. q & \assum\\
  16. \bot & $\nege 7,8$ \\
  17. r & $\bote 9$
  18. \end{subproof}
  19. q \imp r & $\impi 8-10$ \\
  20. (p \imp q) \lor (q \imp r) & $\ori{2} 11$
  21. \end{subproof}
  22. (p \to q) \lor (q \to r) & $\ore 1, 2-6,7-12$
  23. \end{logicproof}