MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  xordi Structured version   Visualization version   GIF version

Theorem xordi 1034
Description: Conjunction distributes over exclusive-or, using ¬ (𝜑𝜓) to express exclusive-or. This is one way to interpret the distributive law of multiplication over addition in modulo 2 arithmetic. This is not necessarily true in intuitionistic logic, though anxordi 1556 does hold in it. (Contributed by NM, 3-Oct-2008.)
Assertion
Ref Expression
xordi ((𝜑 ∧ ¬ (𝜓𝜒)) ↔ ¬ ((𝜑𝜓) ↔ (𝜑𝜒)))

Proof of Theorem xordi
StepHypRef Expression
1 annim 409 . 2 ((𝜑 ∧ ¬ (𝜓𝜒)) ↔ ¬ (𝜑 → (𝜓𝜒)))
2 pm5.32 584 . 2 ((𝜑 → (𝜓𝜒)) ↔ ((𝜑𝜓) ↔ (𝜑𝜒)))
31, 2xchbinx 337 1 ((𝜑 ∧ ¬ (𝜓𝜒)) ↔ ¬ ((𝜑𝜓) ↔ (𝜑𝜒)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wi 4  wb 209  wa 401
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8
This proof depends on definitions:  df-bi 210  df-an 402
This theorem is used by:  anxordi  1556
  Copyright terms: Public domain W3C validator