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

Theorem ordtypelem3 8369
Description: Lemma for ordtype 8381. (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 3812 . . . . 5 (𝑇 ∩ dom 𝐹) ⊆ dom 𝐹
2 simpr 477 . . . . 5 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → 𝑀 ∈ (𝑇 ∩ dom 𝐹))
31, 2sseldi 3581 . . . 4 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → 𝑀 ∈ dom 𝐹)
4 ordtypelem.1 . . . . 5 𝐹 = recs(𝐺)
54tfr2a 7436 . . . 4 (𝑀 ∈ dom 𝐹 → (𝐹𝑀) = (𝐺‘(𝐹𝑀)))
63, 5syl 17 . . 3 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → (𝐹𝑀) = (𝐺‘(𝐹𝑀)))
74tfr1a 7435 . . . . . . . . 9 (Fun 𝐹 ∧ Lim dom 𝐹)
87simpri 478 . . . . . . . 8 Lim dom 𝐹
9 limord 5743 . . . . . . . 8 (Lim dom 𝐹 → Ord dom 𝐹)
108, 9ax-mp 5 . . . . . . 7 Ord dom 𝐹
11 ordelord 5704 . . . . . . 7 ((Ord dom 𝐹𝑀 ∈ dom 𝐹) → Ord 𝑀)
1210, 3, 11sylancr 694 . . . . . 6 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → Ord 𝑀)
134tfr2b 7437 . . . . . 6 (Ord 𝑀 → (𝑀 ∈ dom 𝐹 ↔ (𝐹𝑀) ∈ V))
1412, 13syl 17 . . . . 5 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → (𝑀 ∈ dom 𝐹 ↔ (𝐹𝑀) ∈ V))
153, 14mpbid 222 . . . 4 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → (𝐹𝑀) ∈ V)
16 ordtypelem.2 . . . . . . 7 𝐶 = {𝑤𝐴 ∣ ∀𝑗 ∈ ran 𝑗𝑅𝑤}
17 rneq 5311 . . . . . . . . . 10 ( = (𝐹𝑀) → ran = ran (𝐹𝑀))
18 df-ima 5087 . . . . . . . . . 10 (𝐹𝑀) = ran (𝐹𝑀)
1917, 18syl6eqr 2673 . . . . . . . . 9 ( = (𝐹𝑀) → ran = (𝐹𝑀))
2019raleqdv 3133 . . . . . . . 8 ( = (𝐹𝑀) → (∀𝑗 ∈ ran 𝑗𝑅𝑤 ↔ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤))
2120rabbidv 3177 . . . . . . 7 ( = (𝐹𝑀) → {𝑤𝐴 ∣ ∀𝑗 ∈ ran 𝑗𝑅𝑤} = {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤})
2216, 21syl5eq 2667 . . . . . 6 ( = (𝐹𝑀) → 𝐶 = {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤})
2322raleqdv 3133 . . . . . 6 ( = (𝐹𝑀) → (∀𝑢𝐶 ¬ 𝑢𝑅𝑣 ↔ ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣))
2422, 23riotaeqbidv 6568 . . . . 5 ( = (𝐹𝑀) → (𝑣𝐶𝑢𝐶 ¬ 𝑢𝑅𝑣) = (𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣))
25 ordtypelem.3 . . . . 5 𝐺 = ( ∈ V ↦ (𝑣𝐶𝑢𝐶 ¬ 𝑢𝑅𝑣))
26 riotaex 6569 . . . . 5 (𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣) ∈ V
2724, 25, 26fvmpt 6239 . . . 4 ((𝐹𝑀) ∈ V → (𝐺‘(𝐹𝑀)) = (𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣))
2815, 27syl 17 . . 3 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → (𝐺‘(𝐹𝑀)) = (𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣))
296, 28eqtrd 2655 . 2 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → (𝐹𝑀) = (𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣))
30 ordtypelem.7 . . . . 5 (𝜑𝑅 We 𝐴)
3130adantr 481 . . . 4 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → 𝑅 We 𝐴)
32 ordtypelem.8 . . . . 5 (𝜑𝑅 Se 𝐴)
3332adantr 481 . . . 4 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → 𝑅 Se 𝐴)
34 ssrab2 3666 . . . . 5 {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ⊆ 𝐴
3534a1i 11 . . . 4 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ⊆ 𝐴)
36 inss1 3811 . . . . . . . 8 (𝑇 ∩ dom 𝐹) ⊆ 𝑇
3736, 2sseldi 3581 . . . . . . 7 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → 𝑀𝑇)
38 imaeq2 5421 . . . . . . . . . . 11 (𝑥 = 𝑀 → (𝐹𝑥) = (𝐹𝑀))
3938raleqdv 3133 . . . . . . . . . 10 (𝑥 = 𝑀 → (∀𝑧 ∈ (𝐹𝑥)𝑧𝑅𝑡 ↔ ∀𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑡))
4039rexbidv 3045 . . . . . . . . 9 (𝑥 = 𝑀 → (∃𝑡𝐴𝑧 ∈ (𝐹𝑥)𝑧𝑅𝑡 ↔ ∃𝑡𝐴𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑡))
41 ordtypelem.5 . . . . . . . . 9 𝑇 = {𝑥 ∈ On ∣ ∃𝑡𝐴𝑧 ∈ (𝐹𝑥)𝑧𝑅𝑡}
4240, 41elrab2 3348 . . . . . . . 8 (𝑀𝑇 ↔ (𝑀 ∈ On ∧ ∃𝑡𝐴𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑡))
4342simprbi 480 . . . . . . 7 (𝑀𝑇 → ∃𝑡𝐴𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑡)
4437, 43syl 17 . . . . . 6 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → ∃𝑡𝐴𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑡)
45 breq1 4616 . . . . . . . . 9 (𝑗 = 𝑧 → (𝑗𝑅𝑤𝑧𝑅𝑤))
4645cbvralv 3159 . . . . . . . 8 (∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤 ↔ ∀𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑤)
47 breq2 4617 . . . . . . . . 9 (𝑤 = 𝑡 → (𝑧𝑅𝑤𝑧𝑅𝑡))
4847ralbidv 2980 . . . . . . . 8 (𝑤 = 𝑡 → (∀𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑤 ↔ ∀𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑡))
4946, 48syl5bb 272 . . . . . . 7 (𝑤 = 𝑡 → (∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤 ↔ ∀𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑡))
5049cbvrexv 3160 . . . . . 6 (∃𝑤𝐴𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤 ↔ ∃𝑡𝐴𝑧 ∈ (𝐹𝑀)𝑧𝑅𝑡)
5144, 50sylibr 224 . . . . 5 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → ∃𝑤𝐴𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤)
52 rabn0 3932 . . . . 5 ({𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ≠ ∅ ↔ ∃𝑤𝐴𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤)
5351, 52sylibr 224 . . . 4 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ≠ ∅)
54 wereu2 5071 . . . 4 (((𝑅 We 𝐴𝑅 Se 𝐴) ∧ ({𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ⊆ 𝐴 ∧ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ≠ ∅)) → ∃!𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣)
5531, 33, 35, 53, 54syl22anc 1324 . . 3 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → ∃!𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣)
56 riotacl2 6578 . . 3 (∃!𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣 → (𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣) ∈ {𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ∣ ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣})
5755, 56syl 17 . 2 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → (𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤}∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣) ∈ {𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ∣ ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣})
5829, 57eqeltrd 2698 1 ((𝜑𝑀 ∈ (𝑇 ∩ dom 𝐹)) → (𝐹𝑀) ∈ {𝑣 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ∣ ∀𝑢 ∈ {𝑤𝐴 ∣ ∀𝑗 ∈ (𝐹𝑀)𝑗𝑅𝑤} ¬ 𝑢𝑅𝑣})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 384   = wceq 1480  wcel 1987  wne 2790  wral 2907  wrex 2908  ∃!wreu 2909  {crab 2911  Vcvv 3186  cin 3554  wss 3555  c0 3891   class class class wbr 4613  cmpt 4673   Se wse 5031   We wwe 5032  dom cdm 5074  ran crn 5075  cres 5076  cima 5077  Ord word 5681  Oncon0 5682  Lim wlim 5683  Fun wfun 5841  cfv 5847  crio 6564  recscrecs 7412  OrdIsocoi 8358
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-reu 2914  df-rmo 2915  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-pss 3571  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-tp 4153  df-op 4155  df-uni 4403  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-tr 4713  df-eprel 4985  df-id 4989  df-po 4995  df-so 4996  df-fr 5033  df-se 5034  df-we 5035  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-pred 5639  df-ord 5685  df-on 5686  df-lim 5687  df-suc 5688  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-riota 6565  df-wrecs 7352  df-recs 7413
This theorem is referenced by:  ordtypelem4  8370  ordtypelem6  8372  ordtypelem7  8373
  Copyright terms: Public domain W3C validator