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

Theorem csbwrecsg 8343
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 8309 . . 3 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌frecs(𝑅, 𝐷, (𝐹 ∘ 2nd )) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd )))
2 eqid 2760 . . . 4 ⦋𝐴 / 𝑥⦌𝑅 = ⦋𝐴 / 𝑥⦌𝑅
3 eqid 2760 . . . 4 ⦋𝐴 / 𝑥⦌𝐷 = ⦋𝐴 / 𝑥⦌𝐷
4 csbcog 6303 . . . . 5 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd ) = (⦋𝐴 / 𝑥⦌𝐹 ∘ ⦋𝐴 / 𝑥⦌2nd ))
5 csbconstg 3866 . . . . . 6 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌2nd = 2nd )
65coeq2d 5841 . . . . 5 (𝐴 ∈ 𝑉 → (⦋𝐴 / 𝑥⦌𝐹 ∘ ⦋𝐴 / 𝑥⦌2nd ) = (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd ))
74, 6eqtrd 2795 . . . 4 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd ) = (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd ))
8 frecseq123 8307 . . . 4 ((⦋𝐴 / 𝑥⦌𝑅 = ⦋𝐴 / 𝑥⦌𝑅 ∧ ⦋𝐴 / 𝑥⦌𝐷 = ⦋𝐴 / 𝑥⦌𝐷 ∧ ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd ) = (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd )) → frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd )) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd )))
92, 3, 7, 8mp3an12i 1494 . . 3 (𝐴 ∈ 𝑉 → frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd )) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd )))
101, 9eqtrd 2795 . 2 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌frecs(𝑅, 𝐷, (𝐹 ∘ 2nd )) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd )))
11 df-wrecs 8337 . . 3 wrecs(𝑅, 𝐷, 𝐹) = frecs(𝑅, 𝐷, (𝐹 ∘ 2nd ))
1211csbeq2i 3855 . 2 ⦋𝐴 / 𝑥⦌wrecs(𝑅, 𝐷, 𝐹) = ⦋𝐴 / 𝑥⦌frecs(𝑅, 𝐷, (𝐹 ∘ 2nd ))
13 df-wrecs 8337 . 2 wrecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌𝐹) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd ))
1410, 12, 133eqtr4g 2820 1 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌wrecs(𝑅, 𝐷, 𝐹) = wrecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌𝐹))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1569   ∈ wcel 2144  ⦋csb 3847   ∘ ccom 5655  2nd c2nd 8004  frecscfrecs 8305  wrecscwrecs 8336
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-xp 5657  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6307  df-iota 6497  df-fv 6551  df-ov 7427  df-frecs 8306  df-wrecs 8337
This theorem is used by:  csbrecsg  38360
  Copyright terms: Public domain W3C validator