ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  xorbin GIF version

Theorem xorbin 1374
Description: A consequence of exclusive or. In classical logic the converse also holds. (Contributed by Jim Kingdon, 8-Mar-2018.)
Assertion
Ref Expression
xorbin ((𝜑𝜓) → (𝜑 ↔ ¬ 𝜓))

Proof of Theorem xorbin
StepHypRef Expression
1 df-xor 1366 . . 3 ((𝜑𝜓) ↔ ((𝜑𝜓) ∧ ¬ (𝜑𝜓)))
2 imnan 680 . . . . 5 ((𝜑 → ¬ 𝜓) ↔ ¬ (𝜑𝜓))
32biimpri 132 . . . 4 (¬ (𝜑𝜓) → (𝜑 → ¬ 𝜓))
43adantl 275 . . 3 (((𝜑𝜓) ∧ ¬ (𝜑𝜓)) → (𝜑 → ¬ 𝜓))
51, 4sylbi 120 . 2 ((𝜑𝜓) → (𝜑 → ¬ 𝜓))
6 pm2.53 712 . . . . 5 ((𝜓𝜑) → (¬ 𝜓𝜑))
76orcoms 720 . . . 4 ((𝜑𝜓) → (¬ 𝜓𝜑))
87adantr 274 . . 3 (((𝜑𝜓) ∧ ¬ (𝜑𝜓)) → (¬ 𝜓𝜑))
91, 8sylbi 120 . 2 ((𝜑𝜓) → (¬ 𝜓𝜑))
105, 9impbid 128 1 ((𝜑𝜓) → (𝜑 ↔ ¬ 𝜓))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 698  wxo 1365
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699
This theorem depends on definitions:  df-bi 116  df-xor 1366
This theorem is referenced by:  xornbi  1376  zeo4  11807  odd2np1  11810
  Copyright terms: Public domain W3C validator