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

Theorem anxordi 1291
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 102 . 2 ((𝜑 ∧ (𝜓𝜒)) → 𝜑)
2 df-xor 1267 . . . 4 (((𝜑𝜓) ⊻ (𝜑𝜒)) ↔ (((𝜑𝜓) ∨ (𝜑𝜒)) ∧ ¬ ((𝜑𝜓) ∧ (𝜑𝜒))))
32simplbi 259 . . 3 (((𝜑𝜓) ⊻ (𝜑𝜒)) → ((𝜑𝜓) ∨ (𝜑𝜒)))
4 simpl 102 . . . 4 ((𝜑𝜓) → 𝜑)
5 simpl 102 . . . 4 ((𝜑𝜒) → 𝜑)
64, 5jaoi 636 . . 3 (((𝜑𝜓) ∨ (𝜑𝜒)) → 𝜑)
73, 6syl 14 . 2 (((𝜑𝜓) ⊻ (𝜑𝜒)) → 𝜑)
8 ibar 285 . . 3 (𝜑 → ((𝜓𝜒) ↔ (𝜑 ∧ (𝜓𝜒))))
9 ibar 285 . . . 4 (𝜑 → (𝜓 ↔ (𝜑𝜓)))
10 ibar 285 . . . 4 (𝜑 → (𝜒 ↔ (𝜑𝜒)))
119, 10xorbi12d 1273 . . 3 (𝜑 → ((𝜓𝜒) ↔ ((𝜑𝜓) ⊻ (𝜑𝜒))))
128, 11bitr3d 179 . 2 (𝜑 → ((𝜑 ∧ (𝜓𝜒)) ↔ ((𝜑𝜓) ⊻ (𝜑𝜒))))
131, 7, 12pm5.21nii 620 1 ((𝜑 ∧ (𝜓𝜒)) ↔ ((𝜑𝜓) ⊻ (𝜑𝜒)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wa 97  wb 98  wo 629  wxo 1266
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-in1 544  ax-in2 545  ax-io 630
This theorem depends on definitions:  df-bi 110  df-xor 1267
This theorem is referenced by:  rpnegap  8615
  Copyright terms: Public domain W3C validator