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

Theorem xorbi12i 1477
Description: Equality property for XOR. (Contributed by Mario Carneiro, 4-Sep-2016.)
Hypotheses
Ref Expression
xorbi12.1  |-  ( ph  <->  ps )
xorbi12.2  |-  ( ch  <->  th )
Assertion
Ref Expression
xorbi12i  |-  ( (
ph  \/_  ch )  <->  ( ps  \/_  th )
)

Proof of Theorem xorbi12i
StepHypRef Expression
1 xorbi12.1 . . . 4  |-  ( ph  <->  ps )
2 xorbi12.2 . . . 4  |-  ( ch  <->  th )
31, 2bibi12i 329 . . 3  |-  ( (
ph 
<->  ch )  <->  ( ps  <->  th ) )
43notbii 310 . 2  |-  ( -.  ( ph  <->  ch )  <->  -.  ( ps  <->  th )
)
5 df-xor 1465 . 2  |-  ( (
ph  \/_  ch )  <->  -.  ( ph  <->  ch )
)
6 df-xor 1465 . 2  |-  ( ( ps  \/_  th )  <->  -.  ( ps  <->  th )
)
74, 5, 63bitr4i 292 1  |-  ( (
ph  \/_  ch )  <->  ( ps  \/_  th )
)
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    <-> wb 196    \/_ wxo 1464
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8
This theorem depends on definitions:  df-bi 197  df-xor 1465
This theorem is referenced by:  hadcoma  1538  hadcomb  1539
  Copyright terms: Public domain W3C validator