Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fpr2 Structured version   Visualization version   GIF version

Theorem fpr2 33161
Description: Law of founded partial recursion, part two. Now we establish the value of 𝐹 within 𝐴. (Contributed by Scott Fenton, 11-Sep-2023.)
Hypothesis
Ref Expression
fprr.1 𝐹 = frecs(𝑅, 𝐴, 𝐺)
Assertion
Ref Expression
fpr2 (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) ∧ 𝑋𝐴) → (𝐹𝑋) = (𝑋𝐺(𝐹 ↾ Pred(𝑅, 𝐴, 𝑋))))

Proof of Theorem fpr2
Dummy variables 𝑥 𝑦 𝑢 𝑣 𝑎 𝑏 𝑐 𝑓 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fprr.1 . . . . . 6 𝐹 = frecs(𝑅, 𝐴, 𝐺)
21fpr1 33160 . . . . 5 ((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) → 𝐹 Fn 𝐴)
32fndmd 6449 . . . 4 ((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) → dom 𝐹 = 𝐴)
43eleq2d 2897 . . 3 ((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) → (𝑋 ∈ dom 𝐹𝑋𝐴))
54biimpar 480 . 2 (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) ∧ 𝑋𝐴) → 𝑋 ∈ dom 𝐹)
6 fveq2 6663 . . . . . 6 (𝑦 = 𝑋 → (𝐹𝑦) = (𝐹𝑋))
7 id 22 . . . . . . 7 (𝑦 = 𝑋𝑦 = 𝑋)
8 predeq3 6145 . . . . . . . 8 (𝑦 = 𝑋 → Pred(𝑅, 𝐴, 𝑦) = Pred(𝑅, 𝐴, 𝑋))
98reseq2d 5846 . . . . . . 7 (𝑦 = 𝑋 → (𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)) = (𝐹 ↾ Pred(𝑅, 𝐴, 𝑋)))
107, 9oveq12d 7167 . . . . . 6 (𝑦 = 𝑋 → (𝑦𝐺(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) = (𝑋𝐺(𝐹 ↾ Pred(𝑅, 𝐴, 𝑋))))
116, 10eqeq12d 2836 . . . . 5 (𝑦 = 𝑋 → ((𝐹𝑦) = (𝑦𝐺(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝐹𝑋) = (𝑋𝐺(𝐹 ↾ Pred(𝑅, 𝐴, 𝑋)))))
1211imbi2d 343 . . . 4 (𝑦 = 𝑋 → (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) → (𝐹𝑦) = (𝑦𝐺(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))) ↔ ((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) → (𝐹𝑋) = (𝑋𝐺(𝐹 ↾ Pred(𝑅, 𝐴, 𝑋))))))
13 eqid 2820 . . . . . . 7 {𝑎 ∣ ∃𝑏(𝑎 Fn 𝑏 ∧ (𝑏𝐴 ∧ ∀𝑐𝑏 Pred(𝑅, 𝐴, 𝑐) ⊆ 𝑏) ∧ ∀𝑐𝑏 (𝑎𝑐) = (𝑐𝐺(𝑎 ↾ Pred(𝑅, 𝐴, 𝑐))))} = {𝑎 ∣ ∃𝑏(𝑎 Fn 𝑏 ∧ (𝑏𝐴 ∧ ∀𝑐𝑏 Pred(𝑅, 𝐴, 𝑐) ⊆ 𝑏) ∧ ∀𝑐𝑏 (𝑎𝑐) = (𝑐𝐺(𝑎 ↾ Pred(𝑅, 𝐴, 𝑐))))}
1413frrlem1 33144 . . . . . 6 {𝑎 ∣ ∃𝑏(𝑎 Fn 𝑏 ∧ (𝑏𝐴 ∧ ∀𝑐𝑏 Pred(𝑅, 𝐴, 𝑐) ⊆ 𝑏) ∧ ∀𝑐𝑏 (𝑎𝑐) = (𝑐𝐺(𝑎 ↾ Pred(𝑅, 𝐴, 𝑐))))} = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦𝐺(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))}
1514, 1fprlem1 33158 . . . . . 6 (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) ∧ (𝑔 ∈ {𝑎 ∣ ∃𝑏(𝑎 Fn 𝑏 ∧ (𝑏𝐴 ∧ ∀𝑐𝑏 Pred(𝑅, 𝐴, 𝑐) ⊆ 𝑏) ∧ ∀𝑐𝑏 (𝑎𝑐) = (𝑐𝐺(𝑎 ↾ Pred(𝑅, 𝐴, 𝑐))))} ∧ ∈ {𝑎 ∣ ∃𝑏(𝑎 Fn 𝑏 ∧ (𝑏𝐴 ∧ ∀𝑐𝑏 Pred(𝑅, 𝐴, 𝑐) ⊆ 𝑏) ∧ ∀𝑐𝑏 (𝑎𝑐) = (𝑐𝐺(𝑎 ↾ Pred(𝑅, 𝐴, 𝑐))))})) → ((𝑥𝑔𝑢𝑥𝑣) → 𝑢 = 𝑣))
1614, 1, 15frrlem10 33153 . . . . 5 (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) ∧ 𝑦 ∈ dom 𝐹) → (𝐹𝑦) = (𝑦𝐺(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))))
1716expcom 416 . . . 4 (𝑦 ∈ dom 𝐹 → ((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) → (𝐹𝑦) = (𝑦𝐺(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))))
1812, 17vtoclga 3571 . . 3 (𝑋 ∈ dom 𝐹 → ((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) → (𝐹𝑋) = (𝑋𝐺(𝐹 ↾ Pred(𝑅, 𝐴, 𝑋)))))
1918impcom 410 . 2 (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) ∧ 𝑋 ∈ dom 𝐹) → (𝐹𝑋) = (𝑋𝐺(𝐹 ↾ Pred(𝑅, 𝐴, 𝑋))))
205, 19syldan 593 1 (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) ∧ 𝑋𝐴) → (𝐹𝑋) = (𝑋𝐺(𝐹 ↾ Pred(𝑅, 𝐴, 𝑋))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  w3a 1082   = wceq 1536  wex 1779  wcel 2113  {cab 2798  wral 3137  wss 3929   Po wpo 5465   Fr wfr 5504   Se wse 5505  dom cdm 5548  cres 5550  Predcpred 6140   Fn wfn 6343  cfv 6348  (class class class)co 7149  frecscfrecs 33138
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2792  ax-rep 5183  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5323  ax-un 7454
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2799  df-cleq 2813  df-clel 2892  df-nfc 2962  df-ne 3016  df-ral 3142  df-rex 3143  df-reu 3144  df-rab 3146  df-v 3493  df-sbc 3769  df-csb 3877  df-dif 3932  df-un 3934  df-in 3936  df-ss 3945  df-nul 4285  df-if 4461  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-iun 4914  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5453  df-po 5467  df-fr 5507  df-se 5508  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-pred 6141  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356  df-ov 7152  df-frecs 33139
This theorem is referenced by:  fpr3  33162
  Copyright terms: Public domain W3C validator