Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Ben Green's Open Problem 84 · variants.ultraflat_mod

Source:Ben Green's 100 open problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

[Gr24]: "I am not sure if it known whether or not there exists, for infinitely many qq, a subset A⊂Z/qZA \subset \mathbb{Z}/q\mathbb{Z} of size ∼q1/3\sim q^{1/3}, all of whose nontrivial Fourier coefficients have size O(q1/6)O(q^{1/6})."

We read ∼\sim as asymptotic equality, ∣Aq∣/q1/3→1|A_q| / q^{1/3} \to 1 as q→∞q \to \infty in an infinite set QQ, and the O(q1/6)O(q^{1/6}) bound as uniform in q∈Qq \in Q. [Gr24] notes that O(q1/6log⁡q)O(q^{1/6} \log q) follows easily from a random construction.

Subjects:Combinatorics (math.CO); Number Theory (math.NT); Classical Analysis and ODEs (math.CA)
MSC classes:05, 11, 42
Tags:question
Cite as:NS.04226 [math.CO] · NS.04226v1 for this version
Declaration:Green84.green_84.variants.ultraflat_mod
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100; accepted critique: up to 100
Statement hash:8d295ebd50e6006c016850da17e59ac48de30c249f47d284ab55b1a41d5db5c2
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/GreensOpenProblems/84.lean

Formal statement

theorem green_84.variants.ultraflat_mod :
    ∃ Q : Set ℕ, Q.Infinite ∧ ∃ C : ℝ, ∃ A : (q : ℕ) → Finset (ZMod q),
      Tendsto (fun q ↦ (#(A q) : ℝ) / (q : ℝ) ^ ((1 : ℝ) / 3))
        (atTop ⊓ Filter.principal Q) (𝓝 1) ∧
      ∀ q ∈ Q, ∀ r : ZMod q, r ≠ 0 → ‖fourierMod (A q) r‖ ≤ C * (q : ℝ) ^ ((1 : ℝ) / 6)
Show the full Challenge.lean (158 lines) — definitions included
module

public import FormalConjecturesUtil
public import FormalConjectures.ErdosProblems.«228»

/-!
# Ben Green's Open Problem 84

Erdős's two-sided version of this question, $\sqrt{N} \ll |P(z)| \ll \sqrt{N}$ on the unit
circle, is `Erdos228.erdos_228` in `FormalConjectures.ErdosProblems.«228»`.

*References:*
- [Gr24] [Green, Ben. "100 open problems." (2024).](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.84)
- [BBMST20] Balister, P., Bollobás, B., Morris, R., Sahasrabudhe, J. and Tiba, M., *Flat
  Littlewood polynomials exist*. Ann. of Math. (2) 192 (2020), 977--1004.
  [arXiv:1907.09464](https://arxiv.org/abs/1907.09464)
- [JKS13] Jedwab, J., Katz, D. J. and Schmidt, K.-U., *Advances in the merit factor problem for
  binary sequences*. J. Combin. Theory Ser. A 120 (2013), 882--906.
  [arXiv:1205.0626](https://arxiv.org/abs/1205.0626)
- [OAI26a] OpenAI, *Asymptotically minimal maxima of real Littlewood polynomials*. OpenAI Math
  Release preprint (2026).
  https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Asymptotically-minimal-maxima-of-real-Littlewood-polynomials-September-23-2026/paper.pdf
-/

@[expose] public section

open Filter
open scoped ExponentialSum Finset Topology

namespace Green84

/-- `IsSignOn N f` says that $f$ takes only the values $\pm 1$ on $[N] = \{1, \dots, N\}$. -/
def IsSignOn (N : ℕ) (f : ℕ → ℤ) : Prop :=
  ∀ n ∈ Finset.Icc 1 N, f n = 1 ∨ f n = -1

/--
`fourierSum N f θ` is $\hat f(\theta) = \sum_{n=1}^{N} f(n) e(n\theta)$, with
$e(x) = e^{2\pi i x}$, the Fourier transform of the restriction of $f$ to $[N]$.
-/
noncomputable def fourierSum (N : ℕ) (f : ℕ → ℤ) (θ : ℝ) : ℂ :=
  ∑ n ∈ Finset.Icc 1 N, (f n : ℂ) * e (n * θ)

/-- `signPoly ε z` is $P(z) = \sum_{k=0}^{n} \varepsilon_k z^k$, for `ε : Fin (n + 1) → ℤ`. -/
noncomputable def signPoly {n : ℕ} (ε : Fin (n + 1) → ℤ) (z : ℂ) : ℂ :=
  ∑ k : Fin (n + 1), (ε k : ℂ) * z ^ (k : ℕ)

/--
`fourierMod A r` is the Fourier coefficient $\sum_{a \in A} e(ar/q)$ of a set
$A \subset \mathbb{Z}/q\mathbb{Z}$ at $r \in \mathbb{Z}/q\mathbb{Z}$. The product $ar$ is
represented by its value in $\{0, \dots, q - 1\}$.
-/
noncomputable def fourierMod {q : ℕ} (A : Finset (ZMod q)) (r : ZMod q) : ℂ :=
  ∑ a ∈ A, e (((a * r).val : ℝ) / q)

/--
Is there a function $f : \{1, \dots, N\} \to \{-1, 1\}$ with $|\hat{f}(\theta)| \geq c\sqrt{N}$
for all $\theta$?

We read this as: is there an absolute constant $c > 0$ such that such an $f$ exists for all
sufficiently large $N$? It cannot hold for all $N$: for $N = 2$,
$\hat f(\theta) = e(\theta)(f(1) + f(2)e(\theta))$ vanishes for some $\theta$. The answer is yes
[BBMST20], see `green_84.variants.bbmst`.
-/
@[category research solved, question, AMS 5 42]
theorem green_84 :
    ∃ c : ℝ, 0 < c ∧ ∀ᶠ N in atTop, ∃ f : ℕ → ℤ, IsSignOn N f ∧
      ∀ θ : ℝ, c * √N ≤ ‖fourierSum N f θ‖ := by
  sorry

/--
**Flat Littlewood polynomials exist.** There are constants $\Delta > \delta > 0$ such that, for
all $n \ge 2$, there is a polynomial $P(z) = \sum_{k=0}^{n} \varepsilon_k z^k$ with
$\varepsilon_k \in \{-1, 1\}$ such that $\delta\sqrt{n} \le |P(z)| \le \Delta\sqrt{n}$ for all
$z \in \mathbb{C}$ with $|z| = 1$ [BBMST20, Theorem 1.1].

With $N = n + 1$ and $f(m) = \varepsilon_{m-1}$, one has $|\hat f(\theta)| = |P(e(\theta))|$, so
this answers `green_84` for all $N \ge 3$.
-/
@[category research solved, AMS 5 30 42]
theorem green_84.variants.bbmst :
    ∃ δ Δ : ℝ, 0 < δ ∧ δ < Δ ∧ ∀ n : ℕ, 2 ≤ n → ∃ ε : Fin (n + 1) → ℤ,
      (∀ k, ε k = 1 ∨ ε k = -1) ∧
        ∀ z : ℂ, ‖z‖ = 1 → δ * √n ≤ ‖signPoly ε z‖ ∧ ‖signPoly ε z‖ ≤ Δ * √n := by
  sorry

/--
Littlewood's problem asks "whether there is in fact such a polynomial with
$|P(z)| = (1 + o(1))\sqrt{N}$ always"; [Gr24] adds that "the answer to this may well be no".

We read it as for `green_84`: for every $\varepsilon > 0$ and all sufficiently large $N$ there is
$f : [N] \to \{-1, 1\}$ with $\bigl||\hat f(\theta)| - \sqrt{N}\bigr| \le \varepsilon\sqrt{N}$ for
all $\theta$. With unimodular complex coefficients in place of $\pm 1$ such polynomials exist,
by Kahane's theorem `Erdos230.erdos_230.variants.ultraflat`. For $\pm 1$ coefficients the upper
half holds: for every $\eta > 0$ and all large $N$ some choice gives $\max_\theta |\hat f(\theta)|
\le (1 + \eta)\sqrt{N}$ [OAI26a, Theorem 1.1] (which answers `Erdos1150.erdos_1150`), but that
theorem gives no lower bound for $|\hat f|$.
-/
@[category research open, question, AMS 5 30 42]
theorem green_84.variants.littlewood :
    ∀ ε : ℝ, 0 < ε → ∀ᶠ N in atTop, ∃ f : ℕ → ℤ, IsSignOn N f ∧
      ∀ θ : ℝ, |‖fourierSum N f θ‖ - √N| ≤ ε * √N := by
  sorry

/--
The merit factor problem of Golay: "it is conjectured ... that
$\int_0^1 |P(z)|^4 \, dz \geq (1 + c)N^2$ for some universal $c > 0$" [Gr24], for every
polynomial $P(z) = \sum_{i=0}^{N-1} \varepsilon_i z^i$ with $\pm 1$ coefficients, where
$z = e(\theta)$. Since $|P(e(\theta))| = |\hat f(\theta)|$ for $f(n) = \varepsilon_{n-1}$, we
integrate $|\hat f|^4$.

We require $N \ge 2$, since for $N = 1$ the integral equals $1 = N^2$. The integral is
$N^2(1 + 1/F)$, where $F$ is the merit factor of the coefficient sequence [JKS13], so the
conjecture says that the merit factor of binary sequences is bounded.

[Gr24] lists this as open. The conjecture is false: the largest merit factor of a binary sequence
of length $N$ tends to infinity as $N \to \infty$ [OAI26a, Corollary 8.1], a consequence of
[OAI26a, Theorem 1.1], which answers `Erdos1150.erdos_1150`. [OAI26a] is a 2026 preprint.
-/
@[category research solved, AMS 5 42]
theorem green_84.variants.golay :
    ¬ ∃ c : ℝ, 0 < c ∧ ∀ N : ℕ, 2 ≤ N → ∀ f : ℕ → ℤ, IsSignOn N f →
      (1 + c) * (N : ℝ) ^ 2 ≤ ∫ θ in (0 : ℝ)..1, ‖fourierSum N f θ‖ ^ 4 := by
  sorry

/--
[Gr24]: "I am not sure if it known whether or not there exists, for infinitely many $q$, a subset
$A \subset \mathbb{Z}/q\mathbb{Z}$ of size $\sim q^{1/3}$, all of whose nontrivial Fourier
coefficients have size $O(q^{1/6})$."

We read $\sim$ as asymptotic equality, $|A_q| / q^{1/3} \to 1$ as $q \to \infty$ in an infinite set
$Q$, and the $O(q^{1/6})$ bound as uniform in $q \in Q$. [Gr24] notes that $O(q^{1/6} \log q)$
follows easily from a random construction.
-/
@[category research open, question, AMS 5 11 42]
theorem green_84.variants.ultraflat_mod :
    ∃ Q : Set ℕ, Q.Infinite ∧ ∃ C : ℝ, ∃ A : (q : ℕ) → Finset (ZMod q),
      Tendsto (fun q ↦ (#(A q) : ℝ) / (q : ℝ) ^ ((1 : ℝ) / 3))
        (atTop ⊓ Filter.principal Q) (𝓝 1) ∧
      ∀ q ∈ Q, ∀ r : ZMod q, r ≠ 0 → ‖fourierMod (A q) r‖ ≤ C * (q : ℝ) ^ ((1 : ℝ) / 6) := by
  sorry

end Green84

To prove it: keep every definition of Challenge.lean unchanged and prove Green84.green_84.variants.ultraflat_mod with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_ultraflat_mod : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk green-84--green-84-variants-ultraflat-mod      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch green-84--green-84-variants-ultraflat-mod
nosorry submit green-84--green-84-variants-ultraflat-mod nosorry/green-84--green-84-variants-ultraflat-mod/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.