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

Theorem frrlem8 8080
Description: Lemma for well-founded recursion. dom 𝐹 is closed under predecessor classes. (Contributed by Scott Fenton, 6-Dec-2022.)
Hypotheses
Ref Expression
frrlem5.1 𝐵 = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦𝐺(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))}
frrlem5.2 𝐹 = frecs(𝑅, 𝐴, 𝐺)
Assertion
Ref Expression
frrlem8 (𝑧 ∈ dom 𝐹 → Pred(𝑅, 𝐴, 𝑧) ⊆ dom 𝐹)
Distinct variable groups:   𝐴,𝑓,𝑥,𝑦   𝑓,𝐺,𝑥,𝑦   𝑅,𝑓,𝑥,𝑦   𝑦,𝐹   𝑧,𝐴,𝑓,𝑥,𝑦   𝑧,𝑅   𝑧,𝐺
Allowed substitution hints:   𝐵(𝑥,𝑦,𝑧,𝑓)   𝐹(𝑥,𝑧,𝑓)

Proof of Theorem frrlem8
Dummy variables 𝑔 𝑎 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3426 . . 3 𝑧 ∈ V
21eldm2 5799 . 2 (𝑧 ∈ dom 𝐹 ↔ ∃𝑤𝑧, 𝑤⟩ ∈ 𝐹)
3 frrlem5.1 . . . . . . . 8 𝐵 = {𝑓 ∣ ∃𝑥(𝑓 Fn 𝑥 ∧ (𝑥𝐴 ∧ ∀𝑦𝑥 Pred(𝑅, 𝐴, 𝑦) ⊆ 𝑥) ∧ ∀𝑦𝑥 (𝑓𝑦) = (𝑦𝐺(𝑓 ↾ Pred(𝑅, 𝐴, 𝑦))))}
4 frrlem5.2 . . . . . . . 8 𝐹 = frecs(𝑅, 𝐴, 𝐺)
53, 4frrlem5 8077 . . . . . . 7 𝐹 = 𝐵
63frrlem1 8073 . . . . . . . 8 𝐵 = {𝑔 ∣ ∃𝑎(𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))}
76unieqi 4849 . . . . . . 7 𝐵 = {𝑔 ∣ ∃𝑎(𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))}
85, 7eqtri 2766 . . . . . 6 𝐹 = {𝑔 ∣ ∃𝑎(𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))}
98eleq2i 2830 . . . . 5 (⟨𝑧, 𝑤⟩ ∈ 𝐹 ↔ ⟨𝑧, 𝑤⟩ ∈ {𝑔 ∣ ∃𝑎(𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))})
10 eluniab 4851 . . . . 5 (⟨𝑧, 𝑤⟩ ∈ {𝑔 ∣ ∃𝑎(𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))} ↔ ∃𝑔(⟨𝑧, 𝑤⟩ ∈ 𝑔 ∧ ∃𝑎(𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))))
119, 10bitri 274 . . . 4 (⟨𝑧, 𝑤⟩ ∈ 𝐹 ↔ ∃𝑔(⟨𝑧, 𝑤⟩ ∈ 𝑔 ∧ ∃𝑎(𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))))
12 simpr2r 1231 . . . . . . . . . . 11 ((⟨𝑧, 𝑤⟩ ∈ 𝑔 ∧ (𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))) → ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎)
13 vex 3426 . . . . . . . . . . . . . 14 𝑤 ∈ V
141, 13opeldm 5805 . . . . . . . . . . . . 13 (⟨𝑧, 𝑤⟩ ∈ 𝑔𝑧 ∈ dom 𝑔)
1514adantr 480 . . . . . . . . . . . 12 ((⟨𝑧, 𝑤⟩ ∈ 𝑔 ∧ (𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))) → 𝑧 ∈ dom 𝑔)
16 simpr1 1192 . . . . . . . . . . . . 13 ((⟨𝑧, 𝑤⟩ ∈ 𝑔 ∧ (𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))) → 𝑔 Fn 𝑎)
1716fndmd 6522 . . . . . . . . . . . 12 ((⟨𝑧, 𝑤⟩ ∈ 𝑔 ∧ (𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))) → dom 𝑔 = 𝑎)
1815, 17eleqtrd 2841 . . . . . . . . . . 11 ((⟨𝑧, 𝑤⟩ ∈ 𝑔 ∧ (𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))) → 𝑧𝑎)
19 rsp 3129 . . . . . . . . . . 11 (∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎 → (𝑧𝑎 → Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎))
2012, 18, 19sylc 65 . . . . . . . . . 10 ((⟨𝑧, 𝑤⟩ ∈ 𝑔 ∧ (𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))) → Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎)
2120, 17sseqtrrd 3958 . . . . . . . . 9 ((⟨𝑧, 𝑤⟩ ∈ 𝑔 ∧ (𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))) → Pred(𝑅, 𝐴, 𝑧) ⊆ dom 𝑔)
22 19.8a 2176 . . . . . . . . . . . . . 14 ((𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧)))) → ∃𝑎(𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧)))))
236abeq2i 2874 . . . . . . . . . . . . . 14 (𝑔𝐵 ↔ ∃𝑎(𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧)))))
2422, 23sylibr 233 . . . . . . . . . . . . 13 ((𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧)))) → 𝑔𝐵)
2524adantl 481 . . . . . . . . . . . 12 ((⟨𝑧, 𝑤⟩ ∈ 𝑔 ∧ (𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))) → 𝑔𝐵)
26 elssuni 4868 . . . . . . . . . . . 12 (𝑔𝐵𝑔 𝐵)
2725, 26syl 17 . . . . . . . . . . 11 ((⟨𝑧, 𝑤⟩ ∈ 𝑔 ∧ (𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))) → 𝑔 𝐵)
2827, 5sseqtrrdi 3968 . . . . . . . . . 10 ((⟨𝑧, 𝑤⟩ ∈ 𝑔 ∧ (𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))) → 𝑔𝐹)
29 dmss 5800 . . . . . . . . . 10 (𝑔𝐹 → dom 𝑔 ⊆ dom 𝐹)
3028, 29syl 17 . . . . . . . . 9 ((⟨𝑧, 𝑤⟩ ∈ 𝑔 ∧ (𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))) → dom 𝑔 ⊆ dom 𝐹)
3121, 30sstrd 3927 . . . . . . . 8 ((⟨𝑧, 𝑤⟩ ∈ 𝑔 ∧ (𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))) → Pred(𝑅, 𝐴, 𝑧) ⊆ dom 𝐹)
3231expcom 413 . . . . . . 7 ((𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧)))) → (⟨𝑧, 𝑤⟩ ∈ 𝑔 → Pred(𝑅, 𝐴, 𝑧) ⊆ dom 𝐹))
3332exlimiv 1934 . . . . . 6 (∃𝑎(𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧)))) → (⟨𝑧, 𝑤⟩ ∈ 𝑔 → Pred(𝑅, 𝐴, 𝑧) ⊆ dom 𝐹))
3433impcom 407 . . . . 5 ((⟨𝑧, 𝑤⟩ ∈ 𝑔 ∧ ∃𝑎(𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))) → Pred(𝑅, 𝐴, 𝑧) ⊆ dom 𝐹)
3534exlimiv 1934 . . . 4 (∃𝑔(⟨𝑧, 𝑤⟩ ∈ 𝑔 ∧ ∃𝑎(𝑔 Fn 𝑎 ∧ (𝑎𝐴 ∧ ∀𝑧𝑎 Pred(𝑅, 𝐴, 𝑧) ⊆ 𝑎) ∧ ∀𝑧𝑎 (𝑔𝑧) = (𝑧𝐺(𝑔 ↾ Pred(𝑅, 𝐴, 𝑧))))) → Pred(𝑅, 𝐴, 𝑧) ⊆ dom 𝐹)
3611, 35sylbi 216 . . 3 (⟨𝑧, 𝑤⟩ ∈ 𝐹 → Pred(𝑅, 𝐴, 𝑧) ⊆ dom 𝐹)
3736exlimiv 1934 . 2 (∃𝑤𝑧, 𝑤⟩ ∈ 𝐹 → Pred(𝑅, 𝐴, 𝑧) ⊆ dom 𝐹)
382, 37sylbi 216 1 (𝑧 ∈ dom 𝐹 → Pred(𝑅, 𝐴, 𝑧) ⊆ dom 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wex 1783  wcel 2108  {cab 2715  wral 3063  wss 3883  cop 4564   cuni 4836  dom cdm 5580  cres 5582  Predcpred 6190   Fn wfn 6413  cfv 6418  (class class class)co 7255  frecscfrecs 8067
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
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-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  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-fv 6426  df-ov 7258  df-frecs 8068
This theorem is referenced by:  frrlem12  8084  frrlem13  8085  frrdmcl  8095
  Copyright terms: Public domain W3C validator