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

Theorem swoer 7397
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 3593 . . . . 5  |-  ( ( X  X.  X ) 
\  (  .<  u.  `'  .<  ) )  C_  ( X  X.  X )
31, 2eqsstri 3495 . . . 4  |-  R  C_  ( X  X.  X
)
4 relxp 4959 . . . 4  |-  Rel  ( X  X.  X )
5 relss 4939 . . . 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 463 . . 3  |-  ( (
ph  /\  u R
v )  ->  u R v )
9 orcom 389 . . . . . 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 296 . . . 4  |-  ( (
ph  /\  u R
v )  ->  ( -.  ( u  .<  v  \/  v  .<  u )  <->  -.  ( v  .<  u  \/  u  .<  v ) ) )
123ssbri 4464 . . . . . . 7  |-  ( u R v  ->  u
( X  X.  X
) v )
1312adantl 468 . . . . . 6  |-  ( (
ph  /\  u R
v )  ->  u
( X  X.  X
) v )
14 brxp 4882 . . . . . 6  |-  ( u ( X  X.  X
) v  <->  ( u  e.  X  /\  v  e.  X ) )
1513, 14sylib 200 . . . . 5  |-  ( (
ph  /\  u R
v )  ->  (
u  e.  X  /\  v  e.  X )
)
161brdifun 7396 . . . . 5  |-  ( ( u  e.  X  /\  v  e.  X )  ->  ( u R v  <->  -.  ( u  .<  v  \/  v  .<  u ) ) )
1715, 16syl 17 . . . 4  |-  ( (
ph  /\  u R
v )  ->  (
u R v  <->  -.  (
u  .<  v  \/  v  .<  u ) ) )
1815simprd 465 . . . . 5  |-  ( (
ph  /\  u R
v )  ->  v  e.  X )
1915simpld 461 . . . . 5  |-  ( (
ph  /\  u R
v )  ->  u  e.  X )
201brdifun 7396 . . . . 5  |-  ( ( v  e.  X  /\  u  e.  X )  ->  ( v R u  <->  -.  ( v  .<  u  \/  u  .<  v ) ) )
2118, 19, 20syl2anc 666 . . . 4  |-  ( (
ph  /\  u R
v )  ->  (
v R u  <->  -.  (
v  .<  u  \/  u  .<  v ) ) )
2211, 17, 213bitr4d 289 . . 3  |-  ( (
ph  /\  u R
v )  ->  (
u R v  <->  v R u ) )
238, 22mpbid 214 . 2  |-  ( (
ph  /\  u R
v )  ->  v R u )
24 simprl 763 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  u R v )
2512ad2antrl 733 . . . . . . 7  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  u ( X  X.  X ) v )
2614simplbi 462 . . . . . . 7  |-  ( u ( X  X.  X
) v  ->  u  e.  X )
2725, 26syl 17 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  u  e.  X
)
2814simprbi 466 . . . . . . 7  |-  ( u ( X  X.  X
) v  ->  v  e.  X )
2925, 28syl 17 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  v  e.  X
)
3027, 29, 16syl2anc 666 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( u R v  <->  -.  ( u  .<  v  \/  v  .<  u ) ) )
3124, 30mpbid 214 . . . 4  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  -.  ( u  .<  v  \/  v  .<  u ) )
32 simprr 765 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  v R w )
333brel 4900 . . . . . . . 8  |-  ( v R w  ->  (
v  e.  X  /\  w  e.  X )
)
3433simprd 465 . . . . . . 7  |-  ( v R w  ->  w  e.  X )
3532, 34syl 17 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  w  e.  X
)
361brdifun 7396 . . . . . 6  |-  ( ( v  e.  X  /\  w  e.  X )  ->  ( v R w  <->  -.  ( v  .<  w  \/  w  .<  v ) ) )
3729, 35, 36syl2anc 666 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( v R w  <->  -.  ( v  .<  w  \/  w  .<  v ) ) )
3832, 37mpbid 214 . . . 4  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  -.  ( v  .<  w  \/  w  .<  v ) )
39 simpl 459 . . . . . . 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 4781 . . . . . . 7  |-  ( (
ph  /\  ( u  e.  X  /\  w  e.  X  /\  v  e.  X ) )  -> 
( u  .<  w  ->  ( u  .<  v  \/  v  .<  w ) ) )
4239, 27, 35, 29, 41syl13anc 1267 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( u  .<  w  ->  ( u  .<  v  \/  v  .<  w
) ) )
4340swopolem 4781 . . . . . . . 8  |-  ( (
ph  /\  ( w  e.  X  /\  u  e.  X  /\  v  e.  X ) )  -> 
( w  .<  u  ->  ( w  .<  v  \/  v  .<  u ) ) )
4439, 35, 27, 29, 43syl13anc 1267 . . . . . . 7  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( w  .<  u  ->  ( w  .<  v  \/  v  .<  u
) ) )
45 orcom 389 . . . . . . 7  |-  ( ( v  .<  u  \/  w  .<  v )  <->  ( w  .<  v  \/  v  .<  u ) )
4644, 45syl6ibr 231 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( w  .<  u  ->  ( v  .<  u  \/  w  .<  v ) ) )
4742, 46orim12d 847 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( ( u 
.<  w  \/  w  .<  u )  ->  (
( u  .<  v  \/  v  .<  w )  \/  ( v  .<  u  \/  w  .<  v ) ) ) )
48 or4 531 . . . . 5  |-  ( ( ( u  .<  v  \/  v  .<  w )  \/  ( v  .<  u  \/  w  .<  v ) )  <->  ( (
u  .<  v  \/  v  .<  u )  \/  (
v  .<  w  \/  w  .<  v ) ) )
4947, 48syl6ib 230 . . . 4  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( ( u 
.<  w  \/  w  .<  u )  ->  (
( u  .<  v  \/  v  .<  u )  \/  ( v  .<  w  \/  w  .<  v ) ) ) )
5031, 38, 49mtord 665 . . 3  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  -.  ( u  .<  w  \/  w  .<  u ) )
511brdifun 7396 . . . 4  |-  ( ( u  e.  X  /\  w  e.  X )  ->  ( u R w  <->  -.  ( u  .<  w  \/  w  .<  u ) ) )
5227, 35, 51syl2anc 666 . . 3  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( u R w  <->  -.  ( u  .<  w  \/  w  .<  u ) ) )
5350, 52mpbird 236 . 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 4782 . . . . . 6  |-  ( ph  ->  .<  Po  X )
56 poirr 4783 . . . . . 6  |-  ( ( 
.<  Po  X  /\  u  e.  X )  ->  -.  u  .<  u )
5755, 56sylan 474 . . . . 5  |-  ( (
ph  /\  u  e.  X )  ->  -.  u  .<  u )
58 pm1.2 516 . . . . 5  |-  ( ( u  .<  u  \/  u  .<  u )  ->  u  .<  u )
5957, 58nsyl 125 . . . 4  |-  ( (
ph  /\  u  e.  X )  ->  -.  ( u  .<  u  \/  u  .<  u )
)
60 simpr 463 . . . . 5  |-  ( (
ph  /\  u  e.  X )  ->  u  e.  X )
611brdifun 7396 . . . . 5  |-  ( ( u  e.  X  /\  u  e.  X )  ->  ( u R u  <->  -.  ( u  .<  u  \/  u  .<  u ) ) )
6260, 60, 61syl2anc 666 . . . 4  |-  ( (
ph  /\  u  e.  X )  ->  (
u R u  <->  -.  (
u  .<  u  \/  u  .<  u ) ) )
6359, 62mpbird 236 . . 3  |-  ( (
ph  /\  u  e.  X )  ->  u R u )
643ssbri 4464 . . . . 5  |-  ( u R u  ->  u
( X  X.  X
) u )
65 brxp 4882 . . . . . 6  |-  ( u ( X  X.  X
) u  <->  ( u  e.  X  /\  u  e.  X ) )
6665simplbi 462 . . . . 5  |-  ( u ( X  X.  X
) u  ->  u  e.  X )
6764, 66syl 17 . . . 4  |-  ( u R u  ->  u  e.  X )
6867adantl 468 . . 3  |-  ( (
ph  /\  u R u )  ->  u  e.  X )
6963, 68impbida 841 . 2  |-  ( ph  ->  ( u  e.  X  <->  u R u ) )
707, 23, 53, 69iserd 7395 1  |-  ( ph  ->  R  Er  X )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 188    \/ wo 370    /\ wa 371    /\ w3a 983    = wceq 1438    e. wcel 1869    \ cdif 3434    u. cun 3435    C_ wss 3437   class class class wbr 4421    Po wpo 4770    X. cxp 4849   `'ccnv 4850   Rel wrel 4856    Er wer 7366
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1666  ax-4 1679  ax-5 1749  ax-6 1795  ax-7 1840  ax-9 1873  ax-10 1888  ax-11 1893  ax-12 1906  ax-13 2054  ax-ext 2401  ax-sep 4544  ax-nul 4553  ax-pr 4658
This theorem depends on definitions:  df-bi 189  df-or 372  df-an 373  df-3an 985  df-tru 1441  df-ex 1661  df-nf 1665  df-sb 1788  df-eu 2270  df-mo 2271  df-clab 2409  df-cleq 2415  df-clel 2418  df-nfc 2573  df-ne 2621  df-ral 2781  df-rex 2782  df-rab 2785  df-v 3084  df-dif 3440  df-un 3442  df-in 3444  df-ss 3451  df-nul 3763  df-if 3911  df-sn 3998  df-pr 4000  df-op 4004  df-br 4422  df-opab 4481  df-po 4772  df-xp 4857  df-rel 4858  df-cnv 4859  df-co 4860  df-dm 4861  df-er 7369
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator