Theorem mtpxor

Modus tollendo ponens (original exclusive-or version), aka disjunctive syllogism, similar to mtpor, one of the five "indemonstrables" in Stoic logic. The rule says: "if \( \varphi \) is not true, and either \( \varphi \) or \( \psi \) (exclusively) are true, then \( \psi \) must be true". Today the name "modus tollendo ponens" often refers to a variant, the inclusive-or version as defined in mtpor. See rule 3 on [Lopez-Astorga] p. 12 (note that the "or" is the same as mptxor, that is, it is exclusive-or [df-xor] ), rule 3 of [Sanford] p. 39 (where it is not as clearly stated which kind of "or" is used but it appears to be in the same sense as mptxor ), and rule A5 in [Hitchcock] p. 5 (exclusive-or is expressly used). (Contributed by David A. Wheeler, 4-Jul-2016.) (Proof shortened by Wolf Lammen, 11-Nov-2017.) (Proof shortened by BJ, 19-Apr-2019.)

Hypotheses
mtpxor.min
\( \vdash \neg \varphi \)
mtpxor.maj
\( \vdash \varphi \veebar \psi \)
Conclusion
\( \vdash \psi \)
Proof
l0
mtpxor.min
\( \vdash \neg \varphi \)
l1
mtpxor.maj
\( \vdash \varphi \veebar \psi \)
xoror
\( \vdash \varphi \veebar \psi \rightarrow \varphi \vee \psi \)
ax-mp l1 _
\( \vdash \varphi \vee \psi \)
mtpor l0 _