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

Theorem dfiunv2 5058
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 5017 . . . 4 𝑦𝐵 𝐶 = {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶}
21a1i 11 . . 3 (𝑥𝐴 𝑦𝐵 𝐶 = {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶})
32iuneq2i 5036 . 2 𝑥𝐴 𝑦𝐵 𝐶 = 𝑥𝐴 {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶}
4 df-iun 5017 . 2 𝑥𝐴 {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶} = {𝑧 ∣ ∃𝑥𝐴 𝑧 ∈ {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶}}
5 vex 3492 . . . . 5 𝑧 ∈ V
6 eleq1w 2827 . . . . . 6 (𝑤 = 𝑧 → (𝑤𝐶𝑧𝐶))
76rexbidv 3185 . . . . 5 (𝑤 = 𝑧 → (∃𝑦𝐵 𝑤𝐶 ↔ ∃𝑦𝐵 𝑧𝐶))
85, 7elab 3694 . . . 4 (𝑧 ∈ {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶} ↔ ∃𝑦𝐵 𝑧𝐶)
98rexbii 3100 . . 3 (∃𝑥𝐴 𝑧 ∈ {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶} ↔ ∃𝑥𝐴𝑦𝐵 𝑧𝐶)
109abbii 2812 . 2 {𝑧 ∣ ∃𝑥𝐴 𝑧 ∈ {𝑤 ∣ ∃𝑦𝐵 𝑤𝐶}} = {𝑧 ∣ ∃𝑥𝐴𝑦𝐵 𝑧𝐶}
113, 4, 103eqtri 2772 1 𝑥𝐴 𝑦𝐵 𝐶 = {𝑧 ∣ ∃𝑥𝐴𝑦𝐵 𝑧𝐶}
Colors of variables: wff setvar class
Syntax hints:   = wceq 1537  wcel 2108  {cab 2717  wrex 3076   ciun 5015
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-ext 2711
This theorem depends on definitions:  df-bi 207  df-an 396  df-tru 1540  df-ex 1778  df-sb 2065  df-clab 2718  df-cleq 2732  df-clel 2819  df-ral 3068  df-rex 3077  df-v 3490  df-ss 3993  df-iun 5017
This theorem is referenced by:  wspniunwspnon  29956  fusgr2wsp2nb  30366
  Copyright terms: Public domain W3C validator