Categories
  Encyclosphere.org ENCYCLOREADER
  supported by EncyclosphereKSF

Families of Boolean functions

From Wikiversity - Reading time: 8 min

Studies of Boolean functions

Boolean functions belong to the same family, when they can be transformed into each other by negating arguments.
The size of a family is always a power of two. The maximal size is 2adicity, i.e. the period length of the truth table.
(While the size of faction and clan increases with the chosen arity, the size of a family is fixed.)

The simplest property of a family is its weight, i.e. the number of true entries in each truth table.
An important property is the parity of the weight. Those with odd weight shall be called sharp, those with even weight blunt.
(It is the same as the parity of the quaestor weight.)

A family belongs to a clan (where the arguments are not just negated, but also permuted).
Together with its complement, it forms a super-family. Adding a half-complement forms an ultra-family.

family matrix

[edit | edit source]

A family matrix is a bitwise XOR table with integers replaced by binary values. Each row (or column) is the truth table of a BF in the family.

bitwise XOR table with labels on the left showing how the arguments are negated
red family matrix of a 4-ary function, containing each function twice
eight members of a family as Venn diagrams and rows of a family matrix
two family matrices of 3-ary seals, one with 4 functions (left), the other with 2 (right)

sequences

[edit | edit source]
arity to count
arity
0 1 2 3 4 5
Saffron balanced families 0 1 3 14 870 18796230
NonDubSage closed families 0 1 3 14 240 63488
DubSage unclosed families
(BF with a particular consul)
2 2 4 32 4096 134217728
Eulerian numbers 0 0 1 4 11 26
Sage sharp families
(BF with a particular prefect)
1 1 2 16 2048 67108864
NonSage blunt families
super-families
1 2 5 30 2288 67172352
Thyme families 2 3 7 46 4336 134281216
TornSage sharp super-families 1 1 8 1024 33554432
Clove blunt super-families 1 4 22 1264 33617920
Aloe families with maximal size (diagonal of Olive) 2 1 2 23 3904 134156284
blunt families with maximal size 1 0 0 7 1856 67047420

A227725 is the number of -ary families of size .
A227724 is the number of balanced -ary families of size .
A054724 is the number of -ary families with weight . See here.

blunt and sharp

[edit | edit source]

Sharp families always have the maximal size.
Each member of sharp family has a unique consul, while all members of a blunt family have the same consul.
All sharp families belong to the same tribe. The tribe of a blunt family is denoted by the binary weight of the consul.

It is easy to calculate a family representative of a sharp BF (a male to be precise), namely the one with consul 0.

There are many bijections between blunt and sharp BF.
It would be practical to have one, that assigns all members of a blunt family to members of the same sharp family.
So one sharp family would correspond to a set of blunt families. That would be nice to have, but may not exist.

An important fact (visible in the table of sequences above) is that the number of blunt families is equal to the number of super-families.
The numbers of sharp and closed (self-complementary) families always sum up to the number of blunt families (= the number of super-families).
Arity 1 is a special case, because the one sharp and the one closed family are the same. Apart from that, no sharp familiy is closed.

super-clans

[edit | edit source]

The following table shows the 46 3-ary families within the 14 super-clans. That means, each family is shown in its clan, and together with its complement.
In each matrix a family has a distinct color. Complements have the same base color (RGB or beige). Clans have the same shade (light or dark).
(The number of families in a super-clan is 1, 2, 3 or 6.)

super-families

[edit | edit source]

The following table shows the 46 3-ary families within the 30 super-families. That means, each family is shown together with its complement.
An important property (that links the 3-ary to 2-ary families) is the village – seen as columns in the matrices of Zhegalkin indices.
Blunt families have a consul and a solidity. (Sharp families have four solid and four fluid members.)

misc.

[edit | edit source]

3-ary partitions: family (46), reverse family (46), super family (30), ultra family (18), family size (4), quaestor weight (5), tribe (5), is sharp (2)


Licensed under CC BY-SA 3.0 | Source: https://en.wikiversity.org/wiki/Families_of_Boolean_functions
10 views | Status: cached on August 14 2025 02:40:18
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF