In
Boolean logic
In mathematics and mathematical logic, Boolean algebra is a branch of algebra. It differs from elementary algebra in two ways. First, the values of the variables are the truth values ''true'' and ''false'', usually denoted 1 and 0, whereas in ...
, a Reed–Muller expansion (or Davio expansion) is a
decomposition
Decomposition or rot is the process by which dead organic substances are broken down into simpler organic or inorganic matter such as carbon dioxide, water, simple sugars and mineral salts. The process is a part of the nutrient cycle and is ...
of a
Boolean function
In mathematics, a Boolean function is a function whose arguments and result assume values from a two-element set (usually , or ). Alternative names are switching function, used especially in older computer science literature, and truth function ...
.
For a Boolean function
we call
:
the positive and negative
cofactors of
with respect to
, and
:
the boolean derivation of
with respect to
, where
denotes the
XOR
Exclusive or or exclusive disjunction is a logical operation that is true if and only if its arguments differ (one is true, the other is false).
It is symbolized by the prefix operator J and by the infix operators XOR ( or ), EOR, EXOR, , , ...
operator.
Then we have for the Reed–Muller or positive Davio expansion:
:
Description
This equation is written in a way that it resembles a
Taylor expansion
In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor se ...
of
about
. There is a similar decomposition corresponding to an expansion about
(negative Davio expansion):
:
Repeated application of the Reed–Muller expansion results in an XOR polynomial in
:
:
This representation is unique and sometimes also called Reed–Muller expansion.
E.g. for
the result would be
:
where
:
.
For
the result would be
:
where
:
.
Geometric interpretation
This
case can be given a cubical geometric interpretation (or a graph-theoretic interpretation) as follows: when moving along the edge from
to
, XOR up the functions of the two end-vertices of the edge in order to obtain the coefficient of
. To move from
to
there are two shortest paths: one is a two-edge path passing through
and the other one a two-edge path passing through
. These two paths encompass four vertices of a square, and XORing up the functions of these four vertices yields the coefficient of
. Finally, to move from
to
there are six shortest paths which are three-edge paths, and these six paths encompass all the vertices of the cube, therefore the coefficient of
can be obtained by XORing up the functions of all eight of the vertices. (The other, unmentioned coefficients can be obtained by symmetry.)
Paths
The shortest paths all involve monotonic changes to the values of the variables, whereas non-shortest paths all involve non-monotonic changes of such variables; or, to put it another way, the shortest paths all have lengths equal to the Hamming distance between the starting and destination vertices. This means that it should be easy to generalize an algorithm for obtaining coefficients from a truth table by XORing up values of the function from appropriate rows of a truth table, even for hyperdimensional cases (
and above). Between the starting and destination rows of a truth table, some variables have their values remaining fixed: find all the rows of the truth table such that those variables likewise remain fixed at those given values, then XOR up their functions and the result should be the coefficient for the monomial corresponding to the destination row. (In such monomial, include any variable whose value is 1 (at that row) and exclude any variable whose value is 0 (at that row), instead of including the negation of the variable whose value is 0, as in the minterm style.)
Similar to
binary decision diagram
In computer science, a binary decision diagram (BDD) or branching program is a data structure that is used to represent a Boolean function. On a more abstract level, BDDs can be considered as a compressed representation of sets or relations. U ...
s (BDDs), where nodes represent
Shannon expansion
Boole's expansion theorem, often referred to as the Shannon expansion or decomposition, is the identity: F = x \cdot F_x + x' \cdot F_, where F is any Boolean function, x is a variable, x' is the complement of x, and F_xand F_ are F with the argu ...
with respect to the according variable, we can define a
decision diagram
Decision may refer to:
Law and politics
* Judgment (law), as the outcome of a legal case
*Landmark decision, the outcome of a case that sets a legal precedent
* ''Per curiam'' decision, by a court with multiple judges
Books
* ''Decision'' (nove ...
based on the Reed–Muller expansion. These decision diagrams are called functional BDDs (FBDDs).
Derivations
The Reed–Muller expansion can be derived from the XOR-form of the Shannon decomposition, using the identity
:
:
Derivation of the expansion for
:
:
Derivation of the second-order boolean derivative:
:
See also
*
Algebraic normal form
In Boolean algebra, the algebraic normal form (ANF), ring sum normal form (RSNF or RNF), ''Zhegalkin normal form'', or '' Reed–Muller expansion'' is a way of writing logical formulas in one of three subforms:
* The entire formula is purely tr ...
(ANF)
*
Ring sum normal form (RSNF)
*
Zhegalkin polynomial
*
Karnaugh map
The Karnaugh map (KM or K-map) is a method of simplifying Boolean algebra expressions. Maurice Karnaugh introduced it in 1953 as a refinement of Edward W. Veitch's 1952 Veitch chart, which was a rediscovery of Allan Marquand's 1881 ''logic ...
*
Irving Stoy Reed
*
David Eugene Muller
*
Reed–Muller code
Reed–Muller codes are error-correcting codes that are used in wireless communications applications, particularly in deep-space communication. Moreover, the proposed 5G standard relies on the closely related polar codes for error correction in ...
References
Further reading
*
*
*
*
*
*
* (188 pages)
{{DEFAULTSORT:Reed-Muller expansion
Boolean algebra