op2046_pointwise_rigidity_gives_eventual_prefix
If a real sequence converges to zero, then adding any positive linear drift to its prefix sums makes them eventually strictly positive.
Statement
theorem op2046_pointwise_rigidity_gives_eventual_prefix (u : ℕ → ℝ) (hu : Tendsto u atTop (𝓝 0)) (s : ℝ) (hs : 0 < s) : ∀ᶠ k : ℕ in atTop, 0 < (∑ j ∈ Finset.range k, u j) + (k : ℝ) * s
- Source
- OP-2046 candidate Airy persistence: global point rigidity and the standard Cesaro averaging theorem.
- Verified
- 20 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext
The proof, explained
Because the sequence u converges to 0, its Cesàro averages k⁻¹ ∑_{j=0}^{k-1} u j also converge to 0. Since the drift coefficient s is strictly positive, these averages must eventually exceed -s. For sufficiently large k ≥ 1, multiplying this bound by k > 0 clears the denominator to give ∑_{j=0}^{k-1} u j > -k * s, which rearranges to show that the prefix sums with linear drift are eventually strictly positive.
The Cesàro averages of u are eventually strictly greater than -s.
By the Cesàro mean theorem (`hu.cesaro`), since u converges to 0, its sequence of Cesàro averages k⁻¹ ∑_{j=0}^{k-1} u j also converges to 0. Because s > 0, we have -s < 0 (verified by `linarith`), so the open ray (-s, ∞) is a neighborhood of 0 by `Ioi_mem_nhds`. Therefore, the Cesàro averages eventually lie in (-s, ∞).
uses
Ioi_mem_nhdshave hmean : ∀ᶠ k : ℕ in atTop, -s < (k : ℝ)⁻¹ * ∑ j ∈ Finset.range k, u j := hu.cesaro.eventually (Ioi_mem_nhds (by linarith))
It suffices to establish strict positivity for an arbitrary index k ≥ 1 where the Cesàro average exceeds -s.
By `eventually_ge_atTop 1`, the condition k ≥ 1 holds for all sufficiently large k. Using `filter_upwards` to intersect this with the eventual Cesàro bound, the eventual positivity of the drifted sum reduces to verifying it for an arbitrary natural number k satisfying both k ≥ 1 and -s < k⁻¹ ∑_{j=0}^{k-1} u j.
uses
eventually_ge_atTopfilter_upwards [hmean, eventually_ge_atTop 1] with k hk hkpos
For any index k ≥ 1 satisfying the Cesàro average lower bound, the drifted prefix sum (∑_{j=0}^{k-1} u j) + k * s is strictly positive.
From k ≥ 1, casting to the real numbers gives k > 0. Rewriting the average k⁻¹ ∑_{j=0}^{k-1} u j as (∑_{j=0}^{k-1} u j) / k via `inv_mul_eq_div`, multiplying both sides by k > 0 preserves the strict inequality by `lt_div_iff₀`, giving -s * k < ∑_{j=0}^{k-1} u j. Rearranging terms (`nlinarith`) immediately yields 0 < (∑_{j=0}^{k-1} u j) + k * s.
uses
inv_mul_eq_div,lt_div_iff₀have hkp : (0 : ℝ) < k := by exact_mod_cast hkpos rw [inv_mul_eq_div] at hk have hh := (lt_div_iff₀ hkp).mp hk nlinarith
Ioi_mem_nhds- The open right-infinite interval (a, ∞) is a neighborhood of any point b strictly greater than a.
eventually_ge_atTop- In a preorder, any fixed element a is eventually bounded above by the variable x along the atTop filter (that is, a ≤ x holds for all sufficiently large x).
inv_mul_eq_div- Multiplication by the inverse a⁻¹ * b is equal to the quotient b / a.
lt_div_iff₀- For a strictly positive element c > 0, the inequality a < b / c is equivalent to a * c < b.
- The cast from the natural number inequality 1 ≤ k to the real inequality 0 < k on line 11 (via exact_mod_cast) is a formal type-coercion step that would be implicit on paper.
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
open scoped BigOperators Matrix Topologyopen MeasureTheory ProbabilityTheory Filternoncomputable sectiontheorem op2046_pointwise_rigidity_gives_eventual_prefix (u : ℕ → ℝ) (hu : Tendsto u atTop (𝓝 0)) (s : ℝ) (hs : 0 < s) : ∀ᶠ k : ℕ in atTop, 0 < (∑ j ∈ Finset.range k, u j) + (k : ℝ) * s := by have hmean : ∀ᶠ k : ℕ in atTop, -s < (k : ℝ)⁻¹ * ∑ j ∈ Finset.range k, u j := hu.cesaro.eventually (Ioi_mem_nhds (by linarith)) filter_upwards [hmean, eventually_ge_atTop 1] with k hk hkpos have hkp : (0 : ℝ) < k := by exact_mod_cast hkpos rw [inv_mul_eq_div] at hk have hh := (lt_div_iff₀ hkp).mp hk nlinarith