A set of Boolean functions is functionally complete if function composition using those operations can express every positive-arity Boolean function. The NAND gate alone suffices: tie its inputs to obtain negation, negate its output to obtain logical conjunction, and apply De Morgan's laws to obtain logical disjunction; then use disjunctive normal form.
Among sixteen binary Boolean truth functions, eight become functionally complete together with negation. The eight affine functions cannot express conjunction because composition preserves affinity. Each of the other eight truth tables has exactly one or three true rows. Negating the output if needed and selected inputs transforms its unique true row to the conjunction table. Thus conjunction and negation become definable and disjunctive normal form expresses every Boolean function.
Suppose a first-order language has logical implication as its only connective and has either or both of the quantifiers, but no primitive falsity. In a singleton structure with every atomic predicate true, all atomic equalities are also true, and structural induction makes every formula true. No formula of this language can therefore express a negated equality. Quantifiers cannot repair this failure of expressive completeness, even though they add syntactic operations beyond propositional connectives.
The Boolean function obtained by assigning a fixed Boolean value to a chosen Boolean variable in . The original Boolean function satisfies .
A Directed acyclic graph representing a Boolean function. A decision node tests a Boolean variable and has zero and one successors; evaluation follows the corresponding arrows until a terminal node returns a Boolean value. Sharing subgraphs can make a binary decision diagram much smaller than a binary decision tree.
A vertex that returns a final output rather than performing another test. In a binary decision diagram the two possible outputs are the Boolean constants zero and one.
An internal vertex that tests a condition and selects an outgoing branch. In a binary decision diagram, a decision node tests a Boolean variable and has one zero arrow and one one arrow.
An ordered binary decision diagram with shared equal terminal nodes, no decision node having identical zero and one children, and no two decision nodes having the same tested Boolean variable and the same ordered pair of children. For a fixed variable ordering of a binary decision diagram, it is unique up to labelled graph isomorphism: each nonconstant remaining Boolean cofactor has a uniquely determined first essential Boolean variable, and its two children are recursively determined by its zero and one Boolean cofactors. This uniqueness does not compare different orderings.
A fixed order in which Boolean variables may be tested along each branch of an ordered binary decision diagram. Branches may skip a test, but cannot reverse the order. The order can change the number of distinct remaining Boolean cofactors and therefore the size of the representation.
In Boolean algebra, the product is the consensus of and . If , either and , or and , so adding the consensus does not change the Boolean function. It can change a circuit's transient behavior: while switches, the two original product terms may briefly both be zero because of unequal propagation delays, but remains one. Keeping the logically redundant consensus product can therefore remove a static-one logic hazard.
An input combination at which a Boolean function's specification imposes no required output value. Karnaugh map minimization may assign either value independently to simplify the implemented Boolean circuit. The resulting circuit still assigns a definite output to every input. An unused finite-state machine encoding is therefore an optimization opportunity, but its eventual transitions must be checked if recovery from that encoding matters.
For an odd number of input bits, this Boolean function is one exactly when fewer than half of the inputs are one. For three inputs, . Each term says that a specified pair of inputs is zero; at most one input can then be one. This proves both directions of the formula.
A truth table arranged so neighbouring cells differ in one Boolean variable, using Gray code order along each multi-bit axis. Opposite edges are also adjacent. A valid group contains all combinations of varying variables while every other variable stays fixed; it eliminates those variables and gives an implicant; covering the one-cells yields a disjunctive normal form. The method is associated with Maurice Karnaugh.
A Boolean function satisfying the displayed condition. Composition of one-preserving Boolean functions is one-preserving, since each inner output is one on an all-one input. Consequently structural induction shows that a variable-built propositional formula using only one-preserving logical connectives, such as , is true under the all-one Boolean valuation.
A logical conjunction of literals is an implicant of a Boolean function if every Boolean valuation making true also makes true. Every term in a disjunctive normal form is an implicant of the represented Boolean function. To rule out a one-literal term, it suffices to find a false Boolean valuation of where that literal is true.
An implicant from which no literal can be removed while preserving the implication to the Boolean function. A prime implicant is essential when it covers a one-input assignment that no other prime implicant covers.
A Boolean function expressing whether its argument satisfies a property. Membership in a set is represented by its characteristic predicate. Returning a function lets a tree fold return a predicate that subsequently checks membership of a binary search tree.
A linear Boolean function is a linear map from to . Here is the two-element finite field, whose addition is exclusive or. Every such function has a unique coefficient binary string and takes the formThe dot is the binary inner product. To prove the representation, expand in the standard basis and use linearity, obtaining ; thus . For example, gives . Adding a nonzero constant produces an affine map, not a linear map.
A Boolean function on a finite nonempty domain is balanced when it is zero on exactly half the inputs and one on the other half. For a one-bit domain, the balanced functions are and , while the remaining two functions are constant functions. The Deutsch algorithm distinguishes these two classes with one Boolean quantum oracle query in the absence of noise.
Under uniform independent input bits, a zero-one Boolean function is quite fair when its mean lies between one quarter and three quarters. This convention excludes functions whose output is nearly constant; it does not require exact balance or equal coordinate influences.
The algebraic normal form is the unique multilinear polynomial representation of a Boolean function over the field with two elements, using exclusive or for addition and ordinary bit multiplication for products. The empty product is one. Existence and uniqueness follow by induction from : the first polynomial supplies all coefficients not containing , and the difference supplies exactly those that do. For split inputs , each monomial factors into one locally computed product of Alice's bits and one of Bob's bits, yielding a separated Boolean decomposition.
Every Boolean function of distributed inputs is an exclusive or of products of locally computable bits. The displayed identity follows because exactly one indicator is one. It uses at most terms, each a function of times a function of ; exchanging the two input roles gives at most terms. This elementary truth-table factorization is useful for distributed computation with PR boxes and does not depend on a probabilistic approximation.
A -random restriction independently leaves each coordinate live with probability , otherwise fixing it to zero or one with probability each. Composing independent restrictions with live probabilities produces the same distribution with live probability . Fixed values stay unbiased.
A tribes function is an OR of AND blocks: partition coordinates into blocks of size , and let when at least one block consists entirely of ones. For independent random variables with each bit uniform, . The influence of a variable is , because every other bit in its block must be one and every other block must fail. Taking approximately keeps both output probabilities bounded away from zero and gives influences of order . This shows the order in the Kahn-Kalai-Linial theorem is sharp.
Choose maximal such that for the displayed , and take the OR of AND blocks of size , ignoring unused coordinates. Its failure probability is , between one quarter and three quarters. Active coordinates have influence and unused ones have zero influence. Maximality gives ; for , , so every influence is below . The construction is therefore a quite fair Boolean function with small influences for every . The logarithmic bound cannot hold at , where every quite fair function has influence one.
For tribes of size with and , the success probability under the p-biased product measure is . Its -quantile is . For fixed ,Thus the fixed-error window has order . For small fixed error the leading coefficient grows with , so the general Friedgut-Kalai sharp threshold theorem also has the correct error dependence up to absolute constants.
For an input , count the largest family of pairwise disjoint nonempty sets of coordinates such that flipping each set individually changes the Boolean function value. Maximizing over inputs gives block sensitivity. Sensitive sets need not be contiguous and need not consist of single bits. The standard bounded-error quantum query complexity lower bound is . A certificate for meets every sensitive set, so its size bounds their disjoint count.
On the finite Boolean hypercube, these coefficients are the Hadamard transform of the vector of function values, with expectation normalization.
Fourier weight is the squared Fourier-Walsh transform coefficient mass on specified levels or a specified family of subsets. Parseval's identity identifies the total weight with , and the nonconstant weight with variance. A decision tree of depth at most has no weight above level .
For a random restriction, first fix the live set and average over the unbiased assignment outside it. The coefficient at is . Orthogonality eliminates cross terms in its squared expectation. Averaging over gives the displayed identity. The original Fourier weight is weighted by a binomial distribution survival probability, not simply preserved.
For independent coordinate flips at rate , a Walsh character is an eigenfunction with eigenvalue . The generator is self-adjoint and negative semidefinite. Its Dirichlet form of a Markov chain is .
Global sign-even functions have zero coefficients on odd-size Walsh characters. Every nonconstant remaining character has generator eigenvalue at most , yielding the displayed improvement from gap one to gap two. Combining this with the convexity of a norm proves the sharp Rademacher second-moment inequality.
Under the -biased product measure on , the coordinates are independent random variables with and . Writing , , and , the products form the -biased Fourier basis.
On the unbiased cube, the discrete derivative isFor the p-biased product measure, the normalization factor is .
For the -valued convention on the unbiased Boolean hypercube, the influence of coordinate is , where is the discrete derivative of a Boolean function. It equals the probability that flipping coordinate changes . For the -valued convention, the same flip probability is instead , since a nonzero discrete derivative has magnitude .
For a zero-one Boolean function, the flip-probability influence is . Apply Beckner's inequality with noise parameter to the discrete derivative of a Boolean function, whose nonzero magnitude is . Its norm squared is . Summing over coordinates gives the displayed weighted Fourier weight bound, a useful intermediate step in influence lower bounds.
The total influence isThis Fourier-Walsh transform identity uses -valued and the flip-probability convention for influence of a variable. For -valued , the right-hand side is multiplied by four. Indeed Parseval's identity applied to the discrete derivative of a Boolean function gives ; sum over coordinates and apply the chosen normalization.
For the indicator of a monotone family under a p-biased product measure, the Margulis–Russo formula identifies the derivative of with the suitably normalized total influence of .
A coordinate is pivotal for an increasing event in a configuration when changing only that coordinate changes whether the event occurs. Its pivotal probability is the coordinate's influence.
The noise operator averages over a random correlated with by . It acts diagonally on the Fourier-Walsh transform:
For and , the noise operator on the Boolean hypercube satisfies for the uniform probability measure. In particular,Here are Fourier-Walsh transform coefficients. The endpoint follows by averaging. This hypercontractive inequality on the Boolean hypercube controls Fourier-Walsh transform coefficients of discrete derivatives of a Boolean function and is a principal ingredient in the Kahn-Kalai-Linial theorem.
For a subset of the unbiased Boolean hypercube of density , use normalized Fourier-Walsh transform coefficients. Applying Beckner's inequality with gives . On levels at most two the weights are at least , giving the displayed bound. Parseval's identity gives total Fourier mass , so when the higher levels contain strictly more than the lower levels.
The noise stability is
The linear Fourier weight is .
A -junta is a function whose value depends only on coordinates indexed by . A -junta depends on at most coordinates.
A Boolean function is -quasirandom when conditioning any set of at most coordinates to any values changes its -expectation by at most .
For every , there is such that every Boolean function has a set with for which a -random restriction on leaves an -quasirandom function with probability at least .
Articles by others on the same topic
A Boolean function is a mathematical function that takes inputs from a set of binary values (typically 0 and 1) and produces a binary output. The function is named after the mathematician and logician George Boole, who developed an algebraic system for logical reasoning. Boolean functions can be represented in various ways, including: 1. **Truth Tables**: A table that lists all possible combinations of input values and the corresponding output.