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

Theorem nfwrecs 7965
Description: Bound-variable hypothesis builder for the well-founded recursive function generator. (Contributed by Scott Fenton, 9-Jun-2018.)
Hypotheses
Ref Expression
nfwrecs.1 𝑥𝑅
nfwrecs.2 𝑥𝐴
nfwrecs.3 𝑥𝐹
Assertion
Ref Expression
nfwrecs 𝑥wrecs(𝑅, 𝐴, 𝐹)

Proof of Theorem nfwrecs
Dummy variables 𝑓 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-wrecs 7963 . 2 wrecs(𝑅, 𝐴, 𝐹) = {𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
2 nfv 1915 . . . . . 6 𝑥 𝑓 Fn 𝑦
3 nfcv 2919 . . . . . . . 8 𝑥𝑦
4 nfwrecs.2 . . . . . . . 8 𝑥𝐴
53, 4nfss 3886 . . . . . . 7 𝑥 𝑦𝐴
6 nfwrecs.1 . . . . . . . . . 10 𝑥𝑅
7 nfcv 2919 . . . . . . . . . 10 𝑥𝑧
86, 4, 7nfpred 6136 . . . . . . . . 9 𝑥Pred(𝑅, 𝐴, 𝑧)
98, 3nfss 3886 . . . . . . . 8 𝑥Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦
103, 9nfralw 3153 . . . . . . 7 𝑥𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦
115, 10nfan 1900 . . . . . 6 𝑥(𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦)
12 nfwrecs.3 . . . . . . . . 9 𝑥𝐹
13 nfcv 2919 . . . . . . . . . 10 𝑥𝑓
1413, 8nfres 5830 . . . . . . . . 9 𝑥(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))
1512, 14nffv 6673 . . . . . . . 8 𝑥(𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
1615nfeq2 2936 . . . . . . 7 𝑥(𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
173, 16nfralw 3153 . . . . . 6 𝑥𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
182, 11, 17nf3an 1902 . . . . 5 𝑥(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))
1918nfex 2332 . . . 4 𝑥𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))
2019nfab 2925 . . 3 𝑥{𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
2120nfuni 4808 . 2 𝑥 {𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
221, 21nfcxfr 2917 1 𝑥wrecs(𝑅, 𝐴, 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wa 399  w3a 1084   = wceq 1538  wex 1781  {cab 2735  wnfc 2899  wral 3070  wss 3860   cuni 4801  cres 5530  Predcpred 6130   Fn wfn 6335  cfv 6340  wrecscwrecs 7962
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 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2729
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2736  df-cleq 2750  df-clel 2830  df-nfc 2901  df-ral 3075  df-rex 3076  df-rab 3079  df-v 3411  df-dif 3863  df-un 3865  df-in 3867  df-ss 3877  df-nul 4228  df-if 4424  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4802  df-br 5037  df-opab 5099  df-xp 5534  df-cnv 5536  df-dm 5538  df-rn 5539  df-res 5540  df-ima 5541  df-pred 6131  df-iota 6299  df-fv 6348  df-wrecs 7963
This theorem is referenced by:  nfrecs  8027
  Copyright terms: Public domain W3C validator