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

Theorem xoranor 1372
Description: One way of defining exclusive or. Equivalent to df-xor 1371. (Contributed by Jim Kingdon and Mario Carneiro, 1-Mar-2018.)
Assertion
Ref Expression
xoranor ((𝜑𝜓) ↔ ((𝜑𝜓) ∧ (¬ 𝜑 ∨ ¬ 𝜓)))

Proof of Theorem xoranor
StepHypRef Expression
1 df-xor 1371 . . 3 ((𝜑𝜓) ↔ ((𝜑𝜓) ∧ ¬ (𝜑𝜓)))
2 ax-ia3 107 . . . . . . 7 (𝜑 → (𝜓 → (𝜑𝜓)))
32con3d 626 . . . . . 6 (𝜑 → (¬ (𝜑𝜓) → ¬ 𝜓))
4 olc 706 . . . . . 6 𝜓 → (¬ 𝜑 ∨ ¬ 𝜓))
53, 4syl6 33 . . . . 5 (𝜑 → (¬ (𝜑𝜓) → (¬ 𝜑 ∨ ¬ 𝜓)))
6 pm3.21 262 . . . . . . 7 (𝜓 → (𝜑 → (𝜑𝜓)))
76con3d 626 . . . . . 6 (𝜓 → (¬ (𝜑𝜓) → ¬ 𝜑))
8 orc 707 . . . . . 6 𝜑 → (¬ 𝜑 ∨ ¬ 𝜓))
97, 8syl6 33 . . . . 5 (𝜓 → (¬ (𝜑𝜓) → (¬ 𝜑 ∨ ¬ 𝜓)))
105, 9jaoi 711 . . . 4 ((𝜑𝜓) → (¬ (𝜑𝜓) → (¬ 𝜑 ∨ ¬ 𝜓)))
1110imdistani 443 . . 3 (((𝜑𝜓) ∧ ¬ (𝜑𝜓)) → ((𝜑𝜓) ∧ (¬ 𝜑 ∨ ¬ 𝜓)))
121, 11sylbi 120 . 2 ((𝜑𝜓) → ((𝜑𝜓) ∧ (¬ 𝜑 ∨ ¬ 𝜓)))
13 pm3.14 748 . . . 4 ((¬ 𝜑 ∨ ¬ 𝜓) → ¬ (𝜑𝜓))
1413anim2i 340 . . 3 (((𝜑𝜓) ∧ (¬ 𝜑 ∨ ¬ 𝜓)) → ((𝜑𝜓) ∧ ¬ (𝜑𝜓)))
1514, 1sylibr 133 . 2 (((𝜑𝜓) ∧ (¬ 𝜑 ∨ ¬ 𝜓)) → (𝜑𝜓))
1612, 15impbii 125 1 ((𝜑𝜓) ↔ ((𝜑𝜓) ∧ (¬ 𝜑 ∨ ¬ 𝜓)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 703  wxo 1370
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 609  ax-in2 610  ax-io 704
This theorem depends on definitions:  df-bi 116  df-xor 1371
This theorem is referenced by:  excxor  1373  xoror  1374
  Copyright terms: Public domain W3C validator