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

Theorem ecovdi 6976
Description: Lemma used to transfer a distributive law via an equivalence relation. (Contributed by NM, 2-Sep-1995.) (Revised by David Abernethy, 4-Jun-2013.)
Hypotheses
Ref Expression
ecovdi.1  |-  D  =  ( ( S  X.  S ) /.  .~  )
ecovdi.2  |-  ( ( ( z  e.  S  /\  w  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  )  =  [ <. M ,  N >. ]  .~  )
ecovdi.3  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( M  e.  S  /\  N  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. M ,  N >. ]  .~  )  =  [ <. H ,  J >. ]  .~  )
ecovdi.4  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. z ,  w >. ]  .~  )  =  [ <. W ,  X >. ]  .~  )
ecovdi.5  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. v ,  u >. ]  .~  )  =  [ <. Y ,  Z >. ]  .~  )
ecovdi.6  |-  ( ( ( W  e.  S  /\  X  e.  S
)  /\  ( Y  e.  S  /\  Z  e.  S ) )  -> 
( [ <. W ,  X >. ]  .~  .+  [
<. Y ,  Z >. ]  .~  )  =  [ <. K ,  L >. ]  .~  )
ecovdi.7  |-  ( ( ( z  e.  S  /\  w  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( M  e.  S  /\  N  e.  S
) )
ecovdi.8  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S ) )  -> 
( W  e.  S  /\  X  e.  S
) )
ecovdi.9  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( Y  e.  S  /\  Z  e.  S
) )
ecovdi.10  |-  H  =  K
ecovdi.11  |-  J  =  L
Assertion
Ref Expression
ecovdi  |-  ( ( A  e.  D  /\  B  e.  D  /\  C  e.  D )  ->  ( A  .x.  ( B  .+  C ) )  =  ( ( A 
.x.  B )  .+  ( A  .x.  C ) ) )
Distinct variable groups:    x, y,
z, w, v, u, A    z, B, w, v, u    w, C, v, u    x,  .+ , y, z, w, v, u   
x,  .~ , y, z, w, v, u    x, S, y, z, w, v, u    x,  .x. , y, z, w, v, u    z, D, w, v, u
Allowed substitution hints:    B( x, y)    C( x, y, z)    D( x, y)    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)    W( x, y, z, w, v, u)    X( x, y, z, w, v, u)    Y( x, y, z, w, v, u)    Z( x, y, z, w, v, u)

Proof of Theorem ecovdi
StepHypRef Expression
1 ecovdi.1 . 2  |-  D  =  ( ( S  X.  S ) /.  .~  )
2 oveq1 6047 . . 3  |-  ( [
<. x ,  y >. ]  .~  =  A  -> 
( [ <. x ,  y >. ]  .~  .x.  ( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  ) )  =  ( A  .x.  ( [ <. z ,  w >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) ) )
3 oveq1 6047 . . . 4  |-  ( [
<. x ,  y >. ]  .~  =  A  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. z ,  w >. ]  .~  )  =  ( A  .x.  [ <. z ,  w >. ]  .~  ) )
4 oveq1 6047 . . . 4  |-  ( [
<. x ,  y >. ]  .~  =  A  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. v ,  u >. ]  .~  )  =  ( A  .x.  [ <. v ,  u >. ]  .~  ) )
53, 4oveq12d 6058 . . 3  |-  ( [
<. x ,  y >. ]  .~  =  A  -> 
( ( [ <. x ,  y >. ]  .~  .x. 
[ <. z ,  w >. ]  .~  )  .+  ( [ <. x ,  y
>. ]  .~  .x.  [ <. v ,  u >. ]  .~  ) )  =  ( ( A  .x.  [ <. z ,  w >. ]  .~  )  .+  ( A  .x.  [
<. v ,  u >. ]  .~  ) ) )
62, 5eqeq12d 2418 . 2  |-  ( [
<. x ,  y >. ]  .~  =  A  -> 
( ( [ <. x ,  y >. ]  .~  .x.  ( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  ) )  =  ( ( [ <. x ,  y >. ]  .~  .x. 
[ <. z ,  w >. ]  .~  )  .+  ( [ <. x ,  y
>. ]  .~  .x.  [ <. v ,  u >. ]  .~  ) )  <->  ( A  .x.  ( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  ) )  =  ( ( A  .x.  [
<. z ,  w >. ]  .~  )  .+  ( A  .x.  [ <. v ,  u >. ]  .~  )
) ) )
7 oveq1 6047 . . . 4  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  )  =  ( B  .+  [ <. v ,  u >. ]  .~  ) )
87oveq2d 6056 . . 3  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( A  .x.  ( [ <. z ,  w >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) )  =  ( A  .x.  ( B  .+  [ <. v ,  u >. ]  .~  )
) )
9 oveq2 6048 . . . 4  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( A  .x.  [ <. z ,  w >. ]  .~  )  =  ( A  .x.  B ) )
109oveq1d 6055 . . 3  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( ( A  .x.  [
<. z ,  w >. ]  .~  )  .+  ( A  .x.  [ <. v ,  u >. ]  .~  )
)  =  ( ( A  .x.  B ) 
.+  ( A  .x.  [
<. v ,  u >. ]  .~  ) ) )
118, 10eqeq12d 2418 . 2  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( ( A  .x.  ( [ <. z ,  w >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) )  =  ( ( A  .x.  [
<. z ,  w >. ]  .~  )  .+  ( A  .x.  [ <. v ,  u >. ]  .~  )
)  <->  ( A  .x.  ( B  .+  [ <. v ,  u >. ]  .~  ) )  =  ( ( A  .x.  B
)  .+  ( A  .x.  [ <. v ,  u >. ]  .~  ) ) ) )
12 oveq2 6048 . . . 4  |-  ( [
<. v ,  u >. ]  .~  =  C  -> 
( B  .+  [ <. v ,  u >. ]  .~  )  =  ( B  .+  C ) )
1312oveq2d 6056 . . 3  |-  ( [
<. v ,  u >. ]  .~  =  C  -> 
( A  .x.  ( B  .+  [ <. v ,  u >. ]  .~  )
)  =  ( A 
.x.  ( B  .+  C ) ) )
14 oveq2 6048 . . . 4  |-  ( [
<. v ,  u >. ]  .~  =  C  -> 
( A  .x.  [ <. v ,  u >. ]  .~  )  =  ( A  .x.  C ) )
1514oveq2d 6056 . . 3  |-  ( [
<. v ,  u >. ]  .~  =  C  -> 
( ( A  .x.  B )  .+  ( A  .x.  [ <. v ,  u >. ]  .~  )
)  =  ( ( A  .x.  B ) 
.+  ( A  .x.  C ) ) )
1613, 15eqeq12d 2418 . 2  |-  ( [
<. v ,  u >. ]  .~  =  C  -> 
( ( A  .x.  ( B  .+  [ <. v ,  u >. ]  .~  ) )  =  ( ( A  .x.  B
)  .+  ( A  .x.  [ <. v ,  u >. ]  .~  ) )  <-> 
( A  .x.  ( B  .+  C ) )  =  ( ( A 
.x.  B )  .+  ( A  .x.  C ) ) ) )
17 ecovdi.10 . . . 4  |-  H  =  K
18 ecovdi.11 . . . 4  |-  J  =  L
19 opeq12 3946 . . . . 5  |-  ( ( H  =  K  /\  J  =  L )  -> 
<. H ,  J >.  = 
<. K ,  L >. )
20 eceq1 6900 . . . . 5  |-  ( <. H ,  J >.  = 
<. K ,  L >.  ->  [ <. H ,  J >. ]  .~  =  [ <. K ,  L >. ]  .~  )
2119, 20syl 16 . . . 4  |-  ( ( H  =  K  /\  J  =  L )  ->  [ <. H ,  J >. ]  .~  =  [ <. K ,  L >. ]  .~  )
2217, 18, 21mp2an 654 . . 3  |-  [ <. H ,  J >. ]  .~  =  [ <. K ,  L >. ]  .~
23 ecovdi.2 . . . . . . 7  |-  ( ( ( z  e.  S  /\  w  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  )  =  [ <. M ,  N >. ]  .~  )
2423oveq2d 6056 . . . . . 6  |-  ( ( ( z  e.  S  /\  w  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .x.  ( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  ) )  =  ( [ <. x ,  y >. ]  .~  .x. 
[ <. M ,  N >. ]  .~  ) )
2524adantl 453 . . . . 5  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( (
z  e.  S  /\  w  e.  S )  /\  ( v  e.  S  /\  u  e.  S
) ) )  -> 
( [ <. x ,  y >. ]  .~  .x.  ( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  ) )  =  ( [ <. x ,  y >. ]  .~  .x. 
[ <. M ,  N >. ]  .~  ) )
26 ecovdi.7 . . . . . 6  |-  ( ( ( z  e.  S  /\  w  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( M  e.  S  /\  N  e.  S
) )
27 ecovdi.3 . . . . . 6  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( M  e.  S  /\  N  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. M ,  N >. ]  .~  )  =  [ <. H ,  J >. ]  .~  )
2826, 27sylan2 461 . . . . 5  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( (
z  e.  S  /\  w  e.  S )  /\  ( v  e.  S  /\  u  e.  S
) ) )  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. M ,  N >. ]  .~  )  =  [ <. H ,  J >. ]  .~  )
2925, 28eqtrd 2436 . . . 4  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( (
z  e.  S  /\  w  e.  S )  /\  ( v  e.  S  /\  u  e.  S
) ) )  -> 
( [ <. x ,  y >. ]  .~  .x.  ( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  ) )  =  [ <. H ,  J >. ]  .~  )
30293impb 1149 . . 3  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S )  /\  (
v  e.  S  /\  u  e.  S )
)  ->  ( [ <. x ,  y >. ]  .~  .x.  ( [ <. z ,  w >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) )  =  [ <. H ,  J >. ]  .~  )
31 ecovdi.4 . . . . . 6  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. z ,  w >. ]  .~  )  =  [ <. W ,  X >. ]  .~  )
32 ecovdi.5 . . . . . 6  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. v ,  u >. ]  .~  )  =  [ <. Y ,  Z >. ]  .~  )
3331, 32oveqan12d 6059 . . . . 5  |-  ( ( ( ( x  e.  S  /\  y  e.  S )  /\  (
z  e.  S  /\  w  e.  S )
)  /\  ( (
x  e.  S  /\  y  e.  S )  /\  ( v  e.  S  /\  u  e.  S
) ) )  -> 
( ( [ <. x ,  y >. ]  .~  .x. 
[ <. z ,  w >. ]  .~  )  .+  ( [ <. x ,  y
>. ]  .~  .x.  [ <. v ,  u >. ]  .~  ) )  =  ( [ <. W ,  X >. ]  .~  .+  [ <. Y ,  Z >. ]  .~  ) )
34 ecovdi.8 . . . . . 6  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S ) )  -> 
( W  e.  S  /\  X  e.  S
) )
35 ecovdi.9 . . . . . 6  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( Y  e.  S  /\  Z  e.  S
) )
36 ecovdi.6 . . . . . 6  |-  ( ( ( W  e.  S  /\  X  e.  S
)  /\  ( Y  e.  S  /\  Z  e.  S ) )  -> 
( [ <. W ,  X >. ]  .~  .+  [
<. Y ,  Z >. ]  .~  )  =  [ <. K ,  L >. ]  .~  )
3734, 35, 36syl2an 464 . . . . 5  |-  ( ( ( ( x  e.  S  /\  y  e.  S )  /\  (
z  e.  S  /\  w  e.  S )
)  /\  ( (
x  e.  S  /\  y  e.  S )  /\  ( v  e.  S  /\  u  e.  S
) ) )  -> 
( [ <. W ,  X >. ]  .~  .+  [
<. Y ,  Z >. ]  .~  )  =  [ <. K ,  L >. ]  .~  )
3833, 37eqtrd 2436 . . . 4  |-  ( ( ( ( x  e.  S  /\  y  e.  S )  /\  (
z  e.  S  /\  w  e.  S )
)  /\  ( (
x  e.  S  /\  y  e.  S )  /\  ( v  e.  S  /\  u  e.  S
) ) )  -> 
( ( [ <. x ,  y >. ]  .~  .x. 
[ <. z ,  w >. ]  .~  )  .+  ( [ <. x ,  y
>. ]  .~  .x.  [ <. v ,  u >. ]  .~  ) )  =  [ <. K ,  L >. ]  .~  )
39383impdi 1239 . . 3  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S )  /\  (
v  e.  S  /\  u  e.  S )
)  ->  ( ( [ <. x ,  y
>. ]  .~  .x.  [ <. z ,  w >. ]  .~  )  .+  ( [ <. x ,  y >. ]  .~  .x. 
[ <. v ,  u >. ]  .~  ) )  =  [ <. K ,  L >. ]  .~  )
4022, 30, 393eqtr4a 2462 . 2  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S )  /\  (
v  e.  S  /\  u  e.  S )
)  ->  ( [ <. x ,  y >. ]  .~  .x.  ( [ <. z ,  w >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) )  =  ( ( [ <. x ,  y >. ]  .~  .x. 
[ <. z ,  w >. ]  .~  )  .+  ( [ <. x ,  y
>. ]  .~  .x.  [ <. v ,  u >. ]  .~  ) ) )
411, 6, 11, 16, 403ecoptocl 6955 1  |-  ( ( A  e.  D  /\  B  e.  D  /\  C  e.  D )  ->  ( A  .x.  ( B  .+  C ) )  =  ( ( A 
.x.  B )  .+  ( A  .x.  C ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359    /\ w3a 936    = wceq 1649    e. wcel 1721   <.cop 3777    X. cxp 4835  (class class class)co 6040   [cec 6862   /.cqs 6863
This theorem is referenced by:  distrsr  8922  axdistr  8989
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1662  ax-8 1683  ax-14 1725  ax-6 1740  ax-7 1745  ax-11 1757  ax-12 1946  ax-ext 2385  ax-sep 4290  ax-nul 4298  ax-pr 4363
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-clab 2391  df-cleq 2397  df-clel 2400  df-nfc 2529  df-ne 2569  df-ral 2671  df-rex 2672  df-rab 2675  df-v 2918  df-dif 3283  df-un 3285  df-in 3287  df-ss 3294  df-nul 3589  df-if 3700  df-sn 3780  df-pr 3781  df-op 3783  df-uni 3976  df-br 4173  df-opab 4227  df-xp 4843  df-cnv 4845  df-dm 4847  df-rn 4848  df-res 4849  df-ima 4850  df-iota 5377  df-fv 5421  df-ov 6043  df-ec 6866  df-qs 6870
  Copyright terms: Public domain W3C validator