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

Theorem swoer 7121
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 3476 . . . . 5  |-  ( ( X  X.  X ) 
\  (  .<  u.  `'  .<  ) )  C_  ( X  X.  X )
31, 2eqsstri 3379 . . . 4  |-  R  C_  ( X  X.  X
)
4 relxp 4939 . . . 4  |-  Rel  ( X  X.  X )
5 relss 4919 . . . 4  |-  ( R 
C_  ( X  X.  X )  ->  ( Rel  ( X  X.  X
)  ->  Rel  R ) )
63, 4, 5mp2 9 . . 3  |-  Rel  R
76a1i 11 . 2  |-  ( ph  ->  Rel  R )
8 simpr 461 . . 3  |-  ( (
ph  /\  u R
v )  ->  u R v )
9 orcom 387 . . . . . 6  |-  ( ( u  .<  v  \/  v  .<  u )  <->  ( v  .<  u  \/  u  .<  v ) )
109a1i 11 . . . . 5  |-  ( (
ph  /\  u R
v )  ->  (
( u  .<  v  \/  v  .<  u )  <-> 
( v  .<  u  \/  u  .<  v ) ) )
1110notbid 294 . . . 4  |-  ( (
ph  /\  u R
v )  ->  ( -.  ( u  .<  v  \/  v  .<  u )  <->  -.  ( v  .<  u  \/  u  .<  v ) ) )
123ssbri 4327 . . . . . . 7  |-  ( u R v  ->  u
( X  X.  X
) v )
1312adantl 466 . . . . . 6  |-  ( (
ph  /\  u R
v )  ->  u
( X  X.  X
) v )
14 brxp 4862 . . . . . 6  |-  ( u ( X  X.  X
) v  <->  ( u  e.  X  /\  v  e.  X ) )
1513, 14sylib 196 . . . . 5  |-  ( (
ph  /\  u R
v )  ->  (
u  e.  X  /\  v  e.  X )
)
161brdifun 7120 . . . . 5  |-  ( ( u  e.  X  /\  v  e.  X )  ->  ( u R v  <->  -.  ( u  .<  v  \/  v  .<  u ) ) )
1715, 16syl 16 . . . 4  |-  ( (
ph  /\  u R
v )  ->  (
u R v  <->  -.  (
u  .<  v  \/  v  .<  u ) ) )
1815simprd 463 . . . . 5  |-  ( (
ph  /\  u R
v )  ->  v  e.  X )
1915simpld 459 . . . . 5  |-  ( (
ph  /\  u R
v )  ->  u  e.  X )
201brdifun 7120 . . . . 5  |-  ( ( v  e.  X  /\  u  e.  X )  ->  ( v R u  <->  -.  ( v  .<  u  \/  u  .<  v ) ) )
2118, 19, 20syl2anc 661 . . . 4  |-  ( (
ph  /\  u R
v )  ->  (
v R u  <->  -.  (
v  .<  u  \/  u  .<  v ) ) )
2211, 17, 213bitr4d 285 . . 3  |-  ( (
ph  /\  u R
v )  ->  (
u R v  <->  v R u ) )
238, 22mpbid 210 . 2  |-  ( (
ph  /\  u R
v )  ->  v R u )
24 simprl 755 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  u R v )
2512ad2antrl 727 . . . . . . 7  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  u ( X  X.  X ) v )
2614simplbi 460 . . . . . . 7  |-  ( u ( X  X.  X
) v  ->  u  e.  X )
2725, 26syl 16 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  u  e.  X
)
2814simprbi 464 . . . . . . 7  |-  ( u ( X  X.  X
) v  ->  v  e.  X )
2925, 28syl 16 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  v  e.  X
)
3027, 29, 16syl2anc 661 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( u R v  <->  -.  ( u  .<  v  \/  v  .<  u ) ) )
3124, 30mpbid 210 . . . 4  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  -.  ( u  .<  v  \/  v  .<  u ) )
32 simprr 756 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  v R w )
333brel 4879 . . . . . . . 8  |-  ( v R w  ->  (
v  e.  X  /\  w  e.  X )
)
3433simprd 463 . . . . . . 7  |-  ( v R w  ->  w  e.  X )
3532, 34syl 16 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  w  e.  X
)
361brdifun 7120 . . . . . 6  |-  ( ( v  e.  X  /\  w  e.  X )  ->  ( v R w  <->  -.  ( v  .<  w  \/  w  .<  v ) ) )
3729, 35, 36syl2anc 661 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( v R w  <->  -.  ( v  .<  w  \/  w  .<  v ) ) )
3832, 37mpbid 210 . . . 4  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  -.  ( v  .<  w  \/  w  .<  v ) )
39 simpl 457 . . . . . . 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 4642 . . . . . . 7  |-  ( (
ph  /\  ( u  e.  X  /\  w  e.  X  /\  v  e.  X ) )  -> 
( u  .<  w  ->  ( u  .<  v  \/  v  .<  w ) ) )
4239, 27, 35, 29, 41syl13anc 1220 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( u  .<  w  ->  ( u  .<  v  \/  v  .<  w
) ) )
4340swopolem 4642 . . . . . . . 8  |-  ( (
ph  /\  ( w  e.  X  /\  u  e.  X  /\  v  e.  X ) )  -> 
( w  .<  u  ->  ( w  .<  v  \/  v  .<  u ) ) )
4439, 35, 27, 29, 43syl13anc 1220 . . . . . . 7  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( w  .<  u  ->  ( w  .<  v  \/  v  .<  u
) ) )
45 orcom 387 . . . . . . 7  |-  ( ( v  .<  u  \/  w  .<  v )  <->  ( w  .<  v  \/  v  .<  u ) )
4644, 45syl6ibr 227 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( w  .<  u  ->  ( v  .<  u  \/  w  .<  v ) ) )
4742, 46orim12d 834 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( ( u 
.<  w  \/  w  .<  u )  ->  (
( u  .<  v  \/  v  .<  w )  \/  ( v  .<  u  \/  w  .<  v ) ) ) )
48 or4 528 . . . . 5  |-  ( ( ( u  .<  v  \/  v  .<  w )  \/  ( v  .<  u  \/  w  .<  v ) )  <->  ( (
u  .<  v  \/  v  .<  u )  \/  (
v  .<  w  \/  w  .<  v ) ) )
4947, 48syl6ib 226 . . . 4  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( ( u 
.<  w  \/  w  .<  u )  ->  (
( u  .<  v  \/  v  .<  u )  \/  ( v  .<  w  \/  w  .<  v ) ) ) )
5031, 38, 49mtord 660 . . 3  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  -.  ( u  .<  w  \/  w  .<  u ) )
511brdifun 7120 . . . 4  |-  ( ( u  e.  X  /\  w  e.  X )  ->  ( u R w  <->  -.  ( u  .<  w  \/  w  .<  u ) ) )
5227, 35, 51syl2anc 661 . . 3  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( u R w  <->  -.  ( u  .<  w  \/  w  .<  u ) ) )
5350, 52mpbird 232 . 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 4643 . . . . . 6  |-  ( ph  ->  .<  Po  X )
56 poirr 4644 . . . . . 6  |-  ( ( 
.<  Po  X  /\  u  e.  X )  ->  -.  u  .<  u )
5755, 56sylan 471 . . . . 5  |-  ( (
ph  /\  u  e.  X )  ->  -.  u  .<  u )
58 pm1.2 513 . . . . 5  |-  ( ( u  .<  u  \/  u  .<  u )  ->  u  .<  u )
5957, 58nsyl 121 . . . 4  |-  ( (
ph  /\  u  e.  X )  ->  -.  ( u  .<  u  \/  u  .<  u )
)
60 simpr 461 . . . . 5  |-  ( (
ph  /\  u  e.  X )  ->  u  e.  X )
611brdifun 7120 . . . . 5  |-  ( ( u  e.  X  /\  u  e.  X )  ->  ( u R u  <->  -.  ( u  .<  u  \/  u  .<  u ) ) )
6260, 60, 61syl2anc 661 . . . 4  |-  ( (
ph  /\  u  e.  X )  ->  (
u R u  <->  -.  (
u  .<  u  \/  u  .<  u ) ) )
6359, 62mpbird 232 . . 3  |-  ( (
ph  /\  u  e.  X )  ->  u R u )
643ssbri 4327 . . . . 5  |-  ( u R u  ->  u
( X  X.  X
) u )
65 brxp 4862 . . . . . 6  |-  ( u ( X  X.  X
) u  <->  ( u  e.  X  /\  u  e.  X ) )
6665simplbi 460 . . . . 5  |-  ( u ( X  X.  X
) u  ->  u  e.  X )
6764, 66syl 16 . . . 4  |-  ( u R u  ->  u  e.  X )
6867adantl 466 . . 3  |-  ( (
ph  /\  u R u )  ->  u  e.  X )
6963, 68impbida 828 . 2  |-  ( ph  ->  ( u  e.  X  <->  u R u ) )
707, 23, 53, 69iserd 7119 1  |-  ( ph  ->  R  Er  X )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 184    \/ wo 368    /\ wa 369    /\ w3a 965    = wceq 1369    e. wcel 1756    \ cdif 3318    u. cun 3319    C_ wss 3321   class class class wbr 4285    Po wpo 4631    X. cxp 4830   `'ccnv 4831   Rel wrel 4837    Er wer 7090
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2418  ax-sep 4406  ax-nul 4414  ax-pr 4524
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2256  df-mo 2257  df-clab 2424  df-cleq 2430  df-clel 2433  df-nfc 2562  df-ne 2602  df-ral 2714  df-rex 2715  df-rab 2718  df-v 2968  df-dif 3324  df-un 3326  df-in 3328  df-ss 3335  df-nul 3631  df-if 3785  df-sn 3871  df-pr 3873  df-op 3877  df-br 4286  df-opab 4344  df-po 4633  df-xp 4838  df-rel 4839  df-cnv 4840  df-co 4841  df-dm 4842  df-er 7093
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator