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

Theorem nffrecs 8219
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 8217 . 2 frecs(𝑅, 𝐴, 𝐹) = {𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
2 nfv 1917 . . . . . 6 𝑥 𝑓 Fn 𝑦
3 nfcv 2902 . . . . . . . 8 𝑥𝑦
4 nffrecs.2 . . . . . . . 8 𝑥𝐴
53, 4nfss 3939 . . . . . . 7 𝑥 𝑦𝐴
6 nffrecs.1 . . . . . . . . . 10 𝑥𝑅
7 nfcv 2902 . . . . . . . . . 10 𝑥𝑧
86, 4, 7nfpred 6263 . . . . . . . . 9 𝑥Pred(𝑅, 𝐴, 𝑧)
98, 3nfss 3939 . . . . . . . 8 𝑥Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦
103, 9nfralw 3292 . . . . . . 7 𝑥𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦
115, 10nfan 1902 . . . . . 6 𝑥(𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦)
12 nffrecs.3 . . . . . . . . 9 𝑥𝐹
13 nfcv 2902 . . . . . . . . . 10 𝑥𝑓
1413, 8nfres 5944 . . . . . . . . 9 𝑥(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))
157, 12, 14nfov 7392 . . . . . . . 8 𝑥(𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
1615nfeq2 2919 . . . . . . 7 𝑥(𝑓𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
173, 16nfralw 3292 . . . . . 6 𝑥𝑧𝑦 (𝑓𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
182, 11, 17nf3an 1904 . . . . 5 𝑥(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))
1918nfex 2317 . . . 4 𝑥𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))
2019nfab 2908 . . 3 𝑥{𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
2120nfuni 4877 . 2 𝑥 {𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
221, 21nfcxfr 2900 1 𝑥frecs(𝑅, 𝐴, 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wa 396  w3a 1087   = wceq 1541  wex 1781  {cab 2708  wnfc 2882  wral 3060  wss 3913   cuni 4870  cres 5640  Predcpred 6257   Fn wfn 6496  cfv 6501  (class class class)co 7362  frecscfrecs 8216
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2702
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ral 3061  df-rex 3070  df-rab 3406  df-v 3448  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-nul 4288  df-if 4492  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4871  df-br 5111  df-opab 5173  df-xp 5644  df-cnv 5646  df-dm 5648  df-rn 5649  df-res 5650  df-ima 5651  df-pred 6258  df-iota 6453  df-fv 6509  df-ov 7365  df-frecs 8217
This theorem is referenced by:  nfwrecs  8252
  Copyright terms: Public domain W3C validator