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

Theorem nfwrecs 7948
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 7946 . 2 wrecs(𝑅, 𝐴, 𝐹) = {𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
2 nfv 1911 . . . . . 6 𝑥 𝑓 Fn 𝑦
3 nfcv 2977 . . . . . . . 8 𝑥𝑦
4 nfwrecs.2 . . . . . . . 8 𝑥𝐴
53, 4nfss 3959 . . . . . . 7 𝑥 𝑦𝐴
6 nfwrecs.1 . . . . . . . . . 10 𝑥𝑅
7 nfcv 2977 . . . . . . . . . 10 𝑥𝑧
86, 4, 7nfpred 6152 . . . . . . . . 9 𝑥Pred(𝑅, 𝐴, 𝑧)
98, 3nfss 3959 . . . . . . . 8 𝑥Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦
103, 9nfralw 3225 . . . . . . 7 𝑥𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦
115, 10nfan 1896 . . . . . 6 𝑥(𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦)
12 nfwrecs.3 . . . . . . . . 9 𝑥𝐹
13 nfcv 2977 . . . . . . . . . 10 𝑥𝑓
1413, 8nfres 5854 . . . . . . . . 9 𝑥(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))
1512, 14nffv 6679 . . . . . . . 8 𝑥(𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
1615nfeq2 2995 . . . . . . 7 𝑥(𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
173, 16nfralw 3225 . . . . . 6 𝑥𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
182, 11, 17nf3an 1898 . . . . 5 𝑥(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))
1918nfex 2339 . . . 4 𝑥𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))
2019nfab 2984 . . 3 𝑥{𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
2120nfuni 4844 . 2 𝑥 {𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
221, 21nfcxfr 2975 1 𝑥wrecs(𝑅, 𝐴, 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wa 398  w3a 1083   = wceq 1533  wex 1776  {cab 2799  wnfc 2961  wral 3138  wss 3935   cuni 4837  cres 5556  Predcpred 6146   Fn wfn 6349  cfv 6354  wrecscwrecs 7945
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4567  df-pr 4569  df-op 4573  df-uni 4838  df-br 5066  df-opab 5128  df-xp 5560  df-cnv 5562  df-dm 5564  df-rn 5565  df-res 5566  df-ima 5567  df-pred 6147  df-iota 6313  df-fv 6362  df-wrecs 7946
This theorem is referenced by:  nfrecs  8010
  Copyright terms: Public domain W3C validator