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

Theorem iundif2 4523
Description: Indexed union of class difference. Generalization of half of theorem "De Morgan's laws" in [Enderton] p. 31. Use intiin 4510 to recover Enderton's theorem. (Contributed by NM, 19-Aug-2004.)
Assertion
Ref Expression
iundif2 𝑥𝐴 (𝐵𝐶) = (𝐵 𝑥𝐴 𝐶)
Distinct variable group:   𝑥,𝐵
Allowed substitution hints:   𝐴(𝑥)   𝐶(𝑥)

Proof of Theorem iundif2
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 eldif 3550 . . . . 5 (𝑦 ∈ (𝐵𝐶) ↔ (𝑦𝐵 ∧ ¬ 𝑦𝐶))
21rexbii 3023 . . . 4 (∃𝑥𝐴 𝑦 ∈ (𝐵𝐶) ↔ ∃𝑥𝐴 (𝑦𝐵 ∧ ¬ 𝑦𝐶))
3 r19.42v 3073 . . . 4 (∃𝑥𝐴 (𝑦𝐵 ∧ ¬ 𝑦𝐶) ↔ (𝑦𝐵 ∧ ∃𝑥𝐴 ¬ 𝑦𝐶))
4 rexnal 2978 . . . . . 6 (∃𝑥𝐴 ¬ 𝑦𝐶 ↔ ¬ ∀𝑥𝐴 𝑦𝐶)
5 vex 3176 . . . . . . 7 𝑦 ∈ V
6 eliin 4461 . . . . . . 7 (𝑦 ∈ V → (𝑦 𝑥𝐴 𝐶 ↔ ∀𝑥𝐴 𝑦𝐶))
75, 6ax-mp 5 . . . . . 6 (𝑦 𝑥𝐴 𝐶 ↔ ∀𝑥𝐴 𝑦𝐶)
84, 7xchbinxr 324 . . . . 5 (∃𝑥𝐴 ¬ 𝑦𝐶 ↔ ¬ 𝑦 𝑥𝐴 𝐶)
98anbi2i 726 . . . 4 ((𝑦𝐵 ∧ ∃𝑥𝐴 ¬ 𝑦𝐶) ↔ (𝑦𝐵 ∧ ¬ 𝑦 𝑥𝐴 𝐶))
102, 3, 93bitri 285 . . 3 (∃𝑥𝐴 𝑦 ∈ (𝐵𝐶) ↔ (𝑦𝐵 ∧ ¬ 𝑦 𝑥𝐴 𝐶))
11 eliun 4460 . . 3 (𝑦 𝑥𝐴 (𝐵𝐶) ↔ ∃𝑥𝐴 𝑦 ∈ (𝐵𝐶))
12 eldif 3550 . . 3 (𝑦 ∈ (𝐵 𝑥𝐴 𝐶) ↔ (𝑦𝐵 ∧ ¬ 𝑦 𝑥𝐴 𝐶))
1310, 11, 123bitr4i 291 . 2 (𝑦 𝑥𝐴 (𝐵𝐶) ↔ 𝑦 ∈ (𝐵 𝑥𝐴 𝐶))
1413eqriv 2607 1 𝑥𝐴 (𝐵𝐶) = (𝐵 𝑥𝐴 𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 195  wa 383   = wceq 1475  wcel 1977  wral 2896  wrex 2897  Vcvv 3173  cdif 3537   ciun 4455   ciin 4456
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-v 3175  df-dif 3543  df-iun 4457  df-iin 4458
This theorem is referenced by:  iuncld  20659  pnrmopn  20957  alexsublem  21658  bcth3  22936  iundifdifd  28762  iundifdif  28763
  Copyright terms: Public domain W3C validator