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

Theorem ituniiun 10537
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 6914 . . . 4 (𝑏 = 𝐴 → (𝑈‘𝑏) = (𝑈‘𝐴))
21fveq1d 6916 . . 3 (𝑏 = 𝐴 → ((𝑈‘𝑏)‘suc 𝐵) = ((𝑈‘𝐴)‘suc 𝐵))
3 iuneq1 4971 . . 3 (𝑏 = 𝐴 → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵) = ∪ 𝑎 ∈ 𝐴 ((𝑈‘𝑎)‘𝐵))
42, 3eqeq12d 2779 . 2 (𝑏 = 𝐴 → (((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵) ↔ ((𝑈‘𝐴)‘suc 𝐵) = ∪ 𝑎 ∈ 𝐴 ((𝑈‘𝑎)‘𝐵)))
5 suceq 6455 . . . . . 6 (𝑑 = ∅ → suc 𝑑 = suc ∅)
65fveq2d 6918 . . . . 5 (𝑑 = ∅ → ((𝑈‘𝑏)‘suc 𝑑) = ((𝑈‘𝑏)‘suc ∅))
7 fveq2 6914 . . . . . 6 (𝑑 = ∅ → ((𝑈‘𝑎)‘𝑑) = ((𝑈‘𝑎)‘∅))
87iuneq2d 4984 . . . . 5 (𝑑 = ∅ → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘∅))
96, 8eqeq12d 2779 . . . 4 (𝑑 = ∅ → (((𝑈‘𝑏)‘suc 𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) ↔ ((𝑈‘𝑏)‘suc ∅) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘∅)))
10 suceq 6455 . . . . . 6 (𝑑 = 𝑐 → suc 𝑑 = suc 𝑐)
1110fveq2d 6918 . . . . 5 (𝑑 = 𝑐 → ((𝑈‘𝑏)‘suc 𝑑) = ((𝑈‘𝑏)‘suc 𝑐))
12 fveq2 6914 . . . . . 6 (𝑑 = 𝑐 → ((𝑈‘𝑎)‘𝑑) = ((𝑈‘𝑎)‘𝑐))
1312iuneq2d 4984 . . . . 5 (𝑑 = 𝑐 → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐))
1411, 13eqeq12d 2779 . . . 4 (𝑑 = 𝑐 → (((𝑈‘𝑏)‘suc 𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) ↔ ((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐)))
15 suceq 6455 . . . . . 6 (𝑑 = suc 𝑐 → suc 𝑑 = suc suc 𝑐)
1615fveq2d 6918 . . . . 5 (𝑑 = suc 𝑐 → ((𝑈‘𝑏)‘suc 𝑑) = ((𝑈‘𝑏)‘suc suc 𝑐))
17 fveq2 6914 . . . . . 6 (𝑑 = suc 𝑐 → ((𝑈‘𝑎)‘𝑑) = ((𝑈‘𝑎)‘suc 𝑐))
1817iuneq2d 4984 . . . . 5 (𝑑 = suc 𝑐 → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐))
1916, 18eqeq12d 2779 . . . 4 (𝑑 = suc 𝑐 → (((𝑈‘𝑏)‘suc 𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) ↔ ((𝑈‘𝑏)‘suc suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐)))
20 suceq 6455 . . . . . 6 (𝑑 = 𝐵 → suc 𝑑 = suc 𝐵)
2120fveq2d 6918 . . . . 5 (𝑑 = 𝐵 → ((𝑈‘𝑏)‘suc 𝑑) = ((𝑈‘𝑏)‘suc 𝐵))
22 fveq2 6914 . . . . . 6 (𝑑 = 𝐵 → ((𝑈‘𝑎)‘𝑑) = ((𝑈‘𝑎)‘𝐵))
2322iuneq2d 4984 . . . . 5 (𝑑 = 𝐵 → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵))
2421, 23eqeq12d 2779 . . . 4 (𝑑 = 𝐵 → (((𝑈‘𝑏)‘suc 𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) ↔ ((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵)))
25 uniiun 5020 . . . . 5 ∪ 𝑏 = ∪ 𝑎 ∈ 𝑏 𝑎
26 ituni.u . . . . . . 7 𝑈 = (𝑥 ∈ V ↦ (rec((𝑦 ∈ V ↦ ∪ 𝑦), 𝑥) ↾ ω))
2726itunisuc 10534 . . . . . 6 ((𝑈‘𝑏)‘suc ∅) = ∪ ((𝑈‘𝑏)‘∅)
2826ituni0 10533 . . . . . . . 8 (𝑏 ∈ V → ((𝑈‘𝑏)‘∅) = 𝑏)
2928elv 3459 . . . . . . 7 ((𝑈‘𝑏)‘∅) = 𝑏
3029unieqi 4882 . . . . . 6 ∪ ((𝑈‘𝑏)‘∅) = ∪ 𝑏
3127, 30eqtri 2786 . . . . 5 ((𝑈‘𝑏)‘suc ∅) = ∪ 𝑏
3226ituni0 10533 . . . . . 6 (𝑎 ∈ 𝑏 → ((𝑈‘𝑎)‘∅) = 𝑎)
3332iuneq2i 4976 . . . . 5 ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘∅) = ∪ 𝑎 ∈ 𝑏 𝑎
3425, 31, 333eqtr4i 2796 . . . 4 ((𝑈‘𝑏)‘suc ∅) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘∅)
3526itunisuc 10534 . . . . . 6 ((𝑈‘𝑏)‘suc suc 𝑐) = ∪ ((𝑈‘𝑏)‘suc 𝑐)
36 unieq 4881 . . . . . . 7 (((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) → ∪ ((𝑈‘𝑏)‘suc 𝑐) = ∪ ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐))
3726itunisuc 10534 . . . . . . . . . 10 ((𝑈‘𝑎)‘suc 𝑐) = ∪ ((𝑈‘𝑎)‘𝑐)
3837a1i 11 . . . . . . . . 9 (𝑎 ∈ 𝑏 → ((𝑈‘𝑎)‘suc 𝑐) = ∪ ((𝑈‘𝑎)‘𝑐))
3938iuneq2i 4976 . . . . . . . 8 ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ∪ ((𝑈‘𝑎)‘𝑐)
40 iuncom4 4963 . . . . . . . 8 ∪ 𝑎 ∈ 𝑏 ∪ ((𝑈‘𝑎)‘𝑐) = ∪ ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐)
4139, 40eqtr2i 2787 . . . . . . 7 ∪ ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐)
4236, 41eqtrdi 2814 . . . . . 6 (((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) → ∪ ((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐))
4335, 42eqtrid 2810 . . . . 5 (((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) → ((𝑈‘𝑏)‘suc suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐))
4443a1i 11 . . . 4 (𝑐 ∈ ω → (((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) → ((𝑈‘𝑏)‘suc suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐)))
459, 14, 19, 24, 34, 44finds 7940 . . 3 (𝐵 ∈ ω → ((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵))
46 iun0 5023 . . . . 5 ∪ 𝑎 ∈ 𝑏 ∅ = ∅
4746eqcomi 2772 . . . 4 ∅ = ∪ 𝑎 ∈ 𝑏 ∅
48 peano2b 7926 . . . . . 6 (𝐵 ∈ ω ↔ suc 𝐵 ∈ ω)
49 vex 3458 . . . . . . . 8 𝑏 ∈ V
5026itunifn 10532 . . . . . . . 8 (𝑏 ∈ V → (𝑈‘𝑏) Fn ω)
51 fndm 6670 . . . . . . . 8 ((𝑈‘𝑏) Fn ω → dom (𝑈‘𝑏) = ω)
5249, 50, 51mp2b 10 . . . . . . 7 dom (𝑈‘𝑏) = ω
5352eleq2i 2856 . . . . . 6 (suc 𝐵 ∈ dom (𝑈‘𝑏) ↔ suc 𝐵 ∈ ω)
5448, 53bitr4i 281 . . . . 5 (𝐵 ∈ ω ↔ suc 𝐵 ∈ dom (𝑈‘𝑏))
55 ndmfv 6946 . . . . 5 (¬ suc 𝐵 ∈ dom (𝑈‘𝑏) → ((𝑈‘𝑏)‘suc 𝐵) = ∅)
5654, 55sylnbi 333 . . . 4 (¬ 𝐵 ∈ ω → ((𝑈‘𝑏)‘suc 𝐵) = ∅)
57 vex 3458 . . . . . . . 8 𝑎 ∈ V
5826itunifn 10532 . . . . . . . 8 (𝑎 ∈ V → (𝑈‘𝑎) Fn ω)
59 fndm 6670 . . . . . . . 8 ((𝑈‘𝑎) Fn ω → dom (𝑈‘𝑎) = ω)
6057, 58, 59mp2b 10 . . . . . . 7 dom (𝑈‘𝑎) = ω
6160eleq2i 2856 . . . . . 6 (𝐵 ∈ dom (𝑈‘𝑎) ↔ 𝐵 ∈ ω)
62 ndmfv 6946 . . . . . 6 (¬ 𝐵 ∈ dom (𝑈‘𝑎) → ((𝑈‘𝑎)‘𝐵) = ∅)
6361, 62sylnbir 334 . . . . 5 (¬ 𝐵 ∈ ω → ((𝑈‘𝑎)‘𝐵) = ∅)
6463iuneq2d 4984 . . . 4 (¬ 𝐵 ∈ ω → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵) = ∪ 𝑎 ∈ 𝑏 ∅)
6547, 56, 643eqtr4a 2824 . . 3 (¬ 𝐵 ∈ ω → ((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵))
6645, 65pm2.61i 184 . 2 ((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵)
674, 66vtoclg 3521 1 (𝐴 ∈ 𝑉 → ((𝑈‘𝐴)‘suc 𝐵) = ∪ 𝑎 ∈ 𝐴 ((𝑈‘𝑎)‘𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   = wceq 1570   ∈ wcel 2147  Vcvv 3454  ∅c0 4281  ∪ cuni 4870  ∪ ciun 4954   ↦ cmpt 5190  dom cdm 5656   ↾ cres 5658  suc csuc 6388   Fn wfn 6559  ‘cfv 6564  ωcom 7909  reccrdg 8453
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-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5236  ax-sep 5253  ax-nul 5264  ax-pr 5396  ax-un 7781  ax-inf2 9677
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5172  df-mpt 5191  df-tr 5217  df-id 5551  df-eprel 5556  df-po 5564  df-so 5565  df-fr 5609  df-we 5611  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-pred 6328  df-ord 6389  df-on 6390  df-lim 6391  df-suc 6392  df-iota 6518  df-fun 6566  df-fn 6567  df-f 6568  df-f1 6569  df-fo 6570  df-f1o 6571  df-fv 6572  df-ov 7452  df-om 7910  df-2nd 8034  df-frecs 8335  df-wrecs 8366  df-recs 8415  df-rdg 8454
This theorem is used by:  hsmexlem4  10544
  Copyright terms: Public domain W3C validator