ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  freceq2 GIF version

Theorem freceq2 6290
Description: Equality theorem for the finite recursive definition generator. (Contributed by Jim Kingdon, 30-May-2020.)
Assertion
Ref Expression
freceq2 (𝐴 = 𝐵 → frec(𝐹, 𝐴) = frec(𝐹, 𝐵))

Proof of Theorem freceq2
Dummy variables 𝑥 𝑔 𝑚 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpl 108 . . . . . . . . 9 ((𝐴 = 𝐵𝑔 ∈ V) → 𝐴 = 𝐵)
21eleq2d 2209 . . . . . . . 8 ((𝐴 = 𝐵𝑔 ∈ V) → (𝑥𝐴𝑥𝐵))
32anbi2d 459 . . . . . . 7 ((𝐴 = 𝐵𝑔 ∈ V) → ((dom 𝑔 = ∅ ∧ 𝑥𝐴) ↔ (dom 𝑔 = ∅ ∧ 𝑥𝐵)))
43orbi2d 779 . . . . . 6 ((𝐴 = 𝐵𝑔 ∈ V) → ((∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴)) ↔ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐵))))
54abbidv 2257 . . . . 5 ((𝐴 = 𝐵𝑔 ∈ V) → {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))} = {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐵))})
65mpteq2dva 4018 . . . 4 (𝐴 = 𝐵 → (𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))}) = (𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐵))}))
7 recseq 6203 . . . 4 ((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))}) = (𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐵))}) → recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})) = recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐵))})))
86, 7syl 14 . . 3 (𝐴 = 𝐵 → recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})) = recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐵))})))
98reseq1d 4818 . 2 (𝐴 = 𝐵 → (recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})) ↾ ω) = (recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐵))})) ↾ ω))
10 df-frec 6288 . 2 frec(𝐹, 𝐴) = (recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐴))})) ↾ ω)
11 df-frec 6288 . 2 frec(𝐹, 𝐵) = (recs((𝑔 ∈ V ↦ {𝑥 ∣ (∃𝑚 ∈ ω (dom 𝑔 = suc 𝑚𝑥 ∈ (𝐹‘(𝑔𝑚))) ∨ (dom 𝑔 = ∅ ∧ 𝑥𝐵))})) ↾ ω)
129, 10, 113eqtr4g 2197 1 (𝐴 = 𝐵 → frec(𝐹, 𝐴) = frec(𝐹, 𝐵))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wo 697   = wceq 1331  wcel 1480  {cab 2125  wrex 2417  Vcvv 2686  c0 3363  cmpt 3989  suc csuc 4287  ωcom 4504  dom cdm 4539  cres 4541  cfv 5123  recscrecs 6201  freccfrec 6287
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121
This theorem depends on definitions:  df-bi 116  df-tru 1334  df-nf 1437  df-sb 1736  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-ral 2421  df-rex 2422  df-v 2688  df-in 3077  df-uni 3737  df-br 3930  df-opab 3990  df-mpt 3991  df-res 4551  df-iota 5088  df-fv 5131  df-recs 6202  df-frec 6288
This theorem is referenced by:  seqeq1  10233  seqeq3  10235
  Copyright terms: Public domain W3C validator