ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  swoer Unicode version

Theorem swoer 6529
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 3248 . . . . 5  |-  ( ( X  X.  X ) 
\  (  .<  u.  `'  .<  ) )  C_  ( X  X.  X )
31, 2eqsstri 3174 . . . 4  |-  R  C_  ( X  X.  X
)
4 relxp 4713 . . . 4  |-  Rel  ( X  X.  X )
5 relss 4691 . . . 4  |-  ( R 
C_  ( X  X.  X )  ->  ( Rel  ( X  X.  X
)  ->  Rel  R ) )
63, 4, 5mp2 16 . . 3  |-  Rel  R
76a1i 9 . 2  |-  ( ph  ->  Rel  R )
8 simpr 109 . . 3  |-  ( (
ph  /\  u R
v )  ->  u R v )
9 orcom 718 . . . . . 6  |-  ( ( u  .<  v  \/  v  .<  u )  <->  ( v  .<  u  \/  u  .<  v ) )
109a1i 9 . . . . 5  |-  ( (
ph  /\  u R
v )  ->  (
( u  .<  v  \/  v  .<  u )  <-> 
( v  .<  u  \/  u  .<  v ) ) )
1110notbid 657 . . . 4  |-  ( (
ph  /\  u R
v )  ->  ( -.  ( u  .<  v  \/  v  .<  u )  <->  -.  ( v  .<  u  \/  u  .<  v ) ) )
123ssbri 4026 . . . . . . 7  |-  ( u R v  ->  u
( X  X.  X
) v )
1312adantl 275 . . . . . 6  |-  ( (
ph  /\  u R
v )  ->  u
( X  X.  X
) v )
14 brxp 4635 . . . . . 6  |-  ( u ( X  X.  X
) v  <->  ( u  e.  X  /\  v  e.  X ) )
1513, 14sylib 121 . . . . 5  |-  ( (
ph  /\  u R
v )  ->  (
u  e.  X  /\  v  e.  X )
)
161brdifun 6528 . . . . 5  |-  ( ( u  e.  X  /\  v  e.  X )  ->  ( u R v  <->  -.  ( u  .<  v  \/  v  .<  u ) ) )
1715, 16syl 14 . . . 4  |-  ( (
ph  /\  u R
v )  ->  (
u R v  <->  -.  (
u  .<  v  \/  v  .<  u ) ) )
1815simprd 113 . . . . 5  |-  ( (
ph  /\  u R
v )  ->  v  e.  X )
1915simpld 111 . . . . 5  |-  ( (
ph  /\  u R
v )  ->  u  e.  X )
201brdifun 6528 . . . . 5  |-  ( ( v  e.  X  /\  u  e.  X )  ->  ( v R u  <->  -.  ( v  .<  u  \/  u  .<  v ) ) )
2118, 19, 20syl2anc 409 . . . 4  |-  ( (
ph  /\  u R
v )  ->  (
v R u  <->  -.  (
v  .<  u  \/  u  .<  v ) ) )
2211, 17, 213bitr4d 219 . . 3  |-  ( (
ph  /\  u R
v )  ->  (
u R v  <->  v R u ) )
238, 22mpbid 146 . 2  |-  ( (
ph  /\  u R
v )  ->  v R u )
24 simprl 521 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  u R v )
2512ad2antrl 482 . . . . . . 7  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  u ( X  X.  X ) v )
2614simplbi 272 . . . . . . 7  |-  ( u ( X  X.  X
) v  ->  u  e.  X )
2725, 26syl 14 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  u  e.  X
)
2814simprbi 273 . . . . . . 7  |-  ( u ( X  X.  X
) v  ->  v  e.  X )
2925, 28syl 14 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  v  e.  X
)
3027, 29, 16syl2anc 409 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( u R v  <->  -.  ( u  .<  v  \/  v  .<  u ) ) )
3124, 30mpbid 146 . . . 4  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  -.  ( u  .<  v  \/  v  .<  u ) )
32 simprr 522 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  v R w )
333brel 4656 . . . . . . . 8  |-  ( v R w  ->  (
v  e.  X  /\  w  e.  X )
)
3433simprd 113 . . . . . . 7  |-  ( v R w  ->  w  e.  X )
3532, 34syl 14 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  w  e.  X
)
361brdifun 6528 . . . . . 6  |-  ( ( v  e.  X  /\  w  e.  X )  ->  ( v R w  <->  -.  ( v  .<  w  \/  w  .<  v ) ) )
3729, 35, 36syl2anc 409 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( v R w  <->  -.  ( v  .<  w  \/  w  .<  v ) ) )
3832, 37mpbid 146 . . . 4  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  -.  ( v  .<  w  \/  w  .<  v ) )
39 simpl 108 . . . . . . 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 4283 . . . . . . 7  |-  ( (
ph  /\  ( u  e.  X  /\  w  e.  X  /\  v  e.  X ) )  -> 
( u  .<  w  ->  ( u  .<  v  \/  v  .<  w ) ) )
4239, 27, 35, 29, 41syl13anc 1230 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( u  .<  w  ->  ( u  .<  v  \/  v  .<  w
) ) )
4340swopolem 4283 . . . . . . . 8  |-  ( (
ph  /\  ( w  e.  X  /\  u  e.  X  /\  v  e.  X ) )  -> 
( w  .<  u  ->  ( w  .<  v  \/  v  .<  u ) ) )
4439, 35, 27, 29, 43syl13anc 1230 . . . . . . 7  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( w  .<  u  ->  ( w  .<  v  \/  v  .<  u
) ) )
45 orcom 718 . . . . . . 7  |-  ( ( v  .<  u  \/  w  .<  v )  <->  ( w  .<  v  \/  v  .<  u ) )
4644, 45syl6ibr 161 . . . . . 6  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( w  .<  u  ->  ( v  .<  u  \/  w  .<  v ) ) )
4742, 46orim12d 776 . . . . 5  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( ( u 
.<  w  \/  w  .<  u )  ->  (
( u  .<  v  \/  v  .<  w )  \/  ( v  .<  u  \/  w  .<  v ) ) ) )
48 or4 761 . . . . 5  |-  ( ( ( u  .<  v  \/  v  .<  w )  \/  ( v  .<  u  \/  w  .<  v ) )  <->  ( (
u  .<  v  \/  v  .<  u )  \/  (
v  .<  w  \/  w  .<  v ) ) )
4947, 48syl6ib 160 . . . 4  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( ( u 
.<  w  \/  w  .<  u )  ->  (
( u  .<  v  \/  v  .<  u )  \/  ( v  .<  w  \/  w  .<  v ) ) ) )
5031, 38, 49mtord 773 . . 3  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  -.  ( u  .<  w  \/  w  .<  u ) )
511brdifun 6528 . . . 4  |-  ( ( u  e.  X  /\  w  e.  X )  ->  ( u R w  <->  -.  ( u  .<  w  \/  w  .<  u ) ) )
5227, 35, 51syl2anc 409 . . 3  |-  ( (
ph  /\  ( u R v  /\  v R w ) )  ->  ( u R w  <->  -.  ( u  .<  w  \/  w  .<  u ) ) )
5350, 52mpbird 166 . 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 4284 . . . . . 6  |-  ( ph  ->  .<  Po  X )
56 poirr 4285 . . . . . 6  |-  ( ( 
.<  Po  X  /\  u  e.  X )  ->  -.  u  .<  u )
5755, 56sylan 281 . . . . 5  |-  ( (
ph  /\  u  e.  X )  ->  -.  u  .<  u )
58 pm1.2 746 . . . . 5  |-  ( ( u  .<  u  \/  u  .<  u )  ->  u  .<  u )
5957, 58nsyl 618 . . . 4  |-  ( (
ph  /\  u  e.  X )  ->  -.  ( u  .<  u  \/  u  .<  u )
)
60 simpr 109 . . . . 5  |-  ( (
ph  /\  u  e.  X )  ->  u  e.  X )
611brdifun 6528 . . . . 5  |-  ( ( u  e.  X  /\  u  e.  X )  ->  ( u R u  <->  -.  ( u  .<  u  \/  u  .<  u ) ) )
6260, 60, 61syl2anc 409 . . . 4  |-  ( (
ph  /\  u  e.  X )  ->  (
u R u  <->  -.  (
u  .<  u  \/  u  .<  u ) ) )
6359, 62mpbird 166 . . 3  |-  ( (
ph  /\  u  e.  X )  ->  u R u )
643ssbri 4026 . . . . 5  |-  ( u R u  ->  u
( X  X.  X
) u )
65 brxp 4635 . . . . . 6  |-  ( u ( X  X.  X
) u  <->  ( u  e.  X  /\  u  e.  X ) )
6665simplbi 272 . . . . 5  |-  ( u ( X  X.  X
) u  ->  u  e.  X )
6764, 66syl 14 . . . 4  |-  ( u R u  ->  u  e.  X )
6867adantl 275 . . 3  |-  ( (
ph  /\  u R u )  ->  u  e.  X )
6963, 68impbida 586 . 2  |-  ( ph  ->  ( u  e.  X  <->  u R u ) )
707, 23, 53, 69iserd 6527 1  |-  ( ph  ->  R  Er  X )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    <-> wb 104    \/ wo 698    /\ w3a 968    = wceq 1343    e. wcel 2136    \ cdif 3113    u. cun 3114    C_ wss 3116   class class class wbr 3982    Po wpo 4272    X. cxp 4602   `'ccnv 4603   Rel wrel 4609    Er wer 6498
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-v 2728  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-br 3983  df-opab 4044  df-po 4274  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-er 6501
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator