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

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 1038

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Elsewhere:on aiXiv: claimed solved — Claimed proved in aiXiv:2609.00213 (2026-07); no independent check recorded on aiXiv. · erdosproblems.com: open (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv
  1. solves Claimed (Darvas–Peng–Tao manuscript, July 2026): exact determination of inf⁡f∣{x∈R:∣f(x)∣<1}∣\inf_f|\{x\in\mathbb{R}:|f(x)|<1\}| over nonconstant monic real polynomials with all roots in [−1,1][-1,1], together with the extremal configuration. The previously known bounds were 24/3−1≈1.519≤inf⁡≤1.8352^{4/3}-1\approx1.519\le\inf\le1.835. — aiXiv:2609.00213, 2026-07 · claimed by its authors; no independent check recorded on aiXiv

From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.

Statement:

What is the infimum of |{x ∈ ℝ : |f x| < 1}| over all nonconstant monic polynomials f such that all of its roots are real and contained in [-1,1]?

Subjects:Classical Analysis and ODEs (math.CA)
MSC classes:28
Tags:question
Cite as:NS.00436 [math.CA] · NS.00436v1 for this version
Declaration:Erdos1038.erdos_1038.parts.i
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:9f49a550734f63e1d4e012f36d885ed110b0c5e86a491ea49313431c7837d006
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/1038.lean

Formal statement

theorem erdos_1038.parts.i : erdos_1038.parts.i.answer =
    ⨅ f : {f : Polynomial ℝ // f.Monic ∧ f ≠ 1 ∧
    (f.roots.filter fun x => x ∈ Set.Icc (-1 : ℝ) 1).card = f.natDegree},
    volume {x | |f.1.eval x| < 1}
Show the full Challenge.lean (209 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1038

*Reference:*
 - [erdosproblems.com/1038](https://www.erdosproblems.com/1038)
 - [Tao25] Tao, Terence. Sublevel Sets of Logarithmic Potentials. Terry Tao’s Blog, Dec. 2025
  (https://terrytao.wordpress.com/wp-content/uploads/2025/12/erdos-1038-1.pdf)
 - [EHP58] Erdős, P., Herzog, F., Piranian, G. Metric properties of polynomials.
  J. Analyse Math. 6 (1958), 125--148.

-/

@[expose] public section

open scoped Real ENNReal
open MeasureTheory Set

namespace Erdos1038

def erdos_1038.parts.i.answer : ℝ≥0∞ := sorry

/-- What is the infimum of `|{x ∈ ℝ : |f x| < 1}|` over all nonconstant monic polynomials `f` such
that all of its roots are real and contained in `[-1,1]`? -/
@[category research open, question value, AMS 28]
theorem erdos_1038.parts.i : erdos_1038.parts.i.answer =
    ⨅ f : {f : Polynomial ℝ // f.Monic ∧ f ≠ 1 ∧
    (f.roots.filter fun x => x ∈ Set.Icc (-1 : ℝ) 1).card = f.natDegree},
    volume {x | |f.1.eval x| < 1} := by
  sorry

/-- The supremum of `|{x ∈ ℝ : |f x| < 1}|` over all monic polynomials `f` such that
all of its roots are real and contained in `[-1,1]` is `2 * 2 ^ (1 / 2)`. This is proved in
[Tao25]. -/
@[category research solved, AMS 28]
theorem erdos_1038.parts.ii : 2 * 2 ^ (1 / 2 : ℝ) =
    ⨆ f : {f : Polynomial ℝ // f.Monic ∧
    (f.roots.filter fun x => x ∈ Set.Icc (-1 : ℝ) 1).card = f.natDegree},
    volume {x | |f.1.eval x| < 1} := by
  sorry

/-- The infimum of `|{x ∈ ℝ : |f x| < 1}|` over all nonconstant monic polynomials `f` such that
all of its roots are real and contained in `[-1,1]` is `< 1.835`. -/
@[category research solved, AMS 28]
theorem erdos_1038.variants.inf_upperBound : ⨅ f : {f : Polynomial ℝ // f.Monic ∧ f ≠ 1 ∧
    (f.roots.filter fun x => x ∈ Set.Icc (-1 : ℝ) 1).card = f.natDegree},
    volume {x | |f.1.eval x| < 1} < 1.835 := by
  sorry

/-- The infimum of `|{x ∈ ℝ : |f x| < 1}|` over all nonconstant monic polynomials `f` such that
all of its roots are real and contained in `[-1,1]` is `≥ 2 ^ (4 / 3) - 1`. -/
@[category research solved, AMS 28]
theorem erdos_1038.variants.inf_lowerBound : 2 ^ (4 / 3 : ℝ) - 1 ≤
    ⨅ f : {f : Polynomial ℝ // f.Monic ∧ f ≠ 1 ∧
    (f.roots.filter fun x => x ∈ Set.Icc (-1 : ℝ) 1).card = f.natDegree},
    volume {x | |f.1.eval x| < 1} := by
  sorry


/-- For a monic quadratic with roots at distance at most two, the sublevel measure
is $2\sqrt{1+d^2}$, where $2|d|$ is the distance between the roots. This gives
the degree-two case of the sublevel-set problem in [Tao25]. -/
@[category textbook, AMS 28]
theorem erdos_1038.variants.quadratic_sublevel_formula (m d : ℝ) (hd : |d| ≤ 1) :
    volume {x : ℝ | |(x - m) ^ 2 - d ^ 2| < 1} =
      ENNReal.ofReal (2 * Real.sqrt (1 + d ^ 2)) := by
  have hd2 : d ^ 2 ≤ 1 := by nlinarith [abs_le.mp hd |>.1, abs_le.mp hd |>.2]
  have hs : 0 < Real.sqrt (1 + d ^ 2) := Real.sqrt_pos.2 (by positivity)
  have hsq : Real.sqrt (1 + d ^ 2) ^ 2 = 1 + d ^ 2 := Real.sq_sqrt (by positivity)
  let I := Ioo (m - Real.sqrt (1 + d ^ 2)) (m + Real.sqrt (1 + d ^ 2))
  have hupper : {x : ℝ | |(x - m) ^ 2 - d ^ 2| < 1} ⊆ I := by
    intro x hx
    change |(x-m)^2-d^2| < 1 at hx
    obtain ⟨hlo, hhi⟩ := abs_lt.mp hx
    constructor
    · nlinarith [sq_nonneg (x - m + Real.sqrt (1 + d ^ 2))]
    · nlinarith [sq_nonneg (x - m - Real.sqrt (1 + d ^ 2))]
  have hlower : I \ {m} ⊆ {x : ℝ | |(x - m) ^ 2 - d ^ 2| < 1} := by
    rintro x ⟨⟨hlo, hhi⟩, hne⟩
    have hpos : 0 < (x - m) ^ 2 := sq_pos_of_ne_zero (sub_ne_zero.mpr hne)
    have hlt : (x - m) ^ 2 < 1 + d ^ 2 := by
      nlinarith [mul_pos (sub_pos.mpr hhi) (sub_pos.mpr hlo)]
    change |(x-m)^2-d^2| < 1
    exact abs_lt.mpr ⟨by linarith, by linarith⟩
  have hI : volume I = ENNReal.ofReal (2 * Real.sqrt (1 + d ^ 2)) := by
    rw [Real.volume_Ioo]
    congr 1
    ring
  apply le_antisymm
  · calc
      _ ≤ volume I := measure_mono hupper
      _ = _ := hI
  · have h : volume (I \ {m}) ≤ volume {x : ℝ | |(x-m)^2-d^2| < 1} :=
      measure_mono hlower
    rwa [measure_sdiff_null (by simp), hI] at h

/-- The degree-two case of the supremum bound in [Tao25]: if $a,b\in[-1,1]$,
the sublevel set of $(x-a)(x-b)$ has measure at most $2\sqrt{2}$. -/
@[category textbook, AMS 28]
theorem erdos_1038.variants.quadratic_upperBound (a b : ℝ) (ha : |a| ≤ 1) (hb : |b| ≤ 1) :
    volume {x : ℝ | |(x-a)*(x-b)| < 1} ≤ ENNReal.ofReal (2 * Real.sqrt 2) := by
  have hd : |(a-b)/2| ≤ 1 := by
    rw [abs_le]
    constructor <;> linarith [abs_le.mp ha |>.1, abs_le.mp ha |>.2,
      abs_le.mp hb |>.1, abs_le.mp hb |>.2]
  have hpoly (x : ℝ) : (x-a)*(x-b) = (x-(a+b)/2)^2 - ((a-b)/2)^2 := by ring
  simp_rw [hpoly]
  rw [erdos_1038.variants.quadratic_sublevel_formula ((a+b)/2) ((a-b)/2) hd]
  apply ENNReal.ofReal_le_ofReal
  have hd2 : ((a-b)/2)^2 ≤ 1 := by nlinarith [abs_le.mp hd |>.1, abs_le.mp hd |>.2]
  have h := Real.sqrt_le_sqrt (show 1 + ((a-b)/2)^2 ≤ 2 by linarith)
  linarith


/-- The admissible quadratic $x^2-1$, with roots $-1$ and $1$, attains the supremum
value $2\sqrt{2}$ in [Tao25]. -/
@[category textbook, AMS 28]
theorem erdos_1038.variants.quadratic_extremizer :
    volume {x : ℝ | |x ^ 2 - 1| < 1} = ENNReal.ofReal (2 * Real.sqrt 2) := by
  convert erdos_1038.variants.quadratic_sublevel_formula 0 1 (by norm_num) using 1 <;>
    norm_num

open Polynomial in
/-- The lower half of `erdos_1038.parts.ii`: the supremum is at least $2\sqrt{2}$, because the
admissible polynomial $x^2-1$ has sublevel measure exactly $2\sqrt{2}$. The matching upper bound
is proved in [Tao25]. -/
@[category textbook, AMS 28]
theorem erdos_1038.variants.sup_lowerBound : 2 * 2 ^ (1 / 2 : ℝ) ≤
    ⨆ f : {f : Polynomial ℝ // f.Monic ∧
    (f.roots.filter fun x => x ∈ Set.Icc (-1 : ℝ) 1).card = f.natDegree},
    volume {x | |f.1.eval x| < 1} := by
  have hroots : (X ^ 2 - C 1 : ℝ[X]).roots = {-1, 1} := nthRoots_two_one
  refine le_iSup_of_le ⟨X ^ 2 - C 1, monic_X_pow_sub_C 1 two_ne_zero, ?_⟩ ?_
  · rw [hroots, natDegree_X_pow_sub_C]
    norm_num [Multiset.filter_singleton]
  · simp only [eval_sub, eval_pow, eval_X, eval_C]
    rw [erdos_1038.variants.quadratic_extremizer, ENNReal.ofReal_mul zero_le_two,
      Real.sqrt_eq_rpow, ← ENNReal.ofReal_rpow_of_nonneg zero_le_two (by norm_num)]
    norm_num

open Polynomial in
/-- The infimum in `erdos_1038.parts.i` is strictly less than $2$, as observed in [EHP58]:
for $f(x)=(x+1)(x-1)^3$ the sublevel set $\{x : |f(x)| < 1\}$ is contained in
$(-1.108,-0.835)\cup(0,1.718)$, whose total length is $1.991$. -/
@[category textbook, AMS 28]
theorem erdos_1038.variants.inf_lt_two : ⨅ f : {f : Polynomial ℝ // f.Monic ∧ f ≠ 1 ∧
    (f.roots.filter fun x => x ∈ Set.Icc (-1 : ℝ) 1).card = f.natDegree},
    volume {x | |f.1.eval x| < 1} < 2 := by
  have hmonic : ((X + C 1) * (X - C 1) ^ 3 : ℝ[X]).Monic :=
    (monic_X_add_C 1).mul ((monic_X_sub_C 1).pow 3)
  have hdeg : ((X + C 1) * (X - C 1) ^ 3 : ℝ[X]).natDegree = 4 := by
    rw [(monic_X_add_C 1).natDegree_mul ((monic_X_sub_C 1).pow 3),
      (monic_X_sub_C 1).natDegree_pow, natDegree_X_add_C, natDegree_X_sub_C]
  have hne : ((X + C 1) * (X - C 1) ^ 3 : ℝ[X]) ≠ 1 := fun h => by
    rw [h, natDegree_one] at hdeg
    exact absurd hdeg (by norm_num)
  have hcard : (((X + C 1) * (X - C 1) ^ 3 : ℝ[X]).roots.filter
      fun x => x ∈ Set.Icc (-1 : ℝ) 1).card = ((X + C 1) * (X - C 1) ^ 3 : ℝ[X]).natDegree := by
    rw [roots_mul hmonic.ne_zero, roots_X_add_C, roots_pow, roots_X_sub_C, hdeg]
    norm_num [Multiset.filter_singleton, Multiset.filter_nsmul]
  refine lt_of_le_of_lt (iInf_le _ ⟨(X + C 1) * (X - C 1) ^ 3, hmonic, hne, hcard⟩) ?_
  simp only [eval_mul, eval_add, eval_sub, eval_pow, eval_X, eval_C]
  have hsub : {x : ℝ | |(x + 1) * (x - 1) ^ 3| < 1} ⊆
      Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) := by
    intro x (hx : |(x + 1) * (x - 1) ^ 3| < 1)
    obtain ⟨hlo, hhi⟩ := abs_lt.mp hx
    rcases le_or_gt x (-277 / 250) with h1 | h1
    · have ht : 0 ≤ -277 / 250 - x := by linarith
      nlinarith [pow_nonneg ht 2, pow_nonneg ht 3, pow_nonneg ht 4]
    rcases lt_or_ge x (-167 / 200) with h2 | h2
    · exact Or.inl ⟨h1, h2⟩
    rcases le_or_gt x 0 with h3 | h3
    · have hs : 0 ≤ x + 167 / 200 := by linarith
      have hp : 0 ≤ x ^ 3 - 2 * x ^ 2 + 2 := by
        nlinarith [mul_nonneg hs (neg_nonneg.mpr h3), pow_nonneg hs 3]
      nlinarith [mul_nonneg (neg_nonneg.mpr h3) hp]
    rcases lt_or_ge x (859 / 500) with h4 | h4
    · exact Or.inr ⟨h3, h4⟩
    · have ht : 0 ≤ x - 859 / 500 := by linarith
      nlinarith [pow_nonneg ht 2, pow_nonneg ht 3, pow_nonneg ht 4]
  calc volume {x : ℝ | |(x + 1) * (x - 1) ^ 3| < 1}
      ≤ volume (Ioo (-277 / 250 : ℝ) (-167 / 200) ∪ Ioo 0 (859 / 500)) := measure_mono hsub
    _ ≤ volume (Ioo (-277 / 250 : ℝ) (-167 / 200)) + volume (Ioo (0 : ℝ) (859 / 500)) :=
      measure_union_le _ _
    _ < 2 := by
      rw [Real.volume_Ioo, Real.volume_Ioo, ← ENNReal.ofReal_add (by norm_num) (by norm_num),
        ENNReal.ofReal_lt_iff_lt_toReal (by norm_num) (by norm_num)]
      norm_num

end Erdos1038

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

nosorry fetch erdos-1038
nosorry submit erdos-1038 nosorry/erdos-1038/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.