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

Theorem anxordi 1400
Description: Conjunction distributes over exclusive-or. (Contributed by Mario Carneiro and Jim Kingdon, 7-Oct-2018.)
Assertion
Ref Expression
anxordi ((𝜑 ∧ (𝜓𝜒)) ↔ ((𝜑𝜓) ⊻ (𝜑𝜒)))

Proof of Theorem anxordi
StepHypRef Expression
1 simpl 109 . 2 ((𝜑 ∧ (𝜓𝜒)) → 𝜑)
2 df-xor 1376 . . . 4 (((𝜑𝜓) ⊻ (𝜑𝜒)) ↔ (((𝜑𝜓) ∨ (𝜑𝜒)) ∧ ¬ ((𝜑𝜓) ∧ (𝜑𝜒))))
32simplbi 274 . . 3 (((𝜑𝜓) ⊻ (𝜑𝜒)) → ((𝜑𝜓) ∨ (𝜑𝜒)))
4 simpl 109 . . . 4 ((𝜑𝜓) → 𝜑)
5 simpl 109 . . . 4 ((𝜑𝜒) → 𝜑)
64, 5jaoi 716 . . 3 (((𝜑𝜓) ∨ (𝜑𝜒)) → 𝜑)
73, 6syl 14 . 2 (((𝜑𝜓) ⊻ (𝜑𝜒)) → 𝜑)
8 ibar 301 . . 3 (𝜑 → ((𝜓𝜒) ↔ (𝜑 ∧ (𝜓𝜒))))
9 ibar 301 . . . 4 (𝜑 → (𝜓 ↔ (𝜑𝜓)))
10 ibar 301 . . . 4 (𝜑 → (𝜒 ↔ (𝜑𝜒)))
119, 10xorbi12d 1382 . . 3 (𝜑 → ((𝜓𝜒) ↔ ((𝜑𝜓) ⊻ (𝜑𝜒))))
128, 11bitr3d 190 . 2 (𝜑 → ((𝜑 ∧ (𝜓𝜒)) ↔ ((𝜑𝜓) ⊻ (𝜑𝜒))))
131, 7, 12pm5.21nii 704 1 ((𝜑 ∧ (𝜓𝜒)) ↔ ((𝜑𝜓) ⊻ (𝜑𝜒)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wa 104  wb 105  wo 708  wxo 1375
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 614  ax-in2 615  ax-io 709
This theorem depends on definitions:  df-bi 117  df-xor 1376
This theorem is referenced by:  rpnegap  9686
  Copyright terms: Public domain W3C validator