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

Theorem ecovidi 6607
Description: Lemma used to transfer a distributive law via an equivalence relation. (Contributed by Jim Kingdon, 17-Sep-2019.)
Hypotheses
Ref Expression
ecovidi.1  |-  D  =  ( ( S  X.  S ) /.  .~  )
ecovidi.2  |-  ( ( ( z  e.  S  /\  w  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  )  =  [ <. M ,  N >. ]  .~  )
ecovidi.3  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( M  e.  S  /\  N  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. M ,  N >. ]  .~  )  =  [ <. H ,  J >. ]  .~  )
ecovidi.4  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. z ,  w >. ]  .~  )  =  [ <. W ,  X >. ]  .~  )
ecovidi.5  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. v ,  u >. ]  .~  )  =  [ <. Y ,  Z >. ]  .~  )
ecovidi.6  |-  ( ( ( W  e.  S  /\  X  e.  S
)  /\  ( Y  e.  S  /\  Z  e.  S ) )  -> 
( [ <. W ,  X >. ]  .~  .+  [
<. Y ,  Z >. ]  .~  )  =  [ <. K ,  L >. ]  .~  )
ecovidi.7  |-  ( ( ( z  e.  S  /\  w  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( M  e.  S  /\  N  e.  S
) )
ecovidi.8  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S ) )  -> 
( W  e.  S  /\  X  e.  S
) )
ecovidi.9  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( Y  e.  S  /\  Z  e.  S
) )
ecovidi.10  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S )  /\  (
v  e.  S  /\  u  e.  S )
)  ->  H  =  K )
ecovidi.11  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S )  /\  (
v  e.  S  /\  u  e.  S )
)  ->  J  =  L )
Assertion
Ref Expression
ecovidi  |-  ( ( 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 ecovidi
StepHypRef Expression
1 ecovidi.1 . 2  |-  D  =  ( ( S  X.  S ) /.  .~  )
2 oveq1 5846 . . 3  |-  ( [
<. x ,  y >. ]  .~  =  A  -> 
( [ <. x ,  y >. ]  .~  .x.  ( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  ) )  =  ( A  .x.  ( [ <. z ,  w >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) ) )
3 oveq1 5846 . . . 4  |-  ( [
<. x ,  y >. ]  .~  =  A  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. z ,  w >. ]  .~  )  =  ( A  .x.  [ <. z ,  w >. ]  .~  ) )
4 oveq1 5846 . . . 4  |-  ( [
<. x ,  y >. ]  .~  =  A  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. v ,  u >. ]  .~  )  =  ( A  .x.  [ <. v ,  u >. ]  .~  ) )
53, 4oveq12d 5857 . . 3  |-  ( [
<. x ,  y >. ]  .~  =  A  -> 
( ( [ <. x ,  y >. ]  .~  .x. 
[ <. z ,  w >. ]  .~  )  .+  ( [ <. x ,  y
>. ]  .~  .x.  [ <. v ,  u >. ]  .~  ) )  =  ( ( A  .x.  [ <. z ,  w >. ]  .~  )  .+  ( A  .x.  [
<. v ,  u >. ]  .~  ) ) )
62, 5eqeq12d 2179 . 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 5846 . . . 4  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  )  =  ( B  .+  [ <. v ,  u >. ]  .~  ) )
87oveq2d 5855 . . 3  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( A  .x.  ( [ <. z ,  w >. ]  .~  .+  [ <. v ,  u >. ]  .~  ) )  =  ( A  .x.  ( B  .+  [ <. v ,  u >. ]  .~  )
) )
9 oveq2 5847 . . . 4  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( A  .x.  [ <. z ,  w >. ]  .~  )  =  ( A  .x.  B ) )
109oveq1d 5854 . . 3  |-  ( [
<. z ,  w >. ]  .~  =  B  -> 
( ( A  .x.  [
<. z ,  w >. ]  .~  )  .+  ( A  .x.  [ <. v ,  u >. ]  .~  )
)  =  ( ( A  .x.  B ) 
.+  ( A  .x.  [
<. v ,  u >. ]  .~  ) ) )
118, 10eqeq12d 2179 . 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 5847 . . . 4  |-  ( [
<. v ,  u >. ]  .~  =  C  -> 
( B  .+  [ <. v ,  u >. ]  .~  )  =  ( B  .+  C ) )
1312oveq2d 5855 . . 3  |-  ( [
<. v ,  u >. ]  .~  =  C  -> 
( A  .x.  ( B  .+  [ <. v ,  u >. ]  .~  )
)  =  ( A 
.x.  ( B  .+  C ) ) )
14 oveq2 5847 . . . 4  |-  ( [
<. v ,  u >. ]  .~  =  C  -> 
( A  .x.  [ <. v ,  u >. ]  .~  )  =  ( A  .x.  C ) )
1514oveq2d 5855 . . 3  |-  ( [
<. v ,  u >. ]  .~  =  C  -> 
( ( A  .x.  B )  .+  ( A  .x.  [ <. v ,  u >. ]  .~  )
)  =  ( ( A  .x.  B ) 
.+  ( A  .x.  C ) ) )
1613, 15eqeq12d 2179 . 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 ecovidi.10 . . . 4  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S )  /\  (
v  e.  S  /\  u  e.  S )
)  ->  H  =  K )
18 ecovidi.11 . . . 4  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S )  /\  (
v  e.  S  /\  u  e.  S )
)  ->  J  =  L )
19 opeq12 3757 . . . . 5  |-  ( ( H  =  K  /\  J  =  L )  -> 
<. H ,  J >.  = 
<. K ,  L >. )
2019eceq1d 6531 . . . 4  |-  ( ( H  =  K  /\  J  =  L )  ->  [ <. H ,  J >. ]  .~  =  [ <. K ,  L >. ]  .~  )
2117, 18, 20syl2anc 409 . . 3  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S )  /\  (
v  e.  S  /\  u  e.  S )
)  ->  [ <. H ,  J >. ]  .~  =  [ <. K ,  L >. ]  .~  )
22 ecovidi.2 . . . . . . 7  |-  ( ( ( z  e.  S  /\  w  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( [ <. z ,  w >. ]  .~  .+  [
<. v ,  u >. ]  .~  )  =  [ <. M ,  N >. ]  .~  )
2322oveq2d 5855 . . . . . 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 >. ]  .~  ) )
2423adantl 275 . . . . 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 >. ]  .~  ) )
25 ecovidi.7 . . . . . 6  |-  ( ( ( z  e.  S  /\  w  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( M  e.  S  /\  N  e.  S
) )
26 ecovidi.3 . . . . . 6  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( M  e.  S  /\  N  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. M ,  N >. ]  .~  )  =  [ <. H ,  J >. ]  .~  )
2725, 26sylan2 284 . . . . 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 >. ]  .~  )
2824, 27eqtrd 2197 . . . 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 >. ]  .~  )
29283impb 1188 . . 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 >. ]  .~  )
30 ecovidi.4 . . . . . 6  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. z ,  w >. ]  .~  )  =  [ <. W ,  X >. ]  .~  )
31 ecovidi.5 . . . . . 6  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( [ <. x ,  y >. ]  .~  .x. 
[ <. v ,  u >. ]  .~  )  =  [ <. Y ,  Z >. ]  .~  )
3230, 31oveqan12d 5858 . . . . 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 >. ]  .~  ) )
33 ecovidi.8 . . . . . 6  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( z  e.  S  /\  w  e.  S ) )  -> 
( W  e.  S  /\  X  e.  S
) )
34 ecovidi.9 . . . . . 6  |-  ( ( ( x  e.  S  /\  y  e.  S
)  /\  ( v  e.  S  /\  u  e.  S ) )  -> 
( Y  e.  S  /\  Z  e.  S
) )
35 ecovidi.6 . . . . . 6  |-  ( ( ( W  e.  S  /\  X  e.  S
)  /\  ( Y  e.  S  /\  Z  e.  S ) )  -> 
( [ <. W ,  X >. ]  .~  .+  [
<. Y ,  Z >. ]  .~  )  =  [ <. K ,  L >. ]  .~  )
3633, 34, 35syl2an 287 . . . . 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 >. ]  .~  )
3732, 36eqtrd 2197 . . . 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 >. ]  .~  )
38373impdi 1282 . . 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 >. ]  .~  )
3921, 29, 383eqtr4d 2207 . 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 >. ]  .~  ) ) )
401, 6, 11, 16, 393ecoptocl 6584 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 103    /\ w3a 967    = wceq 1342    e. wcel 2135   <.cop 3576    X. cxp 4599  (class class class)co 5839   [cec 6493   /.cqs 6494
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1434  ax-7 1435  ax-gen 1436  ax-ie1 1480  ax-ie2 1481  ax-8 1491  ax-10 1492  ax-11 1493  ax-i12 1494  ax-bndl 1496  ax-4 1497  ax-17 1513  ax-i9 1517  ax-ial 1521  ax-i5r 1522  ax-14 2138  ax-ext 2146  ax-sep 4097  ax-pow 4150  ax-pr 4184
This theorem depends on definitions:  df-bi 116  df-3an 969  df-tru 1345  df-nf 1448  df-sb 1750  df-clab 2151  df-cleq 2157  df-clel 2160  df-nfc 2295  df-ral 2447  df-rex 2448  df-v 2726  df-un 3118  df-in 3120  df-ss 3127  df-pw 3558  df-sn 3579  df-pr 3580  df-op 3582  df-uni 3787  df-br 3980  df-opab 4041  df-xp 4607  df-cnv 4609  df-dm 4611  df-rn 4612  df-res 4613  df-ima 4614  df-iota 5150  df-fv 5193  df-ov 5842  df-ec 6497  df-qs 6501
This theorem is referenced by:  distrnqg  7322  distrsrg  7694  axdistr  7809
  Copyright terms: Public domain W3C validator