Changes

MyWikiBiz, Author Your Legacy — Friday November 22, 2024
Jump to navigationJump to search
Line 637: Line 637:     
{| cellpadding=8 style="text-align:center"
 
{| cellpadding=8 style="text-align:center"
| &nbsp; || ''G'' || = || &sum;<sub>''ij''</sub>''G''<sub>''ij''</sub>(''i'':''j'')
+
| &nbsp; || ''G'' || = || &sum;<sub>''ij''</sub> ''G''<sub>''ij''</sub>(''i'':''j'')
 
|-
 
|-
| &nbsp; || ''H'' || = || &sum;<sub>''ij''</sub>''H''<sub>''ij''</sub>(''i'':''j'')
+
| &nbsp; || ''H'' || = || &sum;<sub>''ij''</sub> ''H''<sub>''ij''</sub>(''i'':''j'')
 
|}
 
|}
   Line 828: Line 828:  
If the 2-adic relations ''G'' and ''H'' are viewed as logical sums, then their relational composition ''G''&nbsp;&omicron;&nbsp;''H'' can be regarded as a product of sums, a fact that can be indicated as follows:
 
If the 2-adic relations ''G'' and ''H'' are viewed as logical sums, then their relational composition ''G''&nbsp;&omicron;&nbsp;''H'' can be regarded as a product of sums, a fact that can be indicated as follows:
   −
: ''G''&nbsp;&omicron;&nbsp;''H'' = (&sum;<sub>''ij''</sub>''G''<sub>''ij''</sub>(''i'':''j''))(&sum;<sub>''ij''</sub>''H''<sub>''ij''</sub>(''i'':''j'')).
+
: ''G''&nbsp;&omicron;&nbsp;''H'' = (&sum;<sub>''ij''</sub> ''G''<sub>''ij''</sub>(''i'':''j''))(&sum;<sub>''ij''</sub> ''H''<sub>''ij''</sub>(''i'':''j'')).
    
The composite relation ''G''&nbsp;&omicron;&nbsp;''H'' is itself a 2-adic relation over the same space ''X'', in other words, ''G''&nbsp;&omicron;&nbsp;''H''&nbsp;&sube;&nbsp;''X''&nbsp;&times;&nbsp;''X'', and this means that ''G''&nbsp;&omicron;&nbsp;''H'' must be amenable to being written as a logical sum of the following form:
 
The composite relation ''G''&nbsp;&omicron;&nbsp;''H'' is itself a 2-adic relation over the same space ''X'', in other words, ''G''&nbsp;&omicron;&nbsp;''H''&nbsp;&sube;&nbsp;''X''&nbsp;&times;&nbsp;''X'', and this means that ''G''&nbsp;&omicron;&nbsp;''H'' must be amenable to being written as a logical sum of the following form:
   −
: ''G''&nbsp;&omicron;&nbsp;''H'' = &sum;<sub>''ij''</sub>(''G''&nbsp;&omicron;&nbsp;''H'')<sub>''ij''</sub>(''i'':''j'').
+
: ''G''&nbsp;&omicron;&nbsp;''H'' = &sum;<sub>''ij''</sub> (''G''&nbsp;&omicron;&nbsp;''H'')<sub>''ij''</sub>(''i'':''j'').
    
In this formula, (''G''&nbsp;&omicron;&nbsp;''H'')<sub>''ij''</sub> is the coefficient of ''G''&nbsp;&omicron;&nbsp;''H'' with respect to the elementary relation ''i'':''j''.
 
In this formula, (''G''&nbsp;&omicron;&nbsp;''H'')<sub>''ij''</sub> is the coefficient of ''G''&nbsp;&omicron;&nbsp;''H'' with respect to the elementary relation ''i'':''j''.
Line 844: Line 844:  
In order to answer this question, it helps to realize that the indicated product given above can be written in the following equivalent form:
 
In order to answer this question, it helps to realize that the indicated product given above can be written in the following equivalent form:
   −
: ''G''&nbsp;&omicron;&nbsp;''H'' = (&sum;<sub>''ik''</sub>''G''<sub>''ik''</sub>(''i'':''k''))(&sum;<sub>''kj''</sub>''H''<sub>''kj''</sub>(''k'':''j'')).
+
: ''G''&nbsp;&omicron;&nbsp;''H'' = (&sum;<sub>''ik''</sub> ''G''<sub>''ik''</sub>(''i'':''k''))(&sum;<sub>''kj''</sub> ''H''<sub>''kj''</sub>(''k'':''j'')).
    
A moment's thought will tell us that (''G''&nbsp;&omicron;&nbsp;''H'')<sub>''ij''</sub> = 1 if and only if there is an element ''k'' in ''X'' such that ''G''<sub>''ik''</sub> = 1 and ''H''<sub>''kj''</sub> = 1.
 
A moment's thought will tell us that (''G''&nbsp;&omicron;&nbsp;''H'')<sub>''ij''</sub> = 1 if and only if there is an element ''k'' in ''X'' such that ''G''<sub>''ik''</sub> = 1 and ''H''<sub>''kj''</sub> = 1.
Line 850: Line 850:  
Consequently, we have the result:
 
Consequently, we have the result:
   −
: (''G''&nbsp;&omicron;&nbsp;''H'')<sub>''ij''</sub> = &sum;<sub>k</sub>''G''<sub>''ik''</sub>''H''<sub>''kj''</sub>.
+
: (''G''&nbsp;&omicron;&nbsp;''H'')<sub>''ij''</sub> = &sum;<sub>k</sub> ''G''<sub>''ik''</sub>''H''<sub>''kj''</sub>.
   −
This follows from the properties of boolean arithmetic, specifically, from the fact that the product ''G''<sub>''ik''</sub>''H''<sub>''kj''</sub> is 1 if and only if both ''G''<sub>''ik''</sub> and ''H''<sub>''kj''</sub> are 1, and from the fact that &sum;<sub>''k''</sub>''F''<sub>''k''</sub> is equal to 1 just in case some ''F''<sub>''k''</sub> is 1.
+
This follows from the properties of boolean arithmetic, specifically, from the fact that the product ''G''<sub>''ik''</sub>''H''<sub>''kj''</sub> is 1 if and only if both ''G''<sub>''ik''</sub> and ''H''<sub>''kj''</sub> are 1, and from the fact that &sum;<sub>''k''</sub> ''F''<sub>''k''</sub> is equal to 1 just in case some ''F''<sub>''k''</sub> is 1.
    
All that remains in order to obtain a computational formula for the relational composite ''G''&nbsp;&omicron;&nbsp;''H'' of the 2-adic relations ''G'' and ''H'' is to collect the coefficients (''G''&nbsp;&omicron;&nbsp;''H'')<sub>''ij''</sub> over the appropriate basis of elementary relations ''i'':''j'', as ''i'' and ''j'' range through ''X''.
 
All that remains in order to obtain a computational formula for the relational composite ''G''&nbsp;&omicron;&nbsp;''H'' of the 2-adic relations ''G'' and ''H'' is to collect the coefficients (''G''&nbsp;&omicron;&nbsp;''H'')<sub>''ij''</sub> over the appropriate basis of elementary relations ''i'':''j'', as ''i'' and ''j'' range through ''X''.
   −
: ''G''&nbsp;&omicron;&nbsp;''H'' = &sum;<sub>''ij''</sub>(''G''&nbsp;&omicron;&nbsp;''H'')<sub>''ij''</sub>(''i'':''j'') = &sum;<sub>''ij''</sub>(&sum;<sub>''k''</sub>''G''<sub>''ik''</sub>''H''<sub>''kj''</sub>)(''i'':''j'').
+
: ''G''&nbsp;&omicron;&nbsp;''H'' = &sum;<sub>''ij''</sub> (''G''&nbsp;&omicron;&nbsp;''H'')<sub>''ij''</sub>(''i'':''j'') = &sum;<sub>''ij''</sub>(&sum;<sub>''k''</sub> ''G''<sub>''ik''</sub>''H''<sub>''kj''</sub>)(''i'':''j'').
    
This is the logical analogue of matrix multiplication in linear algebra, the difference in the logical setting being that all of the operations performed on coefficients take place in a system of boolean arithmetic where summation corresponds to logical disjunction and multiplication corresponds to logical conjunction.
 
This is the logical analogue of matrix multiplication in linear algebra, the difference in the logical setting being that all of the operations performed on coefficients take place in a system of boolean arithmetic where summation corresponds to logical disjunction and multiplication corresponds to logical conjunction.
   −
By way of disentangling this formula, one may notice that the form &sum;<sub>''k''</sub>(''G''<sub>''ik''</sub>''H''<sub>''kj''</sub>) is what is usually called a "scalar product".  In this case it is the scalar product of the ''i''<sup>th</sup> row of ''G'' with the ''j''<sup>th</sup> column of ''H''.
+
By way of disentangling this formula, one may notice that the form &sum;<sub>''k''</sub> (''G''<sub>''ik''</sub>''H''<sub>''kj''</sub>) is what is usually called a "scalar product".  In this case it is the scalar product of the ''i''<sup>th</sup> row of ''G'' with the ''j''<sup>th</sup> column of ''H''.
    
To make this statement more concrete, let us go back to the particular examples of ''G'' and ''H'' that we came in with:
 
To make this statement more concrete, let us go back to the particular examples of ''G'' and ''H'' that we came in with:
12,080

edits

Navigation menu