Put . A function 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 is called a dictatoric function, if there is an index such that the value of the function equals its th argument.
The democratic function is the function that outputs the majority of its arguments.
Prove that any decision function is a composition of dictatoric and democratic functions.
Problem 1714
Official solution
To prove that any decision function can be represented as a composition of dictatoric and democratic functions, we will proceed through the following steps:
1. **Define the sets and :**
- if changes its value when changes its value.
- if does not change its value when changes its value.
2. **Properties of over and :**
- For any , and . Thus, .
- If , then . Similarly, if , then .
3. **Case when :**
- If , then , which means is a dictatoric function.
4. **Case when :**
- Define over as for .
- Note that is a decision function over .
5. **Constructing a decision function over :**
- Define as:
- Verify that is a decision function:
- For part (a), since and are closed under negation, changes its value if all arguments are negated.
- For part (b), consider the two cases:
1. If , then substituting any coordinate of with does not leave , so remains unchanged.
2. If , substituting any coordinate of with either keeps in or moves it to , in both cases remains unchanged.
6. **Constructing the final decision function :**
- Define for as the corresponding sewing of over and over .
- The final function can be represented as:
where is taken times as an argument.
7. **Reduction of to compositions of :**
- For example:
where is either or depending on the parity of .
By following these steps, we have shown that any decision function can be represented as a composition of dictatoric and democratic functions.