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 35500
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 35499 . . 3 (𝐴𝑉𝐴 / 𝑥recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))))) = recs(𝐴 / 𝑥(𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))))))
2 csbmpt2 5471 . . . . 5 (𝐴𝑉𝐴 / 𝑥(𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))) = (𝑔 ∈ V ↦ 𝐴 / 𝑥if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))))
3 csbif 4516 . . . . . . 7 𝐴 / 𝑥if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))) = if([𝐴 / 𝑥]𝑔 = ∅, 𝐴 / 𝑥𝐼, 𝐴 / 𝑥if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))
4 sbcg 3795 . . . . . . . 8 (𝐴𝑉 → ([𝐴 / 𝑥]𝑔 = ∅ ↔ 𝑔 = ∅))
5 csbif 4516 . . . . . . . . 9 𝐴 / 𝑥if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))) = if([𝐴 / 𝑥]Lim dom 𝑔, 𝐴 / 𝑥 ran 𝑔, 𝐴 / 𝑥(𝐹‘(𝑔 dom 𝑔)))
6 sbcg 3795 . . . . . . . . . 10 (𝐴𝑉 → ([𝐴 / 𝑥]Lim dom 𝑔 ↔ Lim dom 𝑔))
7 csbconstg 3851 . . . . . . . . . 10 (𝐴𝑉𝐴 / 𝑥 ran 𝑔 = ran 𝑔)
8 csbfv12 6817 . . . . . . . . . . 11 𝐴 / 𝑥(𝐹‘(𝑔 dom 𝑔)) = (𝐴 / 𝑥𝐹𝐴 / 𝑥(𝑔 dom 𝑔))
9 csbconstg 3851 . . . . . . . . . . . 12 (𝐴𝑉𝐴 / 𝑥(𝑔 dom 𝑔) = (𝑔 dom 𝑔))
109fveq2d 6778 . . . . . . . . . . 11 (𝐴𝑉 → (𝐴 / 𝑥𝐹𝐴 / 𝑥(𝑔 dom 𝑔)) = (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔)))
118, 10eqtrid 2790 . . . . . . . . . 10 (𝐴𝑉𝐴 / 𝑥(𝐹‘(𝑔 dom 𝑔)) = (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔)))
126, 7, 11ifbieq12d 4487 . . . . . . . . 9 (𝐴𝑉 → if([𝐴 / 𝑥]Lim dom 𝑔, 𝐴 / 𝑥 ran 𝑔, 𝐴 / 𝑥(𝐹‘(𝑔 dom 𝑔))) = if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔))))
135, 12eqtrid 2790 . . . . . . . 8 (𝐴𝑉𝐴 / 𝑥if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))) = if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔))))
144, 13ifbieq2d 4485 . . . . . . 7 (𝐴𝑉 → if([𝐴 / 𝑥]𝑔 = ∅, 𝐴 / 𝑥𝐼, 𝐴 / 𝑥if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))) = if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔)))))
153, 14eqtrid 2790 . . . . . 6 (𝐴𝑉𝐴 / 𝑥if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))) = if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔)))))
1615mpteq2dv 5176 . . . . 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 8205 . . . 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 8241 . . 3 rec(𝐹, 𝐼) = recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))))
2221csbeq2i 3840 . 2 𝐴 / 𝑥rec(𝐹, 𝐼) = 𝐴 / 𝑥recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))))
23 df-rdg 8241 . 2 rec(𝐴 / 𝑥𝐹, 𝐴 / 𝑥𝐼) = recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔))))))
2420, 22, 233eqtr4g 2803 1 (𝐴𝑉𝐴 / 𝑥rec(𝐹, 𝐼) = rec(𝐴 / 𝑥𝐹, 𝐴 / 𝑥𝐼))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  wcel 2106  Vcvv 3432  [wsbc 3716  csb 3832  c0 4256  ifcif 4459   cuni 4839  cmpt 5157  dom cdm 5589  ran crn 5590  Lim wlim 6267  cfv 6433  recscrecs 8201  reccrdg 8240
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-xp 5595  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-iota 6391  df-fv 6441  df-ov 7278  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241
This theorem is referenced by:  csbfinxpg  35559
  Copyright terms: Public domain W3C validator