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

Theorem nfwrecs 7949
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 7947 . 2 wrecs(𝑅, 𝐴, 𝐹) = {𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
2 nfv 1915 . . . . . 6 𝑥 𝑓 Fn 𝑦
3 nfcv 2977 . . . . . . . 8 𝑥𝑦
4 nfwrecs.2 . . . . . . . 8 𝑥𝐴
53, 4nfss 3960 . . . . . . 7 𝑥 𝑦𝐴
6 nfwrecs.1 . . . . . . . . . 10 𝑥𝑅
7 nfcv 2977 . . . . . . . . . 10 𝑥𝑧
86, 4, 7nfpred 6153 . . . . . . . . 9 𝑥Pred(𝑅, 𝐴, 𝑧)
98, 3nfss 3960 . . . . . . . 8 𝑥Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦
103, 9nfralw 3225 . . . . . . 7 𝑥𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦
115, 10nfan 1900 . . . . . 6 𝑥(𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦)
12 nfwrecs.3 . . . . . . . . 9 𝑥𝐹
13 nfcv 2977 . . . . . . . . . 10 𝑥𝑓
1413, 8nfres 5855 . . . . . . . . 9 𝑥(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))
1512, 14nffv 6680 . . . . . . . 8 𝑥(𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
1615nfeq2 2995 . . . . . . 7 𝑥(𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
173, 16nfralw 3225 . . . . . 6 𝑥𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
182, 11, 17nf3an 1902 . . . . 5 𝑥(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))
1918nfex 2343 . . . 4 𝑥𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))
2019nfab 2984 . . 3 𝑥{𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
2120nfuni 4845 . 2 𝑥 {𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
221, 21nfcxfr 2975 1 𝑥wrecs(𝑅, 𝐴, 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wa 398  w3a 1083   = wceq 1537  wex 1780  {cab 2799  wnfc 2961  wral 3138  wss 3936   cuni 4838  cres 5557  Predcpred 6147   Fn wfn 6350  cfv 6355  wrecscwrecs 7946
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  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 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-opab 5129  df-xp 5561  df-cnv 5563  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-pred 6148  df-iota 6314  df-fv 6363  df-wrecs 7947
This theorem is referenced by:  nfrecs  8011
  Copyright terms: Public domain W3C validator