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

Theorem csbwrecsg 8374
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 8340 . . 3 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌frecs(𝑅, 𝐷, (𝐹 ∘ 2nd )) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd )))
2 eqid 2763 . . . 4 ⦋𝐴 / 𝑥⦌𝑅 = ⦋𝐴 / 𝑥⦌𝑅
3 eqid 2763 . . . 4 ⦋𝐴 / 𝑥⦌𝐷 = ⦋𝐴 / 𝑥⦌𝐷
4 csbcog 6326 . . . . 5 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd ) = (⦋𝐴 / 𝑥⦌𝐹 ∘ ⦋𝐴 / 𝑥⦌2nd ))
5 csbconstg 3870 . . . . . 6 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌2nd = 2nd )
65coeq2d 5851 . . . . 5 (𝐴 ∈ 𝑉 → (⦋𝐴 / 𝑥⦌𝐹 ∘ ⦋𝐴 / 𝑥⦌2nd ) = (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd ))
74, 6eqtrd 2798 . . . 4 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd ) = (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd ))
8 frecseq123 8338 . . . 4 ((⦋𝐴 / 𝑥⦌𝑅 = ⦋𝐴 / 𝑥⦌𝑅 ∧ ⦋𝐴 / 𝑥⦌𝐷 = ⦋𝐴 / 𝑥⦌𝐷 ∧ ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd ) = (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd )) → frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd )) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd )))
92, 3, 7, 8mp3an12i 1495 . . 3 (𝐴 ∈ 𝑉 → frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌(𝐹 ∘ 2nd )) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd )))
101, 9eqtrd 2798 . 2 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌frecs(𝑅, 𝐷, (𝐹 ∘ 2nd )) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd )))
11 df-wrecs 8368 . . 3 wrecs(𝑅, 𝐷, 𝐹) = frecs(𝑅, 𝐷, (𝐹 ∘ 2nd ))
1211csbeq2i 3859 . 2 ⦋𝐴 / 𝑥⦌wrecs(𝑅, 𝐷, 𝐹) = ⦋𝐴 / 𝑥⦌frecs(𝑅, 𝐷, (𝐹 ∘ 2nd ))
13 df-wrecs 8368 . 2 wrecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌𝐹) = frecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, (⦋𝐴 / 𝑥⦌𝐹 ∘ 2nd ))
1410, 12, 133eqtr4g 2823 1 (𝐴 ∈ 𝑉 → ⦋𝐴 / 𝑥⦌wrecs(𝑅, 𝐷, 𝐹) = wrecs(⦋𝐴 / 𝑥⦌𝑅, ⦋𝐴 / 𝑥⦌𝐷, ⦋𝐴 / 𝑥⦌𝐹))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1570   ∈ wcel 2147  ⦋csb 3851   ∘ ccom 5662  2nd c2nd 8034  frecscfrecs 8336  wrecscwrecs 8367
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-xp 5664  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-pred 6330  df-iota 6520  df-fv 6574  df-ov 7454  df-frecs 8337  df-wrecs 8368
This theorem is used by:  csbrecsg  38519
  Copyright terms: Public domain W3C validator