MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  zorn2lem4 Structured version   Unicode version

Theorem zorn2lem4 8879
Description: Lemma for zorn2 8886. (Contributed by NM, 3-Apr-1997.) (Revised by Mario Carneiro, 9-May-2015.)
Hypotheses
Ref Expression
zorn2lem.3  |-  F  = recs ( ( f  e. 
_V  |->  ( iota_ v  e.  C  A. u  e.  C  -.  u w v ) ) )
zorn2lem.4  |-  C  =  { z  e.  A  |  A. g  e.  ran  f  g R z }
zorn2lem.5  |-  D  =  { z  e.  A  |  A. g  e.  ( F " x ) g R z }
Assertion
Ref Expression
zorn2lem4  |-  ( ( R  Po  A  /\  w  We  A )  ->  E. x  e.  On  D  =  (/) )
Distinct variable groups:    f, g, u, v, w, x, z, A    D, f, u, v   
f, F, g, u, v, x, z    R, f, g, u, v, w, x, z    v, C
Allowed substitution hints:    C( x, z, w, u, f, g)    D( x, z, w, g)    F( w)

Proof of Theorem zorn2lem4
Dummy variable  y is distinct from all other variables.
StepHypRef Expression
1 pm3.24 880 . 2  |-  -.  ( ran  F  e.  _V  /\  -.  ran  F  e.  _V )
2 df-ne 2664 . . . . 5  |-  ( D  =/=  (/)  <->  -.  D  =  (/) )
32ralbii 2895 . . . 4  |-  ( A. x  e.  On  D  =/=  (/)  <->  A. x  e.  On  -.  D  =  (/) )
4 df-ral 2819 . . . 4  |-  ( A. x  e.  On  D  =/=  (/)  <->  A. x ( x  e.  On  ->  D  =/=  (/) ) )
5 ralnex 2910 . . . 4  |-  ( A. x  e.  On  -.  D  =  (/)  <->  -.  E. x  e.  On  D  =  (/) )
63, 4, 53bitr3i 275 . . 3  |-  ( A. x ( x  e.  On  ->  D  =/=  (/) )  <->  -.  E. x  e.  On  D  =  (/) )
7 weso 4870 . . . . . . . . 9  |-  ( w  We  A  ->  w  Or  A )
87adantr 465 . . . . . . . 8  |-  ( ( w  We  A  /\  A. x ( x  e.  On  ->  D  =/=  (/) ) )  ->  w  Or  A )
9 vex 3116 . . . . . . . 8  |-  w  e. 
_V
10 soex 6727 . . . . . . . 8  |-  ( ( w  Or  A  /\  w  e.  _V )  ->  A  e.  _V )
118, 9, 10sylancl 662 . . . . . . 7  |-  ( ( w  We  A  /\  A. x ( x  e.  On  ->  D  =/=  (/) ) )  ->  A  e.  _V )
12 zorn2lem.3 . . . . . . . . . . 11  |-  F  = recs ( ( f  e. 
_V  |->  ( iota_ v  e.  C  A. u  e.  C  -.  u w v ) ) )
1312tfr1 7066 . . . . . . . . . 10  |-  F  Fn  On
14 fvelrnb 5915 . . . . . . . . . 10  |-  ( F  Fn  On  ->  (
y  e.  ran  F  <->  E. x  e.  On  ( F `  x )  =  y ) )
1513, 14ax-mp 5 . . . . . . . . 9  |-  ( y  e.  ran  F  <->  E. x  e.  On  ( F `  x )  =  y )
16 nfv 1683 . . . . . . . . . . 11  |-  F/ x  w  We  A
17 nfa1 1845 . . . . . . . . . . 11  |-  F/ x A. x ( x  e.  On  ->  D  =/=  (/) )
1816, 17nfan 1875 . . . . . . . . . 10  |-  F/ x
( w  We  A  /\  A. x ( x  e.  On  ->  D  =/=  (/) ) )
19 nfv 1683 . . . . . . . . . 10  |-  F/ x  y  e.  A
20 zorn2lem.5 . . . . . . . . . . . . . . . . . 18  |-  D  =  { z  e.  A  |  A. g  e.  ( F " x ) g R z }
21 ssrab2 3585 . . . . . . . . . . . . . . . . . 18  |-  { z  e.  A  |  A. g  e.  ( F " x ) g R z }  C_  A
2220, 21eqsstri 3534 . . . . . . . . . . . . . . . . 17  |-  D  C_  A
23 zorn2lem.4 . . . . . . . . . . . . . . . . . 18  |-  C  =  { z  e.  A  |  A. g  e.  ran  f  g R z }
2412, 23, 20zorn2lem1 8876 . . . . . . . . . . . . . . . . 17  |-  ( ( x  e.  On  /\  ( w  We  A  /\  D  =/=  (/) ) )  ->  ( F `  x )  e.  D
)
2522, 24sseldi 3502 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  On  /\  ( w  We  A  /\  D  =/=  (/) ) )  ->  ( F `  x )  e.  A
)
26 eleq1 2539 . . . . . . . . . . . . . . . 16  |-  ( ( F `  x )  =  y  ->  (
( F `  x
)  e.  A  <->  y  e.  A ) )
2725, 26syl5ibcom 220 . . . . . . . . . . . . . . 15  |-  ( ( x  e.  On  /\  ( w  We  A  /\  D  =/=  (/) ) )  ->  ( ( F `
 x )  =  y  ->  y  e.  A ) )
2827exp32 605 . . . . . . . . . . . . . 14  |-  ( x  e.  On  ->  (
w  We  A  -> 
( D  =/=  (/)  ->  (
( F `  x
)  =  y  -> 
y  e.  A ) ) ) )
2928com12 31 . . . . . . . . . . . . 13  |-  ( w  We  A  ->  (
x  e.  On  ->  ( D  =/=  (/)  ->  (
( F `  x
)  =  y  -> 
y  e.  A ) ) ) )
3029a2d 26 . . . . . . . . . . . 12  |-  ( w  We  A  ->  (
( x  e.  On  ->  D  =/=  (/) )  -> 
( x  e.  On  ->  ( ( F `  x )  =  y  ->  y  e.  A
) ) ) )
3130spsd 1816 . . . . . . . . . . 11  |-  ( w  We  A  ->  ( A. x ( x  e.  On  ->  D  =/=  (/) )  ->  ( x  e.  On  ->  ( ( F `  x )  =  y  ->  y  e.  A ) ) ) )
3231imp 429 . . . . . . . . . 10  |-  ( ( w  We  A  /\  A. x ( x  e.  On  ->  D  =/=  (/) ) )  ->  (
x  e.  On  ->  ( ( F `  x
)  =  y  -> 
y  e.  A ) ) )
3318, 19, 32rexlimd 2947 . . . . . . . . 9  |-  ( ( w  We  A  /\  A. x ( x  e.  On  ->  D  =/=  (/) ) )  ->  ( E. x  e.  On  ( F `  x )  =  y  ->  y  e.  A ) )
3415, 33syl5bi 217 . . . . . . . 8  |-  ( ( w  We  A  /\  A. x ( x  e.  On  ->  D  =/=  (/) ) )  ->  (
y  e.  ran  F  ->  y  e.  A ) )
3534ssrdv 3510 . . . . . . 7  |-  ( ( w  We  A  /\  A. x ( x  e.  On  ->  D  =/=  (/) ) )  ->  ran  F 
C_  A )
3611, 35ssexd 4594 . . . . . 6  |-  ( ( w  We  A  /\  A. x ( x  e.  On  ->  D  =/=  (/) ) )  ->  ran  F  e.  _V )
3736ex 434 . . . . 5  |-  ( w  We  A  ->  ( A. x ( x  e.  On  ->  D  =/=  (/) )  ->  ran  F  e. 
_V ) )
3837adantl 466 . . . 4  |-  ( ( R  Po  A  /\  w  We  A )  ->  ( A. x ( x  e.  On  ->  D  =/=  (/) )  ->  ran  F  e.  _V ) )
3912, 23, 20zorn2lem3 8878 . . . . . . . . . . . . . 14  |-  ( ( R  Po  A  /\  ( x  e.  On  /\  ( w  We  A  /\  D  =/=  (/) ) ) )  ->  ( y  e.  x  ->  -.  ( F `  x )  =  ( F `  y ) ) )
4039exp45 614 . . . . . . . . . . . . 13  |-  ( R  Po  A  ->  (
x  e.  On  ->  ( w  We  A  -> 
( D  =/=  (/)  ->  (
y  e.  x  ->  -.  ( F `  x
)  =  ( F `
 y ) ) ) ) ) )
4140com23 78 . . . . . . . . . . . 12  |-  ( R  Po  A  ->  (
w  We  A  -> 
( x  e.  On  ->  ( D  =/=  (/)  ->  (
y  e.  x  ->  -.  ( F `  x
)  =  ( F `
 y ) ) ) ) ) )
4241imp 429 . . . . . . . . . . 11  |-  ( ( R  Po  A  /\  w  We  A )  ->  ( x  e.  On  ->  ( D  =/=  (/)  ->  (
y  e.  x  ->  -.  ( F `  x
)  =  ( F `
 y ) ) ) ) )
4342a2d 26 . . . . . . . . . 10  |-  ( ( R  Po  A  /\  w  We  A )  ->  ( ( x  e.  On  ->  D  =/=  (/) )  ->  ( x  e.  On  ->  ( y  e.  x  ->  -.  ( F `  x )  =  ( F `  y ) ) ) ) )
4443imp4a 589 . . . . . . . . 9  |-  ( ( R  Po  A  /\  w  We  A )  ->  ( ( x  e.  On  ->  D  =/=  (/) )  ->  ( (
x  e.  On  /\  y  e.  x )  ->  -.  ( F `  x )  =  ( F `  y ) ) ) )
4544alrimdv 1697 . . . . . . . 8  |-  ( ( R  Po  A  /\  w  We  A )  ->  ( ( x  e.  On  ->  D  =/=  (/) )  ->  A. y
( ( x  e.  On  /\  y  e.  x )  ->  -.  ( F `  x )  =  ( F `  y ) ) ) )
4645alimdv 1685 . . . . . . 7  |-  ( ( R  Po  A  /\  w  We  A )  ->  ( A. x ( x  e.  On  ->  D  =/=  (/) )  ->  A. x A. y ( ( x  e.  On  /\  y  e.  x )  ->  -.  ( F `  x )  =  ( F `  y ) ) ) )
47 r2al 2842 . . . . . . 7  |-  ( A. x  e.  On  A. y  e.  x  -.  ( F `  x )  =  ( F `  y )  <->  A. x A. y ( ( x  e.  On  /\  y  e.  x )  ->  -.  ( F `  x )  =  ( F `  y ) ) )
4846, 47syl6ibr 227 . . . . . 6  |-  ( ( R  Po  A  /\  w  We  A )  ->  ( A. x ( x  e.  On  ->  D  =/=  (/) )  ->  A. x  e.  On  A. y  e.  x  -.  ( F `
 x )  =  ( F `  y
) ) )
49 ssid 3523 . . . . . . . 8  |-  On  C_  On
5013tz7.48lem 7106 . . . . . . . 8  |-  ( ( On  C_  On  /\  A. x  e.  On  A. y  e.  x  -.  ( F `  x )  =  ( F `  y ) )  ->  Fun  `' ( F  |`  On ) )
5149, 50mpan 670 . . . . . . 7  |-  ( A. x  e.  On  A. y  e.  x  -.  ( F `  x )  =  ( F `  y )  ->  Fun  `' ( F  |`  On ) )
52 fnrel 5679 . . . . . . . . . . 11  |-  ( F  Fn  On  ->  Rel  F )
5313, 52ax-mp 5 . . . . . . . . . 10  |-  Rel  F
54 fndm 5680 . . . . . . . . . . . 12  |-  ( F  Fn  On  ->  dom  F  =  On )
5513, 54ax-mp 5 . . . . . . . . . . 11  |-  dom  F  =  On
5655eqimssi 3558 . . . . . . . . . 10  |-  dom  F  C_  On
57 relssres 5311 . . . . . . . . . 10  |-  ( ( Rel  F  /\  dom  F 
C_  On )  -> 
( F  |`  On )  =  F )
5853, 56, 57mp2an 672 . . . . . . . . 9  |-  ( F  |`  On )  =  F
5958cnveqi 5177 . . . . . . . 8  |-  `' ( F  |`  On )  =  `' F
6059funeqi 5608 . . . . . . 7  |-  ( Fun  `' ( F  |`  On )  <->  Fun  `' F )
6151, 60sylib 196 . . . . . 6  |-  ( A. x  e.  On  A. y  e.  x  -.  ( F `  x )  =  ( F `  y )  ->  Fun  `' F )
6248, 61syl6 33 . . . . 5  |-  ( ( R  Po  A  /\  w  We  A )  ->  ( A. x ( x  e.  On  ->  D  =/=  (/) )  ->  Fun  `' F ) )
63 onprc 6604 . . . . . 6  |-  -.  On  e.  _V
64 funrnex 6751 . . . . . . . 8  |-  ( dom  `' F  e.  _V  ->  ( Fun  `' F  ->  ran  `' F  e. 
_V ) )
6564com12 31 . . . . . . 7  |-  ( Fun  `' F  ->  ( dom  `' F  e.  _V  ->  ran  `' F  e. 
_V ) )
66 df-rn 5010 . . . . . . . 8  |-  ran  F  =  dom  `' F
6766eleq1i 2544 . . . . . . 7  |-  ( ran 
F  e.  _V  <->  dom  `' F  e.  _V )
68 dfdm4 5195 . . . . . . . . 9  |-  dom  F  =  ran  `' F
6955, 68eqtr3i 2498 . . . . . . . 8  |-  On  =  ran  `' F
7069eleq1i 2544 . . . . . . 7  |-  ( On  e.  _V  <->  ran  `' F  e.  _V )
7165, 67, 703imtr4g 270 . . . . . 6  |-  ( Fun  `' F  ->  ( ran 
F  e.  _V  ->  On  e.  _V ) )
7263, 71mtoi 178 . . . . 5  |-  ( Fun  `' F  ->  -.  ran  F  e.  _V )
7362, 72syl6 33 . . . 4  |-  ( ( R  Po  A  /\  w  We  A )  ->  ( A. x ( x  e.  On  ->  D  =/=  (/) )  ->  -.  ran  F  e.  _V )
)
7438, 73jcad 533 . . 3  |-  ( ( R  Po  A  /\  w  We  A )  ->  ( A. x ( x  e.  On  ->  D  =/=  (/) )  ->  ( ran  F  e.  _V  /\  -.  ran  F  e.  _V ) ) )
756, 74syl5bir 218 . 2  |-  ( ( R  Po  A  /\  w  We  A )  ->  ( -.  E. x  e.  On  D  =  (/)  ->  ( ran  F  e. 
_V  /\  -.  ran  F  e.  _V ) ) )
761, 75mt3i 126 1  |-  ( ( R  Po  A  /\  w  We  A )  ->  E. x  e.  On  D  =  (/) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 184    /\ wa 369   A.wal 1377    = wceq 1379    e. wcel 1767    =/= wne 2662   A.wral 2814   E.wrex 2815   {crab 2818   _Vcvv 3113    C_ wss 3476   (/)c0 3785   class class class wbr 4447    |-> cmpt 4505    Po wpo 4798    Or wor 4799    We wwe 4837   Oncon0 4878   `'ccnv 4998   dom cdm 4999   ran crn 5000    |` cres 5001   "cima 5002   Rel wrel 5004   Fun wfun 5582    Fn wfn 5583   ` cfv 5588   iota_crio 6244  recscrecs 7041
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1601  ax-4 1612  ax-5 1680  ax-6 1719  ax-7 1739  ax-8 1769  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-rep 4558  ax-sep 4568  ax-nul 4576  ax-pow 4625  ax-pr 4686  ax-un 6576
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 974  df-3an 975  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-ral 2819  df-rex 2820  df-reu 2821  df-rmo 2822  df-rab 2823  df-v 3115  df-sbc 3332  df-csb 3436  df-dif 3479  df-un 3481  df-in 3483  df-ss 3490  df-pss 3492  df-nul 3786  df-if 3940  df-sn 4028  df-pr 4030  df-tp 4032  df-op 4034  df-uni 4246  df-iun 4327  df-br 4448  df-opab 4506  df-mpt 4507  df-tr 4541  df-eprel 4791  df-id 4795  df-po 4800  df-so 4801  df-fr 4838  df-we 4840  df-ord 4881  df-on 4882  df-suc 4884  df-xp 5005  df-rel 5006  df-cnv 5007  df-co 5008  df-dm 5009  df-rn 5010  df-res 5011  df-ima 5012  df-iota 5551  df-fun 5590  df-fn 5591  df-f 5592  df-f1 5593  df-fo 5594  df-f1o 5595  df-fv 5596  df-riota 6245  df-recs 7042
This theorem is referenced by:  zorn2lem7  8882
  Copyright terms: Public domain W3C validator