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

Theorem nffrecs 8309
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 8307 . 2 frecs(𝑅, 𝐴, 𝐹) = ∪ {𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧 ∈ 𝑦 (𝑓‘𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
2 nfv 1946 . . . . . 6 Ⅎ𝑥 𝑓 Fn 𝑦
3 nfcv 2922 . . . . . . . 8 Ⅎ𝑥𝑦
4 nffrecs.2 . . . . . . . 8 Ⅎ𝑥𝐴
53, 4nfss 3902 . . . . . . 7 Ⅎ𝑥 𝑦 ⊆ 𝐴
6 nffrecs.1 . . . . . . . . . 10 Ⅎ𝑥𝑅
7 nfcv 2922 . . . . . . . . . 10 Ⅎ𝑥𝑧
86, 4, 7nfpred 6312 . . . . . . . . 9 Ⅎ𝑥Pred(𝑅, 𝐴, 𝑧)
98, 3nfss 3902 . . . . . . . 8 Ⅎ𝑥Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦
103, 9nfralw 3309 . . . . . . 7 Ⅎ𝑥∀𝑧 ∈ 𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦
115, 10nfan 1931 . . . . . 6 Ⅎ𝑥(𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦)
12 nffrecs.3 . . . . . . . . 9 Ⅎ𝑥𝐹
13 nfcv 2922 . . . . . . . . . 10 Ⅎ𝑥𝑓
1413, 8nfres 5973 . . . . . . . . 9 Ⅎ𝑥(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))
157, 12, 14nfov 7454 . . . . . . . 8 Ⅎ𝑥(𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
1615nfeq2 2939 . . . . . . 7 Ⅎ𝑥(𝑓‘𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
173, 16nfralw 3309 . . . . . 6 Ⅎ𝑥∀𝑧 ∈ 𝑦 (𝑓‘𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
182, 11, 17nf3an 1933 . . . . 5 Ⅎ𝑥(𝑓 Fn 𝑦 ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧 ∈ 𝑦 (𝑓‘𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))
1918nfex 2354 . . . 4 Ⅎ𝑥∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧 ∈ 𝑦 (𝑓‘𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))
2019nfab 2928 . . 3 Ⅎ𝑥{𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧 ∈ 𝑦 (𝑓‘𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
2120nfuni 4873 . 2 Ⅎ𝑥∪ {𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧 ∈ 𝑦 (𝑓‘𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
221, 21nfcxfr 2920 1 Ⅎ𝑥frecs(𝑅, 𝐴, 𝐹)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   ∧ w3a 1103   = wceq 1569  ∃wex 1811  {cab 2738  Ⅎwnfc 2907  ∀wral 3076   ⊆ wss 3896  ∪ cuni 4866   ↾ cres 5653  Predcpred 6306   Fn wfn 6538  ‘cfv 6543  (class class class)co 7424  frecscfrecs 8306
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-xp 5657  df-cnv 5659  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6307  df-iota 6497  df-fv 6551  df-ov 7427  df-frecs 8307
This theorem is used by:  nfwrecs  8340
  Copyright terms: Public domain W3C validator