The maximum number of relevant variables of a degree-3 Boolean function is
Let be the largest number of variables a Boolean function of Fourier degree can depend on. Nisan and Szegedy (1994) give and Chiarelli, Hatami and Saks (2020) give ; for this reads , and the exact value was listed as unknown (Tao's optimisation-problems page, entry 44a). Determine .
- Result
- Proved(see note)
- Status
- Resolved
- AI contribution
- AI-discovered
- Method
- Argument
- Field
- Analysis of Boolean functions: Fourier degree, juntas, relevant variables
- Posed by
- Nobody by name. Nisan-Szegedy (1994) and Chiarelli-Hatami-Saks (2020) bracket $R_3$ in $[10, 12]$ as a byproduct of two theorems; Tao's optimisation list entry 44a defines $R_d$ but asks for $C_{44}$
- Year posed
- 1994
- Years open
- 32y
- Solved
- 2026-09-13
- Model
- Claude Fable 5.1; Claude Opus 5; Claude Sonnet 5
- Vendor
- Anthropic
- Collaborators
- Andrew Moffat
- Verification
- Lean-checked, statement unaudited
- Publication
- Announced
- Significance
- 12 / 100
- Disclosed cost
- —
- Wikipedia
- No dedicated article
What was actually shown
: no Boolean function of Fourier degree 3 depends on 11 or 12 variables, and the Chiarelli-Hatami-Saks function attains 10. Uniqueness up to symmetry of the extremal function is observed by exhaustive search, not proved. The same paper's general theorem, that the Nisan-Szegedy bound is never attained for , was submitted separately and declined: Wellens's 2019 Table 2 already gives and keeps beating Nisan-Szegedy above that, so non-attainment was known for every , is this entry, and the new cases are to .
What the AI did
Found and wrote the proof: the discrete derivative of a degree-3 Boolean function in any variable is a -valued degree-2 polynomial whose monomials have empty symmetric difference, so vertex links are 4-cycles and the term hypergraph is rigid; a case analysis on the slack rules out 11 and 12 variables. Independent AI instances refereed the proof adversarially over four rounds (two real gaps found and fixed), wrote an exhaustive canonical search of the equivalent finite problem (0 solutions at ; exactly the CHS function at ), and formalised the whole finite statement in Lean 4, where the hardest case was machine-checked by a route simpler than the original topological one. The human author directed the campaign and takes responsibility for the write-up.
Verification
Statement.lean was read at commit eb50c0a on 15 September 2026. is the standard finite encoding: a degree-3 Boolean function has Fourier coefficients in (granularity ), so is integral and supported on ; Parseval gives (i); is the convolution identity for nonempty (ii); relevance is (iii). So and , both kernel-checked with axioms exactly propext, Classical.choice, Quot.sound, no sorry, no native_decide, rule out 11 and 12 relevant variables, and the Chiarelli-Hatami-Saks function gives 10. That reduction is a paper argument, not Lean, and this is the first outside reading of it, hence lean-checked as submitted. CI (lean and verify workflows) green on GitHub at eb50c0a, which is the commit v1.0 points at. Not established: anything about or . Announcement reflects repository-only publication; arXiv endorsement pending.
Sources
Submitted by CobaltPanther851 on
Prior-art notice from the submitter: R3=10 was proved in 2000, and we missed it.
Tarannikov and Kirienko, "Spectral analysis of high order correlation immune functions", IACR ePrint 2000/050 (https://eprint.iacr.org/2000/050), Theorem 11: p(4)=10. Here p(k) is the least integer such that every (n−k)-resilient Boolean function depends nonlinearly on at most p(k) variables.
Why this is R3: put f′=f⋅χ[n], so f′(S)=f([n]∖S). By Xiao–Massey, degf≤d iff f′ is (n−d−1)-resilient, and xi is irrelevant for f iff f′ depends linearly on xi. Hence Rd=p(d+1), and R3=p(4)=10.
This translation is Lemma 1 of Krotov–Valyuzhenich, Discrete Math. 347 (2024) 114138 (arXiv:2311.05566). They state it in degree language: a Boolean function of degree at most 3 "cannot have more than 10 essential arguments". They also refer to "the unique such function with 10 essential arguments", so the uniqueness we observed by search is recorded there too.
The same literature has two more relevant results. Tarannikov–Korolev–Botev (ASIACRYPT 2001, LNCS 2248, Theorem 6) prove p(k)≤(k−1)2k−2, which is Nisan–Szegedy in resilient form. They also give the 3⋅2k−2−2 construction, earlier than CHS.
Consequences:
1. This entry settles a question already settled in 2000. What the campaign adds is an independent Fourier-analytic proof whose finite core is Lean-checked. Please re-tier or re-status the entry as you see fit. We would describe it as a new proof of a known result, not a resolution.
2. The problem statement's premise that "the exact value was listed as unknown (Tao's optimisation-problems page, entry 44a)" is wrong. The 44a page, including its source history since February 2026, never mentions R3. The error was ours.
3. For the declined companion entry: since d=3 is also prior art, non-attainment of Nisan–Szegedy is new only for 4≤d≤7.
We have flagged the prior art on Tao's list: https://github.com/teorth/optimizationproblems/issues/190. The paper, README and result notes have been corrected to credit Tarannikov–Kirienko and to state novelty as 4≤d≤7 plus the structural lemma. The corrected version will appear in the repository with its next push; the v1.0 release still has the old text. Thank you for the Wellens catch, which led us to find this.