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

Theorem swoer 6688
Description: Incomparability under a strict weak partial order is an equivalence relation. (Contributed by Mario Carneiro, 9-Jul-2014.) (Revised by Mario Carneiro, 12-Aug-2015.)
Hypotheses
Ref Expression
swoer.1  |-  R  =  ( ( X  X.  X )  \  (  .<  u.  `'  .<  )
)
swoer.2  |-  ( (
ph  /\  ( y  e.  X  /\  z  e.  X ) )  -> 
( y  .<  z  ->  -.  z  .<  y
) )
swoer.3  |-  ( (
ph  /\  ( x  e.  X  /\  y  e.  X  /\  z  e.  X ) )  -> 
( x  .<  y  ->  ( x  .<  z  \/  z  .<  y ) ) )
Assertion
Ref Expression
swoer  |-  ( ph  ->  R  Er  X )
Distinct variable groups:    x, y,
z,  .<    ph, x, y, z   
x, X, y, z
Allowed substitution hints:    R( x, y, z)

Proof of Theorem swoer
Dummy variables  v  u  w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 swoer.1 . . . . 5  |-  R  =  ( ( X  X.  X )  \  (  .<  u.  `'  .<  )
)
2 difss 3303 . . . . 5  |-  ( ( X  X.  X ) 
\  (  .<  u.  `'  .<  ) )  C_  ( X  X.  X )
31, 2eqsstri 3208 . . . 4  |-  R  C_  ( X  X.  X
)
4 relxp 4794 . . . 4  |-  Rel  ( X  X.  X )
5 relss 4775 . . . 4  |-  ( R 
C_  ( X  X.  X )  ->  ( Rel  ( X  X.  X
)  ->  Rel  R ) )
63, 4, 5mp2 17 . . 3  |-  Rel  R
76a1i 10 . 2  |-  ( ph  ->  Rel  R )
8 simpr 447 . . 3  |-  ( (
ph  /\  u R
v )  ->  u R v )
9 orcom 376 . . . . . 6  |-  ( ( u  .<  v  \/  v  .<  u )  <->  ( v  .<  u  \/  u  .<  v ) )
109a1i 10 . . . . 5  |-  ( (
ph  /\  u R
v )  ->  (
( u  .<  v  \/  v  .<  u )  <-> 
( v  .<  u  \/  u  .<  v ) ) )
1110notbid 285 . . . 4  |-  ( (
ph  /\  u R
v )  ->  ( -.  ( u  .<  v  \/  v  .<  u )  <->  -.  ( v  .<  u  \/  u  .<  v ) ) )
123ssbri 4065 . . . . . . 7  |-  ( u R v  ->  u
( X  X.  X
) v )
1312adantl 452 . . . . . 6  |-  ( (
ph  /\  u R
v )  ->  u
( X  X.  X
) v )
14 brxp 4720 . . . . . 6  |-  ( u ( X  X.  X
) v  <->  ( u  e.  X  /\  v  e.  X ) )
1513, 14sylib 188 . . . . 5  |-  ( (
ph  /\  u R
v )  ->  (
u  e.  X  /\  v  e.  X )
)
161brdifun 6687 . . . . 5  |-  ( ( u  e.  X  /\  v  e.  X )  ->  ( u R v  <->  -.  ( u  .<  v  \/  v  .<  u ) ) )
1715, 16syl 15 . . . 4  |-  ( (
ph  /\  u R
v )  ->  (
u R v  <->  -.  (
u  .<  v  \/  v  .<  u ) ) )
1815simprd 449 . . . . 5  |-  ( (
ph  /\  u R
v )  ->  v  e.  X )
1915simpld 445 . . . . 5  |-  ( (
ph  /\  u R
v )  ->  u  e.  X )
201brdifun 6687 . . . . 5  |-  ( ( v  e.  X  /\  u  e.  X )  ->  ( v R u  <->  -.  ( v  .<  u  \/  u  .<  v ) ) )
2118, 19, 20syl2anc 642 . . . 4  |-  ( (
ph  /\  u R
v )  ->  (
v R u  <->  -.  (
v  .<  u  \/  u  .<  v ) ) )
2211, 17, 213bitr4d 276 . . 3  |-  ( (
ph  /\  u R
v )  ->  (
u R v  <->  v R u ) )
238, 22mpbid 201 . 2  |-  ( (
ph  /\  u R
v )  ->  v R u )
24 simprl 732 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  u R v )
2512ad2antrl 708 . . . . . . 7  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  u ( X  X.  X ) v )
2614simplbi 446 . . . . . . 7  |-  ( u ( X  X.  X
) v  ->  u  e.  X )
2725, 26syl 15 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  u  e.  X
)
2814simprbi 450 . . . . . . 7  |-  ( u ( X  X.  X
) v  ->  v  e.  X )
2925, 28syl 15 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  v  e.  X
)
3027, 29, 16syl2anc 642 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( u R v  <->  -.  ( u  .<  v  \/  v  .<  u ) ) )
3124, 30mpbid 201 . . . 4  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  -.  ( u  .<  v  \/  v  .<  u ) )
32 simprr 733 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  v R w )
333brel 4737 . . . . . . . 8  |-  ( v R w  ->  (
v  e.  X  /\  w  e.  X )
)
3433simprd 449 . . . . . . 7  |-  ( v R w  ->  w  e.  X )
3532, 34syl 15 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  w  e.  X
)
361brdifun 6687 . . . . . 6  |-  ( ( v  e.  X  /\  w  e.  X )  ->  ( v R w  <->  -.  ( v  .<  w  \/  w  .<  v ) ) )
3729, 35, 36syl2anc 642 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( v R w  <->  -.  ( v  .<  w  \/  w  .<  v ) ) )
3832, 37mpbid 201 . . . 4  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  -.  ( v  .<  w  \/  w  .<  v ) )
39 simpl 443 . . . . . . 7  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ph )
40 swoer.3 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  X  /\  y  e.  X  /\  z  e.  X ) )  -> 
( x  .<  y  ->  ( x  .<  z  \/  z  .<  y ) ) )
4140swopolem 4323 . . . . . . 7  |-  ( (
ph  /\  ( u  e.  X  /\  w  e.  X  /\  v  e.  X ) )  -> 
( u  .<  w  ->  ( u  .<  v  \/  v  .<  w ) ) )
4239, 27, 35, 29, 41syl13anc 1184 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( u  .<  w  ->  ( u  .<  v  \/  v  .<  w
) ) )
4340swopolem 4323 . . . . . . . 8  |-  ( (
ph  /\  ( w  e.  X  /\  u  e.  X  /\  v  e.  X ) )  -> 
( w  .<  u  ->  ( w  .<  v  \/  v  .<  u ) ) )
4439, 35, 27, 29, 43syl13anc 1184 . . . . . . 7  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( w  .<  u  ->  ( w  .<  v  \/  v  .<  u
) ) )
45 orcom 376 . . . . . . 7  |-  ( ( v  .<  u  \/  w  .<  v )  <->  ( w  .<  v  \/  v  .<  u ) )
4644, 45syl6ibr 218 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( w  .<  u  ->  ( v  .<  u  \/  w  .<  v ) ) )
4742, 46orim12d 811 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( ( u 
.<  w  \/  w  .<  u )  ->  (
( u  .<  v  \/  v  .<  w )  \/  ( v  .<  u  \/  w  .<  v ) ) ) )
48 or4 514 . . . . 5  |-  ( ( ( u  .<  v  \/  v  .<  w )  \/  ( v  .<  u  \/  w  .<  v ) )  <->  ( (
u  .<  v  \/  v  .<  u )  \/  (
v  .<  w  \/  w  .<  v ) ) )
4947, 48syl6ib 217 . . . 4  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( ( u 
.<  w  \/  w  .<  u )  ->  (
( u  .<  v  \/  v  .<  u )  \/  ( v  .<  w  \/  w  .<  v ) ) ) )
5031, 38, 49mtord 641 . . 3  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  -.  ( u  .<  w  \/  w  .<  u ) )
511brdifun 6687 . . . 4  |-  ( ( u  e.  X  /\  w  e.  X )  ->  ( u R w  <->  -.  ( u  .<  w  \/  w  .<  u ) ) )
5227, 35, 51syl2anc 642 . . 3  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( u R w  <->  -.  ( u  .<  w  \/  w  .<  u ) ) )
5350, 52mpbird 223 . 2  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  u R w )
54 swoer.2 . . . . . . 7  |-  ( (
ph  /\  ( y  e.  X  /\  z  e.  X ) )  -> 
( y  .<  z  ->  -.  z  .<  y
) )
5554, 40swopo 4324 . . . . . 6  |-  ( ph  ->  .<  Po  X )
56 poirr 4325 . . . . . 6  |-  ( ( 
.<  Po  X  /\  u  e.  X )  ->  -.  u  .<  u )
5755, 56sylan 457 . . . . 5  |-  ( (
ph  /\  u  e.  X )  ->  -.  u  .<  u )
58 pm1.2 499 . . . . 5  |-  ( ( u  .<  u  \/  u  .<  u )  ->  u  .<  u )
5957, 58nsyl 113 . . . 4  |-  ( (
ph  /\  u  e.  X )  ->  -.  ( u  .<  u  \/  u  .<  u )
)
60 simpr 447 . . . . 5  |-  ( (
ph  /\  u  e.  X )  ->  u  e.  X )
611brdifun 6687 . . . . 5  |-  ( ( u  e.  X  /\  u  e.  X )  ->  ( u R u  <->  -.  ( u  .<  u  \/  u  .<  u ) ) )
6260, 60, 61syl2anc 642 . . . 4  |-  ( (
ph  /\  u  e.  X )  ->  (
u R u  <->  -.  (
u  .<  u  \/  u  .<  u ) ) )
6359, 62mpbird 223 . . 3  |-  ( (
ph  /\  u  e.  X )  ->  u R u )
643ssbri 4065 . . . . 5  |-  ( u R u  ->  u
( X  X.  X
) u )
65 brxp 4720 . . . . . 6  |-  ( u ( X  X.  X
) u  <->  ( u  e.  X  /\  u  e.  X ) )
6665simplbi 446 . . . . 5  |-  ( u ( X  X.  X
) u  ->  u  e.  X )
6764, 66syl 15 . . . 4  |-  ( u R u  ->  u  e.  X )
6867adantl 452 . . 3  |-  ( (
ph  /\  u R u )  ->  u  e.  X )
6963, 68impbida 805 . 2  |-  ( ph  ->  ( u  e.  X  <->  u R u ) )
707, 23, 53, 69iserd 6686 1  |-  ( ph  ->  R  Er  X )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 176    \/ wo 357    /\ wa 358    /\ w3a 934    = wceq 1623    e. wcel 1684    \ cdif 3149    u. cun 3150    C_ wss 3152   class class class wbr 4023    Po wpo 4312    X. cxp 4687   `'ccnv 4688   Rel wrel 4694    Er wer 6657
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pr 4214
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-br 4024  df-opab 4078  df-po 4314  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-er 6660
  Copyright terms: Public domain W3C validator