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

Theorem tfrlem9a 8217
Description: Lemma for transfinite recursion. Without using ax-rep 5209, 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 8214 . . . 4 Fun recs(𝐹)
3 funfvop 6927 . . . 4 ((Fun recs(𝐹) ∧ 𝐵 ∈ dom recs(𝐹)) → ⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ recs(𝐹))
42, 3mpan 687 . . 3 (𝐵 ∈ dom recs(𝐹) → ⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ recs(𝐹))
51recsfval 8212 . . . . 5 recs(𝐹) = 𝐴
65eleq2i 2830 . . . 4 (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ recs(𝐹) ↔ ⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝐴)
7 eluni 4842 . . . 4 (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝐴 ↔ ∃𝑔(⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴))
86, 7bitri 274 . . 3 (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ recs(𝐹) ↔ ∃𝑔(⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴))
94, 8sylib 217 . 2 (𝐵 ∈ dom recs(𝐹) → ∃𝑔(⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴))
10 simprr 770 . . . 4 ((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) → 𝑔𝐴)
11 vex 3436 . . . . 5 𝑔 ∈ V
121, 11tfrlem3a 8208 . . . 4 (𝑔𝐴 ↔ ∃𝑧 ∈ On (𝑔 Fn 𝑧 ∧ ∀𝑎𝑧 (𝑔𝑎) = (𝐹‘(𝑔𝑎))))
1310, 12sylib 217 . . 3 ((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) → ∃𝑧 ∈ On (𝑔 Fn 𝑧 ∧ ∀𝑎𝑧 (𝑔𝑎) = (𝐹‘(𝑔𝑎))))
142a1i 11 . . . . . . . 8 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → Fun recs(𝐹))
15 simplrr 775 . . . . . . . . . 10 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → 𝑔𝐴)
16 elssuni 4871 . . . . . . . . . 10 (𝑔𝐴𝑔 𝐴)
1715, 16syl 17 . . . . . . . . 9 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → 𝑔 𝐴)
1817, 5sseqtrrdi 3972 . . . . . . . 8 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → 𝑔 ⊆ recs(𝐹))
19 fndm 6536 . . . . . . . . . . . 12 (𝑔 Fn 𝑧 → dom 𝑔 = 𝑧)
2019ad2antll 726 . . . . . . . . . . 11 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → dom 𝑔 = 𝑧)
21 simprl 768 . . . . . . . . . . 11 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → 𝑧 ∈ On)
2220, 21eqeltrd 2839 . . . . . . . . . 10 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → dom 𝑔 ∈ On)
23 eloni 6276 . . . . . . . . . 10 (dom 𝑔 ∈ On → Ord dom 𝑔)
2422, 23syl 17 . . . . . . . . 9 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → Ord dom 𝑔)
25 simpll 764 . . . . . . . . . 10 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → 𝐵 ∈ dom recs(𝐹))
26 fvexd 6789 . . . . . . . . . 10 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → (recs(𝐹)‘𝐵) ∈ V)
27 simplrl 774 . . . . . . . . . . 11 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → ⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔)
28 df-br 5075 . . . . . . . . . . 11 (𝐵𝑔(recs(𝐹)‘𝐵) ↔ ⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔)
2927, 28sylibr 233 . . . . . . . . . 10 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → 𝐵𝑔(recs(𝐹)‘𝐵))
30 breldmg 5818 . . . . . . . . . 10 ((𝐵 ∈ dom recs(𝐹) ∧ (recs(𝐹)‘𝐵) ∈ V ∧ 𝐵𝑔(recs(𝐹)‘𝐵)) → 𝐵 ∈ dom 𝑔)
3125, 26, 29, 30syl3anc 1370 . . . . . . . . 9 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → 𝐵 ∈ dom 𝑔)
32 ordelss 6282 . . . . . . . . 9 ((Ord dom 𝑔𝐵 ∈ dom 𝑔) → 𝐵 ⊆ dom 𝑔)
3324, 31, 32syl2anc 584 . . . . . . . 8 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → 𝐵 ⊆ dom 𝑔)
34 fun2ssres 6479 . . . . . . . 8 ((Fun recs(𝐹) ∧ 𝑔 ⊆ recs(𝐹) ∧ 𝐵 ⊆ dom 𝑔) → (recs(𝐹) ↾ 𝐵) = (𝑔𝐵))
3514, 18, 33, 34syl3anc 1370 . . . . . . 7 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → (recs(𝐹) ↾ 𝐵) = (𝑔𝐵))
3611resex 5939 . . . . . . . 8 (𝑔𝐵) ∈ V
3736a1i 11 . . . . . . 7 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → (𝑔𝐵) ∈ V)
3835, 37eqeltrd 2839 . . . . . 6 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ (𝑧 ∈ On ∧ 𝑔 Fn 𝑧)) → (recs(𝐹) ↾ 𝐵) ∈ V)
3938expr 457 . . . . 5 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ 𝑧 ∈ On) → (𝑔 Fn 𝑧 → (recs(𝐹) ↾ 𝐵) ∈ V))
4039adantrd 492 . . . 4 (((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) ∧ 𝑧 ∈ On) → ((𝑔 Fn 𝑧 ∧ ∀𝑎𝑧 (𝑔𝑎) = (𝐹‘(𝑔𝑎))) → (recs(𝐹) ↾ 𝐵) ∈ V))
4140rexlimdva 3213 . . 3 ((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) → (∃𝑧 ∈ On (𝑔 Fn 𝑧 ∧ ∀𝑎𝑧 (𝑔𝑎) = (𝐹‘(𝑔𝑎))) → (recs(𝐹) ↾ 𝐵) ∈ V))
4213, 41mpd 15 . 2 ((𝐵 ∈ dom recs(𝐹) ∧ (⟨𝐵, (recs(𝐹)‘𝐵)⟩ ∈ 𝑔𝑔𝐴)) → (recs(𝐹) ↾ 𝐵) ∈ V)
439, 42exlimddv 1938 1 (𝐵 ∈ dom recs(𝐹) → (recs(𝐹) ↾ 𝐵) ∈ V)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wex 1782  wcel 2106  {cab 2715  wral 3064  wrex 3065  Vcvv 3432  wss 3887  cop 4567   cuni 4839   class class class wbr 5074  dom cdm 5589  cres 5591  Ord word 6265  Oncon0 6266  Fun wfun 6427   Fn wfn 6428  cfv 6433  recscrecs 8201
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fo 6439  df-fv 6441  df-ov 7278  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202
This theorem is referenced by:  tfrlem15  8223  tfrlem16  8224  rdgseg  8253
  Copyright terms: Public domain W3C validator