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

Theorem dfiun2g 5033
Description: Alternate definition of indexed union when 𝐵 is a set. Definition 15(a) of [Suppes] p. 44. (Contributed by NM, 23-Mar-2006.) (Proof shortened by Andrew Salmon, 25-Jul-2011.) (Proof shortened by Rohan Ridenour, 11-Aug-2023.) Avoid ax-10 2138, ax-12 2172. (Revised by SN, 11-Dec-2024.)
Assertion
Ref Expression
dfiun2g (∀𝑥𝐴 𝐵𝐶 𝑥𝐴 𝐵 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
Distinct variable groups:   𝑦,𝐴   𝑦,𝐵   𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)   𝐶(𝑥,𝑦)

Proof of Theorem dfiun2g
Dummy variables 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-iun 4999 . 2 𝑥𝐴 𝐵 = {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵}
2 elisset 2816 . . . . . . . . 9 (𝐵𝐶 → ∃𝑧 𝑧 = 𝐵)
3 eleq2 2823 . . . . . . . . . . . 12 (𝑧 = 𝐵 → (𝑤𝑧𝑤𝐵))
43pm5.32ri 577 . . . . . . . . . . 11 ((𝑤𝑧𝑧 = 𝐵) ↔ (𝑤𝐵𝑧 = 𝐵))
54simplbi2 502 . . . . . . . . . 10 (𝑤𝐵 → (𝑧 = 𝐵 → (𝑤𝑧𝑧 = 𝐵)))
65eximdv 1921 . . . . . . . . 9 (𝑤𝐵 → (∃𝑧 𝑧 = 𝐵 → ∃𝑧(𝑤𝑧𝑧 = 𝐵)))
72, 6syl5com 31 . . . . . . . 8 (𝐵𝐶 → (𝑤𝐵 → ∃𝑧(𝑤𝑧𝑧 = 𝐵)))
87ralimi 3084 . . . . . . 7 (∀𝑥𝐴 𝐵𝐶 → ∀𝑥𝐴 (𝑤𝐵 → ∃𝑧(𝑤𝑧𝑧 = 𝐵)))
9 rexim 3088 . . . . . . 7 (∀𝑥𝐴 (𝑤𝐵 → ∃𝑧(𝑤𝑧𝑧 = 𝐵)) → (∃𝑥𝐴 𝑤𝐵 → ∃𝑥𝐴𝑧(𝑤𝑧𝑧 = 𝐵)))
108, 9syl 17 . . . . . 6 (∀𝑥𝐴 𝐵𝐶 → (∃𝑥𝐴 𝑤𝐵 → ∃𝑥𝐴𝑧(𝑤𝑧𝑧 = 𝐵)))
11 rexcom4 3286 . . . . . . 7 (∃𝑥𝐴𝑧(𝑤𝑧𝑧 = 𝐵) ↔ ∃𝑧𝑥𝐴 (𝑤𝑧𝑧 = 𝐵))
12 r19.42v 3191 . . . . . . . 8 (∃𝑥𝐴 (𝑤𝑧𝑧 = 𝐵) ↔ (𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵))
1312exbii 1851 . . . . . . 7 (∃𝑧𝑥𝐴 (𝑤𝑧𝑧 = 𝐵) ↔ ∃𝑧(𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵))
1411, 13bitri 275 . . . . . 6 (∃𝑥𝐴𝑧(𝑤𝑧𝑧 = 𝐵) ↔ ∃𝑧(𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵))
1510, 14imbitrdi 250 . . . . 5 (∀𝑥𝐴 𝐵𝐶 → (∃𝑥𝐴 𝑤𝐵 → ∃𝑧(𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵)))
163biimpac 480 . . . . . . . 8 ((𝑤𝑧𝑧 = 𝐵) → 𝑤𝐵)
1716reximi 3085 . . . . . . 7 (∃𝑥𝐴 (𝑤𝑧𝑧 = 𝐵) → ∃𝑥𝐴 𝑤𝐵)
1812, 17sylbir 234 . . . . . 6 ((𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵) → ∃𝑥𝐴 𝑤𝐵)
1918exlimiv 1934 . . . . 5 (∃𝑧(𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵) → ∃𝑥𝐴 𝑤𝐵)
2015, 19impbid1 224 . . . 4 (∀𝑥𝐴 𝐵𝐶 → (∃𝑥𝐴 𝑤𝐵 ↔ ∃𝑧(𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵)))
21 vex 3479 . . . . 5 𝑤 ∈ V
22 eleq1w 2817 . . . . . 6 (𝑧 = 𝑤 → (𝑧𝐵𝑤𝐵))
2322rexbidv 3179 . . . . 5 (𝑧 = 𝑤 → (∃𝑥𝐴 𝑧𝐵 ↔ ∃𝑥𝐴 𝑤𝐵))
2421, 23elab 3668 . . . 4 (𝑤 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵} ↔ ∃𝑥𝐴 𝑤𝐵)
25 eluni 4911 . . . . 5 (𝑤 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ↔ ∃𝑧(𝑤𝑧𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}))
26 vex 3479 . . . . . . . 8 𝑧 ∈ V
27 eqeq1 2737 . . . . . . . . 9 (𝑦 = 𝑧 → (𝑦 = 𝐵𝑧 = 𝐵))
2827rexbidv 3179 . . . . . . . 8 (𝑦 = 𝑧 → (∃𝑥𝐴 𝑦 = 𝐵 ↔ ∃𝑥𝐴 𝑧 = 𝐵))
2926, 28elab 3668 . . . . . . 7 (𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ↔ ∃𝑥𝐴 𝑧 = 𝐵)
3029anbi2i 624 . . . . . 6 ((𝑤𝑧𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}) ↔ (𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵))
3130exbii 1851 . . . . 5 (∃𝑧(𝑤𝑧𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}) ↔ ∃𝑧(𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵))
3225, 31bitri 275 . . . 4 (𝑤 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ↔ ∃𝑧(𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵))
3320, 24, 323bitr4g 314 . . 3 (∀𝑥𝐴 𝐵𝐶 → (𝑤 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵} ↔ 𝑤 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}))
3433eqrdv 2731 . 2 (∀𝑥𝐴 𝐵𝐶 → {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵} = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
351, 34eqtrid 2785 1 (∀𝑥𝐴 𝐵𝐶 𝑥𝐴 𝐵 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397   = wceq 1542  wex 1782  wcel 2107  {cab 2710  wral 3062  wrex 3071   cuni 4908   ciun 4997
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-11 2155  ax-ext 2704
This theorem depends on definitions:  df-bi 206  df-an 398  df-tru 1545  df-ex 1783  df-sb 2069  df-clab 2711  df-cleq 2725  df-clel 2811  df-ral 3063  df-rex 3072  df-v 3477  df-uni 4909  df-iun 4999
This theorem is referenced by:  dfiun2  5036  dfiun3g  5962  abnexg  7740  iunexg  7947  uniqs  8768  ac6num  10471  iunopn  22392  pnrmopn  22839  cncmp  22888  ptcmplem3  23550  iunmbl  25062  voliun  25063  sigaclcuni  33105  sigaclcu2  33107  sigaclci  33119  measvunilem  33199  meascnbl  33206  carsgclctunlem3  33308  uniqsALTV  37187
  Copyright terms: Public domain W3C validator