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

Theorem tfrlem12 7372
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 7367 . . . . 5 Ord dom recs(𝐹)
32a1i 11 . . . 4 (recs(𝐹) ∈ V → Ord dom recs(𝐹))
4 dmexg 6989 . . . 4 (recs(𝐹) ∈ V → dom recs(𝐹) ∈ V)
5 elon2 5651 . . . 4 (dom recs(𝐹) ∈ On ↔ (Ord dom recs(𝐹) ∧ dom recs(𝐹) ∈ V))
63, 4, 5sylanbrc 695 . . 3 (recs(𝐹) ∈ V → dom recs(𝐹) ∈ On)
7 suceloni 6905 . . . 4 (dom recs(𝐹) ∈ On → suc dom recs(𝐹) ∈ On)
8 tfrlem.3 . . . . 5 𝐶 = (recs(𝐹) ∪ {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩})
91, 8tfrlem10 7370 . . . 4 (dom recs(𝐹) ∈ On → 𝐶 Fn suc dom recs(𝐹))
101, 8tfrlem11 7371 . . . . . 6 (dom recs(𝐹) ∈ On → (𝑧 ∈ suc dom recs(𝐹) → (𝐶𝑧) = (𝐹‘(𝐶𝑧))))
1110ralrimiv 2948 . . . . 5 (dom recs(𝐹) ∈ On → ∀𝑧 ∈ suc dom recs(𝐹)(𝐶𝑧) = (𝐹‘(𝐶𝑧)))
12 fveq2 6103 . . . . . . 7 (𝑧 = 𝑦 → (𝐶𝑧) = (𝐶𝑦))
13 reseq2 5312 . . . . . . . 8 (𝑧 = 𝑦 → (𝐶𝑧) = (𝐶𝑦))
1413fveq2d 6107 . . . . . . 7 (𝑧 = 𝑦 → (𝐹‘(𝐶𝑧)) = (𝐹‘(𝐶𝑦)))
1512, 14eqeq12d 2625 . . . . . 6 (𝑧 = 𝑦 → ((𝐶𝑧) = (𝐹‘(𝐶𝑧)) ↔ (𝐶𝑦) = (𝐹‘(𝐶𝑦))))
1615cbvralv 3147 . . . . 5 (∀𝑧 ∈ suc dom recs(𝐹)(𝐶𝑧) = (𝐹‘(𝐶𝑧)) ↔ ∀𝑦 ∈ suc dom recs(𝐹)(𝐶𝑦) = (𝐹‘(𝐶𝑦)))
1711, 16sylib 207 . . . 4 (dom recs(𝐹) ∈ On → ∀𝑦 ∈ suc dom recs(𝐹)(𝐶𝑦) = (𝐹‘(𝐶𝑦)))
18 fneq2 5894 . . . . . 6 (𝑥 = suc dom recs(𝐹) → (𝐶 Fn 𝑥𝐶 Fn suc dom recs(𝐹)))
19 raleq 3115 . . . . . 6 (𝑥 = suc dom recs(𝐹) → (∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦)) ↔ ∀𝑦 ∈ suc dom recs(𝐹)(𝐶𝑦) = (𝐹‘(𝐶𝑦))))
2018, 19anbi12d 743 . . . . 5 (𝑥 = suc dom recs(𝐹) → ((𝐶 Fn 𝑥 ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦))) ↔ (𝐶 Fn suc dom recs(𝐹) ∧ ∀𝑦 ∈ suc dom recs(𝐹)(𝐶𝑦) = (𝐹‘(𝐶𝑦)))))
2120rspcev 3282 . . . 4 ((suc dom recs(𝐹) ∈ On ∧ (𝐶 Fn suc dom recs(𝐹) ∧ ∀𝑦 ∈ suc dom recs(𝐹)(𝐶𝑦) = (𝐹‘(𝐶𝑦)))) → ∃𝑥 ∈ On (𝐶 Fn 𝑥 ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦))))
227, 9, 17, 21syl12anc 1316 . . 3 (dom recs(𝐹) ∈ On → ∃𝑥 ∈ On (𝐶 Fn 𝑥 ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦))))
236, 22syl 17 . 2 (recs(𝐹) ∈ V → ∃𝑥 ∈ On (𝐶 Fn 𝑥 ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦))))
24 snex 4835 . . . . 5 {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩} ∈ V
25 unexg 6857 . . . . 5 ((recs(𝐹) ∈ V ∧ {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩} ∈ V) → (recs(𝐹) ∪ {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩}) ∈ V)
2624, 25mpan2 703 . . . 4 (recs(𝐹) ∈ V → (recs(𝐹) ∪ {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩}) ∈ V)
278, 26syl5eqel 2692 . . 3 (recs(𝐹) ∈ V → 𝐶 ∈ V)
28 fneq1 5893 . . . . . 6 (𝑓 = 𝐶 → (𝑓 Fn 𝑥𝐶 Fn 𝑥))
29 fveq1 6102 . . . . . . . 8 (𝑓 = 𝐶 → (𝑓𝑦) = (𝐶𝑦))
30 reseq1 5311 . . . . . . . . 9 (𝑓 = 𝐶 → (𝑓𝑦) = (𝐶𝑦))
3130fveq2d 6107 . . . . . . . 8 (𝑓 = 𝐶 → (𝐹‘(𝑓𝑦)) = (𝐹‘(𝐶𝑦)))
3229, 31eqeq12d 2625 . . . . . . 7 (𝑓 = 𝐶 → ((𝑓𝑦) = (𝐹‘(𝑓𝑦)) ↔ (𝐶𝑦) = (𝐹‘(𝐶𝑦))))
3332ralbidv 2969 . . . . . 6 (𝑓 = 𝐶 → (∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)) ↔ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦))))
3428, 33anbi12d 743 . . . . 5 (𝑓 = 𝐶 → ((𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦))) ↔ (𝐶 Fn 𝑥 ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦)))))
3534rexbidv 3034 . . . 4 (𝑓 = 𝐶 → (∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦))) ↔ ∃𝑥 ∈ On (𝐶 Fn 𝑥 ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦)))))
3635, 1elab2g 3322 . . 3 (𝐶 ∈ V → (𝐶𝐴 ↔ ∃𝑥 ∈ On (𝐶 Fn 𝑥 ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦)))))
3727, 36syl 17 . 2 (recs(𝐹) ∈ V → (𝐶𝐴 ↔ ∃𝑥 ∈ On (𝐶 Fn 𝑥 ∧ ∀𝑦𝑥 (𝐶𝑦) = (𝐹‘(𝐶𝑦)))))
3823, 37mpbird 246 1 (recs(𝐹) ∈ V → 𝐶𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wcel 1977  {cab 2596  wral 2896  wrex 2897  Vcvv 3173  cun 3538  {csn 4125  cop 4131  dom cdm 5038  cres 5040  Ord word 5639  Oncon0 5640  suc csuc 5642   Fn wfn 5799  cfv 5804  recscrecs 7354
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-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4373  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-tr 4681  df-eprel 4949  df-id 4953  df-po 4959  df-so 4960  df-fr 4997  df-we 4999  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-pred 5597  df-ord 5643  df-on 5644  df-suc 5646  df-iota 5768  df-fun 5806  df-fn 5807  df-fv 5812  df-wrecs 7294  df-recs 7355
This theorem is referenced by:  tfrlem13  7373
  Copyright terms: Public domain W3C validator