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.

30 lines
980 B

  1. \begin{logicproof}{2}
  2. p \implies q & \prem \\
  3. (p \land r) \lor q & \prem \\
  4. \begin{subproof}
  5. q \implies p & \assum \\
  6. \begin{subproof}
  7. p \land r & \assum \\
  8. r & $\ande{2} 4$ \\
  9. r \lor q & $\ori{1} 5$
  10. \end{subproof}
  11. \begin{subproof}
  12. q & \assum \\
  13. r \lor q & $\ori{2} 7$
  14. \end{subproof}
  15. r \lor q & $\ore 2,4-6,7-8$ \\
  16. \begin{subproof}
  17. p \land r & \assum \\
  18. p & $\ande{1} 10 $\\
  19. q & $\impe 1,11$ \\
  20. (s \land t) \lor q & $\ori{2} 12$
  21. \end{subproof}
  22. \begin{subproof}
  23. q & \assum \\
  24. (s \land t) \lor q & $\ori{2} 14$
  25. \end{subproof}
  26. (s \land t) \lor q & $\ore 2,10-13,14-15 $\\
  27. ((s \land t) \lor q) \land (r \lor q) & $\andi 16,9$
  28. \end{subproof}
  29. (q \implies p) \implies ((s \land t) \lor q) \land (r \lor q) & $\impi 3-17$
  30. \end{logicproof}