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

Theorem ecovass 6770
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 5865 . . . 4  |-  ( [
<. x ,  y >. ]  .~  =  A  -> 
( [ <. x ,  y >. ]  .~  .+ 
[ <. z ,  w >. ]  .~  )  =  ( A  .+  [ <. z ,  w >. ]  .~  ) )
32oveq1d 5873 . . 3  |-  ( [
<. x ,  y >. ]  .~  =  A  -> 
( ( [ <. x ,  y >. ]  .~  .+ 
[ <. z ,  w >. ]  .~  )  .+  [
<. v ,  u >. ]  .~  )  =  ( ( A  .+  [ <. z ,  w >. ]  .~  )  .+  [ <. v ,  u >. ]  .~  ) )
4 oveq1 5865 . . 3  |-  ( [
<. x ,  y >. ]  .~  =  A  -> 
( [ <. x ,  y >. ]  .~  .+  ( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  ) )  =  ( A  .+  ( [ <. z ,  w >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) ) )
53, 4eqeq12d 2297 . 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 5866 . . . 4  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( A  .+  [ <. z ,  w >. ]  .~  )  =  ( A  .+  B ) )
76oveq1d 5873 . . 3  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( ( A  .+  [
<. z ,  w >. ]  .~  )  .+  [ <. v ,  u >. ]  .~  )  =  ( ( A  .+  B
)  .+  [ <. v ,  u >. ]  .~  )
)
8 oveq1 5865 . . . 4  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  )  =  ( B  .+  [ <. v ,  u >. ]  .~  ) )
98oveq2d 5874 . . 3  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( A  .+  ( [ <. z ,  w >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) )  =  ( A  .+  ( B  .+  [ <. v ,  u >. ]  .~  )
) )
107, 9eqeq12d 2297 . 2  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( ( ( A 
.+  [ <. z ,  w >. ]  .~  )  .+  [ <. v ,  u >. ]  .~  )  =  ( A  .+  ( [ <. z ,  w >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) )  <->  ( ( A  .+  B )  .+  [
<. v ,  u >. ]  .~  )  =  ( A  .+  ( B 
.+  [ <. v ,  u >. ]  .~  )
) ) )
11 oveq2 5866 . . 3  |-  ( [
<. v ,  u >. ]  .~  =  C  -> 
( ( A  .+  B )  .+  [ <. v ,  u >. ]  .~  )  =  ( ( A  .+  B
)  .+  C )
)
12 oveq2 5866 . . . 4  |-  ( [
<. v ,  u >. ]  .~  =  C  -> 
( B  .+  [ <. v ,  u >. ]  .~  )  =  ( B  .+  C ) )
1312oveq2d 5874 . . 3  |-  ( [
<. v ,  u >. ]  .~  =  C  -> 
( A  .+  ( B  .+  [ <. v ,  u >. ]  .~  )
)  =  ( A 
.+  ( B  .+  C ) ) )
1411, 13eqeq12d 2297 . 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 3798 . . . . 5  |-  ( ( J  =  L  /\  K  =  M )  -> 
<. J ,  K >.  = 
<. L ,  M >. )
18 eceq1 6696 . . . . 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 5873 . . . . . 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 2315 . . . 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 5874 . . . . . 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 2315 . . . 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 2341 . 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 6750 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 1623    e. wcel 1684   <.cop 3643    X. cxp 4687  (class class class)co 5858   [cec 6658   /.cqs 6659
This theorem is referenced by:  addasssr  8710  mulasssr  8712  axaddass  8778  axmulass  8779
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pr 4214
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-br 4024  df-opab 4078  df-xp 4695  df-cnv 4697  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fv 5263  df-ov 5861  df-ec 6662  df-qs 6666
  Copyright terms: Public domain W3C validator