Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  eliuniin2 Structured version   Visualization version   GIF version

Theorem eliuniin2 42283
Description: Indexed union of indexed intersections. See eliincex 42274 for a counterexample showing that the precondition 𝐶 ≠ ∅ cannot be simply dropped. (Contributed by Glauco Siliprandi, 26-Jun-2021.)
Hypotheses
Ref Expression
eliuniin2.1 𝑥𝐶
eliuniin2.2 𝐴 = 𝑥𝐵 𝑦𝐶 𝐷
Assertion
Ref Expression
eliuniin2 (𝐶 ≠ ∅ → (𝑍𝐴 ↔ ∃𝑥𝐵𝑦𝐶 𝑍𝐷))
Distinct variable groups:   𝑥,𝐴   𝑦,𝐶   𝑥,𝑍   𝑦,𝑍
Allowed substitution hints:   𝐴(𝑦)   𝐵(𝑥,𝑦)   𝐶(𝑥)   𝐷(𝑥,𝑦)

Proof of Theorem eliuniin2
StepHypRef Expression
1 eliuniin2.2 . . . . 5 𝐴 = 𝑥𝐵 𝑦𝐶 𝐷
21eleq2i 2822 . . . 4 (𝑍𝐴𝑍 𝑥𝐵 𝑦𝐶 𝐷)
3 eliun 4894 . . . 4 (𝑍 𝑥𝐵 𝑦𝐶 𝐷 ↔ ∃𝑥𝐵 𝑍 𝑦𝐶 𝐷)
42, 3sylbb 222 . . 3 (𝑍𝐴 → ∃𝑥𝐵 𝑍 𝑦𝐶 𝐷)
5 eliin 4895 . . . . . 6 (𝑍 𝑦𝐶 𝐷 → (𝑍 𝑦𝐶 𝐷 ↔ ∀𝑦𝐶 𝑍𝐷))
65ibi 270 . . . . 5 (𝑍 𝑦𝐶 𝐷 → ∀𝑦𝐶 𝑍𝐷)
76a1i 11 . . . 4 (𝑍𝐴 → (𝑍 𝑦𝐶 𝐷 → ∀𝑦𝐶 𝑍𝐷))
87reximdv 3182 . . 3 (𝑍𝐴 → (∃𝑥𝐵 𝑍 𝑦𝐶 𝐷 → ∃𝑥𝐵𝑦𝐶 𝑍𝐷))
94, 8mpd 15 . 2 (𝑍𝐴 → ∃𝑥𝐵𝑦𝐶 𝑍𝐷)
10 eliuniin2.1 . . . 4 𝑥𝐶
11 nfcv 2897 . . . 4 𝑥
1210, 11nfne 3032 . . 3 𝑥 𝐶 ≠ ∅
13 nfv 1922 . . 3 𝑥 𝑍𝐴
14 simp2 1139 . . . . . . 7 ((𝐶 ≠ ∅ ∧ 𝑥𝐵 ∧ ∀𝑦𝐶 𝑍𝐷) → 𝑥𝐵)
15 eliin2 42279 . . . . . . . 8 (𝐶 ≠ ∅ → (𝑍 𝑦𝐶 𝐷 ↔ ∀𝑦𝐶 𝑍𝐷))
1615biimpar 481 . . . . . . 7 ((𝐶 ≠ ∅ ∧ ∀𝑦𝐶 𝑍𝐷) → 𝑍 𝑦𝐶 𝐷)
17 rspe 3213 . . . . . . 7 ((𝑥𝐵𝑍 𝑦𝐶 𝐷) → ∃𝑥𝐵 𝑍 𝑦𝐶 𝐷)
1814, 16, 173imp3i2an 1347 . . . . . 6 ((𝐶 ≠ ∅ ∧ 𝑥𝐵 ∧ ∀𝑦𝐶 𝑍𝐷) → ∃𝑥𝐵 𝑍 𝑦𝐶 𝐷)
1918, 3sylibr 237 . . . . 5 ((𝐶 ≠ ∅ ∧ 𝑥𝐵 ∧ ∀𝑦𝐶 𝑍𝐷) → 𝑍 𝑥𝐵 𝑦𝐶 𝐷)
2019, 2sylibr 237 . . . 4 ((𝐶 ≠ ∅ ∧ 𝑥𝐵 ∧ ∀𝑦𝐶 𝑍𝐷) → 𝑍𝐴)
21203exp 1121 . . 3 (𝐶 ≠ ∅ → (𝑥𝐵 → (∀𝑦𝐶 𝑍𝐷𝑍𝐴)))
2212, 13, 21rexlimd 3226 . 2 (𝐶 ≠ ∅ → (∃𝑥𝐵𝑦𝐶 𝑍𝐷𝑍𝐴))
239, 22impbid2 229 1 (𝐶 ≠ ∅ → (𝑍𝐴 ↔ ∃𝑥𝐵𝑦𝐶 𝑍𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  w3a 1089   = wceq 1543  wcel 2112  wnfc 2877  wne 2932  wral 3051  wrex 3052  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-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  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-nfc 2879  df-ne 2933  df-ral 3056  df-rex 3057  df-v 3400  df-sbc 3684  df-csb 3799  df-dif 3856  df-nul 4224  df-iun 4892  df-iin 4893
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator