Boolean Functions with a Large Number of Subfunctions and Small Complexity and Depth

If f(x1,...,xn) is a Boolean function on the variables x1,...,xn then f(*1,...,*n) where *i ∈ {0, 1, xi}, i = 1,...,n, is called subfunction of f. The number of subfunctions of f is at most 3n. Intuition suggests that a Boolean function with a large number of subfunctions has a large (combinatorial) complexity and a large depth. We show that this intuition is wrong. There exist Boolean functions with about 3n subfunctions (i. e. about the maximal number of subfunctions) and with a very small complexity and depth (about 2n and log2n, respectively).