Studies of Boolean functions/terminology

From testwiki
Jump to navigation Jump to search

<templatestyles src="Collapsible with classes/style.css" />

Template:Shortcut

  • Template:Anchor valency ≤ adicity ≤ arity
    • Valency is the number of arguments actually used. It is the number of circles in the Euler diagram.
    • Adicity follows from the biggest atom. 2adicity is the required TT length, or the period length of the infinite truth table.
    • The term arity is used in two slightly different ways:
      • arity n as an argument (e.g. of a class method) to get a finite truth table of length 2n   E.g. BC can be shown as 3-ary 0000 0011 or as 4-ary 0000 0011 0000 0011.
      • arity n as a shorthand for adicityn   (as in: the 16 2-ary Boolean functions)
      • (For a while there may also be a third way, namely the erroneous use instead of valency or adicity.)
  • Template:Anchor root Template:Spaces The root of a BF is its dense equivalent.   The term is also used for the TT of the root BF. It is a binary vector of length 2valency without repeating patterns.

Template:Collapsible START A segment has a dimension, namely the number of zeros in its ternary label.
(From the perspective of Euler diagrams the term is counter-intuitive, because it corresponds to the Template:W, rather than to the Template:W. For the Template:Sect it is used in the same way.)

The relationships between segments that differ in only one digit are important:

  • Another segment with a 0 in the differing place is a superior. (Points are superior to lines, lines to areas, etc.)
  • Another segment with + or − in the differing place is an inferior.
  • Another segment with the opposite sign in the differing place is a neighbor.

Template:Collapsible END


properties

see Properties of Boolean functions and of truth tables

foibles

provisional

general terms

These words are sometimes used in variable names.

n 2n 22n n!
paltry plenty plethora galore