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

Theorem iuncom4 4964
Description: Commutation of union with indexed union. (Contributed by Mario Carneiro, 18-Jan-2014.)
Assertion
Ref Expression
iuncom4 ∪ 𝑥 ∈ 𝐴 ∪ 𝐵 = ∪ ∪ 𝑥 ∈ 𝐴 𝐵

Proof of Theorem iuncom4
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-rex 3094 . . . . . . 7 (∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧 ↔ ∃𝑧(𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
21rexbii 3116 . . . . . 6 (∃𝑥 ∈ 𝐴 ∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧 ↔ ∃𝑥 ∈ 𝐴 ∃𝑧(𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
3 rexcom4 3293 . . . . . 6 (∃𝑥 ∈ 𝐴 ∃𝑧(𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧) ↔ ∃𝑧∃𝑥 ∈ 𝐴 (𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
42, 3bitri 278 . . . . 5 (∃𝑥 ∈ 𝐴 ∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧 ↔ ∃𝑧∃𝑥 ∈ 𝐴 (𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
5 r19.41v 3199 . . . . . 6 (∃𝑥 ∈ 𝐴 (𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧) ↔ (∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
65exbii 1883 . . . . 5 (∃𝑧∃𝑥 ∈ 𝐴 (𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧) ↔ ∃𝑧(∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
74, 6bitri 278 . . . 4 (∃𝑥 ∈ 𝐴 ∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧 ↔ ∃𝑧(∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
8 eluni2 4875 . . . . 5 (𝑦 ∈ ∪ 𝐵 ↔ ∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧)
98rexbii 3116 . . . 4 (∃𝑥 ∈ 𝐴 𝑦 ∈ ∪ 𝐵 ↔ ∃𝑥 ∈ 𝐴 ∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧)
10 df-rex 3094 . . . . 5 (∃𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵𝑦 ∈ 𝑧 ↔ ∃𝑧(𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ∧ 𝑦 ∈ 𝑧))
11 eliun 4959 . . . . . . 7 (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
1211anbi1i 636 . . . . . 6 ((𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ∧ 𝑦 ∈ 𝑧) ↔ (∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
1312exbii 1883 . . . . 5 (∃𝑧(𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ∧ 𝑦 ∈ 𝑧) ↔ ∃𝑧(∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
1410, 13bitri 278 . . . 4 (∃𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵𝑦 ∈ 𝑧 ↔ ∃𝑧(∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
157, 9, 143bitr4i 306 . . 3 (∃𝑥 ∈ 𝐴 𝑦 ∈ ∪ 𝐵 ↔ ∃𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵𝑦 ∈ 𝑧)
16 eliun 4959 . . 3 (𝑦 ∈ ∪ 𝑥 ∈ 𝐴 ∪ 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝑦 ∈ ∪ 𝐵)
17 eluni2 4875 . . 3 (𝑦 ∈ ∪ ∪ 𝑥 ∈ 𝐴 𝐵 ↔ ∃𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵𝑦 ∈ 𝑧)
1815, 16, 173bitr4i 306 . 2 (𝑦 ∈ ∪ 𝑥 ∈ 𝐴 ∪ 𝐵 ↔ 𝑦 ∈ ∪ ∪ 𝑥 ∈ 𝐴 𝐵)
1918eqriv 2763 1 ∪ 𝑥 ∈ 𝐴 ∪ 𝐵 = ∪ ∪ 𝑥 ∈ 𝐴 𝐵
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2150  ∃wrex 3093  ∪ cuni 4871  ∪ ciun 4955
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-11 2200  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1575  df-ex 1815  df-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-rex 3094  df-v 3455  df-uni 4872  df-iun 4957
This theorem is used by:  ituniiun  10538  tgidm  23355  txcmplem2  24018
  Copyright terms: Public domain W3C validator