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

Theorem ecopovtrn 6226
Description: Assuming that operation  F is commutative (second hypothesis), closed (third hypothesis), associative (fourth hypothesis), and has the cancellation property (fifth hypothesis), show that the relation  .~, specified by the first hypothesis, is transitive. (Contributed by NM, 11-Feb-1996.) (Revised by Mario Carneiro, 26-Apr-2015.)
Hypotheses
Ref Expression
ecopopr.1  |-  .~  =  { <. x ,  y
>.  |  ( (
x  e.  ( S  X.  S )  /\  y  e.  ( S  X.  S ) )  /\  E. z E. w E. v E. u ( ( x  =  <. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ( z 
.+  u )  =  ( w  .+  v
) ) ) }
ecopopr.com  |-  ( x 
.+  y )  =  ( y  .+  x
)
ecopopr.cl  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( x  .+  y
)  e.  S )
ecopopr.ass  |-  ( ( x  .+  y ) 
.+  z )  =  ( x  .+  (
y  .+  z )
)
ecopopr.can  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( ( x  .+  y )  =  ( x  .+  z )  ->  y  =  z ) )
Assertion
Ref Expression
ecopovtrn  |-  ( ( A  .~  B  /\  B  .~  C )  ->  A  .~  C )
Distinct variable groups:    x, y, z, w, v, u,  .+    x, S, y, z, w, v, u
Allowed substitution hints:    A( x, y, z, w, v, u)    B( x, y, z, w, v, u)    C( x, y, z, w, v, u)    .~ ( x, y, z, w, v, u)

Proof of Theorem ecopovtrn
Dummy variables  f  g  h  t  s  r are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ecopopr.1 . . . . . . 7  |-  .~  =  { <. x ,  y
>.  |  ( (
x  e.  ( S  X.  S )  /\  y  e.  ( S  X.  S ) )  /\  E. z E. w E. v E. u ( ( x  =  <. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ( z 
.+  u )  =  ( w  .+  v
) ) ) }
2 opabssxp 4432 . . . . . . 7  |-  { <. x ,  y >.  |  ( ( x  e.  ( S  X.  S )  /\  y  e.  ( S  X.  S ) )  /\  E. z E. w E. v E. u ( ( x  =  <. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ( z  .+  u
)  =  ( w 
.+  v ) ) ) }  C_  (
( S  X.  S
)  X.  ( S  X.  S ) )
31, 2eqsstri 3029 . . . . . 6  |-  .~  C_  (
( S  X.  S
)  X.  ( S  X.  S ) )
43brel 4410 . . . . 5  |-  ( A  .~  B  ->  ( A  e.  ( S  X.  S )  /\  B  e.  ( S  X.  S
) ) )
54simpld 110 . . . 4  |-  ( A  .~  B  ->  A  e.  ( S  X.  S
) )
63brel 4410 . . . 4  |-  ( B  .~  C  ->  ( B  e.  ( S  X.  S )  /\  C  e.  ( S  X.  S
) ) )
75, 6anim12i 331 . . 3  |-  ( ( A  .~  B  /\  B  .~  C )  -> 
( A  e.  ( S  X.  S )  /\  ( B  e.  ( S  X.  S
)  /\  C  e.  ( S  X.  S
) ) ) )
8 3anass 923 . . 3  |-  ( ( A  e.  ( S  X.  S )  /\  B  e.  ( S  X.  S )  /\  C  e.  ( S  X.  S
) )  <->  ( A  e.  ( S  X.  S
)  /\  ( B  e.  ( S  X.  S
)  /\  C  e.  ( S  X.  S
) ) ) )
97, 8sylibr 132 . 2  |-  ( ( A  .~  B  /\  B  .~  C )  -> 
( A  e.  ( S  X.  S )  /\  B  e.  ( S  X.  S )  /\  C  e.  ( S  X.  S ) ) )
10 eqid 2081 . . 3  |-  ( S  X.  S )  =  ( S  X.  S
)
11 breq1 3788 . . . . 5  |-  ( <.
f ,  g >.  =  A  ->  ( <.
f ,  g >.  .~  <. h ,  t
>. 
<->  A  .~  <. h ,  t >. )
)
1211anbi1d 452 . . . 4  |-  ( <.
f ,  g >.  =  A  ->  ( (
<. f ,  g >.  .~  <. h ,  t
>.  /\  <. h ,  t
>.  .~  <. s ,  r
>. )  <->  ( A  .~  <.
h ,  t >.  /\  <. h ,  t
>.  .~  <. s ,  r
>. ) ) )
13 breq1 3788 . . . 4  |-  ( <.
f ,  g >.  =  A  ->  ( <.
f ,  g >.  .~  <. s ,  r
>. 
<->  A  .~  <. s ,  r >. )
)
1412, 13imbi12d 232 . . 3  |-  ( <.
f ,  g >.  =  A  ->  ( ( ( <. f ,  g
>.  .~  <. h ,  t
>.  /\  <. h ,  t
>.  .~  <. s ,  r
>. )  ->  <. f ,  g >.  .~  <. s ,  r >. )  <->  ( ( A  .~  <. h ,  t >.  /\  <. h ,  t >.  .~  <. s ,  r >. )  ->  A  .~  <. s ,  r >. )
) )
15 breq2 3789 . . . . 5  |-  ( <.
h ,  t >.  =  B  ->  ( A  .~  <. h ,  t
>. 
<->  A  .~  B ) )
16 breq1 3788 . . . . 5  |-  ( <.
h ,  t >.  =  B  ->  ( <.
h ,  t >.  .~  <. s ,  r
>. 
<->  B  .~  <. s ,  r >. )
)
1715, 16anbi12d 456 . . . 4  |-  ( <.
h ,  t >.  =  B  ->  ( ( A  .~  <. h ,  t >.  /\  <. h ,  t >.  .~  <. s ,  r >. )  <->  ( A  .~  B  /\  B  .~  <. s ,  r
>. ) ) )
1817imbi1d 229 . . 3  |-  ( <.
h ,  t >.  =  B  ->  ( ( ( A  .~  <. h ,  t >.  /\  <. h ,  t >.  .~  <. s ,  r >. )  ->  A  .~  <. s ,  r >. )  <->  ( ( A  .~  B  /\  B  .~  <. s ,  r >. )  ->  A  .~  <. s ,  r >. )
) )
19 breq2 3789 . . . . 5  |-  ( <.
s ,  r >.  =  C  ->  ( B  .~  <. s ,  r
>. 
<->  B  .~  C ) )
2019anbi2d 451 . . . 4  |-  ( <.
s ,  r >.  =  C  ->  ( ( A  .~  B  /\  B  .~  <. s ,  r
>. )  <->  ( A  .~  B  /\  B  .~  C
) ) )
21 breq2 3789 . . . 4  |-  ( <.
s ,  r >.  =  C  ->  ( A  .~  <. s ,  r
>. 
<->  A  .~  C ) )
2220, 21imbi12d 232 . . 3  |-  ( <.
s ,  r >.  =  C  ->  ( ( ( A  .~  B  /\  B  .~  <. s ,  r >. )  ->  A  .~  <. s ,  r >. )  <->  ( ( A  .~  B  /\  B  .~  C )  ->  A  .~  C
) ) )
231ecopoveq 6224 . . . . . . . 8  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S ) )  -> 
( <. f ,  g
>.  .~  <. h ,  t
>. 
<->  ( f  .+  t
)  =  ( g 
.+  h ) ) )
24233adant3 958 . . . . . . 7  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( <. f ,  g >.  .~  <. h ,  t >.  <->  ( f  .+  t )  =  ( g  .+  h ) ) )
251ecopoveq 6224 . . . . . . . 8  |-  ( ( ( h  e.  S  /\  t  e.  S
)  /\  ( s  e.  S  /\  r  e.  S ) )  -> 
( <. h ,  t
>.  .~  <. s ,  r
>. 
<->  ( h  .+  r
)  =  ( t 
.+  s ) ) )
26253adant1 956 . . . . . . 7  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( <. h ,  t >.  .~  <. s ,  r >.  <->  ( h  .+  r )  =  ( t  .+  s ) ) )
2724, 26anbi12d 456 . . . . . 6  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( ( <. f ,  g >.  .~  <. h ,  t
>.  /\  <. h ,  t
>.  .~  <. s ,  r
>. )  <->  ( ( f 
.+  t )  =  ( g  .+  h
)  /\  ( h  .+  r )  =  ( t  .+  s ) ) ) )
28 oveq12 5541 . . . . . . 7  |-  ( ( ( f  .+  t
)  =  ( g 
.+  h )  /\  ( h  .+  r )  =  ( t  .+  s ) )  -> 
( ( f  .+  t )  .+  (
h  .+  r )
)  =  ( ( g  .+  h ) 
.+  ( t  .+  s ) ) )
29 simp2l 964 . . . . . . . . 9  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  h  e.  S )
30 simp2r 965 . . . . . . . . 9  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  t  e.  S )
31 simp1l 962 . . . . . . . . 9  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  f  e.  S )
32 ecopopr.com . . . . . . . . . 10  |-  ( x 
.+  y )  =  ( y  .+  x
)
3332a1i 9 . . . . . . . . 9  |-  ( ( ( ( f  e.  S  /\  g  e.  S )  /\  (
h  e.  S  /\  t  e.  S )  /\  ( s  e.  S  /\  r  e.  S
) )  /\  (
x  e.  S  /\  y  e.  S )
)  ->  ( x  .+  y )  =  ( y  .+  x ) )
34 ecopopr.ass . . . . . . . . . 10  |-  ( ( x  .+  y ) 
.+  z )  =  ( x  .+  (
y  .+  z )
)
3534a1i 9 . . . . . . . . 9  |-  ( ( ( ( f  e.  S  /\  g  e.  S )  /\  (
h  e.  S  /\  t  e.  S )  /\  ( s  e.  S  /\  r  e.  S
) )  /\  (
x  e.  S  /\  y  e.  S  /\  z  e.  S )
)  ->  ( (
x  .+  y )  .+  z )  =  ( x  .+  ( y 
.+  z ) ) )
36 simp3r 967 . . . . . . . . 9  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  r  e.  S )
37 ecopopr.cl . . . . . . . . . 10  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( x  .+  y
)  e.  S )
3837adantl 271 . . . . . . . . 9  |-  ( ( ( ( f  e.  S  /\  g  e.  S )  /\  (
h  e.  S  /\  t  e.  S )  /\  ( s  e.  S  /\  r  e.  S
) )  /\  (
x  e.  S  /\  y  e.  S )
)  ->  ( x  .+  y )  e.  S
)
3929, 30, 31, 33, 35, 36, 38caov411d 5706 . . . . . . . 8  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( (
h  .+  t )  .+  ( f  .+  r
) )  =  ( ( f  .+  t
)  .+  ( h  .+  r ) ) )
40 simp1r 963 . . . . . . . . . 10  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  g  e.  S )
41 simp3l 966 . . . . . . . . . 10  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  s  e.  S )
4240, 30, 29, 33, 35, 41, 38caov411d 5706 . . . . . . . . 9  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( (
g  .+  t )  .+  ( h  .+  s
) )  =  ( ( h  .+  t
)  .+  ( g  .+  s ) ) )
4340, 30, 29, 33, 35, 41, 38caov4d 5705 . . . . . . . . 9  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( (
g  .+  t )  .+  ( h  .+  s
) )  =  ( ( g  .+  h
)  .+  ( t  .+  s ) ) )
4442, 43eqtr3d 2115 . . . . . . . 8  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( (
h  .+  t )  .+  ( g  .+  s
) )  =  ( ( g  .+  h
)  .+  ( t  .+  s ) ) )
4539, 44eqeq12d 2095 . . . . . . 7  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( (
( h  .+  t
)  .+  ( f  .+  r ) )  =  ( ( h  .+  t )  .+  (
g  .+  s )
)  <->  ( ( f 
.+  t )  .+  ( h  .+  r ) )  =  ( ( g  .+  h ) 
.+  ( t  .+  s ) ) ) )
4628, 45syl5ibr 154 . . . . . 6  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( (
( f  .+  t
)  =  ( g 
.+  h )  /\  ( h  .+  r )  =  ( t  .+  s ) )  -> 
( ( h  .+  t )  .+  (
f  .+  r )
)  =  ( ( h  .+  t ) 
.+  ( g  .+  s ) ) ) )
4727, 46sylbid 148 . . . . 5  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( ( <. f ,  g >.  .~  <. h ,  t
>.  /\  <. h ,  t
>.  .~  <. s ,  r
>. )  ->  ( ( h  .+  t ) 
.+  ( f  .+  r ) )  =  ( ( h  .+  t )  .+  (
g  .+  s )
) ) )
48 ecopopr.can . . . . . . . . 9  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( ( x  .+  y )  =  ( x  .+  z )  ->  y  =  z ) )
49483adant3 958 . . . . . . . 8  |-  ( ( x  e.  S  /\  y  e.  S  /\  z  e.  S )  ->  ( ( x  .+  y )  =  ( x  .+  z )  ->  y  =  z ) )
50 oveq2 5540 . . . . . . . 8  |-  ( y  =  z  ->  (
x  .+  y )  =  ( x  .+  z ) )
5149, 50impbid1 140 . . . . . . 7  |-  ( ( x  e.  S  /\  y  e.  S  /\  z  e.  S )  ->  ( ( x  .+  y )  =  ( x  .+  z )  <-> 
y  =  z ) )
5251adantl 271 . . . . . 6  |-  ( ( ( ( f  e.  S  /\  g  e.  S )  /\  (
h  e.  S  /\  t  e.  S )  /\  ( s  e.  S  /\  r  e.  S
) )  /\  (
x  e.  S  /\  y  e.  S  /\  z  e.  S )
)  ->  ( (
x  .+  y )  =  ( x  .+  z )  <->  y  =  z ) )
5337caovcl 5675 . . . . . . 7  |-  ( ( h  e.  S  /\  t  e.  S )  ->  ( h  .+  t
)  e.  S )
5429, 30, 53syl2anc 403 . . . . . 6  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( h  .+  t )  e.  S
)
5537caovcl 5675 . . . . . . 7  |-  ( ( f  e.  S  /\  r  e.  S )  ->  ( f  .+  r
)  e.  S )
5631, 36, 55syl2anc 403 . . . . . 6  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( f  .+  r )  e.  S
)
5738, 40, 41caovcld 5674 . . . . . 6  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( g  .+  s )  e.  S
)
5852, 54, 56, 57caovcand 5683 . . . . 5  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( (
( h  .+  t
)  .+  ( f  .+  r ) )  =  ( ( h  .+  t )  .+  (
g  .+  s )
)  <->  ( f  .+  r )  =  ( g  .+  s ) ) )
5947, 58sylibd 147 . . . 4  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( ( <. f ,  g >.  .~  <. h ,  t
>.  /\  <. h ,  t
>.  .~  <. s ,  r
>. )  ->  ( f 
.+  r )  =  ( g  .+  s
) ) )
601ecopoveq 6224 . . . . 5  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( s  e.  S  /\  r  e.  S ) )  -> 
( <. f ,  g
>.  .~  <. s ,  r
>. 
<->  ( f  .+  r
)  =  ( g 
.+  s ) ) )
61603adant2 957 . . . 4  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( <. f ,  g >.  .~  <. s ,  r >.  <->  ( f  .+  r )  =  ( g  .+  s ) ) )
6259, 61sylibrd 167 . . 3  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( ( <. f ,  g >.  .~  <. h ,  t
>.  /\  <. h ,  t
>.  .~  <. s ,  r
>. )  ->  <. f ,  g >.  .~  <. s ,  r >. )
)
6310, 14, 18, 22, 623optocl 4436 . 2  |-  ( ( A  e.  ( S  X.  S )  /\  B  e.  ( S  X.  S )  /\  C  e.  ( S  X.  S
) )  ->  (
( A  .~  B  /\  B  .~  C )  ->  A  .~  C
) )
649, 63mpcom 36 1  |-  ( ( A  .~  B  /\  B  .~  C )  ->  A  .~  C )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 102    <-> wb 103    /\ w3a 919    = wceq 1284   E.wex 1421    e. wcel 1433   <.cop 3401   class class class wbr 3785   {copab 3838    X. cxp 4361  (class class class)co 5532
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-14 1445  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063  ax-sep 3896  ax-pow 3948  ax-pr 3964
This theorem depends on definitions:  df-bi 115  df-3an 921  df-tru 1287  df-nf 1390  df-sb 1686  df-eu 1944  df-mo 1945  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ral 2353  df-rex 2354  df-v 2603  df-un 2977  df-in 2979  df-ss 2986  df-pw 3384  df-sn 3404  df-pr 3405  df-op 3407  df-uni 3602  df-br 3786  df-opab 3840  df-xp 4369  df-iota 4887  df-fv 4930  df-ov 5535
This theorem is referenced by:  ecopover  6227
  Copyright terms: Public domain W3C validator