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

Theorem fpr1 33457
Description: Law of founded partial recursion, part one. This development mostly follows the well-founded recursion development. Note that by requiring a partial ordering we can avoid using the Axiom of Infinity. (Contributed by Scott Fenton, 11-Sep-2023.)
Hypothesis
Ref Expression
fprr.1 𝐹 = frecs(𝑅, 𝐴, 𝐺)
Assertion
Ref Expression
fpr1 ((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) → 𝐹 Fn 𝐴)

Proof of Theorem fpr1
Dummy variables 𝑥 𝑦 𝑧 𝑢 𝑣 𝑎 𝑏 𝑐 𝑓 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2738 . . . 4 {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦𝐺(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))} = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦𝐺(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))}
21frrlem1 33441 . . 3 {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦𝐺(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))} = {𝑎 ∣ ∃𝑏(𝑎 Fn 𝑏 ∧ (𝑏𝐴 ∧ ∀𝑐𝑏 Pred(𝑅, 𝐴, 𝑐) ⊆ 𝑏) ∧ ∀𝑐𝑏 (𝑎𝑐) = (𝑐𝐺(𝑎 ↾ Pred(𝑅, 𝐴, 𝑐))))}
3 fprr.1 . . 3 𝐹 = frecs(𝑅, 𝐴, 𝐺)
42, 3fprlem1 33455 . . 3 (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) ∧ (𝑔 ∈ {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦𝐺(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))} ∧ ∈ {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦𝐺(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))})) → ((𝑏𝑔𝑢𝑏𝑣) → 𝑢 = 𝑣))
52, 3, 4frrlem9 33449 . 2 ((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) → Fun 𝐹)
6 eqid 2738 . . 3 ((𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) ∪ {⟨𝑧, (𝑧𝐺(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩}) = ((𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) ∪ {⟨𝑧, (𝑧𝐺(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩})
7 simp1 1137 . . 3 ((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) → 𝑅 Fr 𝐴)
8 ssidd 3900 . . 3 (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) ∧ 𝑧𝐴) → Pred(𝑅, 𝐴, 𝑧) ⊆ Pred(𝑅, 𝐴, 𝑧))
9 fprlem2 33456 . . 3 (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) ∧ 𝑧𝐴) → ∀𝑦 ∈ Pred (𝑅, 𝐴, 𝑧)Pred(𝑅, 𝐴, 𝑦) ⊆ Pred(𝑅, 𝐴, 𝑧))
10 setlikespec 6150 . . . . 5 ((𝑧𝐴𝑅 Se 𝐴) → Pred(𝑅, 𝐴, 𝑧) ∈ V)
1110ancoms 462 . . . 4 ((𝑅 Se 𝐴𝑧𝐴) → Pred(𝑅, 𝐴, 𝑧) ∈ V)
12113ad2antl3 1188 . . 3 (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) ∧ 𝑧𝐴) → Pred(𝑅, 𝐴, 𝑧) ∈ V)
13 predss 6136 . . . 4 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝐴
1413a1i 11 . . 3 (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) ∧ 𝑧𝐴) → Pred(𝑅, 𝐴, 𝑧) ⊆ 𝐴)
15 difssd 4023 . . . . 5 (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) ∧ (𝐴 ∖ dom 𝐹) ≠ ∅) → (𝐴 ∖ dom 𝐹) ⊆ 𝐴)
16 simpr 488 . . . . 5 (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) ∧ (𝐴 ∖ dom 𝐹) ≠ ∅) → (𝐴 ∖ dom 𝐹) ≠ ∅)
1715, 16jca 515 . . . 4 (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) ∧ (𝐴 ∖ dom 𝐹) ≠ ∅) → ((𝐴 ∖ dom 𝐹) ⊆ 𝐴 ∧ (𝐴 ∖ dom 𝐹) ≠ ∅))
18 frpomin2 33382 . . . 4 (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) ∧ ((𝐴 ∖ dom 𝐹) ⊆ 𝐴 ∧ (𝐴 ∖ dom 𝐹) ≠ ∅)) → ∃𝑧 ∈ (𝐴 ∖ dom 𝐹)Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅)
1917, 18syldan 594 . . 3 (((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) ∧ (𝐴 ∖ dom 𝐹) ≠ ∅) → ∃𝑧 ∈ (𝐴 ∖ dom 𝐹)Pred(𝑅, (𝐴 ∖ dom 𝐹), 𝑧) = ∅)
202, 3, 4, 6, 7, 8, 9, 12, 14, 19frrlem14 33454 . 2 ((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) → dom 𝐹 = 𝐴)
21 df-fn 6342 . 2 (𝐹 Fn 𝐴 ↔ (Fun 𝐹 ∧ dom 𝐹 = 𝐴))
225, 20, 21sylanbrc 586 1 ((𝑅 Fr 𝐴𝑅 Po 𝐴𝑅 Se 𝐴) → 𝐹 Fn 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  w3a 1088   = wceq 1542  wex 1786  wcel 2114  {cab 2716  wne 2934  wral 3053  wrex 3054  Vcvv 3398  cdif 3840  cun 3841  wss 3843  c0 4211  {csn 4516  cop 4522   Po wpo 5440   Fr wfr 5480   Se wse 5481  dom cdm 5525  cres 5527  Predcpred 6128  Fun wfun 6333   Fn wfn 6334  cfv 6339  (class class class)co 7170  frecscfrecs 33435
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2710  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pr 5296  ax-un 7479
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-reu 3060  df-rab 3062  df-v 3400  df-sbc 3681  df-csb 3791  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-nul 4212  df-if 4415  df-sn 4517  df-pr 4519  df-op 4523  df-uni 4797  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5429  df-po 5442  df-fr 5483  df-se 5484  df-xp 5531  df-rel 5532  df-cnv 5533  df-co 5534  df-dm 5535  df-rn 5536  df-res 5537  df-ima 5538  df-pred 6129  df-iota 6297  df-fun 6341  df-fn 6342  df-f 6343  df-f1 6344  df-fo 6345  df-f1o 6346  df-fv 6347  df-ov 7173  df-frecs 33436
This theorem is referenced by:  fpr2  33458  fpr3  33459  on2recsfn  33467  norecfn  33740  norec2fn  33750
  Copyright terms: Public domain W3C validator