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 41379
Description: Indexed union of indexed intersections. See eliincex 41369 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 2904 . . . 4 (𝑍𝐴𝑍 𝑥𝐵 𝑦𝐶 𝐷)
3 eliun 4916 . . . 4 (𝑍 𝑥𝐵 𝑦𝐶 𝐷 ↔ ∃𝑥𝐵 𝑍 𝑦𝐶 𝐷)
42, 3sylbb 221 . . 3 (𝑍𝐴 → ∃𝑥𝐵 𝑍 𝑦𝐶 𝐷)
5 eliin 4917 . . . . . 6 (𝑍 𝑦𝐶 𝐷 → (𝑍 𝑦𝐶 𝐷 ↔ ∀𝑦𝐶 𝑍𝐷))
65ibi 269 . . . . 5 (𝑍 𝑦𝐶 𝐷 → ∀𝑦𝐶 𝑍𝐷)
76a1i 11 . . . 4 (𝑍𝐴 → (𝑍 𝑦𝐶 𝐷 → ∀𝑦𝐶 𝑍𝐷))
87reximdv 3273 . . 3 (𝑍𝐴 → (∃𝑥𝐵 𝑍 𝑦𝐶 𝐷 → ∃𝑥𝐵𝑦𝐶 𝑍𝐷))
94, 8mpd 15 . 2 (𝑍𝐴 → ∃𝑥𝐵𝑦𝐶 𝑍𝐷)
10 eliuniin2.1 . . . 4 𝑥𝐶
11 nfcv 2977 . . . 4 𝑥
1210, 11nfne 3119 . . 3 𝑥 𝐶 ≠ ∅
13 nfv 1911 . . 3 𝑥 𝑍𝐴
14 simp2 1133 . . . . . . 7 ((𝐶 ≠ ∅ ∧ 𝑥𝐵 ∧ ∀𝑦𝐶 𝑍𝐷) → 𝑥𝐵)
15 eliin2 41375 . . . . . . . 8 (𝐶 ≠ ∅ → (𝑍 𝑦𝐶 𝐷 ↔ ∀𝑦𝐶 𝑍𝐷))
1615biimpar 480 . . . . . . 7 ((𝐶 ≠ ∅ ∧ ∀𝑦𝐶 𝑍𝐷) → 𝑍 𝑦𝐶 𝐷)
17 rspe 3304 . . . . . . 7 ((𝑥𝐵𝑍 𝑦𝐶 𝐷) → ∃𝑥𝐵 𝑍 𝑦𝐶 𝐷)
1814, 16, 173imp3i2an 1341 . . . . . 6 ((𝐶 ≠ ∅ ∧ 𝑥𝐵 ∧ ∀𝑦𝐶 𝑍𝐷) → ∃𝑥𝐵 𝑍 𝑦𝐶 𝐷)
1918, 3sylibr 236 . . . . 5 ((𝐶 ≠ ∅ ∧ 𝑥𝐵 ∧ ∀𝑦𝐶 𝑍𝐷) → 𝑍 𝑥𝐵 𝑦𝐶 𝐷)
2019, 2sylibr 236 . . . 4 ((𝐶 ≠ ∅ ∧ 𝑥𝐵 ∧ ∀𝑦𝐶 𝑍𝐷) → 𝑍𝐴)
21203exp 1115 . . 3 (𝐶 ≠ ∅ → (𝑥𝐵 → (∀𝑦𝐶 𝑍𝐷𝑍𝐴)))
2212, 13, 21rexlimd 3317 . 2 (𝐶 ≠ ∅ → (∃𝑥𝐵𝑦𝐶 𝑍𝐷𝑍𝐴))
239, 22impbid2 228 1 (𝐶 ≠ ∅ → (𝑍𝐴 ↔ ∃𝑥𝐵𝑦𝐶 𝑍𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  w3a 1083   = wceq 1533  wcel 2110  wnfc 2961  wne 3016  wral 3138  wrex 3139  c0 4291   ciun 4912   ciin 4913
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-v 3497  df-sbc 3773  df-csb 3884  df-dif 3939  df-nul 4292  df-iun 4914  df-iin 4915
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator