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

Theorem dfiunv2 4991
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 4952 . . . 4 ∪ 𝑦 ∈ 𝐵 𝐶 = {𝑤 ∣ ∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶}
21a1i 11 . . 3 (𝑥 ∈ 𝐴 → ∪ 𝑦 ∈ 𝐵 𝐶 = {𝑤 ∣ ∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶})
32iuneq2i 4972 . 2 ∪ 𝑥 ∈ 𝐴 ∪ 𝑦 ∈ 𝐵 𝐶 = ∪ 𝑥 ∈ 𝐴 {𝑤 ∣ ∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶}
4 df-iun 4952 . 2 ∪ 𝑥 ∈ 𝐴 {𝑤 ∣ ∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶} = {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ {𝑤 ∣ ∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶}}
5 vex 3454 . . . . 5 𝑧 ∈ V
6 eleq1w 2843 . . . . . 6 (𝑤 = 𝑧 → (𝑤 ∈ 𝐶 ↔ 𝑧 ∈ 𝐶))
76rexbidv 3186 . . . . 5 (𝑤 = 𝑧 → (∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶 ↔ ∃𝑦 ∈ 𝐵 𝑧 ∈ 𝐶))
85, 7elab 3632 . . . 4 (𝑧 ∈ {𝑤 ∣ ∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶} ↔ ∃𝑦 ∈ 𝐵 𝑧 ∈ 𝐶)
98rexbii 3109 . . 3 (∃𝑥 ∈ 𝐴 𝑧 ∈ {𝑤 ∣ ∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶} ↔ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑧 ∈ 𝐶)
109abbii 2827 . 2 {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ {𝑤 ∣ ∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶}} = {𝑧 ∣ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑧 ∈ 𝐶}
113, 4, 103eqtri 2787 1 ∪ 𝑥 ∈ 𝐴 ∪ 𝑦 ∈ 𝐵 𝐶 = {𝑧 ∣ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑧 ∈ 𝐶}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1569   ∈ wcel 2144  {cab 2738  ∃wrex 3086  ∪ ciun 4950
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-v 3452  df-ss 3896  df-iun 4952
This theorem is used by:  wspniunwspnon  30512  fusgr2wsp2nb  30935
  Copyright terms: Public domain W3C validator