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

Theorem ituniiun 10493
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 6883 . . . 4 (𝑏 = 𝐴 → (𝑈‘𝑏) = (𝑈‘𝐴))
21fveq1d 6885 . . 3 (𝑏 = 𝐴 → ((𝑈‘𝑏)‘suc 𝐵) = ((𝑈‘𝐴)‘suc 𝐵))
3 iuneq1 4968 . . 3 (𝑏 = 𝐴 → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵) = ∪ 𝑎 ∈ 𝐴 ((𝑈‘𝑎)‘𝐵))
42, 3eqeq12d 2777 . 2 (𝑏 = 𝐴 → (((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵) ↔ ((𝑈‘𝐴)‘suc 𝐵) = ∪ 𝑎 ∈ 𝐴 ((𝑈‘𝑎)‘𝐵)))
5 suceq 6430 . . . . . 6 (𝑑 = ∅ → suc 𝑑 = suc ∅)
65fveq2d 6887 . . . . 5 (𝑑 = ∅ → ((𝑈‘𝑏)‘suc 𝑑) = ((𝑈‘𝑏)‘suc ∅))
7 fveq2 6883 . . . . . 6 (𝑑 = ∅ → ((𝑈‘𝑎)‘𝑑) = ((𝑈‘𝑎)‘∅))
87iuneq2d 4981 . . . . 5 (𝑑 = ∅ → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘∅))
96, 8eqeq12d 2777 . . . 4 (𝑑 = ∅ → (((𝑈‘𝑏)‘suc 𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) ↔ ((𝑈‘𝑏)‘suc ∅) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘∅)))
10 suceq 6430 . . . . . 6 (𝑑 = 𝑐 → suc 𝑑 = suc 𝑐)
1110fveq2d 6887 . . . . 5 (𝑑 = 𝑐 → ((𝑈‘𝑏)‘suc 𝑑) = ((𝑈‘𝑏)‘suc 𝑐))
12 fveq2 6883 . . . . . 6 (𝑑 = 𝑐 → ((𝑈‘𝑎)‘𝑑) = ((𝑈‘𝑎)‘𝑐))
1312iuneq2d 4981 . . . . 5 (𝑑 = 𝑐 → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐))
1411, 13eqeq12d 2777 . . . 4 (𝑑 = 𝑐 → (((𝑈‘𝑏)‘suc 𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) ↔ ((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐)))
15 suceq 6430 . . . . . 6 (𝑑 = suc 𝑐 → suc 𝑑 = suc suc 𝑐)
1615fveq2d 6887 . . . . 5 (𝑑 = suc 𝑐 → ((𝑈‘𝑏)‘suc 𝑑) = ((𝑈‘𝑏)‘suc suc 𝑐))
17 fveq2 6883 . . . . . 6 (𝑑 = suc 𝑐 → ((𝑈‘𝑎)‘𝑑) = ((𝑈‘𝑎)‘suc 𝑐))
1817iuneq2d 4981 . . . . 5 (𝑑 = suc 𝑐 → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐))
1916, 18eqeq12d 2777 . . . 4 (𝑑 = suc 𝑐 → (((𝑈‘𝑏)‘suc 𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) ↔ ((𝑈‘𝑏)‘suc suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐)))
20 suceq 6430 . . . . . 6 (𝑑 = 𝐵 → suc 𝑑 = suc 𝐵)
2120fveq2d 6887 . . . . 5 (𝑑 = 𝐵 → ((𝑈‘𝑏)‘suc 𝑑) = ((𝑈‘𝑏)‘suc 𝐵))
22 fveq2 6883 . . . . . 6 (𝑑 = 𝐵 → ((𝑈‘𝑎)‘𝑑) = ((𝑈‘𝑎)‘𝐵))
2322iuneq2d 4981 . . . . 5 (𝑑 = 𝐵 → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵))
2421, 23eqeq12d 2777 . . . 4 (𝑑 = 𝐵 → (((𝑈‘𝑏)‘suc 𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) ↔ ((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵)))
25 uniiun 5017 . . . . 5 ∪ 𝑏 = ∪ 𝑎 ∈ 𝑏 𝑎
26 ituni.u . . . . . . 7 𝑈 = (𝑥 ∈ V ↦ (rec((𝑦 ∈ V ↦ ∪ 𝑦), 𝑥) ↾ ω))
2726itunisuc 10490 . . . . . 6 ((𝑈‘𝑏)‘suc ∅) = ∪ ((𝑈‘𝑏)‘∅)
2826ituni0 10489 . . . . . . . 8 (𝑏 ∈ V → ((𝑈‘𝑏)‘∅) = 𝑏)
2928elv 3456 . . . . . . 7 ((𝑈‘𝑏)‘∅) = 𝑏
3029unieqi 4879 . . . . . 6 ∪ ((𝑈‘𝑏)‘∅) = ∪ 𝑏
3127, 30eqtri 2784 . . . . 5 ((𝑈‘𝑏)‘suc ∅) = ∪ 𝑏
3226ituni0 10489 . . . . . 6 (𝑎 ∈ 𝑏 → ((𝑈‘𝑎)‘∅) = 𝑎)
3332iuneq2i 4973 . . . . 5 ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘∅) = ∪ 𝑎 ∈ 𝑏 𝑎
3425, 31, 333eqtr4i 2794 . . . 4 ((𝑈‘𝑏)‘suc ∅) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘∅)
3526itunisuc 10490 . . . . . 6 ((𝑈‘𝑏)‘suc suc 𝑐) = ∪ ((𝑈‘𝑏)‘suc 𝑐)
36 unieq 4878 . . . . . . 7 (((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) → ∪ ((𝑈‘𝑏)‘suc 𝑐) = ∪ ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐))
3726itunisuc 10490 . . . . . . . . . 10 ((𝑈‘𝑎)‘suc 𝑐) = ∪ ((𝑈‘𝑎)‘𝑐)
3837a1i 11 . . . . . . . . 9 (𝑎 ∈ 𝑏 → ((𝑈‘𝑎)‘suc 𝑐) = ∪ ((𝑈‘𝑎)‘𝑐))
3938iuneq2i 4973 . . . . . . . 8 ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ∪ ((𝑈‘𝑎)‘𝑐)
40 iuncom4 4960 . . . . . . . 8 ∪ 𝑎 ∈ 𝑏 ∪ ((𝑈‘𝑎)‘𝑐) = ∪ ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐)
4139, 40eqtr2i 2785 . . . . . . 7 ∪ ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐)
4236, 41eqtrdi 2812 . . . . . 6 (((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) → ∪ ((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐))
4335, 42eqtrid 2808 . . . . 5 (((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) → ((𝑈‘𝑏)‘suc suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐))
4443a1i 11 . . . 4 (𝑐 ∈ ω → (((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) → ((𝑈‘𝑏)‘suc suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐)))
459, 14, 19, 24, 34, 44finds 7906 . . 3 (𝐵 ∈ ω → ((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵))
46 iun0 5020 . . . . 5 ∪ 𝑎 ∈ 𝑏 ∅ = ∅
4746eqcomi 2770 . . . 4 ∅ = ∪ 𝑎 ∈ 𝑏 ∅
48 peano2b 7892 . . . . . 6 (𝐵 ∈ ω ↔ suc 𝐵 ∈ ω)
49 vex 3455 . . . . . . . 8 𝑏 ∈ V
5026itunifn 10488 . . . . . . . 8 (𝑏 ∈ V → (𝑈‘𝑏) Fn ω)
51 fndm 6640 . . . . . . . 8 ((𝑈‘𝑏) Fn ω → dom (𝑈‘𝑏) = ω)
5249, 50, 51mp2b 10 . . . . . . 7 dom (𝑈‘𝑏) = ω
5352eleq2i 2853 . . . . . 6 (suc 𝐵 ∈ dom (𝑈‘𝑏) ↔ suc 𝐵 ∈ ω)
5448, 53bitr4i 281 . . . . 5 (𝐵 ∈ ω ↔ suc 𝐵 ∈ dom (𝑈‘𝑏))
55 ndmfv 6915 . . . . 5 (¬ suc 𝐵 ∈ dom (𝑈‘𝑏) → ((𝑈‘𝑏)‘suc 𝐵) = ∅)
5654, 55sylnbi 333 . . . 4 (¬ 𝐵 ∈ ω → ((𝑈‘𝑏)‘suc 𝐵) = ∅)
57 vex 3455 . . . . . . . 8 𝑎 ∈ V
5826itunifn 10488 . . . . . . . 8 (𝑎 ∈ V → (𝑈‘𝑎) Fn ω)
59 fndm 6640 . . . . . . . 8 ((𝑈‘𝑎) Fn ω → dom (𝑈‘𝑎) = ω)
6057, 58, 59mp2b 10 . . . . . . 7 dom (𝑈‘𝑎) = ω
6160eleq2i 2853 . . . . . 6 (𝐵 ∈ dom (𝑈‘𝑎) ↔ 𝐵 ∈ ω)
62 ndmfv 6915 . . . . . 6 (¬ 𝐵 ∈ dom (𝑈‘𝑎) → ((𝑈‘𝑎)‘𝐵) = ∅)
6361, 62sylnbir 334 . . . . 5 (¬ 𝐵 ∈ ω → ((𝑈‘𝑎)‘𝐵) = ∅)
6463iuneq2d 4981 . . . 4 (¬ 𝐵 ∈ ω → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵) = ∪ 𝑎 ∈ 𝑏 ∅)
6547, 56, 643eqtr4a 2822 . . 3 (¬ 𝐵 ∈ ω → ((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵))
6645, 65pm2.61i 184 . 2 ((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵)
674, 66vtoclg 3518 1 (𝐴 ∈ 𝑉 → ((𝑈‘𝐴)‘suc 𝐵) = ∪ 𝑎 ∈ 𝐴 ((𝑈‘𝑎)‘𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   = wceq 1570   ∈ wcel 2145  Vcvv 3451  ∅c0 4279  ∪ cuni 4867  ∪ ciun 4951   ↦ cmpt 5186  dom cdm 5651   ↾ cres 5653  suc csuc 6363   Fn wfn 6532  ‘cfv 6537  ωcom 7875  reccrdg 8410
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7749  ax-inf2 9635
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6303  df-ord 6364  df-on 6365  df-lim 6366  df-suc 6367  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-ov 7421  df-om 7876  df-2nd 8000  df-frecs 8292  df-wrecs 8323  df-recs 8372  df-rdg 8411
This theorem is used by:  hsmexlem4  10500
  Copyright terms: Public domain W3C validator