Nisan--Szegedy: a Boolean-valued degree- function is a -junta
ProvedAaronsonAmbainis.nisan_szegedy_relevant_card_le_of_boolean_valuedCall a coordinate relevant for when , that is, when flipping the -th bit changes the value of somewhere on the cube. The Nisan--Szegedy theorem bounds the number of relevant coordinates of a Boolean-valued function by a quantity depending on its degree alone, with no reference to the number of variables :
for every of degree at most taking only the values and on . Equivalently, such a depends on at most of its variables -- it is a -junta.
This is the result that settles the Aaronson--Ambainis conjecture for Boolean-valued functions: a function with boundedly many relevant coordinates must have a coordinate carrying a constant fraction of its variance. The conjecture's difficulty is that the junta conclusion fails once the range is relaxed from to the interval , where a low-degree function may depend on all variables.
The bound cannot be improved substantially; the source records a matching example.
Formalization Note The source works with -valued functions on , whereas the hypothesis here is that takes only the values and at cube points. The two are related by , which is -valued, has the same degree as , and satisfies in the normalisation used here. O'Donnell's total influence is one quarter of , hence equal to ; and exactly when , so the set of relevant coordinates is the same for both. The degree hypothesis is on totalDegree, the syntactic degree of the representative, which bounds the multilinear degree from above -- the safe direction here.
import Definitions.Def_AaronsonAmbainis
namespace AaronsonAmbainis
theorem nisan_szegedy_relevant_card_le_of_boolean_valued
(N k : ℕ) (p : MvPolynomial (Fin N) ℝ)
(hdeg : p.totalDegree ≤ k)
(hbool : ∀ x : Fin N → Bool, cubeEval p x = 0 ∨ cubeEval p x = 1) :
(Finset.univ.filter (fun i : Fin N => 0 < cubeInfl p i)).card ≤ k * 2 ^ (k - 1) := by sorry
end AaronsonAmbainisRead-back
What the Lean code literally says, in plain math · claude-opus-5
Read-back — AaronsonAmbainis.nisan_szegedy_relevant_card_le_of_boolean_valued
Setting and notation. Fix natural numbers and (both universally quantified, with no positivity or nondegeneracy constraints whatsoever), and let be a polynomial in commuting indeterminates with real coefficients.
Boolean points are functions , of which there are . Each such is turned into a real point by the coordinatewise map if and otherwise, and evaluation is . So the cube used is (the cube, not the cube).
Averaging over the cube is , the sum ranging over all Boolean points. For a coordinate , denotes with its -th bit negated. The influence of coordinate on is
This is the average of a squared difference over all points (so every edge of the cube is counted twice, once from each endpoint), with no extra factor of or .
Hypotheses.
-
, where is the total degree of the formal polynomial — the maximum, over monomials with nonzero coefficient, of the sum of the exponents. This is a property of the given algebraic representative, not of the induced function on the cube: is identically on the cube but has total degree , so the hypothesis would require for it. By convention the zero polynomial has total degree .
-
For every Boolean point , or . This is a pointwise exact two-valued condition at all cube points — not "bounded in ", not "approximately Boolean", not "Boolean on some subset". Equivalently, restricted to the cube is the indicator function of some subset. The hypothesis is satisfiable (e.g. , or ), so the statement is not vacuous.
Conclusion. Let be the set of coordinates of strictly positive influence. Because is an average of squares, holds exactly when there is at least one Boolean point with . So the filtered cardinality counts the coordinates on which the induced cube function genuinely depends — a count of relevant variables, with no weighting by influence magnitude and no threshold other than "nonzero". The assertion is
an inequality between natural numbers, where is truncated natural-number subtraction.
Points a reader might not expect.
- Natural subtraction at . For the exponent is rather than , so the right-hand side is , not . The value is either way because of the leading factor , so the truncation does not inflate the bound; but the claim at is the sharp assertion that no coordinate has positive influence. For the bound is , for it is , for it is .
- No dependence on . The right-hand side involves only ; the conclusion is uniform in the number of variables.
- Degenerate parameters silently admitted. is allowed: then there is exactly one Boolean point, the index set is empty, and the left-hand side is . may be arbitrarily large, and need not be the actual total degree of — it is only an upper bound, so the conclusion weakens as grows. There is no requirement that depend on any of its variables, that be multilinear, or that both values and actually occur.
- Cardinality vs. total influence. The bound is on the number of coordinates with nonzero influence, not on or on any degree/variance quantity.
Unused definition in the bundle. The imported definitions also provide the cube variance , which does not appear anywhere in this theorem's statement.
Confirmed by the mission captain (proposal self-audit).