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

Theorem dfiunv2 5031
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 4992 . . . 4 𝑦𝐵 𝐶 = {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶}
21a1i 11 . . 3 (𝑥𝐴 𝑦𝐵 𝐶 = {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶})
32iuneq2i 5011 . 2 𝑥𝐴 𝑦𝐵 𝐶 = 𝑥𝐴 {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶}
4 df-iun 4992 . 2 𝑥𝐴 {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶} = {𝑧 ∣ ∃𝑥𝐴 𝑧 ∈ {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶}}
5 vex 3472 . . . . 5 𝑧 ∈ V
6 eleq1w 2810 . . . . . 6 (𝑤 = 𝑧 → (𝑤𝐶𝑧𝐶))
76rexbidv 3172 . . . . 5 (𝑤 = 𝑧 → (∃𝑦𝐵 𝑤𝐶 ↔ ∃𝑦𝐵 𝑧𝐶))
85, 7elab 3663 . . . 4 (𝑧 ∈ {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶} ↔ ∃𝑦𝐵 𝑧𝐶)
98rexbii 3088 . . 3 (∃𝑥𝐴 𝑧 ∈ {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶} ↔ ∃𝑥𝐴𝑦𝐵 𝑧𝐶)
109abbii 2796 . 2 {𝑧 ∣ ∃𝑥𝐴 𝑧 ∈ {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶}} = {𝑧 ∣ ∃𝑥𝐴𝑦𝐵 𝑧𝐶}
113, 4, 103eqtri 2758 1 𝑥𝐴 𝑦𝐵 𝐶 = {𝑧 ∣ ∃𝑥𝐴𝑦𝐵 𝑧𝐶}
Colors of variables: wff setvar class
Syntax hints:   = wceq 1533  wcel 2098  {cab 2703  wrex 3064   ciun 4990
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-ext 2697
This theorem depends on definitions:  df-bi 206  df-an 396  df-tru 1536  df-ex 1774  df-sb 2060  df-clab 2704  df-cleq 2718  df-clel 2804  df-ral 3056  df-rex 3065  df-v 3470  df-in 3950  df-ss 3960  df-iun 4992
This theorem is referenced by:  wspniunwspnon  29686  fusgr2wsp2nb  30096
  Copyright terms: Public domain W3C validator