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

Theorem dfiunv2 4995
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 4956 . . . 4 ∪ 𝑦 ∈ 𝐵 𝐶 = {𝑤 ∣ ∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶}
21a1i 11 . . 3 (𝑥 ∈ 𝐴 → ∪ 𝑦 ∈ 𝐵 𝐶 = {𝑤 ∣ ∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶})
32iuneq2i 4976 . 2 ∪ 𝑥 ∈ 𝐴 ∪ 𝑦 ∈ 𝐵 𝐶 = ∪ 𝑥 ∈ 𝐴 {𝑤 ∣ ∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶}
4 df-iun 4956 . 2 ∪ 𝑥 ∈ 𝐴 {𝑤 ∣ ∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶} = {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ {𝑤 ∣ ∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶}}
5 vex 3458 . . . . 5 𝑧 ∈ V
6 eleq1w 2847 . . . . . 6 (𝑤 = 𝑧 → (𝑤 ∈ 𝐶 ↔ 𝑧 ∈ 𝐶))
76rexbidv 3190 . . . . 5 (𝑤 = 𝑧 → (∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶 ↔ ∃𝑦 ∈ 𝐵 𝑧 ∈ 𝐶))
85, 7elab 3636 . . . 4 (𝑧 ∈ {𝑤 ∣ ∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶} ↔ ∃𝑦 ∈ 𝐵 𝑧 ∈ 𝐶)
98rexbii 3113 . . 3 (∃𝑥 ∈ 𝐴 𝑧 ∈ {𝑤 ∣ ∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶} ↔ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑧 ∈ 𝐶)
109abbii 2830 . 2 {𝑧 ∣ ∃𝑥 ∈ 𝐴 𝑧 ∈ {𝑤 ∣ ∃𝑦 ∈ 𝐵 𝑤 ∈ 𝐶}} = {𝑧 ∣ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑧 ∈ 𝐶}
113, 4, 103eqtri 2790 1 ∪ 𝑥 ∈ 𝐴 ∪ 𝑦 ∈ 𝐵 𝐶 = {𝑧 ∣ ∃𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 𝑧 ∈ 𝐶}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570   ∈ wcel 2147  {cab 2741  ∃wrex 3090  ∪ ciun 4954
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1573  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-v 3456  df-ss 3901  df-iun 4956
This theorem is used by:  wspniunwspnon  30539  fusgr2wsp2nb  30962
  Copyright terms: Public domain W3C validator