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

Theorem tfrlem12 7827
Description: Lemma for transfinite recursion. Show 𝐶 is an acceptable function. (Contributed by NM, 15-Aug-1994.) (Revised by Mario Carneiro, 9-May-2015.)
Hypotheses
Ref Expression
tfrlem.1 𝐴 = {𝑓 ∣ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))}
tfrlem.3 𝐶 = (recs(𝐹) ∪ {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩})
Assertion
Ref Expression
tfrlem12 (recs(𝐹) ∈ V → 𝐶𝐴)
Distinct variable groups:   𝑥,𝑓,𝑦,𝐶   𝑓,𝐹,𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦,𝑓)

Proof of Theorem tfrlem12
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 tfrlem.1 . . . . . 6 𝐴 = {𝑓 ∣ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))}
21tfrlem8 7822 . . . . 5 Ord dom recs(𝐹)
32a1i 11 . . . 4 (recs(𝐹) ∈ V → Ord dom recs(𝐹))
4 dmexg 7426 . . . 4 (recs(𝐹) ∈ V → dom recs(𝐹) ∈ V)
5 elon2 6037 . . . 4 (dom recs(𝐹) ∈ On ↔ (Ord dom recs(𝐹) ∧ dom recs(𝐹) ∈ V))
63, 4, 5sylanbrc 575 . . 3 (recs(𝐹) ∈ V → dom recs(𝐹) ∈ On)
7 suceloni 7342 . . . 4 (dom recs(𝐹) ∈ On → suc dom recs(𝐹) ∈ On)
8 tfrlem.3 . . . . 5 𝐶 = (recs(𝐹) ∪ {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩})
91, 8tfrlem10 7825 . . . 4 (dom recs(𝐹) ∈ On → 𝐶 Fn suc dom recs(𝐹))
101, 8tfrlem11 7826 . . . . . 6 (dom recs(𝐹) ∈ On → (𝑧 ∈ suc dom recs(𝐹) → (𝐶𝑧) = (𝐹‘(𝐶𝑧))))
1110ralrimiv 3125 . . . . 5 (dom recs(𝐹) ∈ On → ∀𝑧 ∈ suc dom recs(𝐹)(𝐶𝑧) = (𝐹‘(𝐶𝑧)))
12 fveq2 6496 . . . . . . 7 (𝑧 = 𝑦 → (𝐶𝑧) = (𝐶𝑦))
13 reseq2 5687 . . . . . . . 8 (𝑧 = 𝑦 → (𝐶𝑧) = (𝐶𝑦))
1413fveq2d 6500 . . . . . . 7 (𝑧 = 𝑦 → (𝐹‘(𝐶𝑧)) = (𝐹‘(𝐶𝑦)))
1512, 14eqeq12d 2787 . . . . . 6 (𝑧 = 𝑦 → ((𝐶𝑧) = (𝐹‘(𝐶𝑧)) ↔ (𝐶𝑦) = (𝐹‘(𝐶𝑦))))
1615cbvralv 3377 . . . . 5 (∀𝑧 ∈ suc dom recs(𝐹)(𝐶𝑧) = (𝐹‘(𝐶𝑧)) ↔ ∀𝑦 ∈ suc dom recs(𝐹)(𝐶𝑦) = (𝐹‘(𝐶𝑦)))
1711, 16sylib 210 . . . 4 (dom recs(𝐹) ∈ On → ∀𝑦 ∈ suc dom recs(𝐹)(𝐶𝑦) = (𝐹‘(𝐶𝑦)))
18 fneq2 6275 . . . . . 6 (𝑥 = suc dom recs(𝐹) → (𝐶 Fn 𝑥𝐶 Fn suc dom recs(𝐹)))
19 raleq 3339 . . . . . 6 (𝑥 = suc dom recs(𝐹) → (∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦)) ↔ ∀𝑦 ∈ suc dom recs(𝐹)(𝐶𝑦) = (𝐹‘(𝐶𝑦))))
2018, 19anbi12d 621 . . . . 5 (𝑥 = suc dom recs(𝐹) → ((𝐶 Fn 𝑥 ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦))) ↔ (𝐶 Fn suc dom recs(𝐹) ∧ ∀𝑦 ∈ suc dom recs(𝐹)(𝐶𝑦) = (𝐹‘(𝐶𝑦)))))
2120rspcev 3529 . . . 4 ((suc dom recs(𝐹) ∈ On ∧ (𝐶 Fn suc dom recs(𝐹) ∧ ∀𝑦 ∈ suc dom recs(𝐹)(𝐶𝑦) = (𝐹‘(𝐶𝑦)))) → ∃𝑥 ∈ On (𝐶 Fn 𝑥 ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦))))
227, 9, 17, 21syl12anc 824 . . 3 (dom recs(𝐹) ∈ On → ∃𝑥 ∈ On (𝐶 Fn 𝑥 ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦))))
236, 22syl 17 . 2 (recs(𝐹) ∈ V → ∃𝑥 ∈ On (𝐶 Fn 𝑥 ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦))))
24 snex 5184 . . . . 5 {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩} ∈ V
25 unexg 7287 . . . . 5 ((recs(𝐹) ∈ V ∧ {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩} ∈ V) → (recs(𝐹) ∪ {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩}) ∈ V)
2624, 25mpan2 678 . . . 4 (recs(𝐹) ∈ V → (recs(𝐹) ∪ {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩}) ∈ V)
278, 26syl5eqel 2864 . . 3 (recs(𝐹) ∈ V → 𝐶 ∈ V)
28 fneq1 6274 . . . . . 6 (𝑓 = 𝐶 → (𝑓 Fn 𝑥𝐶 Fn 𝑥))
29 fveq1 6495 . . . . . . . 8 (𝑓 = 𝐶 → (𝑓𝑦) = (𝐶𝑦))
30 reseq1 5686 . . . . . . . . 9 (𝑓 = 𝐶 → (𝑓𝑦) = (𝐶𝑦))
3130fveq2d 6500 . . . . . . . 8 (𝑓 = 𝐶 → (𝐹‘(𝑓𝑦)) = (𝐹‘(𝐶𝑦)))
3229, 31eqeq12d 2787 . . . . . . 7 (𝑓 = 𝐶 → ((𝑓𝑦) = (𝐹‘(𝑓𝑦)) ↔ (𝐶𝑦) = (𝐹‘(𝐶𝑦))))
3332ralbidv 3141 . . . . . 6 (𝑓 = 𝐶 → (∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)) ↔ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦))))
3428, 33anbi12d 621 . . . . 5 (𝑓 = 𝐶 → ((𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦))) ↔ (𝐶 Fn 𝑥 ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦)))))
3534rexbidv 3236 . . . 4 (𝑓 = 𝐶 → (∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦))) ↔ ∃𝑥 ∈ On (𝐶 Fn 𝑥 ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦)))))
3635, 1elab2g 3578 . . 3 (𝐶 ∈ V → (𝐶𝐴 ↔ ∃𝑥 ∈ On (𝐶 Fn 𝑥 ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦)))))
3727, 36syl 17 . 2 (recs(𝐹) ∈ V → (𝐶𝐴 ↔ ∃𝑥 ∈ On (𝐶 Fn 𝑥 ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦)))))
3823, 37mpbird 249 1 (recs(𝐹) ∈ V → 𝐶𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 198  wa 387   = wceq 1507  wcel 2050  {cab 2752  wral 3082  wrex 3083  Vcvv 3409  cun 3821  {csn 4435  cop 4441  dom cdm 5403  cres 5405  Ord word 6025  Oncon0 6026  suc csuc 6028   Fn wfn 6180  cfv 6185  recscrecs 7809
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1758  ax-4 1772  ax-5 1869  ax-6 1928  ax-7 1965  ax-8 2052  ax-9 2059  ax-10 2079  ax-11 2093  ax-12 2106  ax-13 2301  ax-ext 2744  ax-sep 5056  ax-nul 5063  ax-pow 5115  ax-pr 5182  ax-un 7277
This theorem depends on definitions:  df-bi 199  df-an 388  df-or 834  df-3or 1069  df-3an 1070  df-tru 1510  df-ex 1743  df-nf 1747  df-sb 2016  df-mo 2547  df-eu 2584  df-clab 2753  df-cleq 2765  df-clel 2840  df-nfc 2912  df-ne 2962  df-ral 3087  df-rex 3088  df-rab 3091  df-v 3411  df-sbc 3676  df-csb 3781  df-dif 3826  df-un 3828  df-in 3830  df-ss 3837  df-pss 3839  df-nul 4173  df-if 4345  df-sn 4436  df-pr 4438  df-tp 4440  df-op 4442  df-uni 4709  df-iun 4790  df-br 4926  df-opab 4988  df-mpt 5005  df-tr 5027  df-id 5308  df-eprel 5313  df-po 5322  df-so 5323  df-fr 5362  df-we 5364  df-xp 5409  df-rel 5410  df-cnv 5411  df-co 5412  df-dm 5413  df-rn 5414  df-res 5415  df-ima 5416  df-pred 5983  df-ord 6029  df-on 6030  df-suc 6032  df-iota 6149  df-fun 6187  df-fn 6188  df-fv 6193  df-wrecs 7748  df-recs 7810
This theorem is referenced by:  tfrlem13  7828
  Copyright terms: Public domain W3C validator