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

Theorem swopo 5045
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 22 . . . . 5  |-  ( x  e.  A  ->  x  e.  A )
21ancli 574 . . . 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 2971 . . . 4  |-  ( ph  ->  A. y  e.  A  A. z  e.  A  ( y R z  ->  -.  z R
y ) )
5 breq1 4656 . . . . . 6  |-  ( y  =  x  ->  (
y R z  <->  x R
z ) )
6 breq2 4657 . . . . . . 7  |-  ( y  =  x  ->  (
z R y  <->  z R x ) )
76notbid 308 . . . . . 6  |-  ( y  =  x  ->  ( -.  z R y  <->  -.  z R x ) )
85, 7imbi12d 334 . . . . 5  |-  ( y  =  x  ->  (
( y R z  ->  -.  z R
y )  <->  ( x R z  ->  -.  z R x ) ) )
9 breq2 4657 . . . . . 6  |-  ( z  =  x  ->  (
x R z  <->  x R x ) )
10 breq1 4656 . . . . . . 7  |-  ( z  =  x  ->  (
z R x  <->  x R x ) )
1110notbid 308 . . . . . 6  |-  ( z  =  x  ->  ( -.  z R x  <->  -.  x R x ) )
129, 11imbi12d 334 . . . . 5  |-  ( z  =  x  ->  (
( x R z  ->  -.  z R x )  <->  ( x R x  ->  -.  x R x ) ) )
138, 12rspc2va 3323 . . . 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 495 . . 3  |-  ( (
ph  /\  x  e.  A )  ->  (
x R x  ->  -.  x R x ) )
1514pm2.01d 181 . 2  |-  ( (
ph  /\  x  e.  A )  ->  -.  x R x )
1633adantr1 1220 . . 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 445 . . . . . 6  |-  ( ( ( ph  /\  (
x  e.  A  /\  y  e.  A  /\  z  e.  A )
)  /\  x R
y )  ->  (
x R z  \/  z R y ) )
1918orcomd 403 . . . . 5  |-  ( ( ( ph  /\  (
x  e.  A  /\  y  e.  A  /\  z  e.  A )
)  /\  x R
y )  ->  (
z R y  \/  x R z ) )
2019ord 392 . . . 4  |-  ( ( ( ph  /\  (
x  e.  A  /\  y  e.  A  /\  z  e.  A )
)  /\  x R
y )  ->  ( -.  z R y  ->  x R z ) )
2120expimpd 629 . . 3  |-  ( (
ph  /\  ( x  e.  A  /\  y  e.  A  /\  z  e.  A ) )  -> 
( ( x R y  /\  -.  z R y )  ->  x R z ) )
2216, 21sylan2d 499 . 2  |-  ( (
ph  /\  ( x  e.  A  /\  y  e.  A  /\  z  e.  A ) )  -> 
( ( x R y  /\  y R z )  ->  x R z ) )
2315, 22ispod 5043 1  |-  ( ph  ->  R  Po  A )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    \/ wo 383    /\ wa 384    /\ w3a 1037    e. wcel 1990   A.wral 2912   class class class wbr 4653    Po wpo 5033
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rab 2921  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-br 4654  df-po 5035
This theorem is referenced by:  swoer  7772  swoso  7775
  Copyright terms: Public domain W3C validator