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

Theorem nffrecs 8070
Description: Bound-variable hypothesis builder for the well-founded recursion generator. (Contributed by Scott Fenton, 23-Dec-2021.)
Hypotheses
Ref Expression
nffrecs.1 𝑥𝑅
nffrecs.2 𝑥𝐴
nffrecs.3 𝑥𝐹
Assertion
Ref Expression
nffrecs 𝑥frecs(𝑅, 𝐴, 𝐹)

Proof of Theorem nffrecs
Dummy variables 𝑓 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-frecs 8068 . 2 frecs(𝑅, 𝐴, 𝐹) = {𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
2 nfv 1918 . . . . . 6 𝑥 𝑓 Fn 𝑦
3 nfcv 2906 . . . . . . . 8 𝑥𝑦
4 nffrecs.2 . . . . . . . 8 𝑥𝐴
53, 4nfss 3909 . . . . . . 7 𝑥 𝑦𝐴
6 nffrecs.1 . . . . . . . . . 10 𝑥𝑅
7 nfcv 2906 . . . . . . . . . 10 𝑥𝑧
86, 4, 7nfpred 6196 . . . . . . . . 9 𝑥Pred(𝑅, 𝐴, 𝑧)
98, 3nfss 3909 . . . . . . . 8 𝑥Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦
103, 9nfralw 3149 . . . . . . 7 𝑥𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦
115, 10nfan 1903 . . . . . 6 𝑥(𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦)
12 nffrecs.3 . . . . . . . . 9 𝑥𝐹
13 nfcv 2906 . . . . . . . . . 10 𝑥𝑓
1413, 8nfres 5882 . . . . . . . . 9 𝑥(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))
157, 12, 14nfov 7285 . . . . . . . 8 𝑥(𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
1615nfeq2 2923 . . . . . . 7 𝑥(𝑓𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
173, 16nfralw 3149 . . . . . 6 𝑥𝑧𝑦 (𝑓𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
182, 11, 17nf3an 1905 . . . . 5 𝑥(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))
1918nfex 2322 . . . 4 𝑥𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))
2019nfab 2912 . . 3 𝑥{𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
2120nfuni 4843 . 2 𝑥 {𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
221, 21nfcxfr 2904 1 𝑥frecs(𝑅, 𝐴, 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wa 395  w3a 1085   = wceq 1539  wex 1783  {cab 2715  wnfc 2886  wral 3063  wss 3883   cuni 4836  cres 5582  Predcpred 6190   Fn wfn 6413  cfv 6418  (class class class)co 7255  frecscfrecs 8067
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-xp 5586  df-cnv 5588  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-iota 6376  df-fv 6426  df-ov 7258  df-frecs 8068
This theorem is referenced by:  nfwrecs  8103
  Copyright terms: Public domain W3C validator