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

Theorem iindif2 4971
Description: Indexed intersection of class difference. Generalization of half of theorem "De Morgan's laws" in [Enderton] p. 31. Use uniiun 4953 to recover Enderton's theorem. (Contributed by NM, 5-Oct-2006.)
Assertion
Ref Expression
iindif2 (𝐴 ≠ ∅ → 𝑥𝐴 (𝐵𝐶) = (𝐵 𝑥𝐴 𝐶))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵
Allowed substitution hint:   𝐶(𝑥)

Proof of Theorem iindif2
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 r19.28zv 4398 . . . 4 (𝐴 ≠ ∅ → (∀𝑥𝐴 (𝑦𝐵 ∧ ¬ 𝑦𝐶) ↔ (𝑦𝐵 ∧ ∀𝑥𝐴 ¬ 𝑦𝐶)))
2 eldif 3863 . . . . . 6 (𝑦 ∈ (𝐵𝐶) ↔ (𝑦𝐵 ∧ ¬ 𝑦𝐶))
32bicomi 227 . . . . 5 ((𝑦𝐵 ∧ ¬ 𝑦𝐶) ↔ 𝑦 ∈ (𝐵𝐶))
43ralbii 3078 . . . 4 (∀𝑥𝐴 (𝑦𝐵 ∧ ¬ 𝑦𝐶) ↔ ∀𝑥𝐴 𝑦 ∈ (𝐵𝐶))
5 ralnex 3148 . . . . . 6 (∀𝑥𝐴 ¬ 𝑦𝐶 ↔ ¬ ∃𝑥𝐴 𝑦𝐶)
6 eliun 4894 . . . . . 6 (𝑦 𝑥𝐴 𝐶 ↔ ∃𝑥𝐴 𝑦𝐶)
75, 6xchbinxr 338 . . . . 5 (∀𝑥𝐴 ¬ 𝑦𝐶 ↔ ¬ 𝑦 𝑥𝐴 𝐶)
87anbi2i 626 . . . 4 ((𝑦𝐵 ∧ ∀𝑥𝐴 ¬ 𝑦𝐶) ↔ (𝑦𝐵 ∧ ¬ 𝑦 𝑥𝐴 𝐶))
91, 4, 83bitr3g 316 . . 3 (𝐴 ≠ ∅ → (∀𝑥𝐴 𝑦 ∈ (𝐵𝐶) ↔ (𝑦𝐵 ∧ ¬ 𝑦 𝑥𝐴 𝐶)))
10 eliin 4895 . . . 4 (𝑦 ∈ V → (𝑦 𝑥𝐴 (𝐵𝐶) ↔ ∀𝑥𝐴 𝑦 ∈ (𝐵𝐶)))
1110elv 3404 . . 3 (𝑦 𝑥𝐴 (𝐵𝐶) ↔ ∀𝑥𝐴 𝑦 ∈ (𝐵𝐶))
12 eldif 3863 . . 3 (𝑦 ∈ (𝐵 𝑥𝐴 𝐶) ↔ (𝑦𝐵 ∧ ¬ 𝑦 𝑥𝐴 𝐶))
139, 11, 123bitr4g 317 . 2 (𝐴 ≠ ∅ → (𝑦 𝑥𝐴 (𝐵𝐶) ↔ 𝑦 ∈ (𝐵 𝑥𝐴 𝐶)))
1413eqrdv 2734 1 (𝐴 ≠ ∅ → 𝑥𝐴 (𝐵𝐶) = (𝐵 𝑥𝐴 𝐶))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399   = wceq 1543  wcel 2112  wne 2932  wral 3051  wrex 3052  Vcvv 3398  cdif 3850  c0 4223   ciun 4890   ciin 4891
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-12 2177  ax-ext 2708
This theorem depends on definitions:  df-bi 210  df-an 400  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-clab 2715  df-cleq 2728  df-clel 2809  df-ne 2933  df-ral 3056  df-rex 3057  df-v 3400  df-dif 3856  df-nul 4224  df-iun 4892  df-iin 4893
This theorem is referenced by:  iinvdif  4974  iincld  21890  clsval2  21901  mretopd  21943  hauscmplem  22257  cmpfi  22259  sigapildsyslem  31795  saliincl  43484
  Copyright terms: Public domain W3C validator