HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem ordtypelem4 5687
Description: Lemma for ordtype 5691. There is a smallest ordinal number whose image has no upper bounds in A.
Hypotheses
Ref Expression
ordtypelem.1 |- A e. _V
ordtypelem.2 |- B = {h | E.b e. On (h Fn b /\ A.c e. b (h` c) = (G` (h |` c)))}
ordtypelem.3 |- F = U.B
ordtypelem.4 |- C = {w e. A | A.j e. ran h jRw}
ordtypelem.5 |- D = {w e. A | A.j e. (F"x)jRw}
ordtypelem.6 |- G = {<.h, c>. | c = U.{v e. C | A.u e. C -. uRv}}
ordtypelem.7 |- H = {w e. A | A.j e. (F"y)jRw}
Assertion
Ref Expression
ordtypelem4 |- (R We A -> E.x e. On (D = (/) /\ A.y e. x H =/= (/)))
Distinct variable groups:   b,c,h,j,u,v,w,x,y,A   B,b,c,h,x,y   C,c,u   D,h,j,u,v,w,y   F,b,c,h,j,u,v,w,x,y   G,b,c,h   h,H,j,u,v,w,x   R,b,c,h,j,u,v,w,x,y

Proof of Theorem ordtypelem4
StepHypRef Expression
1 pm3.24 720 . . 3 |- -. (ran F e. _V /\ -. ran F e. _V)
2 ax-17 1317 . . . . . . . . . . 11 |- (R We A -> A.x R We A)
3 hba1 1350 . . . . . . . . . . 11 |- (A.x(x e. On -> D =/= (/)) -> A.xA.x(x e. On -> D =/= (/)))
42, 3hban 1356 . . . . . . . . . 10 |- ((R We A /\ A.x(x e. On -> D =/= (/))) -> A.x(R We A /\ A.x(x e. On -> D =/= (/))))
5 ax-17 1317 . . . . . . . . . 10 |- (r e. A -> A.x r e. A)
6 eleq1 1957 . . . . . . . . . . . . . . . 16 |- ((F` x) = r -> ((F` x) e. A <-> r e. A))
7 ordtypelem.1 . . . . . . . . . . . . . . . . . . 19 |- A e. _V
8 ordtypelem.2 . . . . . . . . . . . . . . . . . . 19 |- B = {h | E.b e. On (h Fn b /\ A.c e. b (h` c) = (G` (h |` c)))}
9 ordtypelem.3 . . . . . . . . . . . . . . . . . . 19 |- F = U.B
10 ordtypelem.4 . . . . . . . . . . . . . . . . . . 19 |- C = {w e. A | A.j e. ran h jRw}
11 ordtypelem.5 . . . . . . . . . . . . . . . . . . 19 |- D = {w e. A | A.j e. (F"x)jRw}
12 ordtypelem.6 . . . . . . . . . . . . . . . . . . 19 |- G = {<.h, c>. | c = U.{v e. C | A.u e. C -. uRv}}
13 ordtypelem.7 . . . . . . . . . . . . . . . . . . 19 |- H = {w e. A | A.j e. (F"y)jRw}
147, 8, 9, 10, 11, 12, 13ordtypelem1 5684 . . . . . . . . . . . . . . . . . 18 |- ((x e. On /\ R We A /\ D =/= (/)) -> (F` x) e. D)
15143expb 1068 . . . . . . . . . . . . . . . . 17 |- ((x e. On /\ (R We A /\ D =/= (/))) -> (F` x) e. D)
16 ssrab2 2692 . . . . . . . . . . . . . . . . . . 19 |- {w e. A | A.j e. (F"x)jRw} C_ A
1711, 16eqsstri 2647 . . . . . . . . . . . . . . . . . 18 |- D C_ A
1817sseli 2617 . . . . . . . . . . . . . . . . 17 |- ((F` x) e. D -> (F` x) e. A)
1915, 18syl 12 . . . . . . . . . . . . . . . 16 |- ((x e. On /\ (R We A /\ D =/= (/))) -> (F` x) e. A)
206, 19syl5cbi 226 . . . . . . . . . . . . . . 15 |- ((x e. On /\ (R We A /\ D =/= (/))) -> ((F` x) = r -> r e. A))
2120exp32 408 . . . . . . . . . . . . . 14 |- (x e. On -> (R We A -> (D =/= (/) -> ((F` x) = r -> r e. A))))
2221com12 14 . . . . . . . . . . . . 13 |- (R We A -> (x e. On -> (D =/= (/) -> ((F` x) = r -> r e. A))))
2322a2d 16 . . . . . . . . . . . 12 |- (R We A -> ((x e. On -> D =/= (/)) -> (x e. On -> ((F` x) = r -> r e. A))))
2423a4sd 1331 . . . . . . . . . . 11 |- (R We A -> (A.x(x e. On -> D =/= (/)) -> (x e. On -> ((F` x) = r -> r e. A))))
2524imp 377 . . . . . . . . . 10 |- ((R We A /\ A.x(x e. On -> D =/= (/))) -> (x e. On -> ((F` x) = r -> r e. A)))
264, 5, 25r19.23ad 2213 . . . . . . . . 9 |- ((R We A /\ A.x(x e. On -> D =/= (/))) -> (E.x e. On (F` x) = r -> r e. A))
278, 9tfr1 5132 . . . . . . . . . 10 |- F Fn On
28 fvelrnb 4719 . . . . . . . . . 10 |- (F Fn On -> (r e. ran F <-> E.x e. On (F` x) = r))
2927, 28ax-mp 7 . . . . . . . . 9 |- (r e. ran F <-> E.x e. On (F` x) = r)
3026, 29syl5ib 223 . . . . . . . 8 |- ((R We A /\ A.x(x e. On -> D =/= (/))) -> (r e. ran F -> r e. A))
3130ssrdv 2622 . . . . . . 7 |- ((R We A /\ A.x(x e. On -> D =/= (/))) -> ran F C_ A)
327ssex 3455 . . . . . . 7 |- (ran F C_ A -> ran F e. _V)
3331, 32syl 12 . . . . . 6 |- ((R We A /\ A.x(x e. On -> D =/= (/))) -> ran F e. _V)
3433ex 402 . . . . 5 |- (R We A -> (A.x(x e. On -> D =/= (/)) -> ran F e. _V))
357, 8, 9, 10, 11, 12, 13ordtypelem3 5686 . . . . . . . . . . . . . 14 |- ((x e. On /\ R We A /\ D =/= (/)) -> (y e. x -> -. (F` x) = (F` y)))
36353com12 1071 . . . . . . . . . . . . 13 |- ((R We A /\ x e. On /\ D =/= (/)) -> (y e. x -> -. (F` x) = (F` y)))
37363exp 1066 . . . . . . . . . . . 12 |- (R We A -> (x e. On -> (D =/= (/) -> (y e. x -> -. (F` x) = (F` y)))))
3837a2d 16 . . . . . . . . . . 11 |- (R We A -> ((x e. On -> D =/= (/)) -> (x e. On -> (y e. x -> -. (F` x) = (F` y)))))
3938imp4a 391 . . . . . . . . . 10 |- (R We A -> ((x e. On -> D =/= (/)) -> ((x e. On /\ y e. x) -> -. (F` x) = (F` y))))
403919.21adv 1666 . . . . . . . . 9 |- (R We A -> ((x e. On -> D =/= (/)) -> A.y((x e. On /\ y e. x) -> -. (F` x) = (F` y))))
4140alimdv 1668 . . . . . . . 8 |- (R We A -> (A.x(x e. On -> D =/= (/)) -> A.xA.y((x e. On /\ y e. x) -> -. (F` x) = (F` y))))
42 r2al 2136 . . . . . . . 8 |- (A.x e. On A.y e. x -. (F` x) = (F` y) <-> A.xA.y((x e. On /\ y e. x) -> -. (F` x) = (F` y)))
4341, 42syl6ibr 230 . . . . . . 7 |- (R We A -> (A.x(x e. On -> D =/= (/)) -> A.x e. On A.y e. x -. (F` x) = (F` y)))
44 ssid 2634 . . . . . . . . 9 |- On C_ On
4527tz7.48lem 5164 . . . . . . . . 9 |- ((On C_ On /\ A.x e. On A.y e. x -. (F` x) = (F` y)) -> Fun `'(F |` On))
4644, 45mpan 759 . . . . . . . 8 |- (A.x e. On A.y e. x -. (F` x) = (F` y) -> Fun `'(F |` On))
478, 9tfrlem6 5124 . . . . . . . . . . 11 |- Rel F
48 fndm 4512 . . . . . . . . . . . . 13 |- (F Fn On -> dom F = On)
4927, 48ax-mp 7 . . . . . . . . . . . 12 |- dom F = On
5049eqimssi 2668 . . . . . . . . . . 11 |- dom F C_ On
51 relssres 4248 . . . . . . . . . . 11 |- ((Rel F /\ dom F C_ On) -> (F |` On) = F)
5247, 50, 51mp2an 761 . . . . . . . . . 10 |- (F |` On) = F
5352cnveqi 4136 . . . . . . . . 9 |- `'(F |` On) = `'F
54 funeq 4441 . . . . . . . . 9 |- (`'(F |` On) = `'F -> (Fun `'(F |` On) <-> Fun `'F))
5553, 54ax-mp 7 . . . . . . . 8 |- (Fun `'(F |` On) <-> Fun `'F)
5646, 55sylib 215 . . . . . . 7 |- (A.x e. On A.y e. x -. (F` x) = (F` y) -> Fun `'F)
5743, 56syl6 25 . . . . . 6 |- (R We A -> (A.x(x e. On -> D =/= (/)) -> Fun `'F))
58 onprc 3865 . . . . . . 7 |- -. On e. _V
59 funrnex 4544 . . . . . . . . 9 |- (dom `' F e. _V -> (Fun `'F -> ran `' F e. _V))
6059com12 14 . . . . . . . 8 |- (Fun `'F -> (dom `' F e. _V -> ran `' F e. _V))
61 df-rn 4005 . . . . . . . . 9 |- ran F = dom `' F
6261eleq1i 1960 . . . . . . . 8 |- (ran F e. _V <-> dom `' F e. _V)
63 dfdm4 4151 . . . . . . . . . 10 |- dom F = ran `' F
6449, 63eqtr3i 1910 . . . . . . . . 9 |- On = ran `' F
6564eleq1i 1960 . . . . . . . 8 |- (On e. _V <-> ran `' F e. _V)
6660, 62, 653imtr4g 612 . . . . . . 7 |- (Fun `'F -> (ran F e. _V -> On e. _V))
6758, 66mtoi 122 . . . . . 6 |- (Fun `'F -> -. ran F e. _V)
6857, 67syl6 25 . . . . 5 |- (R We A -> (A.x(x e. On -> D =/= (/)) -> -. ran F e. _V))
6934, 68jcad 661 . . . 4 |- (R We A -> (A.x(x e. On -> D =/= (/)) -> (ran F e. _V /\ -. ran F e. _V)))
70 df-ne 2019 . . . . . 6 |- (D =/= (/) <-> -. D = (/))
7170ralbii 2127 . . . . 5 |- (A.x e. On D =/= (/) <-> A.x e. On -. D = (/))
72 df-ral 2109 . . . . 5 |- (A.x e. On D =/= (/) <-> A.x(x e. On -> D =/= (/)))
73 ralnex 2113 . . . . 5 |- (A.x e. On -. D = (/) <-> -. E.x e. On D = (/))
7471, 72, 733bitr3i 198 . . . 4 |- (A.x(x e. On -> D =/= (/)) <-> -. E.x e. On D = (/))
7569, 74syl5ibr 224 . . 3 |- (R We A -> (-. E.x e. On D = (/) -> (ran F e. _V /\ -. ran F e. _V)))
761, 75mt3i 128 . 2 |- (R We A -> E.x e. On D = (/))
77 imaeq2 4260 . . . . . . . 8 |- (x = y -> (F"x) = (F"y))
7877raleqdv 2269 . . . . . . 7 |- (x = y -> (A.j e. (F"x)jRw <-> A.j e. (F"y)jRw))
7978rabbidv 2287 . . . . . 6 |- (x = y -> {w e. A | A.j e. (F"x)jRw} = {w e. A | A.j e. (F"y)jRw})
8079, 11, 133eqtr4g 1953 . . . . 5 |- (x = y -> D = H)
8180eqeq1d 1892 . . . 4 |- (x = y -> (D = (/) <-> H = (/)))
8281onminex 3888 . . 3 |- (E.x e. On D = (/) -> E.x e. On (D = (/) /\ A.y e. x -. H = (/)))
83 df-ne 2019 . . . . . 6 |- (H =/= (/) <-> -. H = (/))
8483ralbii 2127 . . . . 5 |- (A.y e. x H =/= (/) <-> A.y e. x -. H = (/))
8584anbi2i 538 . . . 4 |- ((D = (/) /\ A.y e. x H =/= (/)) <-> (D = (/) /\ A.y e. x -. H = (/)))
8685rexbii 2128 . . 3 |- (E.x e. On (D = (/) /\ A.y e. x H =/= (/)) <-> E.x e. On (D = (/) /\ A.y e. x -. H = (/)))
8782, 86sylibr 217 . 2 |- (E.x e. On D = (/) -> E.x e. On (D = (/) /\ A.y e. x H =/= (/)))
8876, 87syl 12 1 |- (R We A -> E.x e. On (D = (/) /\ A.y e. x H =/= (/)))
Colors of variables: wff set class
Syntax hints:  -. wn 2   -> wi 3   <-> wb 163   /\ wa 240  A.wal 1296   = wceq 1298   e. wcel 1300  {cab 1871   =/= wne 2017  A.wral 2105  E.wrex 2106  {crab 2108  _Vcvv 2292   C_ wss 2593  (/)c0 2875  U.cuni 3177   class class class wbr 3338  {copab 3395   We wwe 3624  Oncon0 3657  `'ccnv 3985  dom cdm 3986  ran crn 3987   |` cres 3988  "cima 3989  Rel wrel 3991  Fun wfun 3992   Fn wfn 3993  ` cfv 3998
This theorem is referenced by:  ordtypelem7 5690  ordtypelem7OLD 15381
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 1304  ax-gen 1305  ax-8 1306  ax-9 1307  ax-10 1308  ax-11 1309  ax-12 1310  ax-13 1311  ax-14 1312  ax-17 1317  ax-4 1319  ax-5o 1321  ax-6o 1324  ax-9o 1481  ax-10o 1500  ax-16 1580  ax-11o 1588  ax-ext 1865  ax-rep 3428  ax-sep 3438  ax-nul 3445  ax-pow 3481  ax-pr 3524  ax-un 3790
This theorem depends on definitions:  df-bi 164  df-or 241  df-an 242  df-3or 859  df-3an 860  df-ex 1327  df-sb 1536  df-eu 1775  df-mo 1776  df-clab 1872  df-cleq 1877  df-clel 1880  df-ne 2019  df-ral 2109  df-rex 2110  df-reu 2111  df-rab 2112  df-v 2294  df-sbc 2454  df-csb 2541  df-dif 2597  df-un 2600  df-in 2603  df-ss 2605  df-pss 2607  df-nul 2876  df-pw 3035  df-sn 3049  df-pr 3050  df-tp 3052  df-op 3053  df-uni 3178  df-int 3215  df-iun 3257  df-br 3339  df-opab 3396  df-tr 3412  df-eprel 3583  df-id 3586  df-po 3591  df-so 3604  df-fr 3625  df-we 3644  df-ord 3660  df-on 3661  df-suc 3663  df-xp 4000  df-rel 4001  df-cnv 4002  df-co 4003  df-dm 4004  df-rn 4005  df-res 4006  df-ima 4007  df-fun 4008  df-fn 4009  df-f 4010  df-f1 4011  df-fv 4014
Copyright terms: Public domain