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

Theorem ecovass 6786
Description: Lemma used to transfer an associative law via an equivalence relation. (Contributed by NM, 31-Aug-1995.) (Revised by David Abernethy, 4-Jun-2013.)
Hypotheses
Ref Expression
ecovass.1  |-  D  =  ( ( S  X.  S ) /.  .~  )
ecovass.2  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .+ 
[ <. z ,  w >. ]  .~  )  =  [ <. G ,  H >. ]  .~  )
ecovass.3  |-  ( ( ( z  e.  S  /\  w  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  )  =  [ <. N ,  Q >. ]  .~  )
ecovass.4  |-  ( ( ( G  e.  S  /\  H  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( [ <. G ,  H >. ]  .~  .+  [
<. v ,  u >. ]  .~  )  =  [ <. J ,  K >. ]  .~  )
ecovass.5  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( N  e.  S  /\  Q  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .+ 
[ <. N ,  Q >. ]  .~  )  =  [ <. L ,  M >. ]  .~  )
ecovass.6  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S ) )  -> 
( G  e.  S  /\  H  e.  S
) )
ecovass.7  |-  ( ( ( z  e.  S  /\  w  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( N  e.  S  /\  Q  e.  S
) )
ecovass.8  |-  J  =  L
ecovass.9  |-  K  =  M
Assertion
Ref Expression
ecovass  |-  ( ( A  e.  D  /\  B  e.  D  /\  C  e.  D )  ->  ( ( A  .+  B )  .+  C
)  =  ( A 
.+  ( B  .+  C ) ) )
Distinct variable groups:    x, y,
z, w, v, u, A    z, B, w, v, u    x, C, y, z, w, v, u    x,  .+ , y, z, w, v, u    x,  .~ , y, z, w, v, u    x, S, y, z, w, v, u   
z, D, w, v, u
Allowed substitution hints:    B( x, y)    D( x, y)    Q( x, y, z, w, v, u)    G( x, y, z, w, v, u)    H( x, y, z, w, v, u)    J( x, y, z, w, v, u)    K( x, y, z, w, v, u)    L( x, y, z, w, v, u)    M( x, y, z, w, v, u)    N( x, y, z, w, v, u)

Proof of Theorem ecovass
StepHypRef Expression
1 ecovass.1 . 2  |-  D  =  ( ( S  X.  S ) /.  .~  )
2 oveq1 5881 . . . 4  |-  ( [
<. x ,  y >. ]  .~  =  A  -> 
( [ <. x ,  y >. ]  .~  .+ 
[ <. z ,  w >. ]  .~  )  =  ( A  .+  [ <. z ,  w >. ]  .~  ) )
32oveq1d 5889 . . 3  |-  ( [
<. x ,  y >. ]  .~  =  A  -> 
( ( [ <. x ,  y >. ]  .~  .+ 
[ <. z ,  w >. ]  .~  )  .+  [
<. v ,  u >. ]  .~  )  =  ( ( A  .+  [ <. z ,  w >. ]  .~  )  .+  [ <. v ,  u >. ]  .~  ) )
4 oveq1 5881 . . 3  |-  ( [
<. x ,  y >. ]  .~  =  A  -> 
( [ <. x ,  y >. ]  .~  .+  ( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  ) )  =  ( A  .+  ( [ <. z ,  w >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) ) )
53, 4eqeq12d 2310 . 2  |-  ( [
<. x ,  y >. ]  .~  =  A  -> 
( ( ( [
<. x ,  y >. ]  .~  .+  [ <. z ,  w >. ]  .~  )  .+  [ <. v ,  u >. ]  .~  )  =  ( [ <. x ,  y >. ]  .~  .+  ( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  ) )  <->  ( ( A  .+  [ <. z ,  w >. ]  .~  )  .+  [ <. v ,  u >. ]  .~  )  =  ( A  .+  ( [ <. z ,  w >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) ) ) )
6 oveq2 5882 . . . 4  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( A  .+  [ <. z ,  w >. ]  .~  )  =  ( A  .+  B ) )
76oveq1d 5889 . . 3  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( ( A  .+  [
<. z ,  w >. ]  .~  )  .+  [ <. v ,  u >. ]  .~  )  =  ( ( A  .+  B
)  .+  [ <. v ,  u >. ]  .~  )
)
8 oveq1 5881 . . . 4  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  )  =  ( B  .+  [ <. v ,  u >. ]  .~  ) )
98oveq2d 5890 . . 3  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( A  .+  ( [ <. z ,  w >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) )  =  ( A  .+  ( B  .+  [ <. v ,  u >. ]  .~  )
) )
107, 9eqeq12d 2310 . 2  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( ( ( A 
.+  [ <. z ,  w >. ]  .~  )  .+  [ <. v ,  u >. ]  .~  )  =  ( A  .+  ( [ <. z ,  w >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) )  <->  ( ( A  .+  B )  .+  [
<. v ,  u >. ]  .~  )  =  ( A  .+  ( B 
.+  [ <. v ,  u >. ]  .~  )
) ) )
11 oveq2 5882 . . 3  |-  ( [
<. v ,  u >. ]  .~  =  C  -> 
( ( A  .+  B )  .+  [ <. v ,  u >. ]  .~  )  =  ( ( A  .+  B
)  .+  C )
)
12 oveq2 5882 . . . 4  |-  ( [
<. v ,  u >. ]  .~  =  C  -> 
( B  .+  [ <. v ,  u >. ]  .~  )  =  ( B  .+  C ) )
1312oveq2d 5890 . . 3  |-  ( [
<. v ,  u >. ]  .~  =  C  -> 
( A  .+  ( B  .+  [ <. v ,  u >. ]  .~  )
)  =  ( A 
.+  ( B  .+  C ) ) )
1411, 13eqeq12d 2310 . 2  |-  ( [
<. v ,  u >. ]  .~  =  C  -> 
( ( ( A 
.+  B )  .+  [
<. v ,  u >. ]  .~  )  =  ( A  .+  ( B 
.+  [ <. v ,  u >. ]  .~  )
)  <->  ( ( A 
.+  B )  .+  C )  =  ( A  .+  ( B 
.+  C ) ) ) )
15 ecovass.8 . . . 4  |-  J  =  L
16 ecovass.9 . . . 4  |-  K  =  M
17 opeq12 3814 . . . . 5  |-  ( ( J  =  L  /\  K  =  M )  -> 
<. J ,  K >.  = 
<. L ,  M >. )
18 eceq1 6712 . . . . 5  |-  ( <. J ,  K >.  = 
<. L ,  M >.  ->  [ <. J ,  K >. ]  .~  =  [ <. L ,  M >. ]  .~  )
1917, 18syl 15 . . . 4  |-  ( ( J  =  L  /\  K  =  M )  ->  [ <. J ,  K >. ]  .~  =  [ <. L ,  M >. ]  .~  )
2015, 16, 19mp2an 653 . . 3  |-  [ <. J ,  K >. ]  .~  =  [ <. L ,  M >. ]  .~
21 ecovass.2 . . . . . . 7  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .+ 
[ <. z ,  w >. ]  .~  )  =  [ <. G ,  H >. ]  .~  )
2221oveq1d 5889 . . . . . 6  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S ) )  -> 
( ( [ <. x ,  y >. ]  .~  .+ 
[ <. z ,  w >. ]  .~  )  .+  [
<. v ,  u >. ]  .~  )  =  ( [ <. G ,  H >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) )
2322adantr 451 . . . . 5  |-  ( ( ( ( x  e.  S  /\  y  e.  S )  /\  (
z  e.  S  /\  w  e.  S )
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( ( [ <. x ,  y >. ]  .~  .+ 
[ <. z ,  w >. ]  .~  )  .+  [
<. v ,  u >. ]  .~  )  =  ( [ <. G ,  H >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) )
24 ecovass.6 . . . . . 6  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S ) )  -> 
( G  e.  S  /\  H  e.  S
) )
25 ecovass.4 . . . . . 6  |-  ( ( ( G  e.  S  /\  H  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( [ <. G ,  H >. ]  .~  .+  [
<. v ,  u >. ]  .~  )  =  [ <. J ,  K >. ]  .~  )
2624, 25sylan 457 . . . . 5  |-  ( ( ( ( x  e.  S  /\  y  e.  S )  /\  (
z  e.  S  /\  w  e.  S )
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( [ <. G ,  H >. ]  .~  .+  [
<. v ,  u >. ]  .~  )  =  [ <. J ,  K >. ]  .~  )
2723, 26eqtrd 2328 . . . 4  |-  ( ( ( ( x  e.  S  /\  y  e.  S )  /\  (
z  e.  S  /\  w  e.  S )
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( ( [ <. x ,  y >. ]  .~  .+ 
[ <. z ,  w >. ]  .~  )  .+  [
<. v ,  u >. ]  .~  )  =  [ <. J ,  K >. ]  .~  )
28273impa 1146 . . 3  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S )  /\  (
v  e.  S  /\  u  e.  S )
)  ->  ( ( [ <. x ,  y
>. ]  .~  .+  [ <. z ,  w >. ]  .~  )  .+  [ <. v ,  u >. ]  .~  )  =  [ <. J ,  K >. ]  .~  )
29 ecovass.3 . . . . . . 7  |-  ( ( ( z  e.  S  /\  w  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  )  =  [ <. N ,  Q >. ]  .~  )
3029oveq2d 5890 . . . . . 6  |-  ( ( ( z  e.  S  /\  w  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .+  ( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  ) )  =  ( [ <. x ,  y >. ]  .~  .+ 
[ <. N ,  Q >. ]  .~  ) )
3130adantl 452 . . . . 5  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( (
z  e.  S  /\  w  e.  S )  /\  ( v  e.  S  /\  u  e.  S
) ) )  -> 
( [ <. x ,  y >. ]  .~  .+  ( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  ) )  =  ( [ <. x ,  y >. ]  .~  .+ 
[ <. N ,  Q >. ]  .~  ) )
32 ecovass.7 . . . . . 6  |-  ( ( ( z  e.  S  /\  w  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( N  e.  S  /\  Q  e.  S
) )
33 ecovass.5 . . . . . 6  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( N  e.  S  /\  Q  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .+ 
[ <. N ,  Q >. ]  .~  )  =  [ <. L ,  M >. ]  .~  )
3432, 33sylan2 460 . . . . 5  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( (
z  e.  S  /\  w  e.  S )  /\  ( v  e.  S  /\  u  e.  S
) ) )  -> 
( [ <. x ,  y >. ]  .~  .+ 
[ <. N ,  Q >. ]  .~  )  =  [ <. L ,  M >. ]  .~  )
3531, 34eqtrd 2328 . . . 4  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( (
z  e.  S  /\  w  e.  S )  /\  ( v  e.  S  /\  u  e.  S
) ) )  -> 
( [ <. x ,  y >. ]  .~  .+  ( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  ) )  =  [ <. L ,  M >. ]  .~  )
36353impb 1147 . . 3  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S )  /\  (
v  e.  S  /\  u  e.  S )
)  ->  ( [ <. x ,  y >. ]  .~  .+  ( [
<. z ,  w >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) )  =  [ <. L ,  M >. ]  .~  )
3720, 28, 363eqtr4a 2354 . 2  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S )  /\  (
v  e.  S  /\  u  e.  S )
)  ->  ( ( [ <. x ,  y
>. ]  .~  .+  [ <. z ,  w >. ]  .~  )  .+  [ <. v ,  u >. ]  .~  )  =  ( [ <. x ,  y
>. ]  .~  .+  ( [ <. z ,  w >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) ) )
381, 5, 10, 14, 373ecoptocl 6766 1  |-  ( ( A  e.  D  /\  B  e.  D  /\  C  e.  D )  ->  ( ( A  .+  B )  .+  C
)  =  ( A 
.+  ( B  .+  C ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    /\ w3a 934    = wceq 1632    e. wcel 1696   <.cop 3656    X. cxp 4703  (class class class)co 5874   [cec 6674   /.cqs 6675
This theorem is referenced by:  addasssr  8726  mulasssr  8728  axaddass  8794  axmulass  8795
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pr 4230
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-rab 2565  df-v 2803  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-nul 3469  df-if 3579  df-sn 3659  df-pr 3660  df-op 3662  df-uni 3844  df-br 4040  df-opab 4094  df-xp 4711  df-cnv 4713  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fv 5279  df-ov 5877  df-ec 6678  df-qs 6682
  Copyright terms: Public domain W3C validator