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

Theorem swoord2 7281
Description: The incomparability equivalence relation is compatible with the original order. (Contributed by Mario Carneiro, 31-Dec-2014.)
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 ) ) )
swoord.4  |-  ( ph  ->  B  e.  X )
swoord.5  |-  ( ph  ->  C  e.  X )
swoord.6  |-  ( ph  ->  A R B )
Assertion
Ref Expression
swoord2  |-  ( ph  ->  ( C  .<  A  <->  C  .<  B ) )
Distinct variable groups:    x, y,
z,  .<    x, A, y, z   
x, B, y, z   
x, C, y, z    ph, x, y, z    x, X, y, z
Allowed substitution hints:    R( x, y, z)

Proof of Theorem swoord2
StepHypRef Expression
1 id 22 . . . 4  |-  ( ph  ->  ph )
2 swoord.5 . . . 4  |-  ( ph  ->  C  e.  X )
3 swoord.6 . . . . 5  |-  ( ph  ->  A R B )
4 swoer.1 . . . . . . 7  |-  R  =  ( ( X  X.  X )  \  (  .<  u.  `'  .<  )
)
5 difss 3562 . . . . . . 7  |-  ( ( X  X.  X ) 
\  (  .<  u.  `'  .<  ) )  C_  ( X  X.  X )
64, 5eqsstri 3464 . . . . . 6  |-  R  C_  ( X  X.  X
)
76ssbri 4426 . . . . 5  |-  ( A R B  ->  A
( X  X.  X
) B )
8 df-br 4385 . . . . . 6  |-  ( A ( X  X.  X
) B  <->  <. A ,  B >.  e.  ( X  X.  X ) )
9 opelxp1 4963 . . . . . 6  |-  ( <. A ,  B >.  e.  ( X  X.  X
)  ->  A  e.  X )
108, 9sylbi 195 . . . . 5  |-  ( A ( X  X.  X
) B  ->  A  e.  X )
113, 7, 103syl 20 . . . 4  |-  ( ph  ->  A  e.  X )
12 swoord.4 . . . 4  |-  ( ph  ->  B  e.  X )
13 swoer.3 . . . . 5  |-  ( (
ph  /\  ( x  e.  X  /\  y  e.  X  /\  z  e.  X ) )  -> 
( x  .<  y  ->  ( x  .<  z  \/  z  .<  y ) ) )
1413swopolem 4740 . . . 4  |-  ( (
ph  /\  ( C  e.  X  /\  A  e.  X  /\  B  e.  X ) )  -> 
( C  .<  A  -> 
( C  .<  B  \/  B  .<  A ) ) )
151, 2, 11, 12, 14syl13anc 1228 . . 3  |-  ( ph  ->  ( C  .<  A  -> 
( C  .<  B  \/  B  .<  A ) ) )
16 idd 24 . . . 4  |-  ( ph  ->  ( C  .<  B  ->  C  .<  B ) )
174brdifun 7278 . . . . . . . 8  |-  ( ( A  e.  X  /\  B  e.  X )  ->  ( A R B  <->  -.  ( A  .<  B  \/  B  .<  A ) ) )
1811, 12, 17syl2anc 659 . . . . . . 7  |-  ( ph  ->  ( A R B  <->  -.  ( A  .<  B  \/  B  .<  A ) ) )
193, 18mpbid 210 . . . . . 6  |-  ( ph  ->  -.  ( A  .<  B  \/  B  .<  A ) )
20 olc 382 . . . . . 6  |-  ( B 
.<  A  ->  ( A 
.<  B  \/  B  .<  A ) )
2119, 20nsyl 121 . . . . 5  |-  ( ph  ->  -.  B  .<  A )
2221pm2.21d 106 . . . 4  |-  ( ph  ->  ( B  .<  A  ->  C  .<  B ) )
2316, 22jaod 378 . . 3  |-  ( ph  ->  ( ( C  .<  B  \/  B  .<  A )  ->  C  .<  B ) )
2415, 23syld 44 . 2  |-  ( ph  ->  ( C  .<  A  ->  C  .<  B ) )
2513swopolem 4740 . . . 4  |-  ( (
ph  /\  ( C  e.  X  /\  B  e.  X  /\  A  e.  X ) )  -> 
( C  .<  B  -> 
( C  .<  A  \/  A  .<  B ) ) )
261, 2, 12, 11, 25syl13anc 1228 . . 3  |-  ( ph  ->  ( C  .<  B  -> 
( C  .<  A  \/  A  .<  B ) ) )
27 idd 24 . . . 4  |-  ( ph  ->  ( C  .<  A  ->  C  .<  A ) )
28 orc 383 . . . . . 6  |-  ( A 
.<  B  ->  ( A 
.<  B  \/  B  .<  A ) )
2919, 28nsyl 121 . . . . 5  |-  ( ph  ->  -.  A  .<  B )
3029pm2.21d 106 . . . 4  |-  ( ph  ->  ( A  .<  B  ->  C  .<  A ) )
3127, 30jaod 378 . . 3  |-  ( ph  ->  ( ( C  .<  A  \/  A  .<  B )  ->  C  .<  A ) )
3226, 31syld 44 . 2  |-  ( ph  ->  ( C  .<  B  ->  C  .<  A ) )
3324, 32impbid 191 1  |-  ( ph  ->  ( C  .<  A  <->  C  .<  B ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 184    \/ wo 366    /\ wa 367    /\ w3a 971    = wceq 1399    e. wcel 1836    \ cdif 3403    u. cun 3404   <.cop 3967   class class class wbr 4384    X. cxp 4928   `'ccnv 4929
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1633  ax-4 1646  ax-5 1719  ax-6 1765  ax-7 1808  ax-9 1840  ax-10 1855  ax-11 1860  ax-12 1872  ax-13 2020  ax-ext 2374  ax-sep 4505  ax-nul 4513  ax-pr 4618
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-3an 973  df-tru 1402  df-ex 1628  df-nf 1632  df-sb 1758  df-eu 2236  df-mo 2237  df-clab 2382  df-cleq 2388  df-clel 2391  df-nfc 2546  df-ne 2593  df-ral 2751  df-rex 2752  df-rab 2755  df-v 3053  df-dif 3409  df-un 3411  df-in 3413  df-ss 3420  df-nul 3729  df-if 3875  df-sn 3962  df-pr 3964  df-op 3968  df-br 4385  df-opab 4443  df-xp 4936  df-cnv 4938
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator