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

Theorem inundif 4445
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 4103 . . . 4 (𝑥 ∈ (𝐴 ∩ 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵))
2 eldif 4059 . . . 4 (𝑥 ∈ (𝐴 ∖ 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵))
31, 2orbi12i 928 . . 3 ((𝑥 ∈ (𝐴 ∩ 𝐵) ∨ 𝑥 ∈ (𝐴 ∖ 𝐵)) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵) ∨ (𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵)))
4 pm4.42 1070 . . 3 (𝑥 ∈ 𝐴 ↔ ((𝑥 ∈ 𝐴 ∧ 𝑥 ∈ 𝐵) ∨ (𝑥 ∈ 𝐴 ∧ ¬ 𝑥 ∈ 𝐵)))
53, 4bitr4i 281 . 2 ((𝑥 ∈ (𝐴 ∩ 𝐵) ∨ 𝑥 ∈ (𝐴 ∖ 𝐵)) ↔ 𝑥 ∈ 𝐴)
65uneqri 4165 1 ((𝐴 ∩ 𝐵) ∪ (𝐴 ∖ 𝐵)) = 𝐴
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   ∨ wo 861   = wceq 1572   ∈ wcel 2156   ∖ cdif 4055   ∩ cin 4099   ∪ cun 4159
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-v 3463  df-dif 4057  df-in 4101  df-un 4161
This theorem is used by:  iunxdif3  5068  partfun  6732  resasplit  6800  fresaun  6801  fresaunres2  6802  ixpfi2  9396  hashun3  14590  prmreclem2  17163  mvdco  19740  sylow2a  19914  ablfac1eu  20371  basdif0  23379  neitr  23606  cmpfi  23834  ptbasfi  24008  ptcnplem  24048  fin1aufil  24359  ismbl2  25956  volinun  25975  voliunlem2  25980  mbfeqalem2  26071  itg2cnlem2  26191  dvres2lem  26338  indifundif  33359  imadifxp  33433  ofpreima2  33498  resf1o  33557  indsumin  33660  gsummptres  33845  tocyccntz  33936  measun  35046  measunl  35051  inelcarsg  35145  carsgclctun  35155  sibfof  35174  probdif  35254  hgt750lemd  35479  mthmpps  36654  clcnvlem  45043  radcnvrat  45718  sumnnodd  47074  ovolsplit  47430  omelesplit  47960  ovnsplit  48090
  Copyright terms: Public domain W3C validator