Rare · Knowledge
Boolean function
Any mathematical function with Boolean arguments and result
In mathematics, a Boolean function is a function whose arguments and result assume values from a two-element set (usually {true, false}, {0,1} or {−1,1}). Alternative names are switching function, used especially in older computer science literature, and truth function (or logical function), used in logic.
From Wikipedia
In mathematics, a Boolean function is a function whose arguments and result assume values from a two-element set (usually {true, false}, {0,1} or {−1,1}). Alternative names are switching function, used especially in older computer science literature, and truth function (or logical function), used in logic. Boolean functions are the subject of Boolean algebra and switching theory. A Boolean function takes the form f : { 0 , 1 } k → { 0 , 1 } {\displaystyle f:\{0,1\}^{k}\to \{0,1\}} , where { 0 , 1 } {\displaystyle \{0,1\}} is known as the Boolean domain and k {\displaystyle k} is a non-negative integer called the arity of the function. In the case where k = 0 {\displaystyle k=0} , the function is a constant element of { 0 , 1 } {\displaystyle \{0,1\}} . A Boolean function with multiple outputs, f : { 0 , 1 } k → { 0 , 1 } m {\displaystyle f:\{0,1\}^{k}\to \{0,1\}^{m}} with m > 1 {\displaystyle m>1} is a vectorial or vector-valued Boolean function (an S-box in symmetric cryptography). There are 2 2 k {\displaystyle 2^{2^{k}}} different Boolean functions with k {\displaystyle k} arguments; equal to the number of different truth tables with 2 k {\displaystyle 2^{k}} entries. Every k {\displaystyle k} -ary Boolean function can be expressed as a propositional formula in k {\displaystyle k} variables x 1 , . . . , x k {\displaystyle x_{1},...,x_{k}} , and two propositional formulas are logically equivalent if and only if they express the same Boolean function.
Text: Wikipédia, CC BY-SA 4.0. · Image: Dirk Beyer (CC BY-SA 3.0) ·
Related cards
-
★★
Function (computer programming)
Sequence of instructions that can be called from other points in a computer program
-
★★
Logical NOR
Binary operation that is true if and only if both operands are false
-
R★
Rvachev function
Real-valued mathematical function
-
B★★
Boolean operator
Used when searching to connect words together. The three basic boolean operators are: AND, OR, and NOT. They can help focus a search by connecting information
-
★★
Boolean satisfiability problem
Problem of determining if a Boolean formula could be made true
-
B★
Boole's expansion theorem
Theorem in Boolean algebra
-
F★
Functional completeness
Property of a set of logical connectives which can express all possible truth tables by combining members of the set
-
★
Iterated function
Mathematical operation of composing a function with itself repeatedly
-
★
Support (mathematics)
Part of the domain of a mathematical function
-
★★★★
Riemann zeta function
Analytic function
-
★★★
Logical conjunction
Logical connective AND
-
★★
Beta function
Mathematical function
-
★★★
Quadratic function
Function defined by a polynomial of degree two
-
★
Z function
Mathematical function
-
★★
Linear function
Mathematical function capturing proportionality
-
★★★
Binomial theorem
Algebraic expansion of powers of a binomial
-
★★
Linearity
Property of mathematical operator
-
★
Quartic function
Function defined by a polynomial of degree four