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

Theorem ituniiun 10550
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 6926 . . . 4 (𝑏 = 𝐴 → (𝑈‘𝑏) = (𝑈‘𝐴))
21fveq1d 6928 . . 3 (𝑏 = 𝐴 → ((𝑈‘𝑏)‘suc 𝐵) = ((𝑈‘𝐴)‘suc 𝐵))
3 iuneq1 4976 . . 3 (𝑏 = 𝐴 → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵) = ∪ 𝑎 ∈ 𝐴 ((𝑈‘𝑎)‘𝐵))
42, 3eqeq12d 2785 . 2 (𝑏 = 𝐴 → (((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵) ↔ ((𝑈‘𝐴)‘suc 𝐵) = ∪ 𝑎 ∈ 𝐴 ((𝑈‘𝑎)‘𝐵)))
5 suceq 6464 . . . . . 6 (𝑑 = ∅ → suc 𝑑 = suc ∅)
65fveq2d 6930 . . . . 5 (𝑑 = ∅ → ((𝑈‘𝑏)‘suc 𝑑) = ((𝑈‘𝑏)‘suc ∅))
7 fveq2 6926 . . . . . 6 (𝑑 = ∅ → ((𝑈‘𝑎)‘𝑑) = ((𝑈‘𝑎)‘∅))
87iuneq2d 4989 . . . . 5 (𝑑 = ∅ → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘∅))
96, 8eqeq12d 2785 . . . 4 (𝑑 = ∅ → (((𝑈‘𝑏)‘suc 𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) ↔ ((𝑈‘𝑏)‘suc ∅) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘∅)))
10 suceq 6464 . . . . . 6 (𝑑 = 𝑐 → suc 𝑑 = suc 𝑐)
1110fveq2d 6930 . . . . 5 (𝑑 = 𝑐 → ((𝑈‘𝑏)‘suc 𝑑) = ((𝑈‘𝑏)‘suc 𝑐))
12 fveq2 6926 . . . . . 6 (𝑑 = 𝑐 → ((𝑈‘𝑎)‘𝑑) = ((𝑈‘𝑎)‘𝑐))
1312iuneq2d 4989 . . . . 5 (𝑑 = 𝑐 → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐))
1411, 13eqeq12d 2785 . . . 4 (𝑑 = 𝑐 → (((𝑈‘𝑏)‘suc 𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) ↔ ((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐)))
15 suceq 6464 . . . . . 6 (𝑑 = suc 𝑐 → suc 𝑑 = suc suc 𝑐)
1615fveq2d 6930 . . . . 5 (𝑑 = suc 𝑐 → ((𝑈‘𝑏)‘suc 𝑑) = ((𝑈‘𝑏)‘suc suc 𝑐))
17 fveq2 6926 . . . . . 6 (𝑑 = suc 𝑐 → ((𝑈‘𝑎)‘𝑑) = ((𝑈‘𝑎)‘suc 𝑐))
1817iuneq2d 4989 . . . . 5 (𝑑 = suc 𝑐 → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐))
1916, 18eqeq12d 2785 . . . 4 (𝑑 = suc 𝑐 → (((𝑈‘𝑏)‘suc 𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) ↔ ((𝑈‘𝑏)‘suc suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐)))
20 suceq 6464 . . . . . 6 (𝑑 = 𝐵 → suc 𝑑 = suc 𝐵)
2120fveq2d 6930 . . . . 5 (𝑑 = 𝐵 → ((𝑈‘𝑏)‘suc 𝑑) = ((𝑈‘𝑏)‘suc 𝐵))
22 fveq2 6926 . . . . . 6 (𝑑 = 𝐵 → ((𝑈‘𝑎)‘𝑑) = ((𝑈‘𝑎)‘𝐵))
2322iuneq2d 4989 . . . . 5 (𝑑 = 𝐵 → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵))
2421, 23eqeq12d 2785 . . . 4 (𝑑 = 𝐵 → (((𝑈‘𝑏)‘suc 𝑑) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑑) ↔ ((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵)))
25 uniiun 5025 . . . . 5 ∪ 𝑏 = ∪ 𝑎 ∈ 𝑏 𝑎
26 ituni.u . . . . . . 7 𝑈 = (𝑥 ∈ V ↦ (rec((𝑦 ∈ V ↦ ∪ 𝑦), 𝑥) ↾ ω))
2726itunisuc 10547 . . . . . 6 ((𝑈‘𝑏)‘suc ∅) = ∪ ((𝑈‘𝑏)‘∅)
2826ituni0 10546 . . . . . . . 8 (𝑏 ∈ V → ((𝑈‘𝑏)‘∅) = 𝑏)
2928elv 3461 . . . . . . 7 ((𝑈‘𝑏)‘∅) = 𝑏
3029unieqi 4887 . . . . . 6 ∪ ((𝑈‘𝑏)‘∅) = ∪ 𝑏
3127, 30eqtri 2792 . . . . 5 ((𝑈‘𝑏)‘suc ∅) = ∪ 𝑏
3226ituni0 10546 . . . . . 6 (𝑎 ∈ 𝑏 → ((𝑈‘𝑎)‘∅) = 𝑎)
3332iuneq2i 4981 . . . . 5 ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘∅) = ∪ 𝑎 ∈ 𝑏 𝑎
3425, 31, 333eqtr4i 2802 . . . 4 ((𝑈‘𝑏)‘suc ∅) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘∅)
3526itunisuc 10547 . . . . . 6 ((𝑈‘𝑏)‘suc suc 𝑐) = ∪ ((𝑈‘𝑏)‘suc 𝑐)
36 unieq 4886 . . . . . . 7 (((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) → ∪ ((𝑈‘𝑏)‘suc 𝑐) = ∪ ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐))
3726itunisuc 10547 . . . . . . . . . 10 ((𝑈‘𝑎)‘suc 𝑐) = ∪ ((𝑈‘𝑎)‘𝑐)
3837a1i 11 . . . . . . . . 9 (𝑎 ∈ 𝑏 → ((𝑈‘𝑎)‘suc 𝑐) = ∪ ((𝑈‘𝑎)‘𝑐))
3938iuneq2i 4981 . . . . . . . 8 ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ∪ ((𝑈‘𝑎)‘𝑐)
40 iuncom4 4968 . . . . . . . 8 ∪ 𝑎 ∈ 𝑏 ∪ ((𝑈‘𝑎)‘𝑐) = ∪ ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐)
4139, 40eqtr2i 2793 . . . . . . 7 ∪ ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐)
4236, 41eqtrdi 2820 . . . . . 6 (((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) → ∪ ((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐))
4335, 42eqtrid 2816 . . . . 5 (((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) → ((𝑈‘𝑏)‘suc suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐))
4443a1i 11 . . . 4 (𝑐 ∈ ω → (((𝑈‘𝑏)‘suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝑐) → ((𝑈‘𝑏)‘suc suc 𝑐) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘suc 𝑐)))
459, 14, 19, 24, 34, 44finds 7953 . . 3 (𝐵 ∈ ω → ((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵))
46 iun0 5028 . . . . 5 ∪ 𝑎 ∈ 𝑏 ∅ = ∅
4746eqcomi 2778 . . . 4 ∅ = ∪ 𝑎 ∈ 𝑏 ∅
48 peano2b 7939 . . . . . 6 (𝐵 ∈ ω ↔ suc 𝐵 ∈ ω)
49 vex 3460 . . . . . . . 8 𝑏 ∈ V
5026itunifn 10545 . . . . . . . 8 (𝑏 ∈ V → (𝑈‘𝑏) Fn ω)
51 fndm 6682 . . . . . . . 8 ((𝑈‘𝑏) Fn ω → dom (𝑈‘𝑏) = ω)
5249, 50, 51mp2b 10 . . . . . . 7 dom (𝑈‘𝑏) = ω
5352eleq2i 2862 . . . . . 6 (suc 𝐵 ∈ dom (𝑈‘𝑏) ↔ suc 𝐵 ∈ ω)
5448, 53bitr4i 281 . . . . 5 (𝐵 ∈ ω ↔ suc 𝐵 ∈ dom (𝑈‘𝑏))
55 ndmfv 6958 . . . . 5 (¬ suc 𝐵 ∈ dom (𝑈‘𝑏) → ((𝑈‘𝑏)‘suc 𝐵) = ∅)
5654, 55sylnbi 333 . . . 4 (¬ 𝐵 ∈ ω → ((𝑈‘𝑏)‘suc 𝐵) = ∅)
57 vex 3460 . . . . . . . 8 𝑎 ∈ V
5826itunifn 10545 . . . . . . . 8 (𝑎 ∈ V → (𝑈‘𝑎) Fn ω)
59 fndm 6682 . . . . . . . 8 ((𝑈‘𝑎) Fn ω → dom (𝑈‘𝑎) = ω)
6057, 58, 59mp2b 10 . . . . . . 7 dom (𝑈‘𝑎) = ω
6160eleq2i 2862 . . . . . 6 (𝐵 ∈ dom (𝑈‘𝑎) ↔ 𝐵 ∈ ω)
62 ndmfv 6958 . . . . . 6 (¬ 𝐵 ∈ dom (𝑈‘𝑎) → ((𝑈‘𝑎)‘𝐵) = ∅)
6361, 62sylnbir 334 . . . . 5 (¬ 𝐵 ∈ ω → ((𝑈‘𝑎)‘𝐵) = ∅)
6463iuneq2d 4989 . . . 4 (¬ 𝐵 ∈ ω → ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵) = ∪ 𝑎 ∈ 𝑏 ∅)
6547, 56, 643eqtr4a 2830 . . 3 (¬ 𝐵 ∈ ω → ((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵))
6645, 65pm2.61i 184 . 2 ((𝑈‘𝑏)‘suc 𝐵) = ∪ 𝑎 ∈ 𝑏 ((𝑈‘𝑎)‘𝐵)
674, 66vtoclg 3523 1 (𝐴 ∈ 𝑉 → ((𝑈‘𝐴)‘suc 𝐵) = ∪ 𝑎 ∈ 𝐴 ((𝑈‘𝑎)‘𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   = wceq 1572   ∈ wcel 2151  Vcvv 3456  ∅c0 4283  ∪ cuni 4875  ∪ ciun 4959   ↦ cmpt 5195  dom cdm 5661   ↾ cres 5663  suc csuc 6397   Fn wfn 6568  ‘cfv 6573  ωcom 7922  reccrdg 8466
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 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pr 5401  ax-un 7794  ax-inf2 9690
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6337  df-ord 6398  df-on 6399  df-lim 6400  df-suc 6401  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-ov 7465  df-om 7923  df-2nd 8047  df-frecs 8348  df-wrecs 8379  df-recs 8428  df-rdg 8467
This theorem is used by:  hsmexlem4  10557
  Copyright terms: Public domain W3C validator