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

Theorem tfrlem9a 7442
Description: Lemma for transfinite recursion. Without using ax-rep 4741, show that all the restrictions of recs are sets. (Contributed by Mario Carneiro, 16-Nov-2014.)
Hypothesis
Ref Expression
tfrlem.1 𝐴 = {𝑓 ∣ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))}
Assertion
Ref Expression
tfrlem9a (𝐵 ∈ dom recs(𝐹) → (recs(𝐹) ↾ 𝐵) ∈ V)
Distinct variable groups:   𝑥,𝑓,𝑦,𝐵   𝑓,𝐹,𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦,𝑓)

Proof of Theorem tfrlem9a
Dummy variables 𝑔 𝑧 𝑎 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 tfrlem.1 . . . . 5 𝐴 = {𝑓 ∣ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))}
21tfrlem7 7439 . . . 4 Fun recs(𝐹)
3 funfvop 6295 . . . 4 ((Fun recs(𝐹) ∧ 𝐵 ∈ dom recs(𝐹)) → ⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ recs(𝐹))
42, 3mpan 705 . . 3 (𝐵 ∈ dom recs(𝐹) → ⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ recs(𝐹))
51recsfval 7437 . . . . 5 recs(𝐹) = 𝐴
65eleq2i 2690 . . . 4 (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ recs(𝐹) ↔ ⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝐴)
7 eluni 4412 . . . 4 (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝐴 ↔ ∃𝑔(⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴))
86, 7bitri 264 . . 3 (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ recs(𝐹) ↔ ∃𝑔(⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴))
94, 8sylib 208 . 2 (𝐵 ∈ dom recs(𝐹) → ∃𝑔(⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴))
10 simprr 795 . . . 4 ((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) → 𝑔𝐴)
11 vex 3193 . . . . 5 𝑔 ∈ V
121, 11tfrlem3a 7433 . . . 4 (𝑔𝐴 ↔ ∃𝑧 ∈ On (𝑔 Fn 𝑧 ∧ ∀𝑎𝑧 (𝑔𝑎) = (𝐹‘(𝑔𝑎))))
1310, 12sylib 208 . . 3 ((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) → ∃𝑧 ∈ On (𝑔 Fn 𝑧 ∧ ∀𝑎𝑧 (𝑔𝑎) = (𝐹‘(𝑔𝑎))))
142a1i 11 . . . . . . . 8 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → Fun recs(𝐹))
15 simplrr 800 . . . . . . . . . 10 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → 𝑔𝐴)
16 elssuni 4440 . . . . . . . . . 10 (𝑔𝐴𝑔 𝐴)
1715, 16syl 17 . . . . . . . . 9 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → 𝑔 𝐴)
1817, 5syl6sseqr 3637 . . . . . . . 8 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → 𝑔 ⊆ recs(𝐹))
19 fndm 5958 . . . . . . . . . . . 12 (𝑔 Fn 𝑧 → dom 𝑔 = 𝑧)
2019ad2antll 764 . . . . . . . . . . 11 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → dom 𝑔 = 𝑧)
21 simprl 793 . . . . . . . . . . 11 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → 𝑧 ∈ On)
2220, 21eqeltrd 2698 . . . . . . . . . 10 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → dom 𝑔 ∈ On)
23 eloni 5702 . . . . . . . . . 10 (dom 𝑔 ∈ On → Ord dom 𝑔)
2422, 23syl 17 . . . . . . . . 9 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → Ord dom 𝑔)
25 simpll 789 . . . . . . . . . 10 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → 𝐵 ∈ dom recs(𝐹))
26 fvexd 6170 . . . . . . . . . 10 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → (recs(𝐹)‘𝐵) ∈ V)
27 simplrl 799 . . . . . . . . . . 11 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → ⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔)
28 df-br 4624 . . . . . . . . . . 11 (𝐵𝑔(recs(𝐹)‘𝐵) ↔ ⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔)
2927, 28sylibr 224 . . . . . . . . . 10 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → 𝐵𝑔(recs(𝐹)‘𝐵))
30 breldmg 5300 . . . . . . . . . 10 ((𝐵 ∈ dom recs(𝐹) ∧ (recs(𝐹)‘𝐵) ∈ V ∧ 𝐵𝑔(recs(𝐹)‘𝐵)) → 𝐵 ∈ dom 𝑔)
3125, 26, 29, 30syl3anc 1323 . . . . . . . . 9 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → 𝐵 ∈ dom 𝑔)
32 ordelss 5708 . . . . . . . . 9 ((Ord dom 𝑔𝐵 ∈ dom 𝑔) → 𝐵 ⊆ dom 𝑔)
3324, 31, 32syl2anc 692 . . . . . . . 8 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → 𝐵 ⊆ dom 𝑔)
34 fun2ssres 5899 . . . . . . . 8 ((Fun recs(𝐹) ∧ 𝑔 ⊆ recs(𝐹) ∧ 𝐵 ⊆ dom 𝑔) → (recs(𝐹) ↾ 𝐵) = (𝑔𝐵))
3514, 18, 33, 34syl3anc 1323 . . . . . . 7 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → (recs(𝐹) ↾ 𝐵) = (𝑔𝐵))
3611resex 5412 . . . . . . . 8 (𝑔𝐵) ∈ V
3736a1i 11 . . . . . . 7 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → (𝑔𝐵) ∈ V)
3835, 37eqeltrd 2698 . . . . . 6 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → (recs(𝐹) ↾ 𝐵) ∈ V)
3938expr 642 . . . . 5 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ 𝑧 ∈ On) → (𝑔 Fn 𝑧 → (recs(𝐹) ↾ 𝐵) ∈ V))
4039adantrd 484 . . . 4 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ 𝑧 ∈ On) → ((𝑔 Fn 𝑧 ∧ ∀𝑎𝑧 (𝑔𝑎) = (𝐹‘(𝑔𝑎))) → (recs(𝐹) ↾ 𝐵) ∈ V))
4140rexlimdva 3026 . . 3 ((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) → (∃𝑧 ∈ On (𝑔 Fn 𝑧 ∧ ∀𝑎𝑧 (𝑔𝑎) = (𝐹‘(𝑔𝑎))) → (recs(𝐹) ↾ 𝐵) ∈ V))
4213, 41mpd 15 . 2 ((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) → (recs(𝐹) ↾ 𝐵) ∈ V)
439, 42exlimddv 1860 1 (𝐵 ∈ dom recs(𝐹) → (recs(𝐹) ↾ 𝐵) ∈ V)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1480  wex 1701  wcel 1987  {cab 2607  wral 2908  wrex 2909  Vcvv 3190  wss 3560  cop 4161   cuni 4409   class class class wbr 4623  dom cdm 5084  cres 5086  Ord word 5691  Oncon0 5692  Fun wfun 5851   Fn wfn 5852  cfv 5857  recscrecs 7427
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4751  ax-nul 4759  ax-pow 4813  ax-pr 4877  ax-un 6914
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2913  df-rex 2914  df-rab 2917  df-v 3192  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-pss 3576  df-nul 3898  df-if 4065  df-sn 4156  df-pr 4158  df-tp 4160  df-op 4162  df-uni 4410  df-iun 4494  df-br 4624  df-opab 4684  df-mpt 4685  df-tr 4723  df-eprel 4995  df-id 4999  df-po 5005  df-so 5006  df-fr 5043  df-we 5045  df-xp 5090  df-rel 5091  df-cnv 5092  df-co 5093  df-dm 5094  df-rn 5095  df-res 5096  df-ima 5097  df-pred 5649  df-ord 5695  df-on 5696  df-iota 5820  df-fun 5859  df-fn 5860  df-fv 5865  df-wrecs 7367  df-recs 7428
This theorem is referenced by:  tfrlem15  7448  tfrlem16  7449  rdgseg  7478
  Copyright terms: Public domain W3C validator