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 40755
Description: Indexed union of indexed intersections. See eliincex 40745 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 2851 . . . 4 (𝑍𝐴𝑍 𝑥𝐵 𝑦𝐶 𝐷)
3 eliun 4790 . . . 4 (𝑍 𝑥𝐵 𝑦𝐶 𝐷 ↔ ∃𝑥𝐵 𝑍 𝑦𝐶 𝐷)
42, 3sylbb 211 . . 3 (𝑍𝐴 → ∃𝑥𝐵 𝑍 𝑦𝐶 𝐷)
5 eliin 4791 . . . . . 6 (𝑍 𝑦𝐶 𝐷 → (𝑍 𝑦𝐶 𝐷 ↔ ∀𝑦𝐶 𝑍𝐷))
65ibi 259 . . . . 5 (𝑍 𝑦𝐶 𝐷 → ∀𝑦𝐶 𝑍𝐷)
76a1i 11 . . . 4 (𝑍𝐴 → (𝑍 𝑦𝐶 𝐷 → ∀𝑦𝐶 𝑍𝐷))
87reximdv 3212 . . 3 (𝑍𝐴 → (∃𝑥𝐵 𝑍 𝑦𝐶 𝐷 → ∃𝑥𝐵𝑦𝐶 𝑍𝐷))
94, 8mpd 15 . 2 (𝑍𝐴 → ∃𝑥𝐵𝑦𝐶 𝑍𝐷)
10 eliuniin2.1 . . . 4 𝑥𝐶
11 nfcv 2926 . . . 4 𝑥
1210, 11nfne 3064 . . 3 𝑥 𝐶 ≠ ∅
13 nfv 1873 . . 3 𝑥 𝑍𝐴
14 simp2 1117 . . . . . . 7 ((𝐶 ≠ ∅ ∧ 𝑥𝐵 ∧ ∀𝑦𝐶 𝑍𝐷) → 𝑥𝐵)
15 eliin2 40751 . . . . . . . 8 (𝐶 ≠ ∅ → (𝑍 𝑦𝐶 𝐷 ↔ ∀𝑦𝐶 𝑍𝐷))
1615biimpar 470 . . . . . . 7 ((𝐶 ≠ ∅ ∧ ∀𝑦𝐶 𝑍𝐷) → 𝑍 𝑦𝐶 𝐷)
17 rspe 3243 . . . . . . 7 ((𝑥𝐵𝑍 𝑦𝐶 𝐷) → ∃𝑥𝐵 𝑍 𝑦𝐶 𝐷)
1814, 16, 173imp3i2an 1325 . . . . . 6 ((𝐶 ≠ ∅ ∧ 𝑥𝐵 ∧ ∀𝑦𝐶 𝑍𝐷) → ∃𝑥𝐵 𝑍 𝑦𝐶 𝐷)
1918, 3sylibr 226 . . . . 5 ((𝐶 ≠ ∅ ∧ 𝑥𝐵 ∧ ∀𝑦𝐶 𝑍𝐷) → 𝑍 𝑥𝐵 𝑦𝐶 𝐷)
2019, 2sylibr 226 . . . 4 ((𝐶 ≠ ∅ ∧ 𝑥𝐵 ∧ ∀𝑦𝐶 𝑍𝐷) → 𝑍𝐴)
21203exp 1099 . . 3 (𝐶 ≠ ∅ → (𝑥𝐵 → (∀𝑦𝐶 𝑍𝐷𝑍𝐴)))
2212, 13, 21rexlimd 3254 . 2 (𝐶 ≠ ∅ → (∃𝑥𝐵𝑦𝐶 𝑍𝐷𝑍𝐴))
239, 22impbid2 218 1 (𝐶 ≠ ∅ → (𝑍𝐴 ↔ ∃𝑥𝐵𝑦𝐶 𝑍𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 198  w3a 1068   = wceq 1507  wcel 2048  wnfc 2910  wne 2961  wral 3082  wrex 3083  c0 4173   ciun 4786   ciin 4787
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1758  ax-4 1772  ax-5 1869  ax-6 1928  ax-7 1964  ax-8 2050  ax-9 2057  ax-10 2077  ax-11 2091  ax-12 2104  ax-13 2299  ax-ext 2745
This theorem depends on definitions:  df-bi 199  df-an 388  df-or 834  df-3an 1070  df-tru 1510  df-ex 1743  df-nf 1747  df-sb 2014  df-clab 2754  df-cleq 2765  df-clel 2840  df-nfc 2912  df-ne 2962  df-ral 3087  df-rex 3088  df-v 3411  df-sbc 3678  df-csb 3783  df-dif 3828  df-nul 4174  df-iun 4788  df-iin 4789
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator