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

Theorem dfiunv2 4999
Description: Define double indexed union. (Contributed by FL, 6-Nov-2013.)
Assertion
Ref Expression
dfiunv2 𝑥𝐴 𝑦𝐵 𝐶 = {𝑧 ∣ ∃𝑥𝐴𝑦𝐵 𝑧𝐶}
Distinct variable groups:   𝑥,𝑧   𝑦,𝑧   𝑧,𝐴   𝑧,𝐵   𝑧,𝐶
Allowed substitution hints:   𝐴(𝑥,𝑦)   𝐵(𝑥,𝑦)   𝐶(𝑥,𝑦)

Proof of Theorem dfiunv2
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 df-iun 4957 . . . 4 𝑦𝐵 𝐶 = {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶}
21a1i 11 . . 3 (𝑥𝐴 𝑦𝐵 𝐶 = {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶})
32iuneq2i 4977 . 2 𝑥𝐴 𝑦𝐵 𝐶 = 𝑥𝐴 {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶}
4 df-iun 4957 . 2 𝑥𝐴 {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶} = {𝑧 ∣ ∃𝑥𝐴 𝑧 ∈ {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶}}
5 vex 3451 . . . . 5 𝑧 ∈ V
6 eleq1w 2811 . . . . . 6 (𝑤 = 𝑧 → (𝑤𝐶𝑧𝐶))
76rexbidv 3157 . . . . 5 (𝑤 = 𝑧 → (∃𝑦𝐵 𝑤𝐶 ↔ ∃𝑦𝐵 𝑧𝐶))
85, 7elab 3646 . . . 4 (𝑧 ∈ {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶} ↔ ∃𝑦𝐵 𝑧𝐶)
98rexbii 3076 . . 3 (∃𝑥𝐴 𝑧 ∈ {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶} ↔ ∃𝑥𝐴𝑦𝐵 𝑧𝐶)
109abbii 2796 . 2 {𝑧 ∣ ∃𝑥𝐴 𝑧 ∈ {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶}} = {𝑧 ∣ ∃𝑥𝐴𝑦𝐵 𝑧𝐶}
113, 4, 103eqtri 2756 1 𝑥𝐴 𝑦𝐵 𝐶 = {𝑧 ∣ ∃𝑥𝐴𝑦𝐵 𝑧𝐶}
Colors of variables: wff setvar class
Syntax hints:   = wceq 1540  wcel 2109  {cab 2707  wrex 3053   ciun 4955
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 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-ext 2701
This theorem depends on definitions:  df-bi 207  df-an 396  df-tru 1543  df-ex 1780  df-sb 2066  df-clab 2708  df-cleq 2721  df-clel 2803  df-ral 3045  df-rex 3054  df-v 3449  df-ss 3931  df-iun 4957
This theorem is referenced by:  wspniunwspnon  29853  fusgr2wsp2nb  30263
  Copyright terms: Public domain W3C validator