How to find total number of boolean functions of the equation :
$F(x,y,z) = F(x',y,z') + F(x,y',z)$
Is there any procedure for this ?
How to find total number of boolean functions of the equation :
$F(x,y,z) = F(x',y,z') + F(x,y',z)$
Is there any procedure for this ?
Copyright © 2021 JogjaFile Inc.
A function with three variables is described in a truth-table with eight (2*2*2) rows:
As any value in the output column can be either
0or1, disregarding the equation constraint, the total number of different Boolean functions with three input variables is2^(2*2*2) = 2^8 = 256The given equation translates to a set of equations (+ = or):
Each of the eight equations has one other equation with the same right-hand-side. This leads to:
Inserted in the set of equations:
There are four solutions for
(f0; f1): (0; 0), (0; 1), (1; 0)and(1; 1)Translated back - as an example - to the original truth-table for
(f0=1; f1=0):Two of these are trivial constant functions: always
0, or always1Alternative approach using the MiniZinc constraint solver:
MiniZinc comes up with four solutions as expected: