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

Theorem wfrlem14OLD 8124
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 8123 . 2 (𝑧 ∈ (𝐴 ∖ dom 𝐹) → 𝐶 Fn (dom 𝐹 ∪ {𝑧}))
6 elun 4079 . . . 4 (𝑦 ∈ (dom 𝐹 ∪ {𝑧}) ↔ (𝑦 ∈ dom 𝐹𝑦 ∈ {𝑧}))
7 velsn 4574 . . . . 5 (𝑦 ∈ {𝑧} ↔ 𝑦 = 𝑧)
87orbi2i 909 . . . 4 ((𝑦 ∈ dom 𝐹𝑦 ∈ {𝑧}) ↔ (𝑦 ∈ dom 𝐹𝑦 = 𝑧))
96, 8bitri 274 . . 3 (𝑦 ∈ (dom 𝐹 ∪ {𝑧}) ↔ (𝑦 ∈ dom 𝐹𝑦 = 𝑧))
101, 2, 3wfrlem12OLD 8122 . . . . . . 7 (𝑦 ∈ dom 𝐹 → (𝐹𝑦) = (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))))
11 fnfun 6517 . . . . . . . 8 (𝐶 Fn (dom 𝐹 ∪ {𝑧}) → Fun 𝐶)
12 ssun1 4102 . . . . . . . . . 10 𝐹 ⊆ (𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩})
1312, 4sseqtrri 3954 . . . . . . . . 9 𝐹𝐶
14 funssfv 6777 . . . . . . . . . 10 ((Fun 𝐶𝐹𝐶𝑦 ∈ dom 𝐹) → (𝐶𝑦) = (𝐹𝑦))
153wfrdmclOLD 8119 . . . . . . . . . . . 12 (𝑦 ∈ dom 𝐹 → Pred(𝑅, 𝐴, 𝑦) ⊆ dom 𝐹)
16 fun2ssres 6463 . . . . . . . . . . . 12 ((Fun 𝐶𝐹𝐶 ∧ Pred(𝑅, 𝐴, 𝑦) ⊆ dom 𝐹) → (𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)) = (𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))
1715, 16syl3an3 1163 . . . . . . . . . . 11 ((Fun 𝐶𝐹𝐶𝑦 ∈ dom 𝐹) → (𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)) = (𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))
1817fveq2d 6760 . . . . . . . . . 10 ((Fun 𝐶𝐹𝐶𝑦 ∈ dom 𝐹) → (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))) = (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦))))
1914, 18eqeq12d 2754 . . . . . . . . 9 ((Fun 𝐶𝐹𝐶𝑦 ∈ dom 𝐹) → ((𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝐹𝑦) = (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))))
2013, 19mp3an2 1447 . . . . . . . 8 ((Fun 𝐶𝑦 ∈ dom 𝐹) → ((𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝐹𝑦) = (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))))
2111, 20sylan 579 . . . . . . 7 ((𝐶 Fn (dom 𝐹 ∪ {𝑧}) ∧ 𝑦 ∈ dom 𝐹) → ((𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝐹𝑦) = (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑦)))))
2210, 21syl5ibr 245 . . . . . 6 ((𝐶 Fn (dom 𝐹 ∪ {𝑧}) ∧ 𝑦 ∈ dom 𝐹) → (𝑦 ∈ dom 𝐹 → (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))))
2322ex 412 . . . . 5 (𝐶 Fn (dom 𝐹 ∪ {𝑧}) → (𝑦 ∈ dom 𝐹 → (𝑦 ∈ dom 𝐹 → (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))))))
2423pm2.43d 53 . . . 4 (𝐶 Fn (dom 𝐹 ∪ {𝑧}) → (𝑦 ∈ dom 𝐹 → (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))))
25 vsnid 4595 . . . . . . 7 𝑧 ∈ {𝑧}
26 elun2 4107 . . . . . . 7 (𝑧 ∈ {𝑧} → 𝑧 ∈ (dom 𝐹 ∪ {𝑧}))
2725, 26ax-mp 5 . . . . . 6 𝑧 ∈ (dom 𝐹 ∪ {𝑧})
284reseq1i 5876 . . . . . . . . . . . . 13 (𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)) = ((𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩}) ↾ Pred(𝑅, 𝐴, 𝑧))
29 resundir 5895 . . . . . . . . . . . . 13 ((𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩}) ↾ Pred(𝑅, 𝐴, 𝑧)) = ((𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) ∪ ({⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩} ↾ Pred(𝑅, 𝐴, 𝑧)))
30 wefr 5570 . . . . . . . . . . . . . . . . 17 (𝑅 We 𝐴𝑅 Fr 𝐴)
311, 30ax-mp 5 . . . . . . . . . . . . . . . 16 𝑅 Fr 𝐴
32 predfrirr 6226 . . . . . . . . . . . . . . . 16 (𝑅 Fr 𝐴 → ¬ 𝑧 ∈ Pred(𝑅, 𝐴, 𝑧))
33 ressnop0 7007 . . . . . . . . . . . . . . . 16 𝑧 ∈ Pred(𝑅, 𝐴, 𝑧) → ({⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩} ↾ Pred(𝑅, 𝐴, 𝑧)) = ∅)
3431, 32, 33mp2b 10 . . . . . . . . . . . . . . 15 ({⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩} ↾ Pred(𝑅, 𝐴, 𝑧)) = ∅
3534uneq2i 4090 . . . . . . . . . . . . . 14 ((𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) ∪ ({⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩} ↾ Pred(𝑅, 𝐴, 𝑧))) = ((𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) ∪ ∅)
36 un0 4321 . . . . . . . . . . . . . 14 ((𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) ∪ ∅) = (𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))
3735, 36eqtri 2766 . . . . . . . . . . . . 13 ((𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)) ∪ ({⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩} ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))
3828, 29, 373eqtri 2770 . . . . . . . . . . . 12 (𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)) = (𝐹 ↾ Pred(𝑅, 𝐴, 𝑧))
3938fveq2i 6759 . . . . . . . . . . 11 (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧))) = (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))
4039opeq2i 4805 . . . . . . . . . 10 𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ = ⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩
41 opex 5373 . . . . . . . . . . 11 𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ ∈ V
4241elsn 4573 . . . . . . . . . 10 (⟨𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ ∈ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩} ↔ ⟨𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ = ⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩)
4340, 42mpbir 230 . . . . . . . . 9 𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ ∈ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩}
44 elun2 4107 . . . . . . . . 9 (⟨𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ ∈ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩} → ⟨𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ ∈ (𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩}))
4543, 44ax-mp 5 . . . . . . . 8 𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ ∈ (𝐹 ∪ {⟨𝑧, (𝐺‘(𝐹 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩})
4645, 4eleqtrri 2838 . . . . . . 7 𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ ∈ 𝐶
47 fnopfvb 6805 . . . . . . 7 ((𝐶 Fn (dom 𝐹 ∪ {𝑧}) ∧ 𝑧 ∈ (dom 𝐹 ∪ {𝑧})) → ((𝐶𝑧) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧))) ↔ ⟨𝑧, (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))⟩ ∈ 𝐶))
4846, 47mpbiri 257 . . . . . 6 ((𝐶 Fn (dom 𝐹 ∪ {𝑧}) ∧ 𝑧 ∈ (dom 𝐹 ∪ {𝑧})) → (𝐶𝑧) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧))))
4927, 48mpan2 687 . . . . 5 (𝐶 Fn (dom 𝐹 ∪ {𝑧}) → (𝐶𝑧) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧))))
50 fveq2 6756 . . . . . 6 (𝑦 = 𝑧 → (𝐶𝑦) = (𝐶𝑧))
51 predeq3 6195 . . . . . . . 8 (𝑦 = 𝑧 → Pred(𝑅, 𝐴, 𝑦) = Pred(𝑅, 𝐴, 𝑧))
5251reseq2d 5880 . . . . . . 7 (𝑦 = 𝑧 → (𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)) = (𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))
5352fveq2d 6760 . . . . . 6 (𝑦 = 𝑧 → (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧))))
5450, 53eqeq12d 2754 . . . . 5 (𝑦 = 𝑧 → ((𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦))) ↔ (𝐶𝑧) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑧)))))
5549, 54syl5ibrcom 246 . . . 4 (𝐶 Fn (dom 𝐹 ∪ {𝑧}) → (𝑦 = 𝑧 → (𝐶𝑦) = (𝐺‘(𝐶 ↾ Pred(𝑅, 𝐴, 𝑦)))))
5624, 55jaod 855 . . 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 395  wo 843  w3a 1085   = wceq 1539  wcel 2108  cdif 3880  cun 3881  wss 3883  c0 4253  {csn 4558  cop 4564   Fr wfr 5532   Se wse 5533   We wwe 5534  dom cdm 5580  cres 5582  Predcpred 6190  Fun wfun 6412   Fn wfn 6413  cfv 6418  wrecscwrecs 8098
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fo 6424  df-fv 6426  df-ov 7258  df-2nd 7805  df-frecs 8068  df-wrecs 8099
This theorem is referenced by:  wfrlem15OLD  8125
  Copyright terms: Public domain W3C validator