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

Theorem swoord2 7339
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 3613 . . . . . . 7  |-  ( ( X  X.  X ) 
\  (  .<  u.  `'  .<  ) )  C_  ( X  X.  X )
64, 5eqsstri 3516 . . . . . 6  |-  R  C_  ( X  X.  X
)
76ssbri 4475 . . . . 5  |-  ( A R B  ->  A
( X  X.  X
) B )
8 df-br 4434 . . . . . 6  |-  ( A ( X  X.  X
) B  <->  <. A ,  B >.  e.  ( X  X.  X ) )
9 opelxp1 5018 . . . . . 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 4795 . . . 4  |-  ( (
ph  /\  ( C  e.  X  /\  A  e.  X  /\  B  e.  X ) )  -> 
( C  .<  A  -> 
( C  .<  B  \/  B  .<  A ) ) )
151, 2, 11, 12, 14syl13anc 1229 . . 3  |-  ( ph  ->  ( C  .<  A  -> 
( C  .<  B  \/  B  .<  A ) ) )
16 idd 24 . . . 4  |-  ( ph  ->  ( C  .<  B  ->  C  .<  B ) )
174brdifun 7336 . . . . . . . 8  |-  ( ( A  e.  X  /\  B  e.  X )  ->  ( A R B  <->  -.  ( A  .<  B  \/  B  .<  A ) ) )
1811, 12, 17syl2anc 661 . . . . . . 7  |-  ( ph  ->  ( A R B  <->  -.  ( A  .<  B  \/  B  .<  A ) ) )
193, 18mpbid 210 . . . . . 6  |-  ( ph  ->  -.  ( A  .<  B  \/  B  .<  A ) )
20 olc 384 . . . . . 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 380 . . 3  |-  ( ph  ->  ( ( C  .<  B  \/  B  .<  A )  ->  C  .<  B ) )
2415, 23syld 44 . 2  |-  ( ph  ->  ( C  .<  A  ->  C  .<  B ) )
2513swopolem 4795 . . . 4  |-  ( (
ph  /\  ( C  e.  X  /\  B  e.  X  /\  A  e.  X ) )  -> 
( C  .<  B  -> 
( C  .<  A  \/  A  .<  B ) ) )
261, 2, 12, 11, 25syl13anc 1229 . . 3  |-  ( ph  ->  ( C  .<  B  -> 
( C  .<  A  \/  A  .<  B ) ) )
27 idd 24 . . . 4  |-  ( ph  ->  ( C  .<  A  ->  C  .<  A ) )
28 orc 385 . . . . . 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 380 . . 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 368    /\ wa 369    /\ w3a 972    = wceq 1381    e. wcel 1802    \ cdif 3455    u. cun 3456   <.cop 4016   class class class wbr 4433    X. cxp 4983   `'ccnv 4984
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1603  ax-4 1616  ax-5 1689  ax-6 1732  ax-7 1774  ax-9 1806  ax-10 1821  ax-11 1826  ax-12 1838  ax-13 1983  ax-ext 2419  ax-sep 4554  ax-nul 4562  ax-pr 4672
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 974  df-tru 1384  df-ex 1598  df-nf 1602  df-sb 1725  df-eu 2270  df-mo 2271  df-clab 2427  df-cleq 2433  df-clel 2436  df-nfc 2591  df-ne 2638  df-ral 2796  df-rex 2797  df-rab 2800  df-v 3095  df-dif 3461  df-un 3463  df-in 3465  df-ss 3472  df-nul 3768  df-if 3923  df-sn 4011  df-pr 4013  df-op 4017  df-br 4434  df-opab 4492  df-xp 4991  df-cnv 4993
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator