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

Theorem nffrecs 8358
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 8356 . 2 frecs(𝑅, 𝐴, 𝐹) = ∪ {𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧 ∈ 𝑦 (𝑓‘𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
2 nfv 1956 . . . . . 6 Ⅎ𝑥 𝑓 Fn 𝑦
3 nfcv 2937 . . . . . . . 8 Ⅎ𝑥𝑦
4 nffrecs.2 . . . . . . . 8 Ⅎ𝑥𝐴
53, 4nfss 3913 . . . . . . 7 Ⅎ𝑥 𝑦 ⊆ 𝐴
6 nffrecs.1 . . . . . . . . . 10 Ⅎ𝑥𝑅
7 nfcv 2937 . . . . . . . . . 10 Ⅎ𝑥𝑧
86, 4, 7nfpred 6348 . . . . . . . . 9 Ⅎ𝑥Pred(𝑅, 𝐴, 𝑧)
98, 3nfss 3913 . . . . . . . 8 Ⅎ𝑥Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦
103, 9nfralw 3321 . . . . . . 7 Ⅎ𝑥∀𝑧 ∈ 𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦
115, 10nfan 1940 . . . . . 6 Ⅎ𝑥(𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦)
12 nffrecs.3 . . . . . . . . 9 Ⅎ𝑥𝐹
13 nfcv 2937 . . . . . . . . . 10 Ⅎ𝑥𝑓
1413, 8nfres 5996 . . . . . . . . 9 Ⅎ𝑥(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))
157, 12, 14nfov 7500 . . . . . . . 8 Ⅎ𝑥(𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
1615nfeq2 2954 . . . . . . 7 Ⅎ𝑥(𝑓‘𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
173, 16nfralw 3321 . . . . . 6 Ⅎ𝑥∀𝑧 ∈ 𝑦 (𝑓‘𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧)))
182, 11, 17nf3an 1942 . . . . 5 Ⅎ𝑥(𝑓 Fn 𝑦 ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧 ∈ 𝑦 (𝑓‘𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))
1918nfex 2367 . . . 4 Ⅎ𝑥∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧 ∈ 𝑦 (𝑓‘𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))
2019nfab 2943 . . 3 Ⅎ𝑥{𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧 ∈ 𝑦 (𝑓‘𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
2120nfuni 4887 . 2 Ⅎ𝑥∪ {𝑓 ∣ ∃𝑦(𝑓 Fn 𝑦 ∧ (𝑦 ⊆ 𝐴 ∧ ∀𝑧 ∈ 𝑦 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑦) ∧ ∀𝑧 ∈ 𝑦 (𝑓‘𝑧) = (𝑧𝐹(𝑓 ↾ Pred(𝑅, 𝐴, 𝑧))))}
221, 21nfcxfr 2935 1 Ⅎ𝑥frecs(𝑅, 𝐴, 𝐹)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   ∧ w3a 1104   = wceq 1572  ∃wex 1818  {cab 2752  Ⅎwnfc 2922  ∀wral 3091   ⊆ wss 3907  ∪ cuni 4880   ↾ cres 5668  Predcpred 6342   Fn wfn 6574  ‘cfv 6579  (class class class)co 7470  frecscfrecs 8355
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-xp 5672  df-cnv 5674  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6343  df-iota 6533  df-fv 6587  df-ov 7473  df-frecs 8356
This theorem is used by:  nfwrecs  8389
  Copyright terms: Public domain W3C validator