Exactly-N: a number-on-forehead lower bound from the corners theorem #
In the three-player Exactly-N problem, player i has a number x i ∈ {0, …, N} on their
forehead and the players must decide whether x 0 + x 1 + x 2 = N (NOF.exactlyN). Each player
sees the two numbers on the other foreheads, which determine theirs if the answer is yes. Even so,
Chandra, Furst and Lipton [CFL83] showed that the deterministic
number-on-forehead communication complexity of Exactly-N tends to infinity with N. We prove this
via the corners theorem, following the presentation in [RY20], Chapter 4
("Numbers on Foreheads").
The argument: put the point (a, b) with a + b ≤ N on the yes-input (a, b, N - a - b)
(NOF.ExactlyN.cornerPoint). If three yes-inputs (x₁, y₁), (x₁, y₂), (x₂, y₁) with
x₁ + y₂ = x₂ + y₁ reach the same leaf, then each of them looks, to one player, like the input
(x₁, y₁, N - x₂ - y₁). By the star lemma (NOF.Protocol.leaf_eq_of_view_eq) that input reaches
the same leaf, so it is a yes-input too, and x₁ = x₂. In other words the yes-inputs at every
leaf form a corner-free set (NOF.ExactlyN.isCornerFree_leaf). A protocol with c bits has at
most 2 ^ c leaves, so some leaf holds a 2 ^ (-c) fraction of the points of a grid. Mathlib's
corners theorem (corners_theorem_nat) rules this out once the grid is large.
The quantitative content is exactly that of the corners theorem. Mathlib's bound
cornersTheoremBound comes from the triangle removal lemma, via Szemerédi regularity, and is of
tower type in 2 ^ c, so the resulting lower bound grows extremely slowly in N. Stronger
quantitative bounds for corner-free sets would give stronger lower bounds through the same
argument; Mathlib does not have them.
Main definitions #
Cslib.Communication.NOF.exactlyN: the three-player Exactly-N function.Cslib.Communication.NOF.ExactlyN.cornerPoint: the yes-input(a, b, N - a - b).
Main results #
Cslib.Communication.NOF.ExactlyN.isCornerFree_leaf: the yes-inputs at each leaf of a protocol computing Exactly-N form a corner-free set.Cslib.Communication.NOF.ExactlyN.lt_depth: ifcornersTheoremBound (2 ^ (-c) / 9)is at mostN / 2 + 1, then every protocol computing Exactly-N writes more thancbits.Cslib.Communication.NOF.ExactlyN.lt_ecomplexityFun: the same bound for the communication complexity.Cslib.Communication.NOF.ExactlyN.tendsto_ecomplexityFun: the communication complexity of Exactly-N tends to infinity.Cslib.Communication.NOF.ExactlyN.ecomplexityFun_le: the trivial upper boundN + 1.
Scope #
Three players and deterministic protocols only. The converse (Exactly-N protocols from corner-free
colorings) and the general k-player version are not formalized.
References #
The yes-inputs at a leaf are corner-free. For a protocol computing Exactly-N, the points
(a, b) with a + b ≤ N whose yes-input (a, b, N - a - b) reaches a given leaf form a
corner-free set.
Exactly-N needs many bits (protocol form). If cornersTheoremBound (2 ^ (-c) / 9) is at
most N / 2 + 1, then every protocol computing Exactly-N has depth more than c.
Exactly-N needs many bits [CFL83]. If
cornersTheoremBound (2 ^ (-c) / 9) is at most N / 2 + 1, then the number-on-forehead
communication complexity of Exactly-N is more than c.
The communication complexity of Exactly-N tends to infinity [CFL83].
The trivial upper bound: player 1 writes the number on player 0's forehead in unary
(N bits), after which player 0 announces the answer.