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

Theorem csbwrecsg 8306
Description: Move class substitution in and out of the well-founded recursive function generator. (Contributed by ML, 25-Oct-2020.) (Revised by Scott Fenton, 18-Nov-2024.)
Assertion
Ref Expression
csbwrecsg (𝐴𝑉𝐴 / 𝑥wrecs(𝑅, 𝐷, 𝐹) = wrecs(𝐴 / 𝑥𝑅, 𝐴 / 𝑥𝐷, 𝐴 / 𝑥𝐹))

Proof of Theorem csbwrecsg
StepHypRef Expression
1 csbfrecsg 8269 . . 3 (𝐴𝑉𝐴 / 𝑥frecs(𝑅, 𝐷, (𝐹 ∘ 2nd )) = frecs(𝐴 / 𝑥𝑅, 𝐴 / 𝑥𝐷, 𝐴 / 𝑥(𝐹 ∘ 2nd )))
2 eqid 2733 . . . 4 𝐴 / 𝑥𝑅 = 𝐴 / 𝑥𝑅
3 eqid 2733 . . . 4 𝐴 / 𝑥𝐷 = 𝐴 / 𝑥𝐷
4 csbcog 6297 . . . . 5 (𝐴𝑉𝐴 / 𝑥(𝐹 ∘ 2nd ) = (𝐴 / 𝑥𝐹𝐴 / 𝑥2nd ))
5 csbconstg 3913 . . . . . 6 (𝐴𝑉𝐴 / 𝑥2nd = 2nd )
65coeq2d 5863 . . . . 5 (𝐴𝑉 → (𝐴 / 𝑥𝐹𝐴 / 𝑥2nd ) = (𝐴 / 𝑥𝐹 ∘ 2nd ))
74, 6eqtrd 2773 . . . 4 (𝐴𝑉𝐴 / 𝑥(𝐹 ∘ 2nd ) = (𝐴 / 𝑥𝐹 ∘ 2nd ))
8 frecseq123 8267 . . . 4 ((𝐴 / 𝑥𝑅 = 𝐴 / 𝑥𝑅𝐴 / 𝑥𝐷 = 𝐴 / 𝑥𝐷𝐴 / 𝑥(𝐹 ∘ 2nd ) = (𝐴 / 𝑥𝐹 ∘ 2nd )) → frecs(𝐴 / 𝑥𝑅, 𝐴 / 𝑥𝐷, 𝐴 / 𝑥(𝐹 ∘ 2nd )) = frecs(𝐴 / 𝑥𝑅, 𝐴 / 𝑥𝐷, (𝐴 / 𝑥𝐹 ∘ 2nd )))
92, 3, 7, 8mp3an12i 1466 . . 3 (𝐴𝑉 → frecs(𝐴 / 𝑥𝑅, 𝐴 / 𝑥𝐷, 𝐴 / 𝑥(𝐹 ∘ 2nd )) = frecs(𝐴 / 𝑥𝑅, 𝐴 / 𝑥𝐷, (𝐴 / 𝑥𝐹 ∘ 2nd )))
101, 9eqtrd 2773 . 2 (𝐴𝑉𝐴 / 𝑥frecs(𝑅, 𝐷, (𝐹 ∘ 2nd )) = frecs(𝐴 / 𝑥𝑅, 𝐴 / 𝑥𝐷, (𝐴 / 𝑥𝐹 ∘ 2nd )))
11 df-wrecs 8297 . . 3 wrecs(𝑅, 𝐷, 𝐹) = frecs(𝑅, 𝐷, (𝐹 ∘ 2nd ))
1211csbeq2i 3902 . 2 𝐴 / 𝑥wrecs(𝑅, 𝐷, 𝐹) = 𝐴 / 𝑥frecs(𝑅, 𝐷, (𝐹 ∘ 2nd ))
13 df-wrecs 8297 . 2 wrecs(𝐴 / 𝑥𝑅, 𝐴 / 𝑥𝐷, 𝐴 / 𝑥𝐹) = frecs(𝐴 / 𝑥𝑅, 𝐴 / 𝑥𝐷, (𝐴 / 𝑥𝐹 ∘ 2nd ))
1410, 12, 133eqtr4g 2798 1 (𝐴𝑉𝐴 / 𝑥wrecs(𝑅, 𝐷, 𝐹) = wrecs(𝐴 / 𝑥𝑅, 𝐴 / 𝑥𝐷, 𝐴 / 𝑥𝐹))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1542  wcel 2107  csb 3894  ccom 5681  2nd c2nd 7974  frecscfrecs 8265  wrecscwrecs 8296
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 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-sep 5300  ax-nul 5307  ax-pr 5428
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-ral 3063  df-rex 3072  df-rab 3434  df-v 3477  df-sbc 3779  df-csb 3895  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-nul 4324  df-if 4530  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-br 5150  df-opab 5212  df-xp 5683  df-cnv 5685  df-co 5686  df-dm 5687  df-rn 5688  df-res 5689  df-ima 5690  df-pred 6301  df-iota 6496  df-fv 6552  df-ov 7412  df-frecs 8266  df-wrecs 8297
This theorem is referenced by:  csbrecsg  36209
  Copyright terms: Public domain W3C validator