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

Theorem tfrlem11 7251
Description: Lemma for transfinite recursion. Compute the value of 𝐶. (Contributed by NM, 18-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
tfrlem11 (dom recs(𝐹) ∈ On → (𝐵 ∈ suc dom recs(𝐹) → (𝐶𝐵) = (𝐹‘(𝐶𝐵))))
Distinct variable groups:   𝑥,𝑓,𝑦,𝐵   𝐶,𝑓,𝑥,𝑦   𝑓,𝐹,𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦,𝑓)

Proof of Theorem tfrlem11
StepHypRef Expression
1 elsuci 5598 . 2 (𝐵 ∈ suc dom recs(𝐹) → (𝐵 ∈ dom recs(𝐹) ∨ 𝐵 = dom recs(𝐹)))
2 tfrlem.1 . . . . . . . . 9 𝐴 = {𝑓 ∣ ∃𝑥 ∈ On (𝑓 Fn 𝑥 ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝐹‘(𝑓𝑦)))}
3 tfrlem.3 . . . . . . . . 9 𝐶 = (recs(𝐹) ∪ {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩})
42, 3tfrlem10 7250 . . . . . . . 8 (dom recs(𝐹) ∈ On → 𝐶 Fn suc dom recs(𝐹))
5 fnfun 5792 . . . . . . . 8 (𝐶 Fn suc dom recs(𝐹) → Fun 𝐶)
64, 5syl 17 . . . . . . 7 (dom recs(𝐹) ∈ On → Fun 𝐶)
7 ssun1 3642 . . . . . . . . 9 recs(𝐹) ⊆ (recs(𝐹) ∪ {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩})
87, 3sseqtr4i 3505 . . . . . . . 8 recs(𝐹) ⊆ 𝐶
92tfrlem9 7248 . . . . . . . . 9 (𝐵 ∈ dom recs(𝐹) → (recs(𝐹)‘𝐵) = (𝐹‘(recs(𝐹) ↾ 𝐵)))
10 funssfv 6008 . . . . . . . . . . . 12 ((Fun 𝐶 ∧ recs(𝐹) ⊆ 𝐶𝐵 ∈ dom recs(𝐹)) → (𝐶𝐵) = (recs(𝐹)‘𝐵))
11103expa 1256 . . . . . . . . . . 11 (((Fun 𝐶 ∧ recs(𝐹) ⊆ 𝐶) ∧ 𝐵 ∈ dom recs(𝐹)) → (𝐶𝐵) = (recs(𝐹)‘𝐵))
1211adantrl 747 . . . . . . . . . 10 (((Fun 𝐶 ∧ recs(𝐹) ⊆ 𝐶) ∧ (dom recs(𝐹) ∈ On ∧ 𝐵 ∈ dom recs(𝐹))) → (𝐶𝐵) = (recs(𝐹)‘𝐵))
13 onelss 5573 . . . . . . . . . . . 12 (dom recs(𝐹) ∈ On → (𝐵 ∈ dom recs(𝐹) → 𝐵 ⊆ dom recs(𝐹)))
1413imp 443 . . . . . . . . . . 11 ((dom recs(𝐹) ∈ On ∧ 𝐵 ∈ dom recs(𝐹)) → 𝐵 ⊆ dom recs(𝐹))
15 fun2ssres 5735 . . . . . . . . . . . . 13 ((Fun 𝐶 ∧ recs(𝐹) ⊆ 𝐶𝐵 ⊆ dom recs(𝐹)) → (𝐶𝐵) = (recs(𝐹) ↾ 𝐵))
16153expa 1256 . . . . . . . . . . . 12 (((Fun 𝐶 ∧ recs(𝐹) ⊆ 𝐶) ∧ 𝐵 ⊆ dom recs(𝐹)) → (𝐶𝐵) = (recs(𝐹) ↾ 𝐵))
1716fveq2d 5996 . . . . . . . . . . 11 (((Fun 𝐶 ∧ recs(𝐹) ⊆ 𝐶) ∧ 𝐵 ⊆ dom recs(𝐹)) → (𝐹‘(𝐶𝐵)) = (𝐹‘(recs(𝐹) ↾ 𝐵)))
1814, 17sylan2 489 . . . . . . . . . 10 (((Fun 𝐶 ∧ recs(𝐹) ⊆ 𝐶) ∧ (dom recs(𝐹) ∈ On ∧ 𝐵 ∈ dom recs(𝐹))) → (𝐹‘(𝐶𝐵)) = (𝐹‘(recs(𝐹) ↾ 𝐵)))
1912, 18eqeq12d 2529 . . . . . . . . 9 (((Fun 𝐶 ∧ recs(𝐹) ⊆ 𝐶) ∧ (dom recs(𝐹) ∈ On ∧ 𝐵 ∈ dom recs(𝐹))) → ((𝐶𝐵) = (𝐹‘(𝐶𝐵)) ↔ (recs(𝐹)‘𝐵) = (𝐹‘(recs(𝐹) ↾ 𝐵))))
209, 19syl5ibr 234 . . . . . . . 8 (((Fun 𝐶 ∧ recs(𝐹) ⊆ 𝐶) ∧ (dom recs(𝐹) ∈ On ∧ 𝐵 ∈ dom recs(𝐹))) → (𝐵 ∈ dom recs(𝐹) → (𝐶𝐵) = (𝐹‘(𝐶𝐵))))
218, 20mpanl2 712 . . . . . . 7 ((Fun 𝐶 ∧ (dom recs(𝐹) ∈ On ∧ 𝐵 ∈ dom recs(𝐹))) → (𝐵 ∈ dom recs(𝐹) → (𝐶𝐵) = (𝐹‘(𝐶𝐵))))
226, 21sylan 486 . . . . . 6 ((dom recs(𝐹) ∈ On ∧ (dom recs(𝐹) ∈ On ∧ 𝐵 ∈ dom recs(𝐹))) → (𝐵 ∈ dom recs(𝐹) → (𝐶𝐵) = (𝐹‘(𝐶𝐵))))
2322exp32 628 . . . . 5 (dom recs(𝐹) ∈ On → (dom recs(𝐹) ∈ On → (𝐵 ∈ dom recs(𝐹) → (𝐵 ∈ dom recs(𝐹) → (𝐶𝐵) = (𝐹‘(𝐶𝐵))))))
2423pm2.43i 49 . . . 4 (dom recs(𝐹) ∈ On → (𝐵 ∈ dom recs(𝐹) → (𝐵 ∈ dom recs(𝐹) → (𝐶𝐵) = (𝐹‘(𝐶𝐵)))))
2524pm2.43d 50 . . 3 (dom recs(𝐹) ∈ On → (𝐵 ∈ dom recs(𝐹) → (𝐶𝐵) = (𝐹‘(𝐶𝐵))))
26 opex 4757 . . . . . . . . 9 𝐵, (𝐹‘(𝐶𝐵))⟩ ∈ V
2726snid 4058 . . . . . . . 8 𝐵, (𝐹‘(𝐶𝐵))⟩ ∈ {⟨𝐵, (𝐹‘(𝐶𝐵))⟩}
28 opeq1 4238 . . . . . . . . . . 11 (𝐵 = dom recs(𝐹) → ⟨𝐵, (𝐹‘(𝐶𝐵))⟩ = ⟨dom recs(𝐹), (𝐹‘(𝐶𝐵))⟩)
2928adantl 480 . . . . . . . . . 10 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → ⟨𝐵, (𝐹‘(𝐶𝐵))⟩ = ⟨dom recs(𝐹), (𝐹‘(𝐶𝐵))⟩)
30 eqimss 3524 . . . . . . . . . . . . . 14 (𝐵 = dom recs(𝐹) → 𝐵 ⊆ dom recs(𝐹))
318, 15mp3an2 1403 . . . . . . . . . . . . . 14 ((Fun 𝐶𝐵 ⊆ dom recs(𝐹)) → (𝐶𝐵) = (recs(𝐹) ↾ 𝐵))
326, 30, 31syl2an 492 . . . . . . . . . . . . 13 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → (𝐶𝐵) = (recs(𝐹) ↾ 𝐵))
33 reseq2 5203 . . . . . . . . . . . . . . 15 (𝐵 = dom recs(𝐹) → (recs(𝐹) ↾ 𝐵) = (recs(𝐹) ↾ dom recs(𝐹)))
342tfrlem6 7245 . . . . . . . . . . . . . . . 16 Rel recs(𝐹)
35 resdm 5252 . . . . . . . . . . . . . . . 16 (Rel recs(𝐹) → (recs(𝐹) ↾ dom recs(𝐹)) = recs(𝐹))
3634, 35ax-mp 5 . . . . . . . . . . . . . . 15 (recs(𝐹) ↾ dom recs(𝐹)) = recs(𝐹)
3733, 36syl6eq 2564 . . . . . . . . . . . . . 14 (𝐵 = dom recs(𝐹) → (recs(𝐹) ↾ 𝐵) = recs(𝐹))
3837adantl 480 . . . . . . . . . . . . 13 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → (recs(𝐹) ↾ 𝐵) = recs(𝐹))
3932, 38eqtrd 2548 . . . . . . . . . . . 12 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → (𝐶𝐵) = recs(𝐹))
4039fveq2d 5996 . . . . . . . . . . 11 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → (𝐹‘(𝐶𝐵)) = (𝐹‘recs(𝐹)))
4140opeq2d 4245 . . . . . . . . . 10 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → ⟨dom recs(𝐹), (𝐹‘(𝐶𝐵))⟩ = ⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩)
4229, 41eqtrd 2548 . . . . . . . . 9 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → ⟨𝐵, (𝐹‘(𝐶𝐵))⟩ = ⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩)
4342sneqd 4040 . . . . . . . 8 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → {⟨𝐵, (𝐹‘(𝐶𝐵))⟩} = {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩})
4427, 43syl5eleq 2598 . . . . . . 7 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → ⟨𝐵, (𝐹‘(𝐶𝐵))⟩ ∈ {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩})
45 elun2 3647 . . . . . . 7 (⟨𝐵, (𝐹‘(𝐶𝐵))⟩ ∈ {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩} → ⟨𝐵, (𝐹‘(𝐶𝐵))⟩ ∈ (recs(𝐹) ∪ {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩}))
4644, 45syl 17 . . . . . 6 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → ⟨𝐵, (𝐹‘(𝐶𝐵))⟩ ∈ (recs(𝐹) ∪ {⟨dom recs(𝐹), (𝐹‘recs(𝐹))⟩}))
4746, 3syl6eleqr 2603 . . . . 5 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → ⟨𝐵, (𝐹‘(𝐶𝐵))⟩ ∈ 𝐶)
484adantr 479 . . . . . 6 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → 𝐶 Fn suc dom recs(𝐹))
49 simpr 475 . . . . . . 7 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → 𝐵 = dom recs(𝐹))
50 sucidg 5610 . . . . . . . 8 (dom recs(𝐹) ∈ On → dom recs(𝐹) ∈ suc dom recs(𝐹))
5150adantr 479 . . . . . . 7 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → dom recs(𝐹) ∈ suc dom recs(𝐹))
5249, 51eqeltrd 2592 . . . . . 6 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → 𝐵 ∈ suc dom recs(𝐹))
53 fnopfvb 6036 . . . . . 6 ((𝐶 Fn suc dom recs(𝐹) ∧ 𝐵 ∈ suc dom recs(𝐹)) → ((𝐶𝐵) = (𝐹‘(𝐶𝐵)) ↔ ⟨𝐵, (𝐹‘(𝐶𝐵))⟩ ∈ 𝐶))
5448, 52, 53syl2anc 690 . . . . 5 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → ((𝐶𝐵) = (𝐹‘(𝐶𝐵)) ↔ ⟨𝐵, (𝐹‘(𝐶𝐵))⟩ ∈ 𝐶))
5547, 54mpbird 245 . . . 4 ((dom recs(𝐹) ∈ On ∧ 𝐵 = dom recs(𝐹)) → (𝐶𝐵) = (𝐹‘(𝐶𝐵)))
5655ex 448 . . 3 (dom recs(𝐹) ∈ On → (𝐵 = dom recs(𝐹) → (𝐶𝐵) = (𝐹‘(𝐶𝐵))))
5725, 56jaod 393 . 2 (dom recs(𝐹) ∈ On → ((𝐵 ∈ dom recs(𝐹) ∨ 𝐵 = dom recs(𝐹)) → (𝐶𝐵) = (𝐹‘(𝐶𝐵))))
581, 57syl5 33 1 (dom recs(𝐹) ∈ On → (𝐵 ∈ suc dom recs(𝐹) → (𝐶𝐵) = (𝐹‘(𝐶𝐵))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 194  wo 381  wa 382   = wceq 1474  wcel 1938  {cab 2500  wral 2800  wrex 2801  cun 3442  wss 3444  {csn 4028  cop 4034  dom cdm 4932  cres 4934  Rel wrel 4937  Oncon0 5530  suc csuc 5532  Fun wfun 5688   Fn wfn 5689  cfv 5694  recscrecs 7234
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1700  ax-4 1713  ax-5 1793  ax-6 1838  ax-7 1885  ax-8 1940  ax-9 1947  ax-10 1966  ax-11 1971  ax-12 1983  ax-13 2137  ax-ext 2494  ax-sep 4607  ax-nul 4616  ax-pow 4668  ax-pr 4732  ax-un 6728
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3or 1031  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1699  df-sb 1831  df-eu 2366  df-mo 2367  df-clab 2501  df-cleq 2507  df-clel 2510  df-nfc 2644  df-ne 2686  df-ral 2805  df-rex 2806  df-rab 2809  df-v 3079  df-sbc 3307  df-csb 3404  df-dif 3447  df-un 3449  df-in 3451  df-ss 3458  df-pss 3460  df-nul 3778  df-if 3940  df-sn 4029  df-pr 4031  df-tp 4033  df-op 4035  df-uni 4271  df-iun 4355  df-br 4482  df-opab 4542  df-mpt 4543  df-tr 4579  df-eprel 4843  df-id 4847  df-po 4853  df-so 4854  df-fr 4891  df-we 4893  df-xp 4938  df-rel 4939  df-cnv 4940  df-co 4941  df-dm 4942  df-rn 4943  df-res 4944  df-ima 4945  df-pred 5487  df-ord 5533  df-on 5534  df-suc 5536  df-iota 5658  df-fun 5696  df-fn 5697  df-fv 5702  df-wrecs 7174  df-recs 7235
This theorem is referenced by:  tfrlem12  7252
  Copyright terms: Public domain W3C validator