ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  iuncom4 GIF version

Theorem iuncom4 4019
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 2534 . . . . . . 7 (∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧 ↔ ∃𝑧(𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
21rexbii 2557 . . . . . 6 (∃𝑥 ∈ 𝐴 ∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧 ↔ ∃𝑥 ∈ 𝐴 ∃𝑧(𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
3 rexcom4 2845 . . . . . 6 (∃𝑥 ∈ 𝐴 ∃𝑧(𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧) ↔ ∃𝑧∃𝑥 ∈ 𝐴 (𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
42, 3bitri 184 . . . . 5 (∃𝑥 ∈ 𝐴 ∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧 ↔ ∃𝑧∃𝑥 ∈ 𝐴 (𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
5 r19.41v 2707 . . . . . 6 (∃𝑥 ∈ 𝐴 (𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧) ↔ (∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
65exbii 1658 . . . . 5 (∃𝑧∃𝑥 ∈ 𝐴 (𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧) ↔ ∃𝑧(∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
74, 6bitri 184 . . . 4 (∃𝑥 ∈ 𝐴 ∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧 ↔ ∃𝑧(∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
8 eluni2 3939 . . . . 5 (𝑦 ∈ ∪ 𝐵 ↔ ∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧)
98rexbii 2557 . . . 4 (∃𝑥 ∈ 𝐴 𝑦 ∈ ∪ 𝐵 ↔ ∃𝑥 ∈ 𝐴 ∃𝑧 ∈ 𝐵 𝑦 ∈ 𝑧)
10 df-rex 2534 . . . . 5 (∃𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵𝑦 ∈ 𝑧 ↔ ∃𝑧(𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ∧ 𝑦 ∈ 𝑧))
11 eliun 4016 . . . . . . 7 (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵)
1211anbi1i 462 . . . . . 6 ((𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ∧ 𝑦 ∈ 𝑧) ↔ (∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
1312exbii 1658 . . . . 5 (∃𝑧(𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵 ∧ 𝑦 ∈ 𝑧) ↔ ∃𝑧(∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
1410, 13bitri 184 . . . 4 (∃𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵𝑦 ∈ 𝑧 ↔ ∃𝑧(∃𝑥 ∈ 𝐴 𝑧 ∈ 𝐵 ∧ 𝑦 ∈ 𝑧))
157, 9, 143bitr4i 212 . . 3 (∃𝑥 ∈ 𝐴 𝑦 ∈ ∪ 𝐵 ↔ ∃𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵𝑦 ∈ 𝑧)
16 eliun 4016 . . 3 (𝑦 ∈ ∪ 𝑥 ∈ 𝐴 ∪ 𝐵 ↔ ∃𝑥 ∈ 𝐴 𝑦 ∈ ∪ 𝐵)
17 eluni2 3939 . . 3 (𝑦 ∈ ∪ ∪ 𝑥 ∈ 𝐴 𝐵 ↔ ∃𝑧 ∈ ∪ 𝑥 ∈ 𝐴 𝐵𝑦 ∈ 𝑧)
1815, 16, 173bitr4i 212 . 2 (𝑦 ∈ ∪ 𝑥 ∈ 𝐴 ∪ 𝐵 ↔ 𝑦 ∈ ∪ ∪ 𝑥 ∈ 𝐴 𝐵)
1918eqriv 2235 1 ∪ 𝑥 ∈ 𝐴 ∪ 𝐵 = ∪ ∪ 𝑥 ∈ 𝐴 𝐵
Colors of variables:    wff set class
This proof depends on syntax axioms:   ∧ wa 104   = wceq 1402  ∃wex 1545   ∈ wcel 2209  ∃wrex 2529  ∪ cuni 3935  ∪ ciun 4012
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-ext 2220
This proof depends on definitions:  df-bi 117  df-tru 1405  df-nf 1514  df-sb 1816  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534  df-v 2823  df-uni 3936  df-iun 4014
This theorem is used by:  tgidm  15266
  Copyright terms: Public domain W3C validator