{
  "id": "802",
  "ident": "NS.00802",
  "slug": "erdos-1150",
  "title": "Erdős Problem 1150",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Is there some constant $c > 0$ such that, for all large enough $n$ and all polynomials $P$ of\ndegree $n$ with coefficients in $\\{-1, 1\\}$,\n$$\\max_{|z|=1} |P(z)| > (1 + c) \\sqrt{n}?$$\n\nNo. This was disproved by an internal OpenAI model in September 2026 [OAI26a]; see the linked\nLean proof.",
  "subjects": [
    "math.AC",
    "math.CV",
    "msc:12",
    "msc:30"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1150.erdos_1150",
  "statement_lean": "theorem erdos_1150 :\n    ¬ ∃ c > 0, ∀ᶠ n in Filter.atTop,\n      ∀ P : ℂ[X],  (∀ i ≤ P.natDegree, P.coeff i = - 1 ∨ P.coeff i = 1) → P.natDegree = n →\n        ⨆ z : Metric.sphere (0 : ℂ) 1, ‖P.eval (z : ℂ)‖ > (1 + c) * Real.sqrt n",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 1150\n\n*References:*\n- [erdosproblems.com/1150](https://www.erdosproblems.com/1150)\n- [OAI26a] OpenAI, *Asymptotically minimal maxima of real Littlewood polynomials*. OpenAI Math\n  Release preprint (2026).\n  https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Asymptotically-minimal-maxima-of-real-Littlewood-polynomials-September-23-2026/paper.pdf\n-/\n\n@[expose] public section\n\nopen scoped Polynomial\n\nnamespace Erdos1150\n\nset_option linter.style.formal_proof_palomar false in\n/--\nIs there some constant $c > 0$ such that, for all large enough $n$ and all polynomials $P$ of\ndegree $n$ with coefficients in $\\{-1, 1\\}$,\n$$\\max_{|z|=1} |P(z)| > (1 + c) \\sqrt{n}?$$\n\nNo. This was disproved by an internal OpenAI model in September 2026 [OAI26a]; see the linked\nLean proof.\n-/\n@[category research solved, question, AMS 12 30, formal_proof using lean4 at\n  \"https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Analysis/Littlewood/Main.lean#L187\"]\ntheorem erdos_1150 :\n    ¬ ∃ c > 0, ∀ᶠ n in Filter.atTop,\n      ∀ P : ℂ[X],  (∀ i ≤ P.natDegree, P.coeff i = - 1 ∨ P.coeff i = 1) → P.natDegree = n →\n        ⨆ z : Metric.sphere (0 : ℂ) 1, ‖P.eval (z : ℂ)‖ > (1 + c) * Real.sqrt n := by\n  sorry\n\n/--\nThe trivial lower bound from Parseval's identity: for any polynomial $P$ of degree $n$ with\ncoefficients in $\\{-1, 1\\}$, we have $\\max_{|z|=1} |P(z)| \\geq \\sqrt{n+1}$.\n\nThis follows from Parseval's identity:\n$$\\frac{1}{2\\pi} \\int_0^{2\\pi} |P(e^{i\\theta})|^2 d\\theta = \\sum_{k=0}^{n} |a_k|^2 = n+1$$\nsince each $|a_k|^2 = 1$. The circle average is bounded by the pointwise supremum squared, so\n$\\max_{|z|=1} |P(z)|^2 \\ge n+1$, whence $\\max_{|z|=1} |P(z)| \\ge \\sqrt{n+1}$.\n-/\n@[category textbook, AMS 12 30]\ntheorem erdos_1150.variants.parseval_lower_bound (P : ℂ[X]) (n : ℕ)\n    (hcoeff : ∀ i ≤ P.natDegree, P.coeff i = -1 ∨ P.coeff i = 1)\n    (hdeg : P.natDegree = n) :\n    ⨆ z : Metric.sphere (0 : ℂ) 1, ‖P.eval (z : ℂ)‖ ≥ Real.sqrt (n + 1) := by\n  set N : ℕ := n + 1 with hN\n  -- Each coefficient at index $i \\le n$ has norm $1$.\n  have hcoeff_norm : ∀ i ∈ Finset.range N, ‖P.coeff i‖ = 1 := by\n    intro i hi\n    have hi' : i ≤ n := Nat.lt_succ_iff.mp (Finset.mem_range.mp hi)\n    rcases hcoeff i (hdeg ▸ hi') with h | h <;> simp [h]\n  -- $P$'s support is exactly $\\{0, \\dots, n\\}$: indices $\\le n$ are $\\pm 1$, hence nonzero;\n  -- indices $> n$ have coefficient $0$ by $P.\\text{natDegree} = n$.\n  have hsupport : P.support = Finset.range N := by\n    ext i\n    simp only [Polynomial.mem_support_iff, Finset.mem_range]\n    refine ⟨fun hne => ?_, fun hi => ?_⟩\n    · by_contra hle\n      push Not at hle\n      exact hne <| Polynomial.coeff_eq_zero_of_natDegree_lt (by omega)\n    · have h1 : ‖P.coeff i‖ = 1 := hcoeff_norm i (Finset.mem_range.mpr hi)\n      intro h; simp [h] at h1\n  -- Apply upstream Parseval. The LHS sum evaluates to $N = n + 1$.\n  have hParseval : Real.circleAverage (fun z ↦ ‖P.eval z‖ ^ 2) 0 1 = (N : ℝ) := by\n    rw [← P.sum_sq_norm_coeff_eq_circleAverage, hsupport]\n    calc ∑ i ∈ Finset.range N, ‖P.coeff i‖ ^ 2\n        = ∑ _i ∈ Finset.range N, (1 : ℝ) := by\n          refine Finset.sum_congr rfl fun i hi => ?_\n          rw [hcoeff_norm i hi, one_pow]\n      _ = (N : ℝ) := by simp\n  -- Triangle inequality: on the unit sphere, $\\|P(z)\\| \\le N$.\n  have hdeg' : P.natDegree < N := by omega\n  have htri : ∀ z ∈ Metric.sphere (0 : ℂ) 1, ‖P.eval z‖ ≤ (N : ℝ) := by\n    intro z hz\n    have hz1 : ‖z‖ = 1 := by simpa [Metric.mem_sphere, dist_zero_right] using hz\n    calc ‖P.eval z‖\n        = ‖∑ i ∈ Finset.range N, P.coeff i * z ^ i‖ := by\n          rw [Polynomial.eval_eq_sum_range' hdeg']\n      _ ≤ ∑ i ∈ Finset.range N, ‖P.coeff i * z ^ i‖ := norm_sum_le _ _\n      _ = ∑ i ∈ Finset.range N, ‖P.coeff i‖ := by\n          refine Finset.sum_congr rfl fun i _ => ?_\n          rw [norm_mul, norm_pow, hz1, one_pow, mul_one]\n      _ = ∑ _i ∈ Finset.range N, (1 : ℝ) :=\n          Finset.sum_congr rfl fun i hi => hcoeff_norm i hi\n      _ = (N : ℝ) := by simp\n  -- The set of $\\|P(z)\\|$ over the sphere is bounded above by $N$.\n  have hbdd : BddAbove\n      (Set.range fun z : Metric.sphere (0 : ℂ) 1 => ‖P.eval (z : ℂ)‖) := by\n    refine ⟨(N : ℝ), ?_⟩\n    rintro _ ⟨⟨z, hz⟩, rfl⟩\n    exact htri z hz\n  set S : ℝ := ⨆ z : Metric.sphere (0 : ℂ) 1, ‖P.eval (z : ℂ)‖ with hSdef\n  have hS_nonneg : 0 ≤ S := Real.iSup_nonneg fun _ => norm_nonneg _\n  -- Every $\\|P(z)\\|^2 \\le S^2$ on the sphere.\n  have hbound_sq : ∀ z ∈ Metric.sphere (0 : ℂ) 1, ‖P.eval z‖ ^ 2 ≤ S ^ 2 := by\n    intro z hz\n    have hle : ‖P.eval z‖ ≤ S := le_ciSup_of_le hbdd ⟨z, hz⟩ le_rfl\n    exact pow_le_pow_left₀ (norm_nonneg _) hle 2\n  -- $\\|P(z)\\|^2$ is continuous, hence circle-integrable.\n  have hCI : CircleIntegrable (fun z ↦ ‖P.eval z‖ ^ 2) 0 1 :=\n    (((P.continuous).norm).pow 2).continuousOn.circleIntegrable zero_le_one\n  -- Circle-average $\\le S^2$.\n  have h_avg_le : Real.circleAverage (fun z ↦ ‖P.eval z‖ ^ 2) 0 1 ≤ S ^ 2 := by\n    refine Real.circleAverage_mono_on_of_le_circle hCI ?_\n    simpa [abs_one] using hbound_sq\n  rw [hParseval] at h_avg_le\n  -- $N \\le S^2$ with $S \\ge 0$, so $\\sqrt N \\le S$.\n  have h_sqrt : Real.sqrt ((N : ℝ)) ≤ S := by\n    calc Real.sqrt ((N : ℝ))\n        ≤ Real.sqrt (S ^ 2) := Real.sqrt_le_sqrt h_avg_le\n      _ = S := Real.sqrt_sq hS_nonneg\n  calc Real.sqrt ((n : ℝ) + 1)\n      = Real.sqrt ((N : ℝ)) := by push_cast [hN]; ring_nf\n    _ ≤ S := h_sqrt\n\nend Erdos1150\n",
  "statement_hash": "e76f8056eb01fe25e1cf79975650e6bb50438d1e1f533a9614212b9f93410e2b",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}