Seal (discrete mathematics)
Template:Boolf header <templatestyles src="Collapsible with classes/style.css" />
Seal is a neologism for a mathematical object, that is essentially a subgroup of Template:W addition.
The addition of nimbers is the bitwise XOR of non-negative integers.
For a finite set it forms the Boolean group Template:W2n.
A seal shall be defined as a Boolean function whose family matrix is also the matrix of an Template:W.
This implies, that the Boolean function is odd (i.e. that the first entry of it's truth table is true), and that it is the unique odd function in its family.
A seal is also a periodic set partition. The members of its family shall be called its blocks.
| seal 1001 0000 0110 0000 Template:Zhe | ||
|---|---|---|
|
This seal has adicity 4, and is shown with (the lowest possible) arity 4, i.e. with a truth table of length 16. | ||
The weight of a Boolean function is be the quotient of the sum and the length of its truth table.
The weight of a seal is , where is its depth.
The unique seal with depth 0 is the tautology. The seals with depth 1 are the negated variadic Template:Ws with one or more arguments.
Template:Collapsible START The seals with depth 1 are the positive rows of a negated binary Template:W. (The tautology with depth 0 is in the top row.)

cccurences
The fixed points of Walsh permutations are seals.
The symmetry of Boolean functions is related to seals.
equivalenc classes
house
Each seal belongs to a Template:Boolf-prop, which shall be called its house. A house can also be seen as a Template:Boolf-prop of seal blocks.
So a house can the represented by the smallest Zhegalkin index of the faction or the clan. (That of the faction is easier to calculate.)
antipode
The seals with arity a form a symmetric Hasse diagram, whose top node is the tautology.
From top to bottom the layers are depth = 0...a. From bottom to top they are rank = 0...a. The number of seals in layer n is .
For the given arity each seal has a Walsh spectrum. It's non-zero entries are (the weight of the seal's finite truth table).
Their pattern describes another seal in the opposite layer of the Hasse diagram, which shall be called its antipode.
When a seal in house x has an antipode in house y, then all seals in x have antipodes in y.
Each house has an antipode for a given arity.
The following seal is the antipode of the example shown above. Their depth (and rank) is 2, and both are on the middle layer of the Hasse diagram.
| seal 1000 1000 0001 0001 Template:Zhe | ||
|---|---|---|
|
The Walsh spectrum for arity 4 is (4, 0, 0, 4, 0, 0, 0, 0, 0, 4, 4, 0, 0, 0, 0, 0). | ||
1001 0000 0000 1001 Template:Zhe has cohort {0, 3, 12, 15}. So for arity 4 it is its own antipode. (See this file.)
cohort and legion
While a seal has different antipodes for each arity, they all start with the same binary pattern, and then continue with zeros.
In other words, all antipodes of a seal can be described as the same finite set of integers (which corresponds to an entry of sequence Rose).
This set of integers shall be called cohort. Every cohort belongs to a legion. Cohort and legion are properties of Boolean functions in general – not just of seals.
The cardinalities of cohort and legion are a powers of two.
The exponent for the cohort is depth. The exponent for the legion shall be called gravity.
Gravity is similar to valency. The pyramids TwistedLiana and Lonicera have it as one of their dimensions.
integer representations
For both arities the green integers on the right correspond to the same seal on the left.
E.g. the green 1 corresponds to the tautology, the green 7 to , and the green 15 to .
| truth tables (entries of Rose) | Zhegalkin indices (entries of Tulip) | |
|---|---|---|
| arity 2 | ||
| arity 3 |
Template:Collapsible START
Like Boolean functions in general, seals should be seen as periodic truth tables (corresponding to fractions).
For a given arity they can be seen as finite truth tables (corresponding to integers). But this approach shall be avoided here.
The integer values of the finite truth tables form the sequence Rose = 1, 3, 5, 9, 15... (Template:Oeislink) An illustration can be seen here.
| sequence Rose for arity 4 (adicities 0...4) |
|---|
|
1, |
Template:Seal integer representations/python
A better way to represent the seals by integers is with Zhegalkin indices. They form the sequence Tulip = 1, 3, 5, 7, 15...
| sequence Tulip for arity 4 (adicities 0...4) |
|---|
|
1, |
| illustration: Zhegalkin indices and truth tables for arity 4 |
|---|
|
The rows of the green matrix are the twins of those in the red matrix. |
quantities
Template:Collapsible START Template:Seal sequences Template:Collapsible END
Template:Collapsible START
The triangle Oak (left) shows the number of seals by arity (rows) and depth (columns). These are Template:W. Arity n is short for adicity ≤ n.
The triangle Elm (right) shows the corresponding numbers of equivalence classes. (Not to be confused with Pascal's triangle.)
Template:Seal triangles Oak and Elm
E.g. there are 4-ary seals of depth 2, and they belong to different equivalence classes.
Template:Collapsible END
Template:Collapsible START Template:Seal triangles MapleMinor and Sycamore Template:Collapsible END
Template:Collapsible START Template:Seal triangles Oak and Maple Template:Collapsible END
Template:Collapsible START Template:Seal triangles Elm and Lime Template:Collapsible END
Template:Collapsible START Template:Seal triangles Ash and Aspen Template:Collapsible END
| triangle Birch with row sums Aster | |
|---|---|
|
These sequences count seals whose adicity and valency are equal. | |
| Template:Seal triangle Birch | |
Template:Collapsible START Template:Seal triangle Maple examples Template:Collapsible END
number pyramids
See pyramid Liana. These pyramid pairs are refinements of Oak and Maple, adding axes for valency and gravity.


