Given any random boolean function, is their any step wise procedure to find out whether it is functionally complete?
The simplest approach I came across is this:
- We need to find whether given boolean function can derive operators either in the set $\{\neg,\vee\}$ or in the set $\{\neg,\wedge\}$.
Finding whether given boolean functon can derive $\neg$ is quite easy. It involves putting single variable for all input variables and checking whether it results in $\neg$.
For example, if $f(A,B,C)=A'+BC'$.
Then $f(A,A,A)=A'+AA'=A'+0=A'$However I dont know how can we systematically determine if given function can emulate AND ($\vee$) or OR ($\wedge$) operators. Is their any concrete procedure to determine the same or we have to take help of intuition?
Or is their any known fundamentally different approach apart from the one specified in steps 1 to 3?
The section you link to tells you. All the properties that identify the five clones of Post's lattice are mechanically checkable. You can simply provide all possible inputs to your operator (i.e. build the truth table) and check that all of the properties do not hold, in which case the operator is functionally complete. You can, of course, be a lot smarter than that.
It is not hard to write a program that checks each of these properties. Indeed, here's a Haskell program that does just that though it could definitely be made smarter.
The output with $n=2$ is
which indicates that there are two complete binary functions. One that is true only on input
(False, False)i.e. the NOR function, and one that is false only on input(True, True), i.e. the NAND function.