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

Theorem ordtypelem10 9286
Description: Lemma for ordtype 9291. Using ax-rep 5209, exclude the possibility that 𝑂 is a proper class and does not enumerate all of 𝐴. (Contributed by Mario Carneiro, 25-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
ordtypelem10 (𝜑𝑂 Isom E , 𝑅 (dom 𝑂, 𝐴))
Distinct variable groups:   𝑣,𝑢,𝐶   ,𝑗,𝑡,𝑢,𝑣,𝑤,𝑥,𝑧,𝑅   𝐴,,𝑗,𝑡,𝑢,𝑣,𝑤,𝑥,𝑧   𝑡,𝑂,𝑢,𝑣,𝑥   𝜑,𝑡,𝑥   ,𝐹,𝑗,𝑡,𝑢,𝑣,𝑤,𝑥,𝑧
Allowed substitution hints:   𝜑(𝑧,𝑤,𝑣,𝑢,,𝑗)   𝐶(𝑥,𝑧,𝑤,𝑡,,𝑗)   𝑇(𝑥,𝑧,𝑤,𝑣,𝑢,𝑡,,𝑗)   𝐺(𝑥,𝑧,𝑤,𝑣,𝑢,𝑡,,𝑗)   𝑂(𝑧,𝑤,,𝑗)

Proof of Theorem ordtypelem10
Dummy variables 𝑏 𝑐 𝑚 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ordtypelem.1 . . 3 𝐹 = recs(𝐺)
2 ordtypelem.2 . . 3 𝐶 = {𝑤𝐴 ∣ ∀𝑗 ∈ ran 𝑗𝑅𝑤}
3 ordtypelem.3 . . 3 𝐺 = ( ∈ V ↦ (𝑣𝐶𝑢𝐶 ¬ 𝑢𝑅𝑣))
4 ordtypelem.5 . . 3 𝑇 = {𝑥 ∈ On ∣ ∃𝑡𝐴𝑧 ∈ (𝐹𝑥)𝑧𝑅𝑡}
5 ordtypelem.6 . . 3 𝑂 = OrdIso(𝑅, 𝐴)
6 ordtypelem.7 . . 3 (𝜑𝑅 We 𝐴)
7 ordtypelem.8 . . 3 (𝜑𝑅 Se 𝐴)
81, 2, 3, 4, 5, 6, 7ordtypelem8 9284 . 2 (𝜑𝑂 Isom E , 𝑅 (dom 𝑂, ran 𝑂))
91, 2, 3, 4, 5, 6, 7ordtypelem4 9280 . . . . 5 (𝜑𝑂:(𝑇 ∩ dom 𝐹)⟶𝐴)
109frnd 6608 . . . 4 (𝜑 → ran 𝑂𝐴)
11 simprl 768 . . . . . . 7 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → 𝑏𝐴)
126adantr 481 . . . . . . . . 9 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → 𝑅 We 𝐴)
137adantr 481 . . . . . . . . 9 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → 𝑅 Se 𝐴)
149ffund 6604 . . . . . . . . . . . 12 (𝜑 → Fun 𝑂)
1514funfnd 6465 . . . . . . . . . . 11 (𝜑𝑂 Fn dom 𝑂)
1615adantr 481 . . . . . . . . . 10 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → 𝑂 Fn dom 𝑂)
171, 2, 3, 4, 5, 12, 13ordtypelem8 9284 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → 𝑂 Isom E , 𝑅 (dom 𝑂, ran 𝑂))
18 isof1o 7194 . . . . . . . . . . . 12 (𝑂 Isom E , 𝑅 (dom 𝑂, ran 𝑂) → 𝑂:dom 𝑂1-1-onto→ran 𝑂)
19 f1of1 6715 . . . . . . . . . . . 12 (𝑂:dom 𝑂1-1-onto→ran 𝑂𝑂:dom 𝑂1-1→ran 𝑂)
2017, 18, 193syl 18 . . . . . . . . . . 11 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → 𝑂:dom 𝑂1-1→ran 𝑂)
21 simpl 483 . . . . . . . . . . . . 13 ((𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂) → 𝑏𝐴)
22 seex 5551 . . . . . . . . . . . . 13 ((𝑅 Se 𝐴𝑏𝐴) → {𝑐𝐴𝑐𝑅𝑏} ∈ V)
237, 21, 22syl2an 596 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → {𝑐𝐴𝑐𝑅𝑏} ∈ V)
2410adantr 481 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → ran 𝑂𝐴)
25 rexnal 3169 . . . . . . . . . . . . . . . . 17 (∃𝑚 ∈ dom 𝑂 ¬ (𝑂𝑚)𝑅𝑏 ↔ ¬ ∀𝑚 ∈ dom 𝑂(𝑂𝑚)𝑅𝑏)
261, 2, 3, 4, 5, 6, 7ordtypelem7 9283 . . . . . . . . . . . . . . . . . . 19 (((𝜑𝑏𝐴) ∧ 𝑚 ∈ dom 𝑂) → ((𝑂𝑚)𝑅𝑏𝑏 ∈ ran 𝑂))
2726ord 861 . . . . . . . . . . . . . . . . . 18 (((𝜑𝑏𝐴) ∧ 𝑚 ∈ dom 𝑂) → (¬ (𝑂𝑚)𝑅𝑏𝑏 ∈ ran 𝑂))
2827rexlimdva 3213 . . . . . . . . . . . . . . . . 17 ((𝜑𝑏𝐴) → (∃𝑚 ∈ dom 𝑂 ¬ (𝑂𝑚)𝑅𝑏𝑏 ∈ ran 𝑂))
2925, 28syl5bir 242 . . . . . . . . . . . . . . . 16 ((𝜑𝑏𝐴) → (¬ ∀𝑚 ∈ dom 𝑂(𝑂𝑚)𝑅𝑏𝑏 ∈ ran 𝑂))
3029con1d 145 . . . . . . . . . . . . . . 15 ((𝜑𝑏𝐴) → (¬ 𝑏 ∈ ran 𝑂 → ∀𝑚 ∈ dom 𝑂(𝑂𝑚)𝑅𝑏))
3130impr 455 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → ∀𝑚 ∈ dom 𝑂(𝑂𝑚)𝑅𝑏)
32 breq1 5077 . . . . . . . . . . . . . . . 16 (𝑐 = (𝑂𝑚) → (𝑐𝑅𝑏 ↔ (𝑂𝑚)𝑅𝑏))
3332ralrn 6964 . . . . . . . . . . . . . . 15 (𝑂 Fn dom 𝑂 → (∀𝑐 ∈ ran 𝑂 𝑐𝑅𝑏 ↔ ∀𝑚 ∈ dom 𝑂(𝑂𝑚)𝑅𝑏))
3416, 33syl 17 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → (∀𝑐 ∈ ran 𝑂 𝑐𝑅𝑏 ↔ ∀𝑚 ∈ dom 𝑂(𝑂𝑚)𝑅𝑏))
3531, 34mpbird 256 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → ∀𝑐 ∈ ran 𝑂 𝑐𝑅𝑏)
36 ssrab 4006 . . . . . . . . . . . . 13 (ran 𝑂 ⊆ {𝑐𝐴𝑐𝑅𝑏} ↔ (ran 𝑂𝐴 ∧ ∀𝑐 ∈ ran 𝑂 𝑐𝑅𝑏))
3724, 35, 36sylanbrc 583 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → ran 𝑂 ⊆ {𝑐𝐴𝑐𝑅𝑏})
3823, 37ssexd 5248 . . . . . . . . . . 11 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → ran 𝑂 ∈ V)
39 f1dmex 7799 . . . . . . . . . . 11 ((𝑂:dom 𝑂1-1→ran 𝑂 ∧ ran 𝑂 ∈ V) → dom 𝑂 ∈ V)
4020, 38, 39syl2anc 584 . . . . . . . . . 10 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → dom 𝑂 ∈ V)
4116, 40fnexd 7094 . . . . . . . . 9 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → 𝑂 ∈ V)
421, 2, 3, 4, 5, 12, 13, 41ordtypelem9 9285 . . . . . . . 8 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → 𝑂 Isom E , 𝑅 (dom 𝑂, 𝐴))
43 isof1o 7194 . . . . . . . 8 (𝑂 Isom E , 𝑅 (dom 𝑂, 𝐴) → 𝑂:dom 𝑂1-1-onto𝐴)
44 f1ofo 6723 . . . . . . . 8 (𝑂:dom 𝑂1-1-onto𝐴𝑂:dom 𝑂onto𝐴)
45 forn 6691 . . . . . . . 8 (𝑂:dom 𝑂onto𝐴 → ran 𝑂 = 𝐴)
4642, 43, 44, 454syl 19 . . . . . . 7 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → ran 𝑂 = 𝐴)
4711, 46eleqtrrd 2842 . . . . . 6 ((𝜑 ∧ (𝑏𝐴 ∧ ¬ 𝑏 ∈ ran 𝑂)) → 𝑏 ∈ ran 𝑂)
4847expr 457 . . . . 5 ((𝜑𝑏𝐴) → (¬ 𝑏 ∈ ran 𝑂𝑏 ∈ ran 𝑂))
4948pm2.18d 127 . . . 4 ((𝜑𝑏𝐴) → 𝑏 ∈ ran 𝑂)
5010, 49eqelssd 3942 . . 3 (𝜑 → ran 𝑂 = 𝐴)
51 isoeq5 7192 . . 3 (ran 𝑂 = 𝐴 → (𝑂 Isom E , 𝑅 (dom 𝑂, ran 𝑂) ↔ 𝑂 Isom E , 𝑅 (dom 𝑂, 𝐴)))
5250, 51syl 17 . 2 (𝜑 → (𝑂 Isom E , 𝑅 (dom 𝑂, ran 𝑂) ↔ 𝑂 Isom E , 𝑅 (dom 𝑂, 𝐴)))
538, 52mpbid 231 1 (𝜑𝑂 Isom E , 𝑅 (dom 𝑂, 𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  wral 3064  wrex 3065  {crab 3068  Vcvv 3432  cin 3886  wss 3887   class class class wbr 5074  cmpt 5157   E cep 5494   Se wse 5542   We wwe 5543  dom cdm 5589  ran crn 5590  cima 5592  Oncon0 6266   Fn wfn 6428  1-1wf1 6430  ontowfo 6431  1-1-ontowf1o 6432  cfv 6433   Isom wiso 6434  crio 7231  recscrecs 8201  OrdIsocoi 9268
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-rep 5209  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-3or 1087  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-rmo 3071  df-reu 3072  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-pss 3906  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-tr 5192  df-id 5489  df-eprel 5495  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-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-isom 6442  df-riota 7232  df-ov 7278  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-oi 9269
This theorem is referenced by:  ordtype  9291
  Copyright terms: Public domain W3C validator