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

Theorem csbwrecsg 8393
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 8359 . . 3 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌frecs(𝑅, 𝐷, (𝐹 ∘ 2nd )) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd )))
2 eqid 2774 . . . 4 ⦋𝐴 / 𝑥⦌𝑅 = ⦋𝐴 / 𝑥⦌𝑅
3 eqid 2774 . . . 4 ⦋𝐴 / 𝑥⦌𝐷 = ⦋𝐴 / 𝑥⦌𝐷
4 csbcog 6339 . . . . 5 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd ) = (⦋𝐴 / 𝑥⦌𝐹 ∘ ⦋𝐴 / 𝑥⦌2nd ))
5 csbconstg 3877 . . . . . 6 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌2nd = 2nd )
65coeq2d 5859 . . . . 5 (𝐴 ∈ 𝑉 → (⦋𝐴 / 𝑥⦌𝐹 ∘ ⦋𝐴 / 𝑥⦌2nd ) = (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd ))
74, 6eqtrd 2809 . . . 4 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd ) = (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd ))
8 frecseq123 8357 . . . 4 ((⦋𝐴 / 𝑥⦌𝑅 = ⦋𝐴 / 𝑥⦌𝑅 ∧ ⦋𝐴 / 𝑥⦌𝐷 = ⦋𝐴 / 𝑥⦌𝐷 ∧ ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd ) = (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd )) → frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd )) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd )))
92, 3, 7, 8mp3an12i 1497 . . 3 (𝐴 ∈ 𝑉 → frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd )) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd )))
101, 9eqtrd 2809 . 2 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌frecs(𝑅, 𝐷, (𝐹 ∘ 2nd )) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd )))
11 df-wrecs 8387 . . 3 wrecs(𝑅, 𝐷, 𝐹) = frecs(𝑅, 𝐷, (𝐹 ∘ 2nd ))
1211csbeq2i 3866 . 2 ⦋𝐴 / 𝑥⦌wrecs(𝑅, 𝐷, 𝐹) = ⦋𝐴 / 𝑥⦌frecs(𝑅, 𝐷, (𝐹 ∘ 2nd ))
13 df-wrecs 8387 . 2 wrecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌𝐹) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd ))
1410, 12, 133eqtr4g 2834 1 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌wrecs(𝑅, 𝐷, 𝐹) = wrecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌𝐹))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1572   ∈ wcel 2156  ⦋csb 3858   ∘ ccom 5670  2nd c2nd 8053  frecscfrecs 8355  wrecscwrecs 8386
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-xp 5672  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6343  df-iota 6533  df-fv 6587  df-ov 7473  df-frecs 8356  df-wrecs 8387
This theorem is used by:  csbrecsg  38621
  Copyright terms: Public domain W3C validator