Compositions of dozen-scores.
Version of Sunday 27 January 2013.

Home Page.


§ 6d1. In algebra and analysis, the composition of unary operations is frequently studied. However, composition may easily be applied to binary operations such as the dozen-scores, yielding a structure analogous to the binary tree of computer science.

Needed are two variables a and b, along with a supply of operations V0, V1, and so forth; some of these Vn might be equal. For this purpose, infix notation is clearer than prefix, and the parentheses are significant because the dozen-scores are rarely associative. In the table of examples below, each insertion is shown in red for emphasis.

building trees
Here is an ordinary invocation of a binary operation:a V0 b#1
Within #1, (a V1 b) can be placed two ways:for the a:(a V1 b) V0 b#2a
for the b:a V0 (a V1 b)#2b
Within #2b, (a V2 b) can be placed three ways:for the left a:(a V2 b) V0 (a V1 b)#3a
for the right a:a V0 ((a V2 b) V1 b)#3b
for the b:a V0 (a V1 (a V2 b))#3c
From #3c, examples of further successive substitutions are:a V0 ((a V3 b) V1 (a V2 b))#4
((a V4 b) V0 ((a V3 b) V1 (a V2 b))#5
(a V4 b) V0 ((a V3 b) V1 ((a V5 b) V2 b))#6
((a V6 b) V4 b) V0 ((a V3 b) V1 ((a V5 b) V2 b))#7

Note that in these constructions:

Thus excluded are the cases where an explicit a is a right input, or an explicit b is a left input. This is separate from the case where the output of one operation, being an input to the next, just happens to equal a or b; there is no restriction against this implicit case, and such a value may freely appear as either a left or right input.

In the parlance of binary trees, the a's and b's serve in the role of leaf nodes.


§ 6d2. In most cases the following compositions, which are the simplest nontrivial trees:

(a V1 b) V0 b
a V0 (a V1 b)

do not yield dozen-scores. For instance, below are two ordinary dozen-scores followed by four examples of compositions thereof. In the tables of those operations that are not dozen-scores, note that the colors are reversed and a delta serves as an upside-down nabla; these differences in presentation help prevent mistakes in interpreting the tables.

22∇b
01234
 a 002431
131024
224310
310243
443102
57∇b
01234
 a 010423
142310
231042
304231
423104
Δb
01234
 a 032113
144221
211400
303344
420032
Δb
01234
 a 020143
140213
214203
313240
410342
Δb
01234
 a 011130
102444
233213
340001
424322
Δb
01234
 a 014320
112430
202413
340213
440321
(a 57∇ b) 22∇ b a 22∇ (a 57∇ b) (a 22∇ b) 57∇ b a 57∇ (a 22∇ b)

Although the delta tables above may seem random, two things can be said:

Some compositions exhibit partial or full cancellativity:

Δb
01234
 a 020413
132041
213204
341320
404132
Δb
01234
 a 011111
100000
222222
344444
433333
Δb
01234
 a 020431
120431
220431
320431
420431
104∇b
01234
 a 020413
113204
204132
332041
441320
a 85∇ (a 173∇ b)
FOC but not SOC
(a 151∇ b) 117∇ b
SOC but not FOC
a 63∇ (a 66∇ b)
SOC but not FOC
a 145∇ (a 167∇ b)
FOC and SOC

If a and b vary independently throughout all values of S5; and if V0, V1 and VR are dozen-scores being sought:

quadraginta A
12345
10∇192∇180∇129∇66∇
2110∇59∇47∇239∇173∇
3167∇101∇89∇26∇218∇
4213∇150∇138∇72∇21∇
5181∇128∇67∇1∇193∇
6238∇172∇111∇58∇46∇
720∇212∇151∇139∇73∇
8100∇88∇27∇219∇166∇

In the case of V0V1, everything must come from quadraginta A. In each column of the table below are listed, as ordered pairs, all ten solutions for one of the two compositions. Each nabla is subscripted with the row and column numbers of where the operation is found in the quadraginta A table. This labeling makes the patterns more conspicuous.

(a V0 b) V0 b = a VR b a V0 (a V0 b) = a VR b
V0, VR V0, VR
0∇11, 27∇83 20∇71, 47∇23
192∇12, 100∇81 212∇72, 110∇21
180∇13, 219∇84 151∇73, 239∇24
129∇14, 88∇82 139∇74, 59∇22
66∇15, 166∇85 73∇75, 173∇25
238∇61, 138∇43 213∇41, 111∇63
172∇62, 213∇41 150∇42, 238∇61
111∇63, 72∇44 138∇43, 58∇64
58∇64, 150∇42 72∇44, 172∇62
46∇65, 21∇45 21∇45, 46∇65

Whenever V0 and VR come from the same column of the quadraginta table, it is column 5. Thus the distinguished quadraginta has a distinguished column. The idempotent dozen-scores 21∇ and 46∇ form the one pair that works both ways, as listed in the last row.

Given dozen-scores Z and Y:

and in each case, X and W come from the same quadraginta. Like many results in this report, this was revealed by a computer program that examined all possible cases.

If a Z (a Y b) = a X b then (a YT b) ZT b = a XT b, and this applies whether Z, Y and X are dozen-scores or other operations.


§ 6d3. When three dozen-scores are composed, the range of possibilities grow far beyond what two can offer. This section looks at the balanced tree configuration:

(a V1 b) V0 (a V2 b)

In the following examples, some values occur more often than others within a table. Below each table is its formula, and its census:

Δ0b
01234
 a 022222
122222
222222
322222
422222
Δ1b
01234
 a 011314
131411
241131
313141
414113
Δ2b
01234
 a 000242
142002
202420
320024
424200
(a 42∇ b) 24∇ (a 155∇ b)
25·2
(a 239∇ b) 39∇ (a 30∇ b)
15·1, 5·3, 5·4
(a 224∇ b) 10∇ (a 183∇ b)
10·0, 10·4, 5·2

A table with either of these censuses:

turns out to satisfy one of these constraints:Elementarily, Δ0 satisfies both.

There are three censuses that do not occur:

However, operations that have five instances of each value are plentiful and come in a variety of patterns not easy to categorize:

Δb
01234
 a 022001
122433
201133
341124
443004
Δb
01234
 a 040414
132022
233403
332410
402111
Δb
01234
 a 041443
132133
242013
340001
412022
(a 58∇ b) 35∇ (a 78∇ b) (a 49∇ b) 38∇ (a 197∇ b) (a 40∇ b) 43∇ (a 60∇ b)
Δb
01234
 a 042333
122231
212011
340001
444034
Δb
01234
 a 040343
110221
210221
340343
420134
42∇b
01234
 a 004231
123104
210423
342310
431042
(a 27∇ b) 59∇ (a 125∇ b) (a 53∇ b) 68∇ (a 229∇ b) (a 66∇ b) 32∇ (a 110∇ b)


In the special case where a V3 b = (a V1 b) V0 (a V1 b), in other words where V1V2, it turns out that:

This composition is well-enough behaved that it might deserve to be called the standard composition for dozen-scores and receive a special symbol:

a (V0V1) b = (a V1 b) V0 (a V1 b)

More generally, let T and U be tree expressions of the type in the "building trees" table above. Then what TU means is to substitute the expression "(a U b)" for each instance of a or b in T. Hence this unsurprising result:

a ((V0V1) ◊ V2) b =
a (V0V1V2) b =
a (V0 ◊ (V1V2)) b =
((a V2 b) V1 (a V2 b)) V0 ((a V2 b) V1 (a V2 b))

The relation among the first three members of the equation above can more succinctly be written:

(V0V1) ◊ V2V0V1V2V0 ◊ (V1V2)

As in the case of unary operations, this binary composition is associative. It also works for asymmetric trees. For instance, if T and U are thus:

a T b = ((a V2 b) V1 b) V0 (a V1 b)
a U b = a V3 (a V4 (a V5 b))

Then a (TU) b equals the following complicated result, with the U-substitutions in red:

(((a V3 (a V4 (a V5 b))) V2 (a V3 (a V4 (a V5 b)))) V1 (a V3 (a V4 (a V5 b)))) V0 ((a V3 (a V4 (a V5 b))) V1 (a V3 (a V4 (a V5 b))))

It might be observed that supplying the same expression to the left and right leaf nodes of T turns it rather into a de facto unary function.


§ 6d4. Two more compositions involving three operations are in straight configurations:

((a V2 b) V1 b) V0 b
a V0 (a V1 (a V2 b))

which are equivalent if the transposes of the operations are taken, and if a and b are exchanged.

Each of the four columns in the table below is an example of building up, step by step, a composition in the straight configuration. Some of the intermediate and final results are dozen-scores, and others are not.

first step
216∇b
01234
 a 042013
101342
234201
320134
413420
88∇b
01234
 a 014203
103142
242031
331420
420314
173∇b
01234
 a 032104
110432
243210
321043
404321
59∇b
01234
 a 010432
143210
221043
304321
432104
a 216∇ b a 88∇ b a 173∇ b a 59∇ b
second step
Δb
01234
 a 042122
124434
230343
303001
411210
Δb
01234
 a 044444
133333
222222
311111
400000
80∇b
01234
 a 013402
102134
234021
321340
440213
172∇b
01234
 a 032104
104321
221043
343210
410432
(a 216∇ b) 126∇ b (a 88∇ b) 151∇ b (a 173∇ b) 224∇ b (a 59∇ b) 219∇ b
third step
Δb
01234
 a 021042
100104
233231
314423
442310
120∇b
01234
 a 023014
101423
242301
330142
414230
Δb
01234
 a 021321
110104
232030
343413
404242
96∇b
01234
 a 020134
113420
242013
301342
434201
((a 216∇ b) 126∇ b) 83∇ b ((a 88∇ b) 151∇ b) 91∇ b ((a 173∇ b) 224∇ b) 85∇ b ((a 59∇ b) 219∇ b) 87∇ b

When V0, V1 and V2 are any dozen-scores, the possible censuses of the operations at the three steps forming the straight configuration are the same as in the balanced case above, namely:


More can be said about the following straight configuration:

a VR b = ((a V2 b) V1 b) V0 b

where V0, V1 and V2 are dozen-scores, as usual. If VR is a dozen-score, then V1 must be from quadraginta A.

The following list of ten dozen-scores comes from rows 4 and 8 of quadraginta A:

213∇150∇138∇ 72∇ 21∇
100∇ 88∇ 27∇219∇166∇

When V1 is in this list:

If V0V1V2, then there are ten solutions, all from the list of ten selections from quadraginta A above.


§ 6d5. Two further three-operation compositions are in angled configurations:

a V0 ((a V2 b) V1 b)
(a V1 (a V2 b)) V0 b

which themselves are equivalent if the transposes of the operations are taken, and if a and b are exchanged, as before.

However, no simple conversion between the straight and angled configurations is available. The complication is that:

The lack of conversion is underscored by the fact that the angled configuration yields several censuses that do not appear in the straight configuration; this fact also means that there will be no simple conversion betweeen the angled and balanced configurations. Here is a list of the nine censuses that occur in the angled configuration; note that within each census, all the populations are equal in modulo 5:

A few examples are:

Δb
01234
 a 033333
133333
233333
333333
433333
Δb
01234
 a 011111
111111
200000
333333
411111
Δb
01234
 a 041431
143141
214143
314314
431414
Δb
01234
 a 043311
140014
220112
300332
444322
59∇b
01234
 a 010432
143210
221043
304321
432104
a174∇ ((a 21∇ b) 0∇ b)
25·3
a153∇ ((a 212∇ b) 48∇ b)
5·0, 15·1, 5·3
a142∇ ((a 11∇ b) 59∇ b)
10·1, 5·3, 10·4
a185∇ ((a 234∇ b) 27∇ b)
5·0, 5·1, 5·2, 5·3, 5·4
a166∇ ((a 26∇ b) 59∇ b)
5·0, 5·1, 5·2, 5·3, 5·4
 
Δb
01234
 a 000130
103334
231233
311130
410333
Δb
01234
 a 042042
132020
243403
323424
430301
Δb
01234
 a 034044
132242
231303
342443
422123
Δb
01234
 a 044403
140222
244324
332220
414211
Δb
01234
 a 002122
132242
210131
320223
444043
a101∇ ((a 142∇ b) 107∇ b)
6·0, 6·1, 1·2, 11·3, 1·4
a103∇ ((a 158∇ b) 233∇ b)
6·0, 1·1, 6·2, 6·3, 6·4
a112∇ ((a 23∇ b) 104∇ b)
2·0, 2·1, 7·2, 7·3, 7·4
a124∇ ((a 214∇ b) 102∇ b)
3·0, 3·1, 8·2, 3·3, 8·4
a135∇ ((a 23∇ b) 109∇ b)
4·0, 4·1, 9·2, 4·3, 4·4