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

Theorem csbwrecsg 8329
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 8295 . . 3 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌frecs(𝑅, 𝐷, (𝐹 ∘ 2nd )) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd )))
2 eqid 2761 . . . 4 ⦋𝐴 / 𝑥⦌𝑅 = ⦋𝐴 / 𝑥⦌𝑅
3 eqid 2761 . . . 4 ⦋𝐴 / 𝑥⦌𝐷 = ⦋𝐴 / 𝑥⦌𝐷
4 csbcog 6299 . . . . 5 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd ) = (⦋𝐴 / 𝑥⦌𝐹 ∘ ⦋𝐴 / 𝑥⦌2nd ))
5 csbconstg 3866 . . . . . 6 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌2nd = 2nd )
65coeq2d 5840 . . . . 5 (𝐴 ∈ 𝑉 → (⦋𝐴 / 𝑥⦌𝐹 ∘ ⦋𝐴 / 𝑥⦌2nd ) = (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd ))
74, 6eqtrd 2796 . . . 4 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd ) = (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd ))
8 frecseq123 8293 . . . 4 ((⦋𝐴 / 𝑥⦌𝑅 = ⦋𝐴 / 𝑥⦌𝑅 ∧ ⦋𝐴 / 𝑥⦌𝐷 = ⦋𝐴 / 𝑥⦌𝐷 ∧ ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd ) = (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd )) → frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd )) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd )))
92, 3, 7, 8mp3an12i 1494 . . 3 (𝐴 ∈ 𝑉 → frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd )) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd )))
101, 9eqtrd 2796 . 2 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌frecs(𝑅, 𝐷, (𝐹 ∘ 2nd )) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd )))
11 df-wrecs 8323 . . 3 wrecs(𝑅, 𝐷, 𝐹) = frecs(𝑅, 𝐷, (𝐹 ∘ 2nd ))
1211csbeq2i 3855 . 2 ⦋𝐴 / 𝑥⦌wrecs(𝑅, 𝐷, 𝐹) = ⦋𝐴 / 𝑥⦌frecs(𝑅, 𝐷, (𝐹 ∘ 2nd ))
13 df-wrecs 8323 . 2 wrecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌𝐹) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd ))
1410, 12, 133eqtr4g 2821 1 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌wrecs(𝑅, 𝐷, 𝐹) = wrecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌𝐹))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570   ∈ wcel 2145  ⦋csb 3847   ∘ ccom 5655  2nd c2nd 7998  frecscfrecs 8291  wrecscwrecs 8322
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-xp 5657  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6303  df-iota 6493  df-fv 6545  df-ov 7421  df-frecs 8292  df-wrecs 8323
This theorem is used by:  csbrecsg  38231
  Copyright terms: Public domain W3C validator