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

Theorem inundif 4438
Description: The intersection and class difference of a class with another class unite to give the original class. (Contributed by Paul Chapman, 5-Jun-2009.) (Proof shortened by Andrew Salmon, 26-Jun-2011.)
Assertion
Ref Expression
inundif ((𝐴 ∩ 𝐵) ∪ (𝐴 ∖ 𝐵)) = 𝐴

Proof of Theorem inundif
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 elin 4096 . . . 4 (𝑥 ∈ (𝐴 ∩ 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵))
2 eldif 4052 . . . 4 (𝑥 ∈ (𝐴 ∖ 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵))
31, 2orbi12i 928 . . 3 ((𝑥 ∈ (𝐴 ∩ 𝐵) ∨ 𝑥 ∈ (𝐴 ∖ 𝐵)) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵) ∨ (𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵)))
4 pm4.42 1069 . . 3 (𝑥 ∈ 𝐴 ↔ ((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵) ∨ (𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵)))
53, 4bitr4i 281 . 2 ((𝑥 ∈ (𝐴 ∩ 𝐵) ∨ 𝑥 ∈ (𝐴 ∖ 𝐵)) ↔ 𝑥 ∈ 𝐴)
65uneqri 4158 1 ((𝐴 ∩ 𝐵) ∪ (𝐴 ∖ 𝐵)) = 𝐴
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2147   ∖ cdif 4048   ∩ cin 4092   ∪ cun 4152
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-v 3456  df-dif 4050  df-in 4094  df-un 4154
This theorem is used by:  iunxdif3  5060  partfun  6716  resasplit  6782  fresaun  6783  fresaunres2  6784  ixpfi2  9377  hashun3  14569  prmreclem2  17139  mvdco  19710  sylow2a  19884  ablfac1eu  20340  basdif0  23326  neitr  23553  cmpfi  23781  ptbasfi  23955  ptcnplem  23995  fin1aufil  24306  ismbl2  25903  volinun  25922  voliunlem2  25927  mbfeqalem2  26018  itg2cnlem2  26138  dvres2lem  26285  indifundif  33219  imadifxp  33293  ofpreima2  33358  resf1o  33418  indsumin  33524  gsummptres  33712  tocyccntz  33804  measun  34955  measunl  34960  inelcarsg  35054  carsgclctun  35064  sibfof  35083  probdif  35163  hgt750lemd  35388  mthmpps  36555  clcnvlem  44884  radcnvrat  45559  sumnnodd  46915  ovolsplit  47271  omelesplit  47801  ovnsplit  47931
  Copyright terms: Public domain W3C validator