SUPPORT THE WORK

GetWiki

Boolean Function

ARTICLE SUBJECTS
aesthetics  →
being  →
complexity  →
database  →
enterprise  →
ethics  →
fiction  →
history  →
internet  →
knowledge  →
language  →
licensing  →
linux  →
logic  →
method  →
news  →
perception  →
philosophy  →
policy  →
purpose  →
religion  →
science  →
sociology  →
software  →
truth  →
unix  →
wiki  →
ARTICLE TYPES
essay  →
feed  →
help  →
system  →
wiki  →
ARTICLE ORIGINS
critical  →
discussion  →
forked  →
imported  →
original  →
edit index Boolean Function


In mathematics, a finitary boolean function is a function of the form f : Bk ? B, where B = {0, 1} is a boolean domain and where k is a nonnegative integer. In the case where k = 0, the "function" is simply a constant element of B.

More generally, a function of the form f : X ? B, where X is an arbitrary set, is a boolean-valued function] (see below). If X = M = {1, 2, 3, …}, then f is a binary sequence, that is, an infinite sequence of 0's and 1's. If X = [k] = {1, 2, 3, …, k}, then f is a binary sequence of length k.

There are
22k
such functions. These play a basic role in questions of complexity theory as well as the design of circuits and chips for digital computers. The properties of boolean functions play a critical role in cryptography, particularly in the design of symmetric key algorithms (see S-box).

A boolean mask operation on boolean-valued functions combines values point-wise (for example, by XOR, or other boolean operators).

Algebraic Normal Form

A boolean function can be written uniquely as a sum (XOR) of products (AND). This is known as the Algebraic Normal Form (ANF).

|
f(x1 x2 lderiv(⋅)s xn) =
|
a0 +
| |
a1x1 + a2x2 + lderiv(⋅)s + anxn +
| |
a12x1x2 + a13x1x3 + lderiv(⋅)s + an-1nxn-1xn +
| |
lderiv(⋅)s +
| |
a12lderiv(⋅)snx1x2lderiv(⋅)s xn


where
a0 a1 lderiv(⋅)s a12lderiv(⋅)sn ∈ 01*
.

The values of the sequence
a0a1lderiv(⋅)sa12lderiv(⋅)sn
can therefore also uniquely represent a boolean function. The algebraic degree of a boolean function is defined as the highest number of
xi
that appear in a product term. Thus
f(x1x2x3) = x1 + x3
has degree 1 (linear), whereas
f(x1x2x3) = x1 + x1x2x3
has degree 3 (cubic).

Efficient representations

Boolean functions are often represented by sentences in propositional logic, but more efficient representations are binary decision diagrams (BDD), negation normal forms, or more generally by propositional directed acyclic graphs (PDAG).

Boolean-Valued Function

A boolean-valued function, in some usages a predicate or a proposition, is a function of the type f : X → B, where X is an arbitrary set and where B is a boolean domain.

A boolean domain B is a generic 2-element set, say, B = {0, 1}, whose elements are interpreted as logical values, typically 0 = false and 1 = true. A boolean variable x is a variable that takes its value from a boolean domain, as x ∈ B. A boolean domain B is a generic 2-element set, say, B = {0, 1}, whose elements are interpreted as logical values, for example, 0 = false and 1 = true.

In the formal sciences, mathematics, mathematical logic, statistics, and their applied disciplines, a boolean-valued function may also be referred to as a characteristic function, indicator function, predicate, or proposition. In all of these uses it is understood that the various terms refer to a mathematical object and not the corresponding semiotic sign or syntactic expression.

In formal semantic theories of truth, a truth predicate is a predicate on the sentences of a formal language, interpreted for logic, that formalizes the intuitive concept that is normally expressed by saying that a sentence is true. A truth predicate may have additional domains beyond the formal language domain, if that is what is required to determine a final truth value.

References

  • Brown, Frank Markham (2003), Boolean Reasoning: The Logic of Boolean Equations, 1st edition, Kluwer Academic Publishers, Norwell, MA. 2nd edition, Dover Publications, Mineola, NY, 2003.


  • Kohavi, Zvi (1978), Switching and Finite Automata Theory, 1st edition, McGraw–Hill, 1970. 2nd edition, McGraw–Hill, 1978.




  • Mathematical Society of Japan, Encyclopedic Dictionary of Mathematics, 2nd edition, 2 vols., Kiyosi Itô (ed.), MIT Press, Cambridge, MA, 1993. Cited as EDM.




See also

|+  


Equivalent Concepts



See Also

{{col-begin}} {{col-break}} {{col-break}} {{col-break}} {{col-end}}

External links





es:Funci XML error from Wikipedia: Invalid character in article


Some content adapted from the Pseudopedia article "Boolean_function" under the GNU Free Documentation License.
edit index
[ last updated: 8:05pm EDT - Sat, Apr 07 2007 ]
LATEST EDITS [ see all ]
GETWIKI 09 MAY 2016
GETWIKI 18 OCT 2015
M.R.M. Parrott
Biographies
GETWIKI 20 AUG 2014
GETWIKI 19 AUG 2014
GETWIKI 18 AUG 2014
Wikinfo
Culture
CONNECT