MathDB
Miklós Schweitzer 2002, Problem 3

Source: Miklós Schweitzer 2002

July 30, 2016
college contestsMiklos SchweitzerfunctionBoolean function

Problem Statement

Put A={yes,no}\mathbb{A}=\{ \mathrm{yes}, \mathrm{no} \}. A function f ⁣:AnAf\colon \mathbb{A}^n\rightarrow \mathbb{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 ⁣:AnAd\colon \mathbb{A}^n \rightarrow \mathbb{A} is called a dictatoric function, if there is an index ii such that the value of the function equals its iith argument. The democratic function is the function m ⁣:A3Am\colon \mathbb{A}^3 \rightarrow \mathbb{A} that outputs the majority of its arguments. Prove that any decision function is a composition of dictatoric and democratic functions.