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 1132 · lagrangeBasis_self

Source:Erdős Problems
api Checks that the formal definitions behave as intended. First verified proof: +1 points.
Statement:reviewed
Statement:

If the nodes x 0, …, x (n - 1) are distinct and k<nk<n, then lk(xk)=1l_k(x_k)=1.

Subjects:Classical Analysis and ODEs (math.CA)
MSC classes:41
Cite as:NS.00752 [math.CA] · NS.00752v1 for this version
Declaration:Erdos1132.lagrangeBasis_self
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 100
Statement hash:c68d6877d0a36582590b40a517c1deac92e16fb1962e9a347727ba2c9093155f
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/1132.lean

Formal statement

theorem lagrangeBasis_self {n : ℕ} {x : ℕ → ℝ} (hx : Set.InjOn x (Set.Iio n)) {k : ℕ}
    (hk : k < n) : lagrangeBasis n x k (x k) = 1
Show the full Challenge.lean (160 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1132

*References:*
- [erdosproblems.com/1132](https://www.erdosproblems.com/1132)
- [Be31] Bernstein, S., *Sur la limitation des valeurs d'un polynome $P_n(x)$ de degré $n$ sur
  tout un segment par ses valeurs en $(n+1)$ points du segment*. Izv. Akad. Nauk SSSR (1931),
  1025-1050.
- [Er61c] Erdős, P., *Problems and results on the theory of interpolation. II*. Acta Math. Acad.
  Sci. Hungar. 12 (1961), 235-244. [PDF](https://www.renyi.hu/~p_erdos/1961-20.pdf)
- [Er67] Erdős, P., *Problems and results on the convergence and divergence properties of the
  Lagrange interpolation polynomials and some extremal problems*. Mathematica (Cluj) 10 (1968),
  65-73. [PDF](https://www.renyi.hu/~p_erdos/1967-20.pdf)
- [Ta26b] Tao, T., *Local Bernstein theory, and lower bounds for Lebesgue constants*.
  [arXiv:2603.21453](https://arxiv.org/abs/2603.21453) (2026).
- [Va99] Various, *Some of Paul's favorite problems*. Booklet produced for the conference
  "Paul Erdős and his mathematics", Budapest, July 1999 (1999).
-/

@[expose] public section

open Filter MeasureTheory

namespace Erdos1132

/-- The fundamental Lagrange function $l_k$ of the nodes `x 0, …, x (n - 1)`, evaluated at `t`:
$$l_k(t)=\frac{\prod_{i\neq k}(t-x_i)}{\prod_{i\neq k}(x_k-x_i)},$$
where $i$ and $k$ range over `Finset.range n`. If two nodes coincide, a denominator vanishes and
the value is the junk value `0`, so the statements below assume that the nodes are distinct. -/
noncomputable def lagrangeBasis (n : ℕ) (x : ℕ → ℝ) (k : ℕ) (t : ℝ) : ℝ :=
  (∏ i ∈ (Finset.range n).erase k, (t - x i)) / ∏ i ∈ (Finset.range n).erase k, (x k - x i)

/-- The Lebesgue function $L_n(t)=\sum_{k<n}\lvert l_k(t)\rvert$ of the first `n` nodes
`x 0, …, x (n - 1)`. The nodes `x 0, x 1, …` play the role of $x_1, x_2, \ldots$. -/
noncomputable def lebesgueFunction (n : ℕ) (x : ℕ → ℝ) (t : ℝ) : ℝ :=
  ∑ k ∈ Finset.range n, |lagrangeBasis n x k t|

/-- If the nodes `x 0, …, x (n - 1)` are distinct and $k<n$, then $l_k(x_k)=1$. -/
@[category API, AMS 41]
theorem lagrangeBasis_self {n : ℕ} {x : ℕ → ℝ} (hx : Set.InjOn x (Set.Iio n)) {k : ℕ}
    (hk : k < n) : lagrangeBasis n x k (x k) = 1 := by
  unfold lagrangeBasis
  apply div_self
  rw [Finset.prod_ne_zero_iff]
  intro i hi
  rw [Finset.mem_erase, Finset.mem_range] at hi
  exact sub_ne_zero.mpr fun h => hi.1 (hx (Set.mem_Iio.mpr hk) (Set.mem_Iio.mpr hi.2) h).symm

/--
For $x_1,\ldots,x_n\in [-1,1]$ let
$$l_k(x)=\frac{\prod_{i\neq k}(x-x_i)}{\prod_{i\neq k}(x_k-x_i)},$$
which are such that $l_k(x_k)=1$ and $l_k(x_i)=0$ for $i\neq k$.

Let $x_1,x_2,\ldots\in [-1,1]$ be an infinite sequence, and let
$$L_n(x) = \sum_{1\leq k\leq n}\lvert l_k(x)\rvert,$$
where each $l_k(x)$ is defined above with respect to $x_1,\ldots,x_n$.

Must there exist $x\in (-1,1)$ such that
$$L_n(x) >\frac{2}{\pi}\log n-O(1)$$
for infinitely many $n$?

This is the first part, asked in [Er67, p. 68] (see also [Va99, 2.43]); [Er61c, (4)] states it as
"quite possibly true". Both papers consider an arbitrary triangular array of nodes; as on the
problem page, we take the first $n$ terms of one sequence, a special case. The nodes are required
to be distinct, so that $l_k$ is defined. We let the constant $C$ in $O(1)$ depend on the sequence
and on $x$, the weakest reading. In [Er61c, (4)] it is an absolute constant.
-/
@[category research open, question, AMS 41]
theorem erdos_1132.parts.i :
    ∀ x : ℕ → ℝ, (∀ k, x k ∈ Set.Icc (-1 : ℝ) 1) → Function.Injective x →
      ∃ t ∈ Set.Ioo (-1 : ℝ) 1, ∃ C : ℝ, ∃ᶠ n : ℕ in atTop,
        2 / Real.pi * Real.log n - C < lebesgueFunction n x t := by
  sorry

/--
For $x_1,\ldots,x_n\in [-1,1]$ let
$$l_k(x)=\frac{\prod_{i\neq k}(x-x_i)}{\prod_{i\neq k}(x_k-x_i)},$$
which are such that $l_k(x_k)=1$ and $l_k(x_i)=0$ for $i\neq k$.

Let $x_1,x_2,\ldots\in [-1,1]$ be an infinite sequence, and let
$$L_n(x) = \sum_{1\leq k\leq n}\lvert l_k(x)\rvert,$$
where each $l_k(x)$ is defined above with respect to $x_1,\ldots,x_n$.

Is it true that
$$\limsup_{n\to \infty}\frac{L_n(x)}{\log n}\geq \frac{2}{\pi}$$
for almost all $x\in (-1,1)$?

This is the second part, asked in [Er67, p. 68] ("Perhaps (7) holds for almost all $x_0$"), again
for triangular arrays. The nodes are required to be distinct. We write the $\limsup$ condition as:
for every $\varepsilon>0$, there are infinitely many $n$ with
$$L_n(x)\geq\left(\frac{2}{\pi}-\varepsilon\right)\log n.$$
This is equivalent, and avoids the junk value of a real `limsup` of an unbounded sequence.

The problem page says that a result of Bernstein [Be31] implies that the set of such $x$ is
everywhere dense. In [Er67, p. 68] Erdős derives this from his own unpublished bound (6), which
sharpens a result of Bernstein. It also follows from `erdos_1132.variants.tao` with
$\omega(n)=\log\log n$.
-/
@[category research open, question, AMS 41]
theorem erdos_1132.parts.ii :
    ∀ x : ℕ → ℝ, (∀ k, x k ∈ Set.Icc (-1 : ℝ) 1) → Function.Injective x →
      ∀ᵐ t ∂(volume.restrict (Set.Ioo (-1 : ℝ) 1)),
        ∀ ε > (0 : ℝ), ∃ᶠ n : ℕ in atTop,
          (2 / Real.pi - ε) * Real.log n ≤ lebesgueFunction n x t := by
  sorry

/--
Erdős [Er61c, Theorem 1] proved that, for any fixed $x_1,\ldots,x_n\in [-1,1]$,
$$\max_{x\in [-1,1]}\sum_{1\leq k\leq n}\lvert l_k(x)\rvert>\frac{2}{\pi}\log n-O(1).$$
Here $O(1)$ is an absolute constant $C$, and the maximum exceeds a bound if and only if some point
does, so we write the statement with `∃ t`. The nodes are required to be distinct.
-/
@[category research solved, AMS 41]
theorem erdos_1132.variants.erdos_max :
    ∃ C : ℝ, ∀ n : ℕ, 1 ≤ n → ∀ x : ℕ → ℝ, (∀ k < n, x k ∈ Set.Icc (-1 : ℝ) 1) →
      Set.InjOn x (Set.Iio n) →
        ∃ t ∈ Set.Icc (-1 : ℝ) 1, 2 / Real.pi * Real.log n - C < lebesgueFunction n x t := by
  sorry

/--
Tao [Ta26b, Corollary 1.11] has proved that for any function $\omega(n)$ which tends to infinity
with $n$ there exists a dense set of $x\in (-1,1)$ such that
$$L_n(x)\geq \frac{2}{\pi}\log n-\omega(n)$$
for infinitely many $n$.

Tao proves this for an arbitrary triangular array of distinct nodes in $[-1,1]$, so in particular
for the first $n$ terms of a sequence. We state the array version: `x n k` is the $k$-th node
(counted from $0$) of the $n$-th row, and the set is dense in $(-1,1)$ if every point of
$(-1,1)$ is in its closure.
-/
@[category research solved, AMS 41]
theorem erdos_1132.variants.tao :
    ∀ x : ℕ → ℕ → ℝ, (∀ n, ∀ k < n, x n k ∈ Set.Icc (-1 : ℝ) 1) →
      (∀ n, Set.InjOn (x n) (Set.Iio n)) →
      ∀ ω : ℕ → ℝ, Tendsto ω atTop atTop →
        Set.Ioo (-1 : ℝ) 1 ⊆ closure {t ∈ Set.Ioo (-1 : ℝ) 1 |
          ∃ᶠ n : ℕ in atTop, 2 / Real.pi * Real.log n - ω n ≤ lebesgueFunction n (x n) t} := by
  sorry

end Erdos1132

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

nosorry desk erdos-1132--lagrangebasis-self      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-1132--lagrangebasis-self
nosorry submit erdos-1132--lagrangebasis-self nosorry/erdos-1132--lagrangebasis-self/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.