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

Theorem ecopovtrng 6206
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 Jim Kingdon, 1-Sep-2019.)
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
) ) ) }
ecopoprg.com  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( x  .+  y
)  =  ( y 
.+  x ) )
ecopoprg.cl  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( x  .+  y
)  e.  S )
ecopoprg.ass  |-  ( ( x  e.  S  /\  y  e.  S  /\  z  e.  S )  ->  ( ( x  .+  y )  .+  z
)  =  ( x 
.+  ( y  .+  z ) ) )
ecopoprg.can  |-  ( ( x  e.  S  /\  y  e.  S  /\  z  e.  S )  ->  ( ( x  .+  y )  =  ( x  .+  z )  ->  y  =  z ) )
Assertion
Ref Expression
ecopovtrng  |-  ( ( 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 ecopovtrng
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 4414 . . . . . . 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 2975 . . . . . 6  |-  .~  C_  (
( S  X.  S
)  X.  ( S  X.  S ) )
43brel 4392 . . . . 5  |-  ( A  .~  B  ->  ( A  e.  ( S  X.  S )  /\  B  e.  ( S  X.  S
) ) )
54simpld 105 . . . 4  |-  ( A  .~  B  ->  A  e.  ( S  X.  S
) )
63brel 4392 . . . 4  |-  ( B  .~  C  ->  ( B  e.  ( S  X.  S )  /\  C  e.  ( S  X.  S
) ) )
75, 6anim12i 321 . . 3  |-  ( ( A  .~  B  /\  B  .~  C )  -> 
( A  e.  ( S  X.  S )  /\  ( B  e.  ( S  X.  S
)  /\  C  e.  ( S  X.  S
) ) ) )
8 3anass 889 . . 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 137 . 2  |-  ( ( A  .~  B  /\  B  .~  C )  -> 
( A  e.  ( S  X.  S )  /\  B  e.  ( S  X.  S )  /\  C  e.  ( S  X.  S ) ) )
10 eqid 2040 . . 3  |-  ( S  X.  S )  =  ( S  X.  S
)
11 breq1 3767 . . . . 5  |-  ( <.
f ,  g >.  =  A  ->  ( <.
f ,  g >.  .~  <. h ,  t
>. 
<->  A  .~  <. h ,  t >. )
)
1211anbi1d 438 . . . 4  |-  ( <.
f ,  g >.  =  A  ->  ( (
<. f ,  g >.  .~  <. h ,  t
>.  /\  <. h ,  t
>.  .~  <. s ,  r
>. )  <->  ( A  .~  <.
h ,  t >.  /\  <. h ,  t
>.  .~  <. s ,  r
>. ) ) )
13 breq1 3767 . . . 4  |-  ( <.
f ,  g >.  =  A  ->  ( <.
f ,  g >.  .~  <. s ,  r
>. 
<->  A  .~  <. s ,  r >. )
)
1412, 13imbi12d 223 . . 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 3768 . . . . 5  |-  ( <.
h ,  t >.  =  B  ->  ( A  .~  <. h ,  t
>. 
<->  A  .~  B ) )
16 breq1 3767 . . . . 5  |-  ( <.
h ,  t >.  =  B  ->  ( <.
h ,  t >.  .~  <. s ,  r
>. 
<->  B  .~  <. s ,  r >. )
)
1715, 16anbi12d 442 . . . 4  |-  ( <.
h ,  t >.  =  B  ->  ( ( A  .~  <. h ,  t >.  /\  <. h ,  t >.  .~  <. s ,  r >. )  <->  ( A  .~  B  /\  B  .~  <. s ,  r
>. ) ) )
1817imbi1d 220 . . 3  |-  ( <.
h ,  t >.  =  B  ->  ( ( ( A  .~  <. h ,  t >.  /\  <. h ,  t >.  .~  <. s ,  r >. )  ->  A  .~  <. s ,  r >. )  <->  ( ( A  .~  B  /\  B  .~  <. s ,  r >. )  ->  A  .~  <. s ,  r >. )
) )
19 breq2 3768 . . . . 5  |-  ( <.
s ,  r >.  =  C  ->  ( B  .~  <. s ,  r
>. 
<->  B  .~  C ) )
2019anbi2d 437 . . . 4  |-  ( <.
s ,  r >.  =  C  ->  ( ( A  .~  B  /\  B  .~  <. s ,  r
>. )  <->  ( A  .~  B  /\  B  .~  C
) ) )
21 breq2 3768 . . . 4  |-  ( <.
s ,  r >.  =  C  ->  ( A  .~  <. s ,  r
>. 
<->  A  .~  C ) )
2220, 21imbi12d 223 . . 3  |-  ( <.
s ,  r >.  =  C  ->  ( ( ( A  .~  B  /\  B  .~  <. s ,  r >. )  ->  A  .~  <. s ,  r >. )  <->  ( ( A  .~  B  /\  B  .~  C )  ->  A  .~  C
) ) )
231ecopoveq 6201 . . . . . . . 8  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S ) )  -> 
( <. f ,  g
>.  .~  <. h ,  t
>. 
<->  ( f  .+  t
)  =  ( g 
.+  h ) ) )
24233adant3 924 . . . . . . 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 6201 . . . . . . . 8  |-  ( ( ( h  e.  S  /\  t  e.  S
)  /\  ( s  e.  S  /\  r  e.  S ) )  -> 
( <. h ,  t
>.  .~  <. s ,  r
>. 
<->  ( h  .+  r
)  =  ( t 
.+  s ) ) )
26253adant1 922 . . . . . . 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 442 . . . . . 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 5521 . . . . . . 7  |-  ( ( ( f  .+  t
)  =  ( g 
.+  h )  /\  ( h  .+  r )  =  ( t  .+  s ) )  -> 
( ( f  .+  t )  .+  (
h  .+  r )
)  =  ( ( g  .+  h ) 
.+  ( t  .+  s ) ) )
29 simp2l 930 . . . . . . . . 9  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  h  e.  S )
30 simp2r 931 . . . . . . . . 9  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  t  e.  S )
31 simp1l 928 . . . . . . . . 9  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  f  e.  S )
32 ecopoprg.com . . . . . . . . . 10  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( x  .+  y
)  =  ( y 
.+  x ) )
3332adantl 262 . . . . . . . . 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 ecopoprg.ass . . . . . . . . . 10  |-  ( ( x  e.  S  /\  y  e.  S  /\  z  e.  S )  ->  ( ( x  .+  y )  .+  z
)  =  ( x 
.+  ( y  .+  z ) ) )
3534adantl 262 . . . . . . . . 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 933 . . . . . . . . 9  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  r  e.  S )
37 ecopoprg.cl . . . . . . . . . 10  |-  ( ( x  e.  S  /\  y  e.  S )  ->  ( x  .+  y
)  e.  S )
3837adantl 262 . . . . . . . . 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 5686 . . . . . . . 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 929 . . . . . . . . . 10  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  g  e.  S )
41 simp3l 932 . . . . . . . . . 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 5686 . . . . . . . . 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 5685 . . . . . . . . 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 2074 . . . . . . . 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 2054 . . . . . . 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 145 . . . . . 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 139 . . . . 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 ecopoprg.can . . . . . . . 8  |-  ( ( x  e.  S  /\  y  e.  S  /\  z  e.  S )  ->  ( ( x  .+  y )  =  ( x  .+  z )  ->  y  =  z ) )
49 oveq2 5520 . . . . . . . 8  |-  ( y  =  z  ->  (
x  .+  y )  =  ( x  .+  z ) )
5048, 49impbid1 130 . . . . . . 7  |-  ( ( x  e.  S  /\  y  e.  S  /\  z  e.  S )  ->  ( ( x  .+  y )  =  ( x  .+  z )  <-> 
y  =  z ) )
5150adantl 262 . . . . . 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 ) )
5237caovcl 5655 . . . . . . 7  |-  ( ( h  e.  S  /\  t  e.  S )  ->  ( h  .+  t
)  e.  S )
5329, 30, 52syl2anc 391 . . . . . 6  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( h  .+  t )  e.  S
)
5437caovcl 5655 . . . . . . 7  |-  ( ( f  e.  S  /\  r  e.  S )  ->  ( f  .+  r
)  e.  S )
5531, 36, 54syl2anc 391 . . . . . 6  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( f  .+  r )  e.  S
)
5638, 40, 41caovcld 5654 . . . . . 6  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( h  e.  S  /\  t  e.  S )  /\  (
s  e.  S  /\  r  e.  S )
)  ->  ( g  .+  s )  e.  S
)
5751, 53, 55, 56caovcand 5663 . . . . 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 ) ) )
5847, 57sylibd 138 . . . 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
) ) )
591ecopoveq 6201 . . . . 5  |-  ( ( ( f  e.  S  /\  g  e.  S
)  /\  ( s  e.  S  /\  r  e.  S ) )  -> 
( <. f ,  g
>.  .~  <. s ,  r
>. 
<->  ( f  .+  r
)  =  ( g 
.+  s ) ) )
60593adant2 923 . . . 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 ) ) )
6158, 60sylibrd 158 . . 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 >. )
)
6210, 14, 18, 22, 613optocl 4418 . 2  |-  ( ( A  e.  ( S  X.  S )  /\  B  e.  ( S  X.  S )  /\  C  e.  ( S  X.  S
) )  ->  (
( A  .~  B  /\  B  .~  C )  ->  A  .~  C
) )
639, 62mpcom 32 1  |-  ( ( A  .~  B  /\  B  .~  C )  ->  A  .~  C )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 97    <-> wb 98    /\ w3a 885    = wceq 1243   E.wex 1381    e. wcel 1393   <.cop 3378   class class class wbr 3764   {copab 3817    X. cxp 4343  (class class class)co 5512
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-14 1405  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-sep 3875  ax-pow 3927  ax-pr 3944
This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-nf 1350  df-sb 1646  df-eu 1903  df-mo 1904  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-rex 2312  df-v 2559  df-un 2922  df-in 2924  df-ss 2931  df-pw 3361  df-sn 3381  df-pr 3382  df-op 3384  df-uni 3581  df-br 3765  df-opab 3819  df-xp 4351  df-iota 4867  df-fv 4910  df-ov 5515
This theorem is referenced by:  ecopoverg  6207
  Copyright terms: Public domain W3C validator