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

Theorem dfiun2g 5032
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 2135, ax-12 2169. (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 4998 . 2 𝑥𝐴 𝐵 = {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵}
2 elisset 2813 . . . . . . . . 9 (𝐵𝐶 → ∃𝑧 𝑧 = 𝐵)
3 eleq2 2820 . . . . . . . . . . . 12 (𝑧 = 𝐵 → (𝑤𝑧𝑤𝐵))
43pm5.32ri 574 . . . . . . . . . . 11 ((𝑤𝑧𝑧 = 𝐵) ↔ (𝑤𝐵𝑧 = 𝐵))
54simplbi2 499 . . . . . . . . . 10 (𝑤𝐵 → (𝑧 = 𝐵 → (𝑤𝑧𝑧 = 𝐵)))
65eximdv 1918 . . . . . . . . 9 (𝑤𝐵 → (∃𝑧 𝑧 = 𝐵 → ∃𝑧(𝑤𝑧𝑧 = 𝐵)))
72, 6syl5com 31 . . . . . . . 8 (𝐵𝐶 → (𝑤𝐵 → ∃𝑧(𝑤𝑧𝑧 = 𝐵)))
87ralimi 3081 . . . . . . 7 (∀𝑥𝐴 𝐵𝐶 → ∀𝑥𝐴 (𝑤𝐵 → ∃𝑧(𝑤𝑧𝑧 = 𝐵)))
9 rexim 3085 . . . . . . 7 (∀𝑥𝐴 (𝑤𝐵 → ∃𝑧(𝑤𝑧𝑧 = 𝐵)) → (∃𝑥𝐴 𝑤𝐵 → ∃𝑥𝐴𝑧(𝑤𝑧𝑧 = 𝐵)))
108, 9syl 17 . . . . . 6 (∀𝑥𝐴 𝐵𝐶 → (∃𝑥𝐴 𝑤𝐵 → ∃𝑥𝐴𝑧(𝑤𝑧𝑧 = 𝐵)))
11 rexcom4 3283 . . . . . . 7 (∃𝑥𝐴𝑧(𝑤𝑧𝑧 = 𝐵) ↔ ∃𝑧𝑥𝐴 (𝑤𝑧𝑧 = 𝐵))
12 r19.42v 3188 . . . . . . . 8 (∃𝑥𝐴 (𝑤𝑧𝑧 = 𝐵) ↔ (𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵))
1312exbii 1848 . . . . . . 7 (∃𝑧𝑥𝐴 (𝑤𝑧𝑧 = 𝐵) ↔ ∃𝑧(𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵))
1411, 13bitri 274 . . . . . 6 (∃𝑥𝐴𝑧(𝑤𝑧𝑧 = 𝐵) ↔ ∃𝑧(𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵))
1510, 14imbitrdi 250 . . . . 5 (∀𝑥𝐴 𝐵𝐶 → (∃𝑥𝐴 𝑤𝐵 → ∃𝑧(𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵)))
163biimpac 477 . . . . . . . 8 ((𝑤𝑧𝑧 = 𝐵) → 𝑤𝐵)
1716reximi 3082 . . . . . . 7 (∃𝑥𝐴 (𝑤𝑧𝑧 = 𝐵) → ∃𝑥𝐴 𝑤𝐵)
1812, 17sylbir 234 . . . . . 6 ((𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵) → ∃𝑥𝐴 𝑤𝐵)
1918exlimiv 1931 . . . . 5 (∃𝑧(𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵) → ∃𝑥𝐴 𝑤𝐵)
2015, 19impbid1 224 . . . 4 (∀𝑥𝐴 𝐵𝐶 → (∃𝑥𝐴 𝑤𝐵 ↔ ∃𝑧(𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵)))
21 vex 3476 . . . . 5 𝑤 ∈ V
22 eleq1w 2814 . . . . . 6 (𝑧 = 𝑤 → (𝑧𝐵𝑤𝐵))
2322rexbidv 3176 . . . . 5 (𝑧 = 𝑤 → (∃𝑥𝐴 𝑧𝐵 ↔ ∃𝑥𝐴 𝑤𝐵))
2421, 23elab 3667 . . . 4 (𝑤 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵} ↔ ∃𝑥𝐴 𝑤𝐵)
25 eluni 4910 . . . . 5 (𝑤 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ↔ ∃𝑧(𝑤𝑧𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}))
26 vex 3476 . . . . . . . 8 𝑧 ∈ V
27 eqeq1 2734 . . . . . . . . 9 (𝑦 = 𝑧 → (𝑦 = 𝐵𝑧 = 𝐵))
2827rexbidv 3176 . . . . . . . 8 (𝑦 = 𝑧 → (∃𝑥𝐴 𝑦 = 𝐵 ↔ ∃𝑥𝐴 𝑧 = 𝐵))
2926, 28elab 3667 . . . . . . 7 (𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ↔ ∃𝑥𝐴 𝑧 = 𝐵)
3029anbi2i 621 . . . . . 6 ((𝑤𝑧𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}) ↔ (𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵))
3130exbii 1848 . . . . 5 (∃𝑧(𝑤𝑧𝑧 ∈ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}) ↔ ∃𝑧(𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵))
3225, 31bitri 274 . . . 4 (𝑤 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵} ↔ ∃𝑧(𝑤𝑧 ∧ ∃𝑥𝐴 𝑧 = 𝐵))
3320, 24, 323bitr4g 313 . . 3 (∀𝑥𝐴 𝐵𝐶 → (𝑤 ∈ {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵} ↔ 𝑤 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵}))
3433eqrdv 2728 . 2 (∀𝑥𝐴 𝐵𝐶 → {𝑧 ∣ ∃𝑥𝐴 𝑧𝐵} = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
351, 34eqtrid 2782 1 (∀𝑥𝐴 𝐵𝐶 𝑥𝐴 𝐵 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 394   = wceq 1539  wex 1779  wcel 2104  {cab 2707  wral 3059  wrex 3068   cuni 4907   ciun 4996
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-11 2152  ax-ext 2701
This theorem depends on definitions:  df-bi 206  df-an 395  df-tru 1542  df-ex 1780  df-sb 2066  df-clab 2708  df-cleq 2722  df-clel 2808  df-ral 3060  df-rex 3069  df-v 3474  df-uni 4908  df-iun 4998
This theorem is referenced by:  dfiun2  5035  dfiun3g  5962  abnexg  7745  iunexg  7952  uniqs  8773  ac6num  10476  iunopn  22620  pnrmopn  23067  cncmp  23116  ptcmplem3  23778  iunmbl  25302  voliun  25303  sigaclcuni  33414  sigaclcu2  33416  sigaclci  33428  measvunilem  33508  meascnbl  33515  carsgclctunlem3  33617  uniqsALTV  37501
  Copyright terms: Public domain W3C validator