/- Copyright 2025 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -/ import FormalConjecturesUtil import Mathlib.Algebra.Polynomial.Degree.IsMonicOfDegree

Erdős Problem 1038

Reference:

    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)

open scoped Real ENNRealopen MeasureTheory namespace Erdos1038

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, AMS 28] theorem declaration uses 'sorry'erdos_1038.parts.i (n : ) : answer(sorry) = 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} := n:sorry = f, volume {x | |Polynomial.eval x f| < 1} All goals completed! 🐙

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 declaration uses 'sorry'erdos_1038.parts.ii (n : ) : 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} := n:2 * 2 ^ (1 / 2) = f, volume {x | |Polynomial.eval x f| < 1} All goals completed! 🐙

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 declaration uses 'sorry'erdos_1038.variants.inf_upperBound (n : ) : 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 := n: f, volume {x | |Polynomial.eval x f| < 1} < 1.835 All goals completed! 🐙

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 declaration uses 'sorry'erdos_1038.varaints.inf_lowerBound (n : ) : 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} := n:2 ^ (4 / 3) - 1 f, volume {x | |Polynomial.eval x f| < 1} All goals completed! 🐙 end Erdos1038