0% found this document useful (0 votes)
23 views11 pages

Linear Boolean

This document summarizes a paper from the Kragujevac Journal of Mathematics that generalizes results about positive, linear, and quadratic Boolean functions from truth functions over {0,1} to Boolean functions over an arbitrary Boolean algebra B. Specifically, it refines the characterization of positive Boolean functions, proves that a Boolean function is linear in each variable if and only if it satisfies a given functional equation, and shows that every quadratic Boolean function satisfies another given functional equation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views11 pages

Linear Boolean

This document summarizes a paper from the Kragujevac Journal of Mathematics that generalizes results about positive, linear, and quadratic Boolean functions from truth functions over {0,1} to Boolean functions over an arbitrary Boolean algebra B. Specifically, it refines the characterization of positive Boolean functions, proves that a Boolean function is linear in each variable if and only if it satisfies a given functional equation, and shows that every quadratic Boolean function satisfies another given functional equation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Kragujevac Journal of Mathematics

Volume 36 Number 2 (2012), Pages 177–187.

ON POSITIVE, LINEAR AND QUADRATIC BOOLEAN


FUNCTIONS

SERGIU RUDEANU

Abstract. In [1], [2] it was proved that a function f : {0, 1}n −→ {0, 1} is positive
if and only if it is increasing, it is linear if and only if it satisfies
(*) f (X) ∨ f (Y ) = f (XY ) ∨ f (X ∨ Y )
and it is quadratic if and only if it satisfies
(**) f (XY ∨ XZ ∨ Y Z) ≤ f (X) ∨ f (Y ) ∨ f (Z).
In this paper we work with an arbitrary Boolean algebra B and with arbitrary
Boolean functions f : Bn −→ B, that is, algebraic functions over B. We prove a
refined generalization of the characterization of positive functions, we prove that
a Boolean function satisfies (*) if and only if it is linear in each variable, and we
prove that every quadratic Boolean function satisfies (**). Moreover, a Boolean
function f : B2 −→ B is linear if and only if it satisfies (*) and a Boolean function
f : B3 −→ B is quadratic if and only if it satisfies (**).
The term Boolean function over an arbitrary Boolean algebra (B, ∨, ·,0 , 0, 1) de-
signates the algebraic functions f : Bn −→ B, that is, the functions which can be
obtained from variables and constants of B by superpositions of the basic operations
∨, ·,0 . In the Boolean algebra ({0, 1}, ∨, ·,0 , 0, 1), where x ∨ y = max{x, y}, x · y =
min{x, y} is also denoted simply xy, and x0 = 1 − x, every function : {0, 1}n −→
{0, 1} is Boolean; besides, {0,1} is the only Boolean algebra with this property. The
monograph [5] is devoted to Boolean functions in this general sense and to Boolean
equations, meaning equations expressed by Boolean functions f : Bn −→ B. See also
the continuation [6].
At the time when [5] was written, the functions f : {0, 1}n −→ {0, 1} were termed
truth functions or switching functions, terms reminiscent of their roles in logic and in
Key words and phrases. Boolean function, positive linear function, linear Boolean function, qua-
dratic Boolean function.
2010 Mathematics Subject Classification. 06E30.
Received: October 10, 2012.

177
178 SERGIU RUDEANU

switching theory, respectively, and distinguishing them from Boolean functions in the
general sense. In the last decades a huge literature is devoted to truth functions and
their numerous applications in science and technology; see e.g. the recent monographs
[3], [4]. These compendia reveal that in most cases the results are mainly based on
specific properties of the algebra {0,1} rather than on general properties of Boolean
algebras.
Under the given circumstances the author deeply regrets that people working in
this field are using the term “Boolean algebra” for the algebra {0,1} and “Boolean
functions” for truth functions, thus using the general terminology for the particular
case.
On the other hand it may be interesting to see whether certain isolated results can
be generalized from truth functions to arbitrary Boolean functions. The present Note
tackles such a particular problem.
Among other results, in [1] (see also [2]) the following theorems were proved about
a truth function f : {0, 1}n −→ {0, 1}:
1) f is positive, i.e., f |xi =0 ≤ f |xi =1 , if and only if it is increasing, i.e., X ≤ Y ⇒
f (X) ≤ f (Y );
2) f is linear, i.e., all its prime implicants are literals, if and only if it satisfies the
functional equation (*) f (X) ∨ f (Y ) = f (XY ) ∨ f (X ∨ Y ), where XY and X ∨ Y
are defined componentwise, and
3) f is quadratic if and only if it satisfies the functional equation (**) f (XY ∨ XZ ∨
Y Z) ≤ f (X) ∨ f (Y ) ∨ f (Z).
In the present Note, after several prerequisites which make the work self-contained,
we obtain the following results:
1’) we generalize and refine Theorem 1) to Boolean functions,
2’) we prove that a Boolean function satisfies property (*) if and only if it is linear
in each variable, and for n = 2 condition (*) characterizes the linear Boolean
functions f : B2 −→ B, and
3’) every quadratic Boolean function satisfies property (**), and for n = 3 condition
(**) characterizes the quadratic Boolean functions f : B3 −→ B.

Prerequisites
Let (B, ∨, ·,0 , 0, 1) be an arbitrary Boolean algebra. Note that {0, 1} is a Boolean
subalgebra of B and every two-element Boolean algebra is isomorphic to the algebra
{0, 1} described above.
Further, let n be a positive integer. We use a vectorial notation like X = (x1 , . . . , xn ),
Y = (y1 , . . . , yn ), · · · ∈ Bn and A = (α1 , . . . , αn ), B = (β1 , . . . , βn ), · · · ∈ {0, 1}n . The
set Bn is a Boolean algebra under the componentwise defined operations ∨, ·,0 , with
zero 0 = (0, . . . , 0) and one 1 = (1, . . . , 1).
The maxterms are the 2n Boolean functions defined by X A = xα1 1 . . . xαnn for A ∈
{0, 1}n , where xα are the Boolean functions defined by x1 = x and x0 = x0 . The basic
ON POSITIVE, LINEAR AND QUADRATIC BOOLEAN FUNCTIONS 179

property of Boolean functions is that they are characterized by the existence of the
canonical disjunctive form _
f (X) = cA X A ,
A∈{0,1}n
where the coefficients cA ∈ B are uniquely determined by cA = f (A) (∀ A ∈ {0, 1}n ).
Therefore every Boolean function f : Bn −→ B is determined by its restriction to
{0, 1}n and conversely, every truth function f : {0, 1}n −→ {0, 1} can be extended to
a unique Boolean function f : Bn −→ B.
This immediately implies that two Boolean functions coincide if and only if their
restrictions to {0, 1}n coincide. In other words, if f, g : Bn −→ B are Boolean
functions, then
f (X) = g(X) (∀ X ∈ Bn ) ⇐⇒ f (A) = g(A) (∀ A ∈ {0, 1}n ) ;
even more generally,
f (X) ≤ g(X) (∀ X ∈ Bn ) ⇐⇒ f (A) ≤ g(A) (∀ A ∈ {0, 1}n ) .
These two results are known as the Müller-Löwenheim verification theorem.
Q
Every Boolean function f : Bn −→ B reaches its minimum A∈{0,1}n f (A) and its
W
maximum A∈{0,1}n f (A); as a matter of fact, the range of f is the interval determined
by these values.
A Boolean equation ax ∨ bx0 = 0 is consistent if and only if ab = 0, or equivalently,
b ≤ a0 , in which case the solution set is the interval [b, a0 ] = {x ∈ B | b ≤ x ≤ a0 }.
The computation rules x ≤ y ⇐⇒ xy 0 = 0, x = y ⇐⇒ xy 0 ∨ x0 y = 0 and
W
xk = 0 (k = 1, . . . , m) ⇐⇒ m k=1 xk = 0 enable the reduction of every system of
Boolean equations and/or inequalities to a single equation of the form f (X) = 0,
where f is a Boolean function. To write down the consistency condition of such an
equation it is convenient to proceed by successive elimination of variables. The current
step of this process is the following. To eliminate a variable x write the equation in
the form αx ∨ βx0 ∨ γ = 0, where the Boolean functions α, β and γ do not depend
on x. Then the consistency condition of the equation f (X) = 0 is the same as the
consistency condition of the equation αβ ∨ γ = 0.

1. Positive Boolean functions


The definition of positive Boolean functions and of increasing or isotone Boolean
functions are the same as for truth functions. The equivalence of these properties can
be generalized to Boolean functions and refined as follows.
Theorem 1.1. The following properties are equivalent for a Boolean function
f : Bn −→ B:
(i) f |xi =0 ≤ f |xi =1 (i = 1, . . . , n);
(ii) X ≤ Y =⇒ f (X) ≤ f (Y ) (∀ X, Y ∈ Bn );
(iii) f (XY ) ≤ f (X) (∀ X, Y ∈ Bn );
(iv) f (X) ≤ f (X ∨ Y ) (∀ X, Y ∈ Bn );
180 SERGIU RUDEANU

(v) A ≤ B =⇒ f (A) ≤ f (B) (∀ A, B ∈ {0, 1}n );


(vi) f (AB) ≤ f (A) (∀ A, B, ∈ {0, 1}n );
(vii) f (A) ≤ f (A ∨ B) (∀ A, B ∈ {0, 1}n ).

Proof. The equivalences (ii)⇐⇒(iii)⇐⇒(iv) are valid in the more general case of a
function f : Ln −→ L where L is a lattice.
The equivalences (ii)⇐⇒(v), (iii)⇐⇒(vi) and (iv)⇐⇒(vii) are established by the
Müller-Löwenheim verification theorem.
(i)⇒(v): Suppose A, B ∈ {0, 1}n satisfy A ≤ B. If A = B then (v) is trivial. If
A < B then αi ≤ βi for all i ∈ {1, . . . , n} and there are some indices i for which
αi < βi . Let m be the number of those indices i for which αi = 0 and βi = 1; so
0 < m ≤ n. Let further
A = A0 < A1 < · · · < Am = B
be the sequence obtained from A by changing in turn the 0s of A into 1s. Then
f (A) = f (A0 ) ≤ f (A1 ) ≤ · · · ≤ f (Am ) = f (B).
(ii)⇒(i): Trivial. ¤

2. Linear Boolean functions


A truth function f is called linear if either it is the constant function 0 or it can be
written as a disjunctions of literals (that is, xi or x0i ). We generalize this definition to
Boolean functions as follows.

Definition 2.1. A linear Boolean function is a function f : Bn −→ B which can be


written in the form
n
_
(2.1) f (X) = (ci xi ∨ di x0i ) (∀ X ∈ Bn ),
i=1

where the constants ci and di are in B (i = 1, . . . , n).

So, the class of linear functions is indeed a subclass of the class of Boolean functions.
Note that the constant functions and the Boolean functions of one variable are linear.
The problem of characterizing linear Boolean functions is not trivial for n ≥ 2.

Lemma 2.1. Every linear Boolean function f : Bn −→ B satisfies the identity


(2.2) f (X) ∨ f (Y ) = f (XY ) ∨ f (X ∨ Y ) (∀ X, Y ∈ Bn ).

Proof. It follows from (2.1) that


n
_
f (X) ∨ f (Y ) = (ci (xi ∨ yi ) ∨ di (x0i ∨ yi0 )),
i=1
ON POSITIVE, LINEAR AND QUADRATIC BOOLEAN FUNCTIONS 181

n
_
f (XY ) ∨ f (X ∨ Y ) = (ci xi yi ∨ di (x0i ∨ yi0 ) ∨ ci (xi ∨ yi ) ∨ di x0i yi0 )
i=1
_n
= (ci (xi ∨ yi ) ∨ di (x0i ∨ yi0 )).
i=1
¤
To prove a partial converse of Lemma 2.1 we need two preliminaries.
Lemma 2.2. If a Boolean function f : Bn −→ B satisfies (2.2) then it satisfies also
(2.3) f (1, Y ) ∨ f (0, Z) = f (0, Y ) ∨ f (1, Z) (∀ Y, Z ∈ Bn−1 ),
or equivalently,
(2.3’) f (1, B) ∨ f (0, C) = f (0, B) ∨ f (1, C) (∀ B, C ∈ {0, 1}n−1 ).
Proof. It follows from (2.2) that each side of (2.3) equals f (0, Y Z) ∨ f (1, Y ∨ Z).
¤
A weaker property is the following:
Definition 2.2. A Boolean function f : Bn −→ B is linear in a variable xi if it can
be written in the form f (X) = axi ∨ bx0i ∨ g(Y ), where g : Bn−1 −→ B is a Boolean
function of the remaining variables.
Lemma 2.3. If a Boolean function f : Bn −→ B satisfies (2.2), then it is linear in
each variable.
Proof. Since condition (2.2) is invariant to any permutation of the variables, it suffices
to prove that f is linear in x1 . We will prove that condition (2.2) implies the existence
of some elements a, b ∈ B and of a Boolean function g : Bn−1 −→ B such that
(2.4) f (x, Y ) = ax ∨ bx0 ∨ g(Y ) (∀ x ∈ B, ∀ Y ∈ Bn−1 ).
Indeed, identity (2.4) is equivalent to the system
f (1, Y ) =a ∨ g(Y ) (∀ Y ∈ Bn−1 ),
f (0, Y ) =b ∨ g(Y ) (∀ Y ∈ Bn−1 ),
which is equivalent to the equation
f (1, Y )a0 g 0 (Y ) ∨ f 0 (1, Y )a ∨ f 0 (1, Y )g(Y )∨
∨f (0, Y )b0 g 0 (Y ) ∨ f 0 (0, Y )b ∨ f 0 (0, Y )g(Y ) = 0 (∀ Y ∈ Bn−1 ),
which in its turn is equivalent to the system
(2.5.1) f 0 (1, Y )a ∨ f (1, Y )g 0 (Y )a0 =0 (∀ Y ∈ Bn−1 )
(2.5.2) f 0 (0, Y )b ∨ f (0, Y )g 0 (Y )b0 =0 (∀ Y ∈ Bn−1 ),
(2.5.3) [f 0 (1, Y ) ∨ f 0 (0, Y )]g(Y ) =0 (∀ Y ∈ Bn−1 ).
182 SERGIU RUDEANU

Identity (2.5.1) holds if and only if the element a ∈ B satisfies


f (1, Y )g 0 (Y ) ≤ a ≤ f (1, Y ) (∀ Y ∈ Bn−1 ).
This happens if and only if
max[f (1, Y )g 0 (Y )] ≤ a ≤ min f (1, Y ),
Y Y

that is,

_ Y
(2.6.1) f (1, B)g 0 (B) ≤ a ≤ f (1, C),
B∈{0,1}n−1 C∈{0,1}n−1

and similarly, (2.5.2) is equivalent to


_ Y
(2.6.2) f (0, B)g 0 (B) ≤ b ≤ f (0, C).
B∈{0,1}n−1 C∈{0,1}n−1

Besides, the Müller-Löwenheim verification theorem shows that equation (2.5.3) is


equivalent to
_
(2.6.3) [f 0 (1, B) ∨ f 0 (0, B)]g(B) = 0.
B∈{0,1}n−1

Therefore, taking into account that a Boolean function g : Bn −→ B is determined


by the values g(B), B ∈ {0, 1}n , it follows that the function f is of the form (2.4) if
and only if the system (2.6) is consistent with respect to a, b and g(B), B ∈ {0, 1}n−1 .
The consistency condition of equations (2.6.1) can be written in the following
equivalent forms:
_ Y
f (1, B)g 0 (B) ≤ f (1, C),
B∈{0,1}n−1 C∈{0,1}n−1
 
_ _
 f 0 (1, C) f (1, B)g 0 (B) = 0,
C∈{0,1}n−1 B∈{0,1}n−1

 
_
(2.7.1)  f 0 (1, C) f (1, B)g 0 (B) = 0 (∀ B ∈ {0, 1}n−1 ).
C∈{0,1}n−1

Similarly, the consistency condition of (2.6.2) is


 
_
(2.7.2)  f 0 (0, C) f (0, B)g 0 (B) = 0 (∀ B ∈ {0, 1}n−1 ).
C∈{0,1}n−1

Equation (2.6.3) is consistent and the Boolean functions g : Bn−1 −→ B which


satisfy the equation are characterized by the condition
(2.7.3) [f 0 (1, B) ∨ f 0 (0, B)] g(B) = 0 (∀ B ∈ {0, 1}n−1 ).
ON POSITIVE, LINEAR AND QUADRATIC BOOLEAN FUNCTIONS 183

Summarizing, the function f is of the form (2.4) if and only if system (2.6) is
consistent, and this happens if and only if system (2.7) is consistent with respect to
the unknowns g(B).
System (2.7) can be written in the form
 
_ _
f (1, B) f 0 (1, C) ∨ f (0, B) f 0 (0, C) g 0 (B)∨
C∈{0,1}n−1 C∈{0,1}n−1

∨ [f 0 (1, B) ∨ f 0 (0, B)] g(B) = 0 (∀ B ∈ {0, 1}n−1 ),


so that its consistency condition is
 
_ _
[f 0 (1, B) ∨ f 0 (0, B)] f (1, B) f 0 (1, C) ∨ f (0, B) f 0 (0, C) = 0
C∈{0,1}n−1 C∈{0,1}n−1

(∀ B ∈ {0, 1}n−1 ),
which can be written in the equivalent forms
_
f 0 (1, B)f (0, B) f 0 (0, C)∨
C∈{0,1}n−1
_
∨f 0 (0, B)f (1, B) f 0 (1, C) = 0 (∀ B ∈ {0, 1}n−1 ),
C∈{0,1}n−1

f (0, B)f 0 (1, B)f 0 (0, C) = f (1, B)f 0 (0, B)f 0 (1, C) = 0 (∀ B, C ∈ {0, 1}n−1 ).
The latter condition is fulfilled by Lemma 2.2. ¤
Lemmas 2.1 and 2.3 can be joined as the main result of this section:
Theorem 2.1. Every linear Boolean function satisfies (2.2) and every Boolean func-
tion which satisfies (2.2) is linear in each variable.
Proposition 2.1. A Boolean function f : B2 −→ B is linear if and only if it satisfies
(2.2) with n = 2.
Proof. The “only if” part is valid for arbitrary n by Lemma 2.1. Conversely, if
f : B2 −→ B satisfies (2.2), then by Lemma 2.3 identity (2.4) holds, which becomes
f (x, y) = ax ∨ bx0 ∨ g(y); but g(y) = cy ∨ dy 0 . ¤

3. Quadratic Boolean functions


The starting point in defining and studying quadratic Boolean functions is the
trivial remark that the truth functions of two variables (in particular those of one
variable) are quadratic. Therefore the following definition is natural.
Definition 3.1. A quadratic Boolean function is a function f : Bn −→ B which can
be written in the form
n _
_ n
(3.1) f (X) = fij (xi , xj ) (∀ X ∈ Bn ),
i=1 j=i
184 SERGIU RUDEANU

where fij are Boolean functions.


W
In particular the expansion (3.1) includes ni=1 fii (xi , xi ), which is a linear Boolean
function; this also shows that every linear Boolean function is quadratic. Note that
every Boolean function of zero, one or two variables is quadratic. The problem of
characterizing quadratic Boolean functions is not trivial for n ≥ 3.
Proposition 3.1. Every quadratic Boolean function f : Bn −→ B satisfies the iden-
tity
(3.2) f (XY ∨ XZ ∨ Y Z) ≤ f (X) ∨ f (Y ) ∨ f (Z) (∀ X, Y, Z ∈ Bn ).
Proof. Since the components of the vector XY ∨ XZ ∨ Y Z are xi yi ∨ xi zi ∨ yi zi , it
suffices to prove that the functions fij in (3.1) satisfy
fij (xi yi ∨ xi zi ∨ yi zi , xj yj ∨ xj zj ∨ yj zj ) ≤ fij (xi , xj ) ∨ fij (yi , yj ) ∨ fij (zi , zj ).
Indeed, the functions fij are of the form
fij (xi , xj ) = aij xi xj ∨ bij xi x0j ∨ cij x0i xj ∨ dij x0i x0j ,
therefore, taking into account that (a ∨ b)(a ∨ c)(b ∨ c) = (a ∨ bc)(b ∨ c) = ab ∨ ac ∨ bc,
we have
fij (xi yi ∨ xi zi ∨ yi zi , xj yj ∨ xj zj ∨ yj zj ) =
=aij (xi yi ∨ xi zi ∨ yi zi )(xj yj ∨ xj zj ∨ yj zj )∨
∨bij (xi yi ∨ xi zi ∨ yi zi )(x0j ∨ yj0 )(x0j ∨ zj0 )(yj0 ∨ zj0 )∨
∨cij (x0i ∨ yi0 )(x0i ∨ zi0 )(yi0 ∨ zi0 )(xj yj ∨ xj zj ∨ yj zj )∨
∨dij (x0i ∨ yi0 )(x0i ∨ zi0 )(yi0 ∨ zi0 )(x0j ∨ yj0 )(x0j ∨ zj0 )(yj0 ∨ zj0 ) =
=aij (xi yi ∨ xi zi ∨ yi zi )(xj yj ∨ xj zj ∨ yj zj )∨
∨bij (xi yi ∨ xi zi ∨ yi zi )(x0j yj0 ∨ x0j zj0 ∨ yj0 zj0 )∨
∨cij (x0i yi0 ∨ x0i zi0 ∨ yi0 zi0 )(xj yj ∨ xj zj ∨ yj zj )∨
∨dij (x0i yi0 ∨ x0i zi0 ∨ yi0 zi0 )(x0j yj0 ∨ yj0 zj0 ∨ yj0 zj0 ),
while
fij (xi , xj ) ∨ fij (yi , yj ) ∨ fij (zi , zj ) =
=aij (xi xj ∨ yi yj ∨ zi zj ) ∨ bij (xi x0j ∨ yi yj0 ∨ zi zj0 )∨
∨cij (x0i xj ∨ yi0 yj ∨ zi0 zj ) ∨ dij (x0i x0j ∨ yi0 yj0 ∨ zi0 zj0 ).
Now it suffices to prove four inequalities ≤, that is between the coefficients of
aij , bij cij and dij , respectively. Indeed, first an easy factorization shows that
(xi yi ∨ xi zi ∨ yi zi )(xj yj ∨ xj zj ∨ yj zj ) ≤ xi xj ∨ yi yj ∨ zi zj ,
so that we have obtained the desired inequalities between the coefficients of aij and
similar inequalities hold between the coefficients of bij , of cij , and of dij . ¤
ON POSITIVE, LINEAR AND QUADRATIC BOOLEAN FUNCTIONS 185

Proposition 3.2. A Boolean function f : B3 −→ B is quadratic if and only if it


satisfies (3.2) with n = 3.
Proof. The “only if” part is valid for arbitrary n by Proposition 3.1. Conversely, we
suppose that a Boolean function f : B3 −→ B satisfies (3.2) and we will prove that f
can be written in the form
f (x, y, z) =axy ∨ bxy 0 ∨ cx0 y ∨ dx0 y 0 ∨
(3.3) ∨hxz ∨ ixz 0 ∨ jx0 z ∨ kx0 z 0 ∨ myz ∨ nyz 0 ∨ py 0 z ∨ qy 0 z 0 .
Setting f (α, β, γ) = fαβγ , identity (3.3) is equivalent to the following system of
equations:
(3.4.0) f000 = d ∨ k ∨ q,
(3.4.1) f001 = d ∨ j ∨ p,
(3.4.2) f010 = c ∨ k ∨ n,
(3.4.3) f011 = c ∨ j ∨ m,
(3.4.4) f100 = b ∨ i ∨ q,
(3.4.5) f101 = b ∨ h ∨ p,
(3.4.6) f110 = a ∨ i ∨ n,
(3.4.7) f111 = a ∨ h ∨ m.
Our task is to prove that condition (3.2) implies the consistency of system (3.4)
with respect to the unknowns a, . . . , q. We obtain the consistency condition of (3.4)
by successive elimination of variables.
Equations (3.4.7) and (3.4.6) can be joined into the single equation
0 0
f111 a ∨ f111 (h ∨ m) ∨ f111 a0 h0 m0 ∨ f110
0 0
a ∨ f110 (i ∨ n) ∨ f110 a0 i0 n0 = 0,
which can be rewritten as
0 0
(f111 ∨ f110 )a ∨ (f111 h0 m0 ∨ f110 i0 n0 )a0 ∨ f111
0 0
(h ∨ m) ∨ f110 (i ∨ n) = 0,
which is of the form αa ∨ βa0 ∨ γ = 0, and since
0 0
αβ = (f111 ∨ f110 )(f111 h0 m0 ∨ f110 i0 n0 ) = f111
0
f110 i0 n0 ∨ f110
0
f111 h0 m0 ,
the result γ ∨ αβ = 0 of the elimination of a is
0 0 0 0 0
(3.5.1) f111 h ∨ f111 m ∨ f110 i ∨ f110 n ∨ f111 f110 i0 n0 ∨ f110
0
f111 h0 m0 = 0.
In the same way we eliminate b from (3.4.5) and (3.4.4), c from (3.4.3) and (3.4.2), d
from (3.4.1) and (3.4.0), and we obtain
0 0 0 0 0
(3.5.2) f101 h ∨ f101 p ∨ f100 i ∨ f100 q ∨ f101 f100 i0 q 0 ∨ f100
0
f101 h0 p0 = 0,
0 0 0 0 0
(3.5.3) f011 j ∨ f011 m ∨ f010 k ∨ f010 n ∨ f011 f010 k 0 n0 ∨ f010
0
f011 j 0 m0 = 0,
0 0 0 0 0
(3.5.4) f001 j ∨ f001 p ∨ f000 k ∨ f000 q ∨ f001 f000 k 0 q 0 ∨ f000
0
f001 j 0 p0 = 0.
186 SERGIU RUDEANU

We rewrite system (3.5) in the following form:


0 0 0 0 0 0 0 0
(3.6.0) (f111 ∨ f011 )m ∨ (f110 ∨ f010 )n ∨ (f101 ∨ f001 )p ∨ (f100 ∨ f000 )q = 0,
0 0 0
(3.6.1) (f111 ∨ f101 )h ∨ (f110 f111 m0 ∨ f100
0
f101 p0 )h0 = 0,
0 0 0
(3.6.2) (f110 ∨ f100 )i ∨ (f111 f110 n0 ∨ f101
0
f100 q 0 )i0 = 0,
0 0 0
(3.6.3) (f011 ∨ f001 )j ∨ (f010 f011 m0 ∨ f000
0
f001 p0 )j 0 = 0,
0 0 0
(3.6.4) (f010 ∨ f000 )k ∨ (f011 f010 n0 ∨ f001
0
f000 q 0 )k 0 = 0.
By eliminating h, i, j, k from (3.6.1)–(3.6.4) we obtain
0 0
(3.7.1) f111 f100 f101 p0 ∨ f101
0 0
f110 f111 m0 = 0,
0 0
(3.7.2) f110 f101 f100 q 0 ∨ f100
0 0
f111 f110 n0 = 0,
0 0
(3.7.3) f011 f000 f001 p0 ∨ f001
0 0
f010 f011 m0 = 0,
0 0
(3.7.4) f010 f001 f000 q 0 ∨ f000
0 0
f011 f010 n0 = 0.
We rewrite the system consisting of (3.6.0) and the four equations (3.7) in the form
0 0 0 0 0 0
(3.8.1) (f111 ∨ f011 )m ∨ (f101 f110 f111 ∨ f001 f010 f011 )m0 = 0,
0 0 0 0 0 0
(3.8.2) (f110 ∨ f010 )n ∨ (f100 f111 f110 ∨ f000 f011 f010 )n0 = 0,
0 0 0 0 0 0
(3.8.3) (f101 ∨ f001 )p ∨ (f111 f100 f101 ∨ f011 f000 f001 )p0 = 0,
0 0 0 0 0 0
(3.8.4) (f100 ∨ f000 )q ∨ (f110 f101 f100 ∨ f010 f001 f000 )q 0 = 0.
The elimination of m, n, p, q yields
0 0 0 0 0 0 0 0 0 0 0 0
f111 f001 f010 f011 ∨ f011 f101 f110 f111 ∨ f110 f000 f011 f010 ∨ f010 f100 f111 f110 ∨
0 0 0 0 0 0 0 0 0 0 0 0
(3.9) ∨ f101 f011 f000 f001 ∨ f001 f111 f100 f101 ∨ f100 f010 f001 f000 ∨ f000 f110 f101 f100 = 0.
We have thus proved that (3.9) is the consistency condition of system (3.4). But
equation (3.9) consists in fact of 8 conditions of the form
(3.10) fα0 1 β1 γ1 fα0 2 β2 γ2 fα0 3 β3 γ3 fαβγ = 0.
It is easy to check that in each case we have
(α1 , β1 , γ1 )(α2 , β2 , γ2 ) ∨ (α1 , β1 , γ1 )(α3 , β3 , γ3 ) ∨ (α2 , β2 , γ2 )(α3 , β3 , γ3 ) = (α, β, γ).
Therefore (3.2) implies
f (α, β, γ) ≤ f (α1 , β1 , γ1 ) ∨ f (α2 , β2 , γ2 ) ∨ f (α3 , β3 , γ3 )
and each condition (3.10) is fulfilled. ¤

4. Open questions
1. For n ≥ 3, is it true that a Boolean function linear in each variable is linear?
2. What more can be said about the converse of Proposition 3.1?

Acknowledgement: I thank Silvana Marinković and Dragić Banković for their


helpful remarks.
ON POSITIVE, LINEAR AND QUADRATIC BOOLEAN FUNCTIONS 187

References
[1] O. Ekin, S. Foldes, P.L. Hammer, L. Hellerstein, Equational characterizations of Boolean func-
tion classes. Discrete Math. 211 (2000), 27–51.
[2] L. Hellerstein, Characterizations of special classes by functional equations. Chapter 11 in [3].
[3] Y. Crama, P.L. Hammer, Boolean Functions: Theory, Algorithms and Applications. Cambridge
Univ. Press, New York 2011.
[4] Y. Crama, P.L. Hammer, (eds), Boolean Models and Methods in Mathematics, Computer Sci-
ence and Engineering. Cambridge Univ. Press, New York 2010.
[5] S. Rudeanu, Boolean Functions and Equations. North-Holland, Amsterdam/American Elsevier,
New York 1974.
[6] S. Rudeanu, Lattice Functions and Equations. Springer-Verlag, London 2001.

University of Bucharest,
Faculty of Mathematics and Informatics,
Romania
E-mail address: [email protected]

You might also like