{
  "id": "736",
  "ident": "NS.00736",
  "slug": "erdos-1129",
  "title": "Erdős Problem 1129",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "For $x_1,\\ldots,x_n\\in [-1,1]$ let\n$$l_k(x)=\\frac{\\prod_{i\\neq k}(x-x_i)}{\\prod_{i\\neq k}(x_k-x_i)},$$\nwhich are such that $l_k(x_k)=1$ and $l_k(x_i)=0$ for $i\\neq k$.\n\nDescribe which choice of $x_i$ minimise\n$$\\Lambda(x_1,\\ldots,x_n)=\\max_{x\\in [-1,1]} \\sum_k \\lvert l_k(x)\\rvert.$$\n\nA problem of Bernstein [Be31] and Erdős [Er47, p. 1171], [Er67, p. 66]. They conjectured that\nthe minimisers are characterised by equioscillation of the Lebesgue function. This was proved by\nKilgore [Ki77], [Ki78] and by de Boor and Pinkus [dBPi78] for canonical node sets, that is, node\nsets with $x_1=-1$ and $x_n=1$ (see [Ib16, Section 3.7] and [RaVa15, Proposition 2.8]); this is\n`erdos_1129.variants.canonical`.\n\nHere the minimisers range over all node sets in $[-1,1]$, as in the question. For $n\\ge 3$ there\nare uncountably many of them [RaVa15, Theorem 2.5] (`erdos_1129.variants.free_nodes_not_unique`):\nsuitable affine images of the canonical minimiser inside $[-1,1]$ are minimisers too. All of them\nare described in the Lean formalisation [Ren26], which erdosproblems.com lists for this problem:\nfor $n\\ge 2$ a node set minimises $\\Lambda$ if and only if its local maxima between consecutive\nnodes are all equal and both $\\sum_k\\lvert l_k(-1)\\rvert$ and $\\sum_k\\lvert l_k(1)\\rvert$ are at\nmost that common value, and for $n=1$ every node set minimises $\\Lambda$. For $n=4$ all minimisers\nare also given in [RaVa15, Theorem 5.2].",
  "subjects": [
    "math.CA",
    "msc:41"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1129.erdos_1129",
  "statement_lean": "theorem erdos_1129 (n : ℕ) :\n    {x : Fin n → ℝ | IsMinimiser x} = erdos_1129.answer 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 1129\n\n*References:*\n- [erdosproblems.com/1129](https://www.erdosproblems.com/1129)\n- [Be31] Bernstein, S., *Sur la limitation des valeurs d'un polynôme P_n(x) de degré n sur\n  tout un segment par ses valeurs en (n+1) points du segment*. Izv. Akad. Nauk SSSR 7 (1931),\n  1025-1050.\n- [dBPi78] de Boor, C. and Pinkus, A., *Proof of the conjectures of Bernstein and Erdős\n  concerning the optimal nodes for polynomial interpolation*. J. Approx. Theory 24 (1978),\n  289-303.\n- [Er47] Erdős, P., *Some remarks on polynomials*. Bull. Amer. Math. Soc. 53 (1947), 1169-1176.\n  [PDF](https://www.renyi.hu/~p_erdos/1947-08.pdf)\n- [Er61c] Erdős, P., *Problems and results on the theory of interpolation. II*. Acta Math.\n  Acad. Sci. Hungar. 12 (1961), 235-244. [PDF](https://www.renyi.hu/~p_erdos/1961-20.pdf)\n- [Er67] Erdős, P., *Problems and results on the convergence and divergence properties of the\n  Lagrange interpolation polynomials and some extremal problems*. Mathematica (Cluj) (1967),\n  65-73. [PDF](https://www.renyi.hu/~p_erdos/1967-20.pdf)\n- [Fa14] Faber, G., *Über die interpolatorische Darstellung stetiger Funktionen*. Jahresber.\n  Deutsch. Math.-Verein. 23 (1914), 190-210.\n- [Ib16] Ibrahimoglu, B. A., *Lebesgue functions and Lebesgue constants in polynomial\n  interpolation*. J. Inequal. Appl. (2016), Paper No. 93.\n  [DOI](https://doi.org/10.1186/s13660-016-1030-3)\n- [Ki77] Kilgore, T. A., *Optimization of the norm of the Lagrange interpolation operator*.\n  Bull. Amer. Math. Soc. 83 (1977), 1069-1071.\n- [Ki78] Kilgore, T. A., *A characterization of the Lagrange interpolating projection with\n  minimal Tchebycheff norm*. J. Approx. Theory 24 (1978), 273-288.\n- [RaVa15] Rack, H.-J. and Vajda, R., *Optimal cubic Lagrange interpolation: Extremal node\n  systems with minimal Lebesgue constant*. Stud. Univ. Babeş-Bolyai Math. 60 (2015), 151-171.\n  [Link](https://studia.reviste.ubbcluj.ro/index.php/subbmathematica/article/view/5710)\n- [Ren26] Ren, C. Y., *Erdős 1129: all optimal free interpolation nodes*, Lean formalisation\n  (2026), building on randyxian08's Lean formalisation of the canonical case.\n  [GitHub](https://github.com/CollinYuanjieRen/awards/blob/791bf61df4366b60b6b47b9e062661ee65b3143b/submissions/jsp-000936-cyr/README.md)\n\nSee also [erdosproblems.com/1130](https://www.erdosproblems.com/1130), which uses the\ndefinitions of this file.\n-/\n\n@[expose] public section\n\nnamespace Erdos1129\n\n/-- A node set: $n$ points $-1\\le x_1<\\dots<x_n\\le 1$, written as a strictly increasing map\n`Fin n → ℝ` with values in $[-1,1]$. Distinct nodes are needed for the fundamental functions\n$l_k$ to be defined (otherwise a division by zero gives a junk value). Ordering the nodes is no\nrestriction, because everything below is symmetric in the nodes. -/\ndef IsNodeSet {n : ℕ} (x : Fin n → ℝ) : Prop :=\n  StrictMono x ∧ ∀ i, x i ∈ Set.Icc (-1 : ℝ) 1\n\n/-- The Lebesgue function $L_x(t)=\\sum_k\\lvert l_k(t)\\rvert$ of the nodes `x`, where\n$l_k(t)=\\prod_{i\\ne k}\\frac{t-x_i}{x_k-x_i}$ is the Lagrange basis polynomial `Lagrange.basis`\n(see `lebesgueFunction_eq` for the explicit product). -/\nnoncomputable def lebesgueFunction {n : ℕ} (x : Fin n → ℝ) (t : ℝ) : ℝ :=\n  ∑ k, |(Lagrange.basis Finset.univ x k).eval t|\n\n/-- The explicit product formula for the Lebesgue function. -/\n@[category API, AMS 41]\ntheorem lebesgueFunction_eq {n : ℕ} (x : Fin n → ℝ) (t : ℝ) :\n    lebesgueFunction x t = ∑ k, |∏ i ∈ Finset.univ.erase k, (t - x i) / (x k - x i)| := by\n  simp only [lebesgueFunction, Lagrange.basis, Lagrange.basisDivisor, Polynomial.eval_prod,\n    Polynomial.eval_mul, Polynomial.eval_C, Polynomial.eval_sub, Polynomial.eval_X]\n  refine Finset.sum_congr rfl fun k _ => ?_\n  congr 1\n  refine Finset.prod_congr rfl fun i _ => ?_\n  rw [div_eq_inv_mul]\n\n/-- The Lebesgue constant $\\Lambda(x)=\\max_{t\\in[-1,1]}L_x(t)$ of the nodes `x`. For a node set,\n$L_x$ is continuous, so the supremum is attained. -/\nnoncomputable def lebesgueConstant {n : ℕ} (x : Fin n → ℝ) : ℝ :=\n  sSup (lebesgueFunction x '' Set.Icc (-1 : ℝ) 1)\n\n/-- The nodes together with the endpoints: `extendedNodes x 0` is $x_0=-1$, `extendedNodes x i` is\nthe node $x_i$ for $1\\le i\\le n$, and `extendedNodes x i` is $x_{n+1}=1$ for $i>n$. -/\nnoncomputable def extendedNodes {n : ℕ} (x : Fin n → ℝ) (i : ℕ) : ℝ :=\n  if h : 1 ≤ i ∧ i ≤ n then x ⟨i - 1, by omega⟩ else if i = 0 then -1 else 1\n\n/-- `gapMax x i` is $\\lambda_i(x)=\\max_{t\\in[x_i,x_{i+1}]}L_x(t)$ with $x_0=-1$ and $x_{n+1}=1$, for\n$0\\le i\\le n$ (for larger `i` the value is not meaningful). For $1\\le i\\le n-1$ it is the local\nmaximum of the Lebesgue function between the consecutive nodes $x_i$ and $x_{i+1}$. If\n$x_1=-1$ (respectively $x_n=1$) the gap $i=0$ (respectively $i=n$) is a single point, where\n$L_x=1$. -/\nnoncomputable def gapMax {n : ℕ} (x : Fin n → ℝ) (i : ℕ) : ℝ :=\n  sSup (lebesgueFunction x '' Set.Icc (extendedNodes x i) (extendedNodes x (i + 1)))\n\n/-- A canonical node set: a node set that contains both endpoints $x_1=-1$ and $x_n=1$. It exists\nonly for $n\\ge 2$. -/\ndef IsCanonical {n : ℕ} (x : Fin n → ℝ) : Prop :=\n  IsNodeSet x ∧ (-1 : ℝ) ∈ Set.range x ∧ (1 : ℝ) ∈ Set.range x\n\n/-- `x` is a minimiser: a node set whose Lebesgue constant is at most that of every node set in\n$[-1,1]$ with $n$ nodes. -/\ndef IsMinimiser {n : ℕ} (x : Fin n → ℝ) : Prop :=\n  IsNodeSet x ∧ ∀ y : Fin n → ℝ, IsNodeSet y → lebesgueConstant x ≤ lebesgueConstant y\n\n/-- Equioscillation: the $n-1$ local maxima $\\lambda_1,\\dots,\\lambda_{n-1}$ of the Lebesgue\nfunction between consecutive nodes are all equal. -/\ndef Equioscillates {n : ℕ} (x : Fin n → ℝ) : Prop :=\n  ∀ i ∈ Finset.Icc 1 (n - 1), ∀ j ∈ Finset.Icc 1 (n - 1), gapMax x i = gapMax x j\n\n/-- `x` is the node set of the zeros of the Chebyshev polynomial $T_n$, in increasing order.\n$T_n$ has $n$ simple zeros in $(-1,1)$, so there is exactly one such `x`. -/\ndef IsChebyshevNodes {n : ℕ} (x : Fin n → ℝ) : Prop :=\n  IsNodeSet x ∧ ∀ j, (Polynomial.Chebyshev.T ℝ (n : ℤ)).eval (x j) = 0\n\n/-- The answer: the node sets whose local maxima $\\lambda_1,\\ldots,\\lambda_{n-1}$ between\nconsecutive nodes are all equal, and whose Lebesgue function at each endpoint $\\pm 1$ is at most\n$\\lambda_1$, the common value (for $n\\le 1$ the conditions hold for every node set). -/\ndef erdos_1129.answer (n : ℕ) : Set (Fin n → ℝ) :=\n  {x | IsNodeSet x ∧ Equioscillates x ∧\n    lebesgueFunction x (-1) ≤ gapMax x 1 ∧ lebesgueFunction x 1 ≤ gapMax x 1}\n\n/--\nFor $x_1,\\ldots,x_n\\in [-1,1]$ let\n$$l_k(x)=\\frac{\\prod_{i\\neq k}(x-x_i)}{\\prod_{i\\neq k}(x_k-x_i)},$$\nwhich are such that $l_k(x_k)=1$ and $l_k(x_i)=0$ for $i\\neq k$.\n\nDescribe which choice of $x_i$ minimise\n$$\\Lambda(x_1,\\ldots,x_n)=\\max_{x\\in [-1,1]} \\sum_k \\lvert l_k(x)\\rvert.$$\n\nA problem of Bernstein [Be31] and Erdős [Er47, p. 1171], [Er67, p. 66]. They conjectured that\nthe minimisers are characterised by equioscillation of the Lebesgue function. This was proved by\nKilgore [Ki77], [Ki78] and by de Boor and Pinkus [dBPi78] for canonical node sets, that is, node\nsets with $x_1=-1$ and $x_n=1$ (see [Ib16, Section 3.7] and [RaVa15, Proposition 2.8]); this is\n`erdos_1129.variants.canonical`.\n\nHere the minimisers range over all node sets in $[-1,1]$, as in the question. For $n\\ge 3$ there\nare uncountably many of them [RaVa15, Theorem 2.5] (`erdos_1129.variants.free_nodes_not_unique`):\nsuitable affine images of the canonical minimiser inside $[-1,1]$ are minimisers too. All of them\nare described in the Lean formalisation [Ren26], which erdosproblems.com lists for this problem:\nfor $n\\ge 2$ a node set minimises $\\Lambda$ if and only if its local maxima between consecutive\nnodes are all equal and both $\\sum_k\\lvert l_k(-1)\\rvert$ and $\\sum_k\\lvert l_k(1)\\rvert$ are at\nmost that common value, and for $n=1$ every node set minimises $\\Lambda$. For $n=4$ all minimisers\nare also given in [RaVa15, Theorem 5.2].\n-/\n@[category research solved, question value, AMS 41]\ntheorem erdos_1129 (n : ℕ) :\n    {x : Fin n → ℝ | IsMinimiser x} = erdos_1129.answer n := by\n  sorry\n\n/--\nThe theorem of Kilgore [Ki77], [Ki78] and de Boor and Pinkus [dBPi78] for canonical node sets\n($x_1=-1$, $x_n=1$), as in [Ib16, Section 3.7] and [RaVa15, Definition 2.7 and Proposition 2.8]:\nthe canonical node sets that minimise $\\Lambda$ among all node sets are exactly the canonical node\nsets whose local maxima $\\lambda_i=\\max_{[x_i,x_{i+1}]}\\sum_k\\lvert l_k\\rvert$ between consecutive\nnodes are all equal. The two outer gaps $[-1,x_1]$ and $[x_n,1]$ are single points for canonical\nnodes and are not used.\n-/\n@[category research solved, AMS 41]\ntheorem erdos_1129.variants.canonical (n : ℕ) :\n    {x : Fin n → ℝ | IsCanonical x ∧ IsMinimiser x} = {x | IsCanonical x ∧ Equioscillates x} := by\n  sorry\n\n/--\nKilgore [Ki78] and de Boor and Pinkus [dBPi78] proved that for $n\\ge 2$ there is at most one\ncanonical node set whose local maxima $\\lambda_1,\\ldots,\\lambda_{n-1}$ are all equal, and that it\nis symmetric about $0$ ([Ib16, Section 3.7], [RaVa15, Proposition 2.8]). A canonical minimiser\nexists ([RaVa15, Section 2]) and must equioscillate ([Ki77], [Ib16, Section 3.7]), so there is\nexactly one such node set, and hence a unique canonical minimiser of $\\Lambda$.\n-/\n@[category research solved, AMS 41]\ntheorem erdos_1129.variants.unique (n : ℕ) (hn : 2 ≤ n) :\n    ∃! x : Fin n → ℝ, IsCanonical x ∧ Equioscillates x := by\n  sorry\n\n/--\nWithout the canonical hypothesis the minimiser of $\\Lambda$ is not unique. For every $n\\ge 3$\nthere are uncountably many node sets $x_1<\\dots<x_n$ in $[-1,1]$ with the minimal Lebesgue\nconstant [RaVa15, Theorem 2.5]. The reason is affine invariance. Rescaling a node set to a\ncanonical one keeps its local maxima between consecutive nodes and does not increase $\\Lambda$\n([Ib16, Section 2.1 (e)]), so the minimal Lebesgue constant $\\Lambda^*$ is attained by the\ncanonical minimiser $x^*$. The shrunk node set $x^*/\\tau$ with $\\tau\\ge 1$ has\n$\\Lambda(x^*/\\tau)=\\max_{\\lvert u\\rvert\\le\\tau}L_{x^*}(u)$. Since $L_{x^*}(\\pm 1)=1<\\Lambda^*$ for\n$n\\ge 3$, this is still $\\Lambda^*$ for all $\\tau\\ge 1$ close to $1$ (see the proof of\n[RaVa15, Theorem 2.5]). For $n=4$ the node sets\n$\\pm 1/\\tau,\\pm t/\\tau$ with $1\\le\\tau\\le b$ for a constant $b\\approx 1.0433$, where $t$ is as\nin `erdos_1129.variants.four_nodes`, are all optimal [RaVa15, Theorem 4.2].\n-/\n@[category research solved, AMS 41]\ntheorem erdos_1129.variants.free_nodes_not_unique (n : ℕ) (hn : 3 ≤ n) :\n    ¬ {x : Fin n → ℝ | IsMinimiser x}.Countable := by\n  sorry\n\n/--\nFor $n=3$ the canonical minimiser is $-1,0,1$, with $\\Lambda=\\frac54$ (Bernstein [Be31], see\n[RaVa15, Section 2]).\n-/\n@[category research solved, AMS 41]\ntheorem erdos_1129.variants.three_nodes :\n    {x : Fin 3 → ℝ | IsCanonical x ∧ IsMinimiser x} = ({![(-1 : ℝ), 0, 1]} : Set (Fin 3 → ℝ)) ∧\n      lebesgueConstant (![(-1 : ℝ), 0, 1] : Fin 3 → ℝ) = 5 / 4 := by\n  sorry\n\n/--\nFor $n=4$ the canonical minimiser is $-1,-t,t,1$, where $t>0$ is the (unique positive) root of\n$25t^6+17t^4+2t^2-1$, so $t\\approx 0.4178$, and\n$\\Lambda=\\frac{1+t^2}{1-t^2}\\approx 1.4229$ [RaVa15, Section 3, (3.4)-(3.9)].\n-/\n@[category research solved, AMS 41]\ntheorem erdos_1129.variants.four_nodes (t : ℝ) (ht : 0 < t)\n    (hroot : 25 * t ^ 6 + 17 * t ^ 4 + 2 * t ^ 2 - 1 = 0) :\n    {x : Fin 4 → ℝ | IsCanonical x ∧ IsMinimiser x} =\n        ({![(-1 : ℝ), -t, t, 1]} : Set (Fin 4 → ℝ)) ∧\n      lebesgueConstant (![(-1 : ℝ), -t, t, 1] : Fin 4 → ℝ) = (1 + t ^ 2) / (1 - t ^ 2) := by\n  sorry\n\n/--\nFaber [Fa14] proved $\\Lambda(x_1,\\ldots,x_n)\\gg \\log n$ for all choices of $x_i$, and Bernstein\n[Be31] announced $\\Lambda>(\\frac{2}{\\pi}-o(1))\\log n$ (see [Er61c, p. 235]). Erdős [Er61c,\nTheorem 1] improved this: there is an absolute constant $c_1$ such that for all\n$-1\\le x_1<\\cdots<x_n\\le 1$\n$$\\max_{x\\in[-1,1]}\\sum_k\\lvert l_k(x)\\rvert>\\frac{2}{\\pi}\\log n-c_1.$$\n-/\n@[category research solved, AMS 41]\ntheorem erdos_1129.variants.erdos_lower_bound :\n    ∃ C : ℝ, ∀ (n : ℕ) (x : Fin n → ℝ), 1 ≤ n → IsNodeSet x →\n      2 / Real.pi * Real.log n - C < lebesgueConstant x := by\n  sorry\n\n/--\nThis is best possible: for the zeros of the Chebyshev polynomial $T_n$ there is an absolute\nconstant $c_2$ with $\\max_{x\\in[-1,1]}\\sum_k\\lvert l_k(x)\\rvert<\\frac{2}{\\pi}\\log n+c_2$\n([Er61c, p. 236], [Er67, p. 66]). [Ib16, Section 3.2] gives the precise asymptotics.\n-/\n@[category research solved, AMS 41]\ntheorem erdos_1129.variants.chebyshev_upper_bound :\n    ∃ C : ℝ, ∀ (n : ℕ) (x : Fin n → ℝ), 1 ≤ n → IsChebyshevNodes x →\n      lebesgueConstant x < 2 / Real.pi * Real.log n + C := by\n  sorry\n\nend Erdos1129\n",
  "statement_hash": "c41b5d3d1a14f6b1e461bbc1e5dc970ad813e5e956d70b8cd8575852919dfd25",
  "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."
}