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

Theorem nfwrecs 7296
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 7294 . 2 wrecs(𝑅, 𝐴, 𝐹) = {𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
2 nfv 1830 . . . . . 6 𝑥 𝑓 Fn 𝑦
3 nfcv 2751 . . . . . . . 8 𝑥𝑦
4 nfwrecs.2 . . . . . . . 8 𝑥𝐴
53, 4nfss 3561 . . . . . . 7 𝑥 𝑦𝐴
6 nfwrecs.1 . . . . . . . . . 10 𝑥𝑅
7 nfcv 2751 . . . . . . . . . 10 𝑥𝑧
86, 4, 7nfpred 5602 . . . . . . . . 9 𝑥Pred(𝑅, 𝐴, 𝑧)
98, 3nfss 3561 . . . . . . . 8 𝑥Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦
103, 9nfral 2929 . . . . . . 7 𝑥𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦
115, 10nfan 1816 . . . . . 6 𝑥(𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦)
12 nfwrecs.3 . . . . . . . . 9 𝑥𝐹
13 nfcv 2751 . . . . . . . . . 10 𝑥𝑓
1413, 8nfres 5319 . . . . . . . . 9 𝑥(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))
1512, 14nffv 6110 . . . . . . . 8 𝑥(𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
1615nfeq2 2766 . . . . . . 7 𝑥(𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
173, 16nfral 2929 . . . . . 6 𝑥𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
182, 11, 17nf3an 1819 . . . . 5 𝑥(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))
1918nfex 2140 . . . 4 𝑥𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))
2019nfab 2755 . . 3 𝑥{𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
2120nfuni 4378 . 2 𝑥 {𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦𝐴 ∧ ∀𝑧𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧𝑦 (𝑓𝑧) = (𝐹‘(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
221, 21nfcxfr 2749 1 𝑥wrecs(𝑅, 𝐴, 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wa 383  w3a 1031   = wceq 1475  wex 1695  {cab 2596  wnfc 2738  wral 2896  wss 3540   cuni 4372  cres 5040  Predcpred 5596   Fn wfn 5799  cfv 5804  wrecscwrecs 7293
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-xp 5044  df-cnv 5046  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-pred 5597  df-iota 5768  df-fv 5812  df-wrecs 7294
This theorem is referenced by:  nfrecs  7358
  Copyright terms: Public domain W3C validator