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 33305
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 33304 . . 3 (𝐴𝑉𝐴 / 𝑥recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))))) = recs(𝐴 / 𝑥(𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))))))
2 csbmpt2 5040 . . . . 5 (𝐴𝑉𝐴 / 𝑥(𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))) = (𝑔 ∈ V ↦ 𝐴 / 𝑥if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))))
3 csbif 4171 . . . . . . 7 𝐴 / 𝑥if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))) = if([𝐴 / 𝑥]𝑔 = ∅, 𝐴 / 𝑥𝐼, 𝐴 / 𝑥if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))
4 sbcg 3536 . . . . . . . 8 (𝐴𝑉 → ([𝐴 / 𝑥]𝑔 = ∅ ↔ 𝑔 = ∅))
5 csbif 4171 . . . . . . . . 9 𝐴 / 𝑥if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))) = if([𝐴 / 𝑥]Lim dom 𝑔, 𝐴 / 𝑥 ran 𝑔, 𝐴 / 𝑥(𝐹‘(𝑔 dom 𝑔)))
6 sbcg 3536 . . . . . . . . . 10 (𝐴𝑉 → ([𝐴 / 𝑥]Lim dom 𝑔 ↔ Lim dom 𝑔))
7 csbconstg 3579 . . . . . . . . . 10 (𝐴𝑉𝐴 / 𝑥 ran 𝑔 = ran 𝑔)
8 csbfv12 6269 . . . . . . . . . . 11 𝐴 / 𝑥(𝐹‘(𝑔 dom 𝑔)) = (𝐴 / 𝑥𝐹𝐴 / 𝑥(𝑔 dom 𝑔))
9 csbconstg 3579 . . . . . . . . . . . 12 (𝐴𝑉𝐴 / 𝑥(𝑔 dom 𝑔) = (𝑔 dom 𝑔))
109fveq2d 6233 . . . . . . . . . . 11 (𝐴𝑉 → (𝐴 / 𝑥𝐹𝐴 / 𝑥(𝑔 dom 𝑔)) = (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔)))
118, 10syl5eq 2697 . . . . . . . . . 10 (𝐴𝑉𝐴 / 𝑥(𝐹‘(𝑔 dom 𝑔)) = (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔)))
126, 7, 11ifbieq12d 4146 . . . . . . . . 9 (𝐴𝑉 → if([𝐴 / 𝑥]Lim dom 𝑔, 𝐴 / 𝑥 ran 𝑔, 𝐴 / 𝑥(𝐹‘(𝑔 dom 𝑔))) = if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔))))
135, 12syl5eq 2697 . . . . . . . 8 (𝐴𝑉𝐴 / 𝑥if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))) = if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔))))
144, 13ifbieq2d 4144 . . . . . . 7 (𝐴𝑉 → if([𝐴 / 𝑥]𝑔 = ∅, 𝐴 / 𝑥𝐼, 𝐴 / 𝑥if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))) = if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔)))))
153, 14syl5eq 2697 . . . . . 6 (𝐴𝑉𝐴 / 𝑥if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))) = if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔)))))
1615mpteq2dv 4778 . . . . 5 (𝐴𝑉 → (𝑔 ∈ V ↦ 𝐴 / 𝑥if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))) = (𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔))))))
172, 16eqtrd 2685 . . . 4 (𝐴𝑉𝐴 / 𝑥(𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))) = (𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔))))))
18 recseq 7515 . . . 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 2685 . 2 (𝐴𝑉𝐴 / 𝑥recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔)))))) = recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔)))))))
21 df-rdg 7551 . . 3 rec(𝐹, 𝐼) = recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))))
2221csbeq2i 4026 . 2 𝐴 / 𝑥rec(𝐹, 𝐼) = 𝐴 / 𝑥recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐹‘(𝑔 dom 𝑔))))))
23 df-rdg 7551 . 2 rec(𝐴 / 𝑥𝐹, 𝐴 / 𝑥𝐼) = recs((𝑔 ∈ V ↦ if(𝑔 = ∅, 𝐴 / 𝑥𝐼, if(Lim dom 𝑔, ran 𝑔, (𝐴 / 𝑥𝐹‘(𝑔 dom 𝑔))))))
2420, 22, 233eqtr4g 2710 1 (𝐴𝑉𝐴 / 𝑥rec(𝐹, 𝐼) = rec(𝐴 / 𝑥𝐹, 𝐴 / 𝑥𝐼))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1523  wcel 2030  Vcvv 3231  [wsbc 3468  csb 3566  c0 3948  ifcif 4119   cuni 4468  cmpt 4762  dom cdm 5143  ran crn 5144  Lim wlim 5762  cfv 5926  recscrecs 7512  reccrdg 7550
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-fal 1529  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-br 4686  df-opab 4746  df-mpt 4763  df-xp 5149  df-cnv 5151  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-iota 5889  df-fv 5934  df-wrecs 7452  df-recs 7513  df-rdg 7551
This theorem is referenced by:  csbfinxpg  33355
  Copyright terms: Public domain W3C validator