Users' Mathboxes Mathbox for ML < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  csbrdgg Structured version   Visualization version   GIF version

Theorem csbrdgg 35427
Description: Move class substitution in and out of the recursive function generator. (Contributed by ML, 25-Oct-2020.)
Assertion
Ref Expression
csbrdgg (𝐴𝑉𝐴 / 𝑥rec(𝐹, 𝐼) = rec(𝐴 / 𝑥𝐹, 𝐴 / 𝑥𝐼))

Proof of Theorem csbrdgg
Dummy variable 𝑔 is distinct from all other variables.
StepHypRef Expression
1 csbrecsg 35426 . . 3 (𝐴𝑉𝐴 / 𝑥recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))))) = recs(𝐴 / 𝑥(𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))))))
2 csbmpt2 5464 . . . . 5 (𝐴𝑉𝐴 / 𝑥(𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))) = (𝑔 ∈ V ↦ 𝐴 / 𝑥if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))))
3 csbif 4513 . . . . . . 7 𝐴 / 𝑥if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))) = if([𝐴 / 𝑥]𝑔 = ∅, 𝐴 / 𝑥𝐼, 𝐴 / 𝑥if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))
4 sbcg 3791 . . . . . . . 8 (𝐴𝑉 → ([𝐴 / 𝑥]𝑔 = ∅ ↔ 𝑔 = ∅))
5 csbif 4513 . . . . . . . . 9 𝐴 / 𝑥if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))) = if([𝐴 / 𝑥]Lim dom 𝑔, 𝐴 / 𝑥 ran 𝑔, 𝐴 / 𝑥(𝐹‘(𝑔 dom 𝑔)))
6 sbcg 3791 . . . . . . . . . 10 (𝐴𝑉 → ([𝐴 / 𝑥]Lim dom 𝑔 ↔ Lim dom 𝑔))
7 csbconstg 3847 . . . . . . . . . 10 (𝐴𝑉𝐴 / 𝑥 ran 𝑔 = ran 𝑔)
8 csbfv12 6799 . . . . . . . . . . 11 𝐴 / 𝑥(𝐹‘(𝑔 dom 𝑔)) = (𝐴 / 𝑥𝐹𝐴 / 𝑥(𝑔 dom 𝑔))
9 csbconstg 3847 . . . . . . . . . . . 12 (𝐴𝑉𝐴 / 𝑥(𝑔 dom 𝑔) = (𝑔 dom 𝑔))
109fveq2d 6760 . . . . . . . . . . 11 (𝐴𝑉 → (𝐴 / 𝑥𝐹𝐴 / 𝑥(𝑔 dom 𝑔)) = (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔)))
118, 10syl5eq 2791 . . . . . . . . . 10 (𝐴𝑉𝐴 / 𝑥(𝐹‘(𝑔 dom 𝑔)) = (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔)))
126, 7, 11ifbieq12d 4484 . . . . . . . . 9 (𝐴𝑉 → if([𝐴 / 𝑥]Lim dom 𝑔, 𝐴 / 𝑥 ran 𝑔, 𝐴 / 𝑥(𝐹‘(𝑔 dom 𝑔))) = if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔))))
135, 12syl5eq 2791 . . . . . . . 8 (𝐴𝑉𝐴 / 𝑥if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))) = if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔))))
144, 13ifbieq2d 4482 . . . . . . 7 (𝐴𝑉 → if([𝐴 / 𝑥]𝑔 = ∅, 𝐴 / 𝑥𝐼, 𝐴 / 𝑥if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))) = if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔)))))
153, 14syl5eq 2791 . . . . . 6 (𝐴𝑉𝐴 / 𝑥if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))) = if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔)))))
1615mpteq2dv 5172 . . . . 5 (𝐴𝑉 → (𝑔 ∈ V ↦ 𝐴 / 𝑥if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))) = (𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔))))))
172, 16eqtrd 2778 . . . 4 (𝐴𝑉𝐴 / 𝑥(𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))) = (𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔))))))
18 recseq 8176 . . . 4 (𝐴 / 𝑥(𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))) = (𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔))))) → recs(𝐴 / 𝑥(𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))))) = recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔)))))))
1917, 18syl 17 . . 3 (𝐴𝑉 → recs(𝐴 / 𝑥(𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))))) = recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔)))))))
201, 19eqtrd 2778 . 2 (𝐴𝑉𝐴 / 𝑥recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))))) = recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔)))))))
21 df-rdg 8212 . . 3 rec(𝐹, 𝐼) = recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))))
2221csbeq2i 3836 . 2 𝐴 / 𝑥rec(𝐹, 𝐼) = 𝐴 / 𝑥recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))))
23 df-rdg 8212 . 2 rec(𝐴 / 𝑥𝐹, 𝐴 / 𝑥𝐼) = recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔))))))
2420, 22, 233eqtr4g 2804 1 (𝐴𝑉𝐴 / 𝑥rec(𝐹, 𝐼) = rec(𝐴 / 𝑥𝐹, 𝐴 / 𝑥𝐼))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  wcel 2108  Vcvv 3422  [wsbc 3711  csb 3828  c0 4253  ifcif 4456   cuni 4836  cmpt 5153  dom cdm 5580  ran crn 5581  Lim wlim 6252  cfv 6418  recscrecs 8172  reccrdg 8211
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-xp 5586  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-iota 6376  df-fv 6426  df-ov 7258  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212
This theorem is referenced by:  csbfinxpg  35486
  Copyright terms: Public domain W3C validator