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

Theorem ituniiun 10504
Description: Unwrap an iterated union from the "other end". (Contributed by Stefan O'Rear, 11-Feb-2015.)
Hypothesis
Ref Expression
ituni.u 𝑈 = (𝑥 ∈ V ↦ (rec((𝑦 ∈ V ↦ ∪ 𝑦), 𝑥) ↾ ω))
Assertion
Ref Expression
ituniiun (𝐴 ∈ 𝑉 → ((𝑈‘𝐴)‘suc 𝐵) = ∪ 𝑎 ∈ 𝐴 ((𝑈‘𝑎)‘𝐵))
Distinct variable groups:   𝑥,𝐴,𝑦,𝑎   𝑥,𝐵,𝑦,𝑎   𝑈,𝑎
Allowed substitution hints:   𝑈(𝑥, 𝑦)   𝑉(𝑥, 𝑦, 𝑎)

Proof of Theorem ituniiun
Dummy variables 𝑏 𝑐 𝑑 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 6886 . . . 4 (𝑏 = 𝐴 → (𝑈‘𝑏) = (𝑈‘𝐴))
21fveq1d 6888 . . 3 (𝑏 = 𝐴 → ((𝑈‘𝑏)‘suc 𝐵) = ((𝑈‘𝐴)‘suc 𝐵))
3 iuneq1 4967 . . 3 (𝑏 = 𝐴 → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵) = ∪ 𝑎 ∈ 𝐴 ((𝑈‘𝑎)‘𝐵))
42, 3eqeq12d 2776 . 2 (𝑏 = 𝐴 → (((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵) ↔ ((𝑈‘𝐴)‘suc 𝐵) = ∪ 𝑎 ∈ 𝐴 ((𝑈‘𝑎)‘𝐵)))
5 suceq 6431 . . . . . 6 (𝑑 = ∅ → suc 𝑑 = suc ∅)
65fveq2d 6890 . . . . 5 (𝑑 = ∅ → ((𝑈‘𝑏)‘suc 𝑑) = ((𝑈‘𝑏)‘suc ∅))
7 fveq2 6886 . . . . . 6 (𝑑 = ∅ → ((𝑈‘𝑎)‘𝑑) = ((𝑈‘𝑎)‘∅))
87iuneq2d 4980 . . . . 5 (𝑑 = ∅ → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘∅))
96, 8eqeq12d 2776 . . . 4 (𝑑 = ∅ → (((𝑈‘𝑏)‘suc 𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) ↔ ((𝑈‘𝑏)‘suc ∅) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘∅)))
10 suceq 6431 . . . . . 6 (𝑑 = 𝑐 → suc 𝑑 = suc 𝑐)
1110fveq2d 6890 . . . . 5 (𝑑 = 𝑐 → ((𝑈‘𝑏)‘suc 𝑑) = ((𝑈‘𝑏)‘suc 𝑐))
12 fveq2 6886 . . . . . 6 (𝑑 = 𝑐 → ((𝑈‘𝑎)‘𝑑) = ((𝑈‘𝑎)‘𝑐))
1312iuneq2d 4980 . . . . 5 (𝑑 = 𝑐 → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐))
1411, 13eqeq12d 2776 . . . 4 (𝑑 = 𝑐 → (((𝑈‘𝑏)‘suc 𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) ↔ ((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐)))
15 suceq 6431 . . . . . 6 (𝑑 = suc 𝑐 → suc 𝑑 = suc suc 𝑐)
1615fveq2d 6890 . . . . 5 (𝑑 = suc 𝑐 → ((𝑈‘𝑏)‘suc 𝑑) = ((𝑈‘𝑏)‘suc suc 𝑐))
17 fveq2 6886 . . . . . 6 (𝑑 = suc 𝑐 → ((𝑈‘𝑎)‘𝑑) = ((𝑈‘𝑎)‘suc 𝑐))
1817iuneq2d 4980 . . . . 5 (𝑑 = suc 𝑐 → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐))
1916, 18eqeq12d 2776 . . . 4 (𝑑 = suc 𝑐 → (((𝑈‘𝑏)‘suc 𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) ↔ ((𝑈‘𝑏)‘suc suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐)))
20 suceq 6431 . . . . . 6 (𝑑 = 𝐵 → suc 𝑑 = suc 𝐵)
2120fveq2d 6890 . . . . 5 (𝑑 = 𝐵 → ((𝑈‘𝑏)‘suc 𝑑) = ((𝑈‘𝑏)‘suc 𝐵))
22 fveq2 6886 . . . . . 6 (𝑑 = 𝐵 → ((𝑈‘𝑎)‘𝑑) = ((𝑈‘𝑎)‘𝐵))
2322iuneq2d 4980 . . . . 5 (𝑑 = 𝐵 → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵))
2421, 23eqeq12d 2776 . . . 4 (𝑑 = 𝐵 → (((𝑈‘𝑏)‘suc 𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) ↔ ((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵)))
25 uniiun 5016 . . . . 5 ∪ 𝑏 = ∪ 𝑎 ∈ 𝑏 𝑎
26 ituni.u . . . . . . 7 𝑈 = (𝑥 ∈ V ↦ (rec((𝑦 ∈ V ↦ ∪ 𝑦), 𝑥) ↾ ω))
2726itunisuc 10501 . . . . . 6 ((𝑈‘𝑏)‘suc ∅) = ∪ ((𝑈‘𝑏)‘∅)
2826ituni0 10500 . . . . . . . 8 (𝑏 ∈ V → ((𝑈‘𝑏)‘∅) = 𝑏)
2928elv 3455 . . . . . . 7 ((𝑈‘𝑏)‘∅) = 𝑏
3029unieqi 4878 . . . . . 6 ∪ ((𝑈‘𝑏)‘∅) = ∪ 𝑏
3127, 30eqtri 2783 . . . . 5 ((𝑈‘𝑏)‘suc ∅) = ∪ 𝑏
3226ituni0 10500 . . . . . 6 (𝑎 ∈ 𝑏 → ((𝑈‘𝑎)‘∅) = 𝑎)
3332iuneq2i 4972 . . . . 5 ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘∅) = ∪ 𝑎 ∈ 𝑏 𝑎
3425, 31, 333eqtr4i 2793 . . . 4 ((𝑈‘𝑏)‘suc ∅) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘∅)
3526itunisuc 10501 . . . . . 6 ((𝑈‘𝑏)‘suc suc 𝑐) = ∪ ((𝑈‘𝑏)‘suc 𝑐)
36 unieq 4877 . . . . . . 7 (((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) → ∪ ((𝑈‘𝑏)‘suc 𝑐) = ∪ ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐))
3726itunisuc 10501 . . . . . . . . . 10 ((𝑈‘𝑎)‘suc 𝑐) = ∪ ((𝑈‘𝑎)‘𝑐)
3837a1i 11 . . . . . . . . 9 (𝑎 ∈ 𝑏 → ((𝑈‘𝑎)‘suc 𝑐) = ∪ ((𝑈‘𝑎)‘𝑐))
3938iuneq2i 4972 . . . . . . . 8 ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ∪ ((𝑈‘𝑎)‘𝑐)
40 iuncom4 4959 . . . . . . . 8 ∪ 𝑎 ∈ 𝑏 ∪ ((𝑈‘𝑎)‘𝑐) = ∪ ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐)
4139, 40eqtr2i 2784 . . . . . . 7 ∪ ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐)
4236, 41eqtrdi 2811 . . . . . 6 (((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) → ∪ ((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐))
4335, 42eqtrid 2807 . . . . 5 (((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) → ((𝑈‘𝑏)‘suc suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐))
4443a1i 11 . . . 4 (𝑐 ∈ ω → (((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) → ((𝑈‘𝑏)‘suc suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐)))
459, 14, 19, 24, 34, 44finds 7909 . . 3 (𝐵 ∈ ω → ((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵))
46 iun0 5019 . . . . 5 ∪ 𝑎 ∈ 𝑏 ∅ = ∅
4746eqcomi 2769 . . . 4 ∅ = ∪ 𝑎 ∈ 𝑏 ∅
48 peano2b 7895 . . . . . 6 (𝐵 ∈ ω ↔ suc 𝐵 ∈ ω)
49 vex 3454 . . . . . . . 8 𝑏 ∈ V
5026itunifn 10499 . . . . . . . 8 (𝑏 ∈ V → (𝑈‘𝑏) Fn ω)
51 fndm 6643 . . . . . . . 8 ((𝑈‘𝑏) Fn ω → dom (𝑈‘𝑏) = ω)
5249, 50, 51mp2b 10 . . . . . . 7 dom (𝑈‘𝑏) = ω
5352eleq2i 2852 . . . . . 6 (suc 𝐵 ∈ dom (𝑈‘𝑏) ↔ suc 𝐵 ∈ ω)
5448, 53bitr4i 281 . . . . 5 (𝐵 ∈ ω ↔ suc 𝐵 ∈ dom (𝑈‘𝑏))
55 ndmfv 6918 . . . . 5 (¬ suc 𝐵 ∈ dom (𝑈‘𝑏) → ((𝑈‘𝑏)‘suc 𝐵) = ∅)
5654, 55sylnbi 333 . . . 4 (¬ 𝐵 ∈ ω → ((𝑈‘𝑏)‘suc 𝐵) = ∅)
57 vex 3454 . . . . . . . 8 𝑎 ∈ V
5826itunifn 10499 . . . . . . . 8 (𝑎 ∈ V → (𝑈‘𝑎) Fn ω)
59 fndm 6643 . . . . . . . 8 ((𝑈‘𝑎) Fn ω → dom (𝑈‘𝑎) = ω)
6057, 58, 59mp2b 10 . . . . . . 7 dom (𝑈‘𝑎) = ω
6160eleq2i 2852 . . . . . 6 (𝐵 ∈ dom (𝑈‘𝑎) ↔ 𝐵 ∈ ω)
62 ndmfv 6918 . . . . . 6 (¬ 𝐵 ∈ dom (𝑈‘𝑎) → ((𝑈‘𝑎)‘𝐵) = ∅)
6361, 62sylnbir 334 . . . . 5 (¬ 𝐵 ∈ ω → ((𝑈‘𝑎)‘𝐵) = ∅)
6463iuneq2d 4980 . . . 4 (¬ 𝐵 ∈ ω → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵) = ∪ 𝑎 ∈ 𝑏 ∅)
6547, 56, 643eqtr4a 2821 . . 3 (¬ 𝐵 ∈ ω → ((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵))
6645, 65pm2.61i 184 . 2 ((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵)
674, 66vtoclg 3517 1 (𝐴 ∈ 𝑉 → ((𝑈‘𝐴)‘suc 𝐵) = ∪ 𝑎 ∈ 𝐴 ((𝑈‘𝑎)‘𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   = wceq 1569   ∈ wcel 2144  Vcvv 3450  ∅c0 4278  ∪ cuni 4866  ∪ ciun 4950   ↦ cmpt 5185  dom cdm 5650   ↾ cres 5652  suc csuc 6364   Fn wfn 6534  ‘cfv 6539  ωcom 7878  reccrdg 8421
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-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-un 7752  ax-inf2 9646
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6541  df-fn 6542  df-f 6543  df-f1 6544  df-fo 6545  df-f1o 6546  df-fv 6547  df-ov 7424  df-om 7879  df-2nd 8003  df-frecs 8303  df-wrecs 8334  df-recs 8383  df-rdg 8422
This theorem is used by:  hsmexlem4  10511
  Copyright terms: Public domain W3C validator