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

Theorem ordtypelem3 8466
Description: Lemma for ordtype 8478. (Contributed by Mario Carneiro, 24-Jun-2015.)
Hypotheses
Ref Expression
ordtypelem.1 𝐹 = recs(𝐺)
ordtypelem.2 𝐶 = {𝑤𝐴 ∣ ∀𝑗 ∈ ran 𝑗𝑅𝑤}
ordtypelem.3 𝐺 = ( ∈ V ↦ (𝑣𝐶𝑢𝐶 ¬ 𝑢𝑅𝑣))
ordtypelem.5 𝑇 = {𝑥 ∈ On ∣ ∃𝑡𝐴𝑧 ∈ (𝐹𝑥)𝑧𝑅𝑡}
ordtypelem.6 𝑂 = OrdIso(𝑅, 𝐴)
ordtypelem.7 (𝜑𝑅 We 𝐴)
ordtypelem.8 (𝜑𝑅 Se 𝐴)
Assertion
Ref Expression
ordtypelem3 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → (𝐹𝑀) ∈ {𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ∣ ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣})
Distinct variable groups:   𝑣,𝑢,𝐶   ,𝑗,𝑡,𝑢,𝑣,𝑤,𝑥,𝑧,𝑀   𝑅,,𝑗,𝑡,𝑢,𝑣,𝑤,𝑥,𝑧   𝐴,,𝑗,𝑡,𝑢,𝑣,𝑤,𝑥,𝑧   𝑡,𝑂,𝑢,𝑣,𝑥   𝜑,𝑡,𝑥   ,𝐹,𝑗,𝑡,𝑢,𝑣,𝑤,𝑥,𝑧
Allowed substitution hints:   𝜑(𝑧,𝑤,𝑣,𝑢,,𝑗)   𝐶(𝑥,𝑧,𝑤,𝑡,,𝑗)   𝑇(𝑥,𝑧,𝑤,𝑣,𝑢,𝑡,,𝑗)   𝐺(𝑥,𝑧,𝑤,𝑣,𝑢,𝑡,,𝑗)   𝑂(𝑧,𝑤,,𝑗)

Proof of Theorem ordtypelem3
StepHypRef Expression
1 inss2 3867 . . . . 5 (𝑇 ∩ dom 𝐹) ⊆ dom 𝐹
2 simpr 476 . . . . 5 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → 𝑀 ∈ (𝑇 ∩ dom 𝐹))
31, 2sseldi 3634 . . . 4 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → 𝑀 ∈ dom 𝐹)
4 ordtypelem.1 . . . . 5 𝐹 = recs(𝐺)
54tfr2a 7536 . . . 4 (𝑀 ∈ dom 𝐹 → (𝐹𝑀) = (𝐺‘(𝐹𝑀)))
63, 5syl 17 . . 3 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → (𝐹𝑀) = (𝐺‘(𝐹𝑀)))
74tfr1a 7535 . . . . . . . . 9 (Fun 𝐹 ∧ Lim dom 𝐹)
87simpri 477 . . . . . . . 8 Lim dom 𝐹
9 limord 5822 . . . . . . . 8 (Lim dom 𝐹 → Ord dom 𝐹)
108, 9ax-mp 5 . . . . . . 7 Ord dom 𝐹
11 ordelord 5783 . . . . . . 7 ((Ord dom 𝐹𝑀 ∈ dom 𝐹) → Ord 𝑀)
1210, 3, 11sylancr 696 . . . . . 6 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → Ord 𝑀)
134tfr2b 7537 . . . . . 6 (Ord 𝑀 → (𝑀 ∈ dom 𝐹 ↔ (𝐹𝑀) ∈ V))
1412, 13syl 17 . . . . 5 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → (𝑀 ∈ dom 𝐹 ↔ (𝐹𝑀) ∈ V))
153, 14mpbid 222 . . . 4 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → (𝐹𝑀) ∈ V)
16 ordtypelem.2 . . . . . . 7 𝐶 = {𝑤𝐴 ∣ ∀𝑗 ∈ ran 𝑗𝑅𝑤}
17 rneq 5383 . . . . . . . . . 10 ( = (𝐹𝑀) → ran = ran (𝐹𝑀))
18 df-ima 5156 . . . . . . . . . 10 (𝐹𝑀) = ran (𝐹𝑀)
1917, 18syl6eqr 2703 . . . . . . . . 9 ( = (𝐹𝑀) → ran = (𝐹𝑀))
2019raleqdv 3174 . . . . . . . 8 ( = (𝐹𝑀) → (∀𝑗 ∈ ran 𝑗𝑅𝑤 ↔ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤))
2120rabbidv 3220 . . . . . . 7 ( = (𝐹𝑀) → {𝑤𝐴 ∣ ∀𝑗 ∈ ran 𝑗𝑅𝑤} = {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤})
2216, 21syl5eq 2697 . . . . . 6 ( = (𝐹𝑀) → 𝐶 = {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤})
2322raleqdv 3174 . . . . . 6 ( = (𝐹𝑀) → (∀𝑢𝐶 ¬ 𝑢𝑅𝑣 ↔ ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣))
2422, 23riotaeqbidv 6654 . . . . 5 ( = (𝐹𝑀) → (𝑣𝐶𝑢𝐶 ¬ 𝑢𝑅𝑣) = (𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣))
25 ordtypelem.3 . . . . 5 𝐺 = ( ∈ V ↦ (𝑣𝐶𝑢𝐶 ¬ 𝑢𝑅𝑣))
26 riotaex 6655 . . . . 5 (𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣) ∈ V
2724, 25, 26fvmpt 6321 . . . 4 ((𝐹𝑀) ∈ V → (𝐺‘(𝐹𝑀)) = (𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣))
2815, 27syl 17 . . 3 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → (𝐺‘(𝐹𝑀)) = (𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣))
296, 28eqtrd 2685 . 2 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → (𝐹𝑀) = (𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣))
30 ordtypelem.7 . . . . 5 (𝜑𝑅 We 𝐴)
3130adantr 480 . . . 4 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → 𝑅 We 𝐴)
32 ordtypelem.8 . . . . 5 (𝜑𝑅 Se 𝐴)
3332adantr 480 . . . 4 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → 𝑅 Se 𝐴)
34 ssrab2 3720 . . . . 5 {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ⊆ 𝐴
3534a1i 11 . . . 4 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ⊆ 𝐴)
36 inss1 3866 . . . . . . . 8 (𝑇 ∩ dom 𝐹) ⊆ 𝑇
3736, 2sseldi 3634 . . . . . . 7 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → 𝑀𝑇)
38 imaeq2 5497 . . . . . . . . . . 11 (𝑥 = 𝑀 → (𝐹𝑥) = (𝐹𝑀))
3938raleqdv 3174 . . . . . . . . . 10 (𝑥 = 𝑀 → (∀𝑧 ∈ (𝐹𝑥)𝑧𝑅𝑡 ↔ ∀𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑡))
4039rexbidv 3081 . . . . . . . . 9 (𝑥 = 𝑀 → (∃𝑡𝐴𝑧 ∈ (𝐹𝑥)𝑧𝑅𝑡 ↔ ∃𝑡𝐴𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑡))
41 ordtypelem.5 . . . . . . . . 9 𝑇 = {𝑥 ∈ On ∣ ∃𝑡𝐴𝑧 ∈ (𝐹𝑥)𝑧𝑅𝑡}
4240, 41elrab2 3399 . . . . . . . 8 (𝑀𝑇 ↔ (𝑀 ∈ On ∧ ∃𝑡𝐴𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑡))
4342simprbi 479 . . . . . . 7 (𝑀𝑇 → ∃𝑡𝐴𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑡)
4437, 43syl 17 . . . . . 6 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → ∃𝑡𝐴𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑡)
45 breq1 4688 . . . . . . . . 9 (𝑗 = 𝑧 → (𝑗𝑅𝑤𝑧𝑅𝑤))
4645cbvralv 3201 . . . . . . . 8 (∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤 ↔ ∀𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑤)
47 breq2 4689 . . . . . . . . 9 (𝑤 = 𝑡 → (𝑧𝑅𝑤𝑧𝑅𝑡))
4847ralbidv 3015 . . . . . . . 8 (𝑤 = 𝑡 → (∀𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑤 ↔ ∀𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑡))
4946, 48syl5bb 272 . . . . . . 7 (𝑤 = 𝑡 → (∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤 ↔ ∀𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑡))
5049cbvrexv 3202 . . . . . 6 (∃𝑤𝐴𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤 ↔ ∃𝑡𝐴𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑡)
5144, 50sylibr 224 . . . . 5 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → ∃𝑤𝐴𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤)
52 rabn0 3991 . . . . 5 ({𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ≠ ∅ ↔ ∃𝑤𝐴𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤)
5351, 52sylibr 224 . . . 4 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ≠ ∅)
54 wereu2 5140 . . . 4 (((𝑅 We 𝐴𝑅 Se 𝐴) ∧ ({𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ⊆ 𝐴 ∧ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ≠ ∅)) → ∃!𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣)
5531, 33, 35, 53, 54syl22anc 1367 . . 3 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → ∃!𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣)
56 riotacl2 6664 . . 3 (∃!𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣 → (𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣) ∈ {𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ∣ ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣})
5755, 56syl 17 . 2 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → (𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣) ∈ {𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ∣ ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣})
5829, 57eqeltrd 2730 1 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → (𝐹𝑀) ∈ {𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ∣ ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 383   = wceq 1523  wcel 2030  wne 2823  wral 2941  wrex 2942  ∃!wreu 2943  {crab 2945  Vcvv 3231  cin 3606  wss 3607  c0 3948   class class class wbr 4685  cmpt 4762   Se wse 5100   We wwe 5101  dom cdm 5143  ran crn 5144  cres 5145  cima 5146  Ord word 5760  Oncon0 5761  Lim wlim 5762  Fun wfun 5920  cfv 5926  crio 6650  recscrecs 7512  OrdIsocoi 8455
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-reu 2948  df-rmo 2949  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-uni 4469  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-se 5103  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-lim 5766  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-riota 6651  df-wrecs 7452  df-recs 7513
This theorem is referenced by:  ordtypelem4  8467  ordtypelem6  8469  ordtypelem7  8470
  Copyright terms: Public domain W3C validator