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

Theorem swopo 4456
Description: A strict weak order is a partial order. (Contributed by Mario Carneiro, 9-Jul-2014.)
Hypotheses
Ref Expression
swopo.1  |-  ( (
ph  /\  ( y  e.  A  /\  z  e.  A ) )  -> 
( y R z  ->  -.  z R
y ) )
swopo.2  |-  ( (
ph  /\  ( x  e.  A  /\  y  e.  A  /\  z  e.  A ) )  -> 
( x R y  ->  ( x R z  \/  z R y ) ) )
Assertion
Ref Expression
swopo  |-  ( ph  ->  R  Po  A )
Distinct variable groups:    x, y,
z, A    x, R, y, z    ph, x, y, z

Proof of Theorem swopo
StepHypRef Expression
1 id 20 . . . . 5  |-  ( x  e.  A  ->  x  e.  A )
21ancli 535 . . . 4  |-  ( x  e.  A  ->  (
x  e.  A  /\  x  e.  A )
)
3 swopo.1 . . . . 5  |-  ( (
ph  /\  ( y  e.  A  /\  z  e.  A ) )  -> 
( y R z  ->  -.  z R
y ) )
43ralrimivva 2743 . . . 4  |-  ( ph  ->  A. y  e.  A  A. z  e.  A  ( y R z  ->  -.  z R
y ) )
5 breq1 4158 . . . . . 6  |-  ( y  =  x  ->  (
y R z  <->  x R
z ) )
6 breq2 4159 . . . . . . 7  |-  ( y  =  x  ->  (
z R y  <->  z R x ) )
76notbid 286 . . . . . 6  |-  ( y  =  x  ->  ( -.  z R y  <->  -.  z R x ) )
85, 7imbi12d 312 . . . . 5  |-  ( y  =  x  ->  (
( y R z  ->  -.  z R
y )  <->  ( x R z  ->  -.  z R x ) ) )
9 breq2 4159 . . . . . 6  |-  ( z  =  x  ->  (
x R z  <->  x R x ) )
10 breq1 4158 . . . . . . 7  |-  ( z  =  x  ->  (
z R x  <->  x R x ) )
1110notbid 286 . . . . . 6  |-  ( z  =  x  ->  ( -.  z R x  <->  -.  x R x ) )
129, 11imbi12d 312 . . . . 5  |-  ( z  =  x  ->  (
( x R z  ->  -.  z R x )  <->  ( x R x  ->  -.  x R x ) ) )
138, 12rspc2va 3004 . . . 4  |-  ( ( ( x  e.  A  /\  x  e.  A
)  /\  A. y  e.  A  A. z  e.  A  ( y R z  ->  -.  z R y ) )  ->  ( x R x  ->  -.  x R x ) )
142, 4, 13syl2anr 465 . . 3  |-  ( (
ph  /\  x  e.  A )  ->  (
x R x  ->  -.  x R x ) )
1514pm2.01d 163 . 2  |-  ( (
ph  /\  x  e.  A )  ->  -.  x R x )
1633adantr1 1116 . . 3  |-  ( (
ph  /\  ( x  e.  A  /\  y  e.  A  /\  z  e.  A ) )  -> 
( y R z  ->  -.  z R
y ) )
17 swopo.2 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  A  /\  y  e.  A  /\  z  e.  A ) )  -> 
( x R y  ->  ( x R z  \/  z R y ) ) )
1817imp 419 . . . . . 6  |-  ( ( ( ph  /\  (
x  e.  A  /\  y  e.  A  /\  z  e.  A )
)  /\  x R
y )  ->  (
x R z  \/  z R y ) )
1918orcomd 378 . . . . 5  |-  ( ( ( ph  /\  (
x  e.  A  /\  y  e.  A  /\  z  e.  A )
)  /\  x R
y )  ->  (
z R y  \/  x R z ) )
2019ord 367 . . . 4  |-  ( ( ( ph  /\  (
x  e.  A  /\  y  e.  A  /\  z  e.  A )
)  /\  x R
y )  ->  ( -.  z R y  ->  x R z ) )
2120expimpd 587 . . 3  |-  ( (
ph  /\  ( x  e.  A  /\  y  e.  A  /\  z  e.  A ) )  -> 
( ( x R y  /\  -.  z R y )  ->  x R z ) )
2216, 21sylan2d 469 . 2  |-  ( (
ph  /\  ( x  e.  A  /\  y  e.  A  /\  z  e.  A ) )  -> 
( ( x R y  /\  y R z )  ->  x R z ) )
2315, 22ispod 4454 1  |-  ( ph  ->  R  Po  A )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    \/ wo 358    /\ wa 359    /\ w3a 936    e. wcel 1717   A.wral 2651   class class class wbr 4155    Po wpo 4444
This theorem is referenced by:  swoer  6871  swoso  6874
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2370
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-clab 2376  df-cleq 2382  df-clel 2385  df-nfc 2514  df-ral 2656  df-rab 2660  df-v 2903  df-dif 3268  df-un 3270  df-in 3272  df-ss 3279  df-nul 3574  df-if 3685  df-sn 3765  df-pr 3766  df-op 3768  df-br 4156  df-po 4446
  Copyright terms: Public domain W3C validator