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

Theorem brsymdif 5137
Description: Characterization of the symmetric difference of two binary relations. (Contributed by Scott Fenton, 11-Apr-2012.)
Assertion
Ref Expression
brsymdif (𝐴(𝑅𝑆)𝐵 ↔ ¬ (𝐴𝑅𝐵𝐴𝑆𝐵))

Proof of Theorem brsymdif
StepHypRef Expression
1 df-br 5079 . 2 (𝐴(𝑅𝑆)𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ (𝑅𝑆))
2 elsymdif 4186 . . 3 (⟨𝐴, 𝐵⟩ ∈ (𝑅𝑆) ↔ ¬ (⟨𝐴, 𝐵⟩ ∈ 𝑅 ↔ ⟨𝐴, 𝐵⟩ ∈ 𝑆))
3 df-br 5079 . . . 4 (𝐴𝑅𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ 𝑅)
4 df-br 5079 . . . 4 (𝐴𝑆𝐵 ↔ ⟨𝐴, 𝐵⟩ ∈ 𝑆)
53, 4bibi12i 339 . . 3 ((𝐴𝑅𝐵𝐴𝑆𝐵) ↔ (⟨𝐴, 𝐵⟩ ∈ 𝑅 ↔ ⟨𝐴, 𝐵⟩ ∈ 𝑆))
62, 5xchbinxr 334 . 2 (⟨𝐴, 𝐵⟩ ∈ (𝑅𝑆) ↔ ¬ (𝐴𝑅𝐵𝐴𝑆𝐵))
71, 6bitri 274 1 (𝐴(𝑅𝑆)𝐵 ↔ ¬ (𝐴𝑅𝐵𝐴𝑆𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 205  wcel 2109  csymdif 4180  cop 4572   class class class wbr 5078
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-ext 2710
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1544  df-ex 1786  df-sb 2071  df-clab 2717  df-cleq 2731  df-clel 2817  df-v 3432  df-dif 3894  df-un 3896  df-symdif 4181  df-br 5079
This theorem is referenced by:  brtxpsd  34175
  Copyright terms: Public domain W3C validator