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 46229
Description: Indexed union of indexed intersections. See eliincex 46219 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 2852 . . . 4 (𝑍 ∈ 𝐴 ↔ 𝑍 ∈ ∪ 𝑥 ∈ 𝐵 ∩ 𝑦 ∈ 𝐶 𝐷)
3 eliun 4954 . . . 4 (𝑍 ∈ ∪ 𝑥 ∈ 𝐵 ∩ 𝑦 ∈ 𝐶 𝐷 ↔ ∃𝑥 ∈ 𝐵 𝑍 ∈ ∩ 𝑦 ∈ 𝐶 𝐷)
42, 3sylbb 222 . . 3 (𝑍 ∈ 𝐴 → ∃𝑥 ∈ 𝐵 𝑍 ∈ ∩ 𝑦 ∈ 𝐶 𝐷)
5 eliin 4955 . . . . . 6 (𝑍 ∈ ∩ 𝑦 ∈ 𝐶 𝐷 → (𝑍 ∈ ∩ 𝑦 ∈ 𝐶 𝐷 ↔ ∀𝑦 ∈ 𝐶 𝑍 ∈ 𝐷))
65ibi 270 . . . . 5 (𝑍 ∈ ∩ 𝑦 ∈ 𝐶 𝐷 → ∀𝑦 ∈ 𝐶 𝑍 ∈ 𝐷)
76a1i 11 . . . 4 (𝑍 ∈ 𝐴 → (𝑍 ∈ ∩ 𝑦 ∈ 𝐶 𝐷 → ∀𝑦 ∈ 𝐶 𝑍 ∈ 𝐷))
87reximdv 3177 . . 3 (𝑍 ∈ 𝐴 → (∃𝑥 ∈ 𝐵 𝑍 ∈ ∩ 𝑦 ∈ 𝐶 𝐷 → ∃𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐶 𝑍 ∈ 𝐷))
94, 8mpd 16 . 2 (𝑍 ∈ 𝐴 → ∃𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐶 𝑍 ∈ 𝐷)
10 eliuniin2.1 . . . 4 Ⅎ𝑥𝐶
11 nfcv 2922 . . . 4 Ⅎ𝑥∅
1210, 11nfne 3058 . . 3 Ⅎ𝑥 𝐶 ≠ ∅
13 nfv 1946 . . 3 Ⅎ𝑥 𝑍 ∈ 𝐴
14 simp2 1155 . . . . . . 7 ((𝐶 ≠ ∅ ∧ 𝑥 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐶 𝑍 ∈ 𝐷) → 𝑥 ∈ 𝐵)
15 eliin2 46225 . . . . . . . 8 (𝐶 ≠ ∅ → (𝑍 ∈ ∩ 𝑦 ∈ 𝐶 𝐷 ↔ ∀𝑦 ∈ 𝐶 𝑍 ∈ 𝐷))
1615biimpar 483 . . . . . . 7 ((𝐶 ≠ ∅ ∧ ∀𝑦 ∈ 𝐶 𝑍 ∈ 𝐷) → 𝑍 ∈ ∩ 𝑦 ∈ 𝐶 𝐷)
17 rspe 3252 . . . . . . 7 ((𝑥 ∈ 𝐵 ∧ 𝑍 ∈ ∩ 𝑦 ∈ 𝐶 𝐷) → ∃𝑥 ∈ 𝐵 𝑍 ∈ ∩ 𝑦 ∈ 𝐶 𝐷)
1814, 16, 173imp3i2an 1364 . . . . . 6 ((𝐶 ≠ ∅ ∧ 𝑥 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐶 𝑍 ∈ 𝐷) → ∃𝑥 ∈ 𝐵 𝑍 ∈ ∩ 𝑦 ∈ 𝐶 𝐷)
1918, 3sylibr 237 . . . . 5 ((𝐶 ≠ ∅ ∧ 𝑥 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐶 𝑍 ∈ 𝐷) → 𝑍 ∈ ∪ 𝑥 ∈ 𝐵 ∩ 𝑦 ∈ 𝐶 𝐷)
2019, 2sylibr 237 . . . 4 ((𝐶 ≠ ∅ ∧ 𝑥 ∈ 𝐵 ∧ ∀𝑦 ∈ 𝐶 𝑍 ∈ 𝐷) → 𝑍 ∈ 𝐴)
21203exp 1137 . . 3 (𝐶 ≠ ∅ → (𝑥 ∈ 𝐵 → (∀𝑦 ∈ 𝐶 𝑍 ∈ 𝐷 → 𝑍 ∈ 𝐴)))
2212, 13, 21rexlimd 3269 . 2 (𝐶 ≠ ∅ → (∃𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐶 𝑍 ∈ 𝐷 → 𝑍 ∈ 𝐴))
239, 22impbid2 229 1 (𝐶 ≠ ∅ → (𝑍 ∈ 𝐴 ↔ ∃𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐶 𝑍 ∈ 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144  Ⅎwnfc 2907   ≠ wne 2955  ∀wral 3076  ∃wrex 3086  ∅c0 4278  ∪ ciun 4950  ∩ ciin 4951
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-v 3452  df-sbc 3739  df-csb 3847  df-dif 4047  df-nul 4279  df-iun 4952  df-iin 4953
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator