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

Theorem wfrlem14OLD 8153
Description: Lemma for well-ordered recursion. Compute the value of 𝐶. Obsolete as of 18-Nov-2024. (New usage is discouraged.) (Proof modification is discouraged.) (Contributed by Scott Fenton, 21-Apr-2011.)
Hypotheses
Ref Expression
wfrlem13OLD.1 𝑅 We 𝐴
wfrlem13OLD.2 𝑅 Se 𝐴
wfrlem13OLD.3 𝐹 = wrecs(𝑅, 𝐴, 𝐺)
wfrlem13OLD.4 𝐶 = (𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩})
Assertion
Ref Expression
wfrlem14OLD (𝑧 ∈ (𝐴 ∖ dom 𝐹) → (𝑦 ∈ (dom 𝐹 ∪ {𝑧}) → (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))))
Distinct variable groups:   𝑦,𝐴,𝑧   𝑦,𝐹,𝑧   𝑦,𝐺   𝑦,𝑅,𝑧   𝑦,𝐶
Allowed substitution hints:   𝐶(𝑧)   𝐺(𝑧)

Proof of Theorem wfrlem14OLD
StepHypRef Expression
1 wfrlem13OLD.1 . . 3 𝑅 We 𝐴
2 wfrlem13OLD.2 . . 3 𝑅 Se 𝐴
3 wfrlem13OLD.3 . . 3 𝐹 = wrecs(𝑅, 𝐴, 𝐺)
4 wfrlem13OLD.4 . . 3 𝐶 = (𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩})
51, 2, 3, 4wfrlem13OLD 8152 . 2 (𝑧 ∈ (𝐴 ∖ dom 𝐹) → 𝐶 Fn (dom 𝐹 ∪ {𝑧}))
6 elun 4083 . . . 4 (𝑦 ∈ (dom 𝐹 ∪ {𝑧}) ↔ (𝑦 ∈ dom 𝐹𝑦 ∈ {𝑧}))
7 velsn 4577 . . . . 5 (𝑦 ∈ {𝑧} ↔ 𝑦 = 𝑧)
87orbi2i 910 . . . 4 ((𝑦 ∈ dom 𝐹𝑦 ∈ {𝑧}) ↔ (𝑦 ∈ dom 𝐹𝑦 = 𝑧))
96, 8bitri 274 . . 3 (𝑦 ∈ (dom 𝐹 ∪ {𝑧}) ↔ (𝑦 ∈ dom 𝐹𝑦 = 𝑧))
101, 2, 3wfrlem12OLD 8151 . . . . . . 7 (𝑦 ∈ dom 𝐹 → (𝐹𝑦) = (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))))
11 fnfun 6533 . . . . . . . 8 (𝐶 Fn (dom 𝐹 ∪ {𝑧}) → Fun 𝐶)
12 ssun1 4106 . . . . . . . . . 10 𝐹 ⊆ (𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩})
1312, 4sseqtrri 3958 . . . . . . . . 9 𝐹𝐶
14 funssfv 6795 . . . . . . . . . 10 ((Fun 𝐶𝐹𝐶𝑦 ∈ dom 𝐹) → (𝐶𝑦) = (𝐹𝑦))
153wfrdmclOLD 8148 . . . . . . . . . . . 12 (𝑦 ∈ dom 𝐹 → Pred(𝑅, 𝐴, 𝑦) ⊆ dom 𝐹)
16 fun2ssres 6479 . . . . . . . . . . . 12 ((Fun 𝐶𝐹𝐶 ∧ Pred(𝑅, 𝐴, 𝑦) ⊆ dom 𝐹) → (𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)) = (𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))
1715, 16syl3an3 1164 . . . . . . . . . . 11 ((Fun 𝐶𝐹𝐶𝑦 ∈ dom 𝐹) → (𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)) = (𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))
1817fveq2d 6778 . . . . . . . . . 10 ((Fun 𝐶𝐹𝐶𝑦 ∈ dom 𝐹) → (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))) = (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))))
1914, 18eqeq12d 2754 . . . . . . . . 9 ((Fun 𝐶𝐹𝐶𝑦 ∈ dom 𝐹) → ((𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝐹𝑦) = (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))))
2013, 19mp3an2 1448 . . . . . . . 8 ((Fun 𝐶𝑦 ∈ dom 𝐹) → ((𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝐹𝑦) = (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))))
2111, 20sylan 580 . . . . . . 7 ((𝐶 Fn (dom 𝐹 ∪ {𝑧}) ∧ 𝑦 ∈ dom 𝐹) → ((𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝐹𝑦) = (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))))
2210, 21syl5ibr 245 . . . . . 6 ((𝐶 Fn (dom 𝐹 ∪ {𝑧}) ∧ 𝑦 ∈ dom 𝐹) → (𝑦 ∈ dom 𝐹 → (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))))
2322ex 413 . . . . 5 (𝐶 Fn (dom 𝐹 ∪ {𝑧}) → (𝑦 ∈ dom 𝐹 → (𝑦 ∈ dom 𝐹 → (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))))))
2423pm2.43d 53 . . . 4 (𝐶 Fn (dom 𝐹 ∪ {𝑧}) → (𝑦 ∈ dom 𝐹 → (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))))
25 vsnid 4598 . . . . . . 7 𝑧 ∈ {𝑧}
26 elun2 4111 . . . . . . 7 (𝑧 ∈ {𝑧} → 𝑧 ∈ (dom 𝐹 ∪ {𝑧}))
2725, 26ax-mp 5 . . . . . 6 𝑧 ∈ (dom 𝐹 ∪ {𝑧})
284reseq1i 5887 . . . . . . . . . . . . 13 (𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)) = ((𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩}) ↾ Pred(𝑅, 𝐴, 𝑧))
29 resundir 5906 . . . . . . . . . . . . 13 ((𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩}) ↾ Pred(𝑅, 𝐴, 𝑧)) = ((𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) ∪ ({⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩} ↾ Pred(𝑅, 𝐴, 𝑧)))
30 wefr 5579 . . . . . . . . . . . . . . . . 17 (𝑅 We 𝐴𝑅 Fr 𝐴)
311, 30ax-mp 5 . . . . . . . . . . . . . . . 16 𝑅 Fr 𝐴
32 predfrirr 6237 . . . . . . . . . . . . . . . 16 (𝑅 Fr 𝐴 → ¬ 𝑧 ∈ Pred(𝑅, 𝐴, 𝑧))
33 ressnop0 7025 . . . . . . . . . . . . . . . 16 𝑧 ∈ Pred(𝑅, 𝐴, 𝑧) → ({⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩} ↾ Pred(𝑅, 𝐴, 𝑧)) = ∅)
3431, 32, 33mp2b 10 . . . . . . . . . . . . . . 15 ({⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩} ↾ Pred(𝑅, 𝐴, 𝑧)) = ∅
3534uneq2i 4094 . . . . . . . . . . . . . 14 ((𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) ∪ ({⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩} ↾ Pred(𝑅, 𝐴, 𝑧))) = ((𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) ∪ ∅)
36 un0 4324 . . . . . . . . . . . . . 14 ((𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) ∪ ∅) = (𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))
3735, 36eqtri 2766 . . . . . . . . . . . . 13 ((𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) ∪ ({⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩} ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))
3828, 29, 373eqtri 2770 . . . . . . . . . . . 12 (𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)) = (𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))
3938fveq2i 6777 . . . . . . . . . . 11 (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))
4039opeq2i 4808 . . . . . . . . . 10 𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ = ⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩
41 opex 5379 . . . . . . . . . . 11 𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ ∈ V
4241elsn 4576 . . . . . . . . . 10 (⟨𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ ∈ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩} ↔ ⟨𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ = ⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩)
4340, 42mpbir 230 . . . . . . . . 9 𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ ∈ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩}
44 elun2 4111 . . . . . . . . 9 (⟨𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ ∈ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩} → ⟨𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ ∈ (𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩}))
4543, 44ax-mp 5 . . . . . . . 8 𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ ∈ (𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩})
4645, 4eleqtrri 2838 . . . . . . 7 𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ ∈ 𝐶
47 fnopfvb 6823 . . . . . . 7 ((𝐶 Fn (dom 𝐹 ∪ {𝑧}) ∧ 𝑧 ∈ (dom 𝐹 ∪ {𝑧})) → ((𝐶𝑧) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧))) ↔ ⟨𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ ∈ 𝐶))
4846, 47mpbiri 257 . . . . . 6 ((𝐶 Fn (dom 𝐹 ∪ {𝑧}) ∧ 𝑧 ∈ (dom 𝐹 ∪ {𝑧})) → (𝐶𝑧) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧))))
4927, 48mpan2 688 . . . . 5 (𝐶 Fn (dom 𝐹 ∪ {𝑧}) → (𝐶𝑧) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧))))
50 fveq2 6774 . . . . . 6 (𝑦 = 𝑧 → (𝐶𝑦) = (𝐶𝑧))
51 predeq3 6206 . . . . . . . 8 (𝑦 = 𝑧 → Pred(𝑅, 𝐴, 𝑦) = Pred(𝑅, 𝐴, 𝑧))
5251reseq2d 5891 . . . . . . 7 (𝑦 = 𝑧 → (𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)) = (𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))
5352fveq2d 6778 . . . . . 6 (𝑦 = 𝑧 → (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧))))
5450, 53eqeq12d 2754 . . . . 5 (𝑦 = 𝑧 → ((𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝐶𝑧) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))))
5549, 54syl5ibrcom 246 . . . 4 (𝐶 Fn (dom 𝐹 ∪ {𝑧}) → (𝑦 = 𝑧 → (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))))
5624, 55jaod 856 . . 3 (𝐶 Fn (dom 𝐹 ∪ {𝑧}) → ((𝑦 ∈ dom 𝐹𝑦 = 𝑧) → (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))))
579, 56syl5bi 241 . 2 (𝐶 Fn (dom 𝐹 ∪ {𝑧}) → (𝑦 ∈ (dom 𝐹 ∪ {𝑧}) → (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))))
585, 57syl 17 1 (𝑧 ∈ (𝐴 ∖ dom 𝐹) → (𝑦 ∈ (dom 𝐹 ∪ {𝑧}) → (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844  w3a 1086   = wceq 1539  wcel 2106  cdif 3884  cun 3885  wss 3887  c0 4256  {csn 4561  cop 4567   Fr wfr 5541   Se wse 5542   We wwe 5543  dom cdm 5589  cres 5591  Predcpred 6201  Fun wfun 6427   Fn wfn 6428  cfv 6433  wrecscwrecs 8127
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-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-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-id 5489  df-po 5503  df-so 5504  df-fr 5544  df-se 5545  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-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
This theorem is referenced by:  wfrlem15OLD  8154
  Copyright terms: Public domain W3C validator