Put A={yes,no}. A function f:An→A is called a decision function if
(a) the value of the function changes if we change all of its arguments; and
(b) the values does not change if we replace any of the arguments by the function value.
A function d:An→A is called a dictatoric function, if there is an index i such that the value of the function equals its ith argument.
The democratic function is the function m:A3→A that outputs the majority of its arguments.
Prove that any decision function is a composition of dictatoric and democratic functions. college contestsMiklos SchweitzerfunctionBoolean function