Is Erdős Problem #1026 solved?
Yes. erdosproblems.com lists it as solved (Lean) (their entry updated 12 Dec 2025).
The problem
erdosproblems.com/1026 ↗Thomas Bloom's erdosproblems.com has the statement, its history and references. In the words of Formal Conjectures:
Let \(x_1,\ldots,x_n\) be a sequence of distinct real numbers. Determine $$ \max\left(\sum x_{i_r}\right), $$ where the maximum is taken over all monotonic subsequences.
This is as Erdős posed the problem in [Er71], which is rather ambiguous. Discussion between several users in the comments section has led to the following precise possible question, as posed by van Doorn:
What is the largest constant \(c\) such that, for all sequences of \(n\) real numbers \(x_1,\ldots,x_n\), $$ \max\left(\sum x_{i_r}\right) > (c-o(1))\frac{1}{\sqrt{n}}\sum x_i $$ (where again the maximum is taken over all monotonic subsequences)?
Cambie makes the stronger conjecture that if \(x_1,\ldots,x_{k^2}\) are distinct positive real numbers with \(\sum x_i=1\) then there is always a monotonic subsequence with sum at least \(1/k\).
This stronger conjecture appears to have been first proved by Tidor, Wang, and Yang [TWY16], and is also implicit in work of Wagner [Wa17]. A proof was given and formalised by Aristotle (see the comments), with an alternative proof provided by Chan. In particular, this shows that \(c=1\).
In Lean:
theorem erdos_1026 : IsGreatest admissibleConstants 1
Stated in Lean
in the atlas →5 statements (the problem, its parts and variants) from Formal Conjectures. A proof submitted here is built and checked by Lean's kernel on our node.
Erdos1026.erdos_1026solved upstreamtheorem erdos_1026 : IsGreatest admissibleConstants 1
Erdos1026.erdos_1026.variants.hananisolved upstreamtheorem erdos_1026.variants.hanani (ε : ℝ) (hε : 0 < ε) : ∀ᶠ n : ℕ in atTop, ∀ x : Fin n → ℝ, Function.Injective x → ∃ (m : ℕ) (I : Fin m → Finset (Fin n)), (∀ j, MonotoneOn x ↑(I j) ∨ AntitoneOn x ↑(I j)) ∧ (Pairwise fun j k => Disjoint (I j) (I k)) ∧ (Finset.univ : Finset (Fin m)).biUnion I = Finset.univ ∧ (m : ℝ) ≤ (Real.sqrt 2 + ε) * Real.sqrt (n : ℝ)Erdos1026.erdos_1026.variants.lower_boundsolved upstreamtheorem erdos_1026.variants.lower_bound : 1 / Real.sqrt 2 ∈ admissibleConstants
Erdos1026.erdos_1026.variants.upper_boundsolved upstreamtheorem erdos_1026.variants.upper_bound : 1 ∈ upperBounds admissibleConstants
theorem erdos_1026.variants.weighted_erdos_szekeres (k : ℕ) (hk : 0 < k) (x : Fin (k ^ 2) → ℝ) (hx : Function.Injective x) (hx' : ∀ i, 0 < x i) (hsum : (∑ i, x i) = 1) : ∃ S ∈ monotonicSubsequenceSums x, 1 / (k : ℝ) ≤ S