Source audit
Definitions, theorems, assumptions, proof route, and exact anchors.
Stable source-facing chapter environment inside the shared Samplinglib reader.
Definitions, theorems, assumptions, proof route, and exact anchors.
Search Mathlib, Optlib, CvxLean, and shared Samplinglib interfaces; preserve the exact Chewi statement and use a small adapter when conventions differ.
Only genuinely missing mathematical edges become theorem-sized tasks.
Dependencies, consumers, cross-library bridges, and reusable shared interfaces.
Sinho Chewi, Lectures on Optimization. ASTIS restatement, not quoted prose; no endorsement implied.
arXiv:2605.07006v1 · §3 Exercise3.1 (3.4)-(3.5), using Lemma3.1 and Definition1.12 (1.7) · faithful paraphrase
For convex β-smooth f on Euclidean d-space, apply the descent estimate to f minus the tangent plane at x, which is minimized at x, to obtain (3.4). Exchange endpoints to deduce (3.5), then use Cauchy–Schwarz to conclude that the gradient is β-Lipschitz. The exercise explicitly says that second differentiability is unnecessary. Definition1.12 allows β≥0; the reciprocal formula and its suggested step have an unstated positive-denominator domain, recorded separately in the binding.
Each statement and proof below has its own closed Lean disclosure. ASTIS parents, Mathlib calls and external mathematical sources are distinguished in each proof.
AutoSamplingTheory.TechnicalLemmas.Analysis.ConvexSmoothGradient.gradient_gap_sq_le_bregman · theorem · Teaching coverage
For a positive real β and a C¹ convex real-valued function on a complete real inner-product space satisfying the global β quadratic upper model, every ordered pair x,y satisfies the squared gradient difference bound by 2β times its Bregman gap.
Fix x,y and write d=∇f(y)−∇f(x), z=y−d/β. Convexity and the actual gradient give the supporting-plane lower bound at x. This says f minus its tangent plane at x is minimized at x. The positive β makes the trial step meaningful.
StrongConvexFirstOrder.firstOrder_lower_bound_of_strongConvexOn at modulus zero; strongConvexOn_zero and hf.differentiable_one.hasGradientAt.
Apply the original upper model from y to z. Insert z−y=−d/β and z−x=(y−x)−d/β in the two models. Combining the inequalities eliminates f(z). The difference of the two linear terms is ⟨d,d⟩/β.
hu y z; hzx and hzy; inner_sub_left/right, inner_smul_right, norm_smul, real_inner_self_eq_norm_sq.
Multiplication by 2β gives the shared division-free statement. The Lean proof carries out the same field arithmetic with β≠0 and positive reciprocal. The source reciprocal form is only recovered for β>0.
mul_le_mul_iff_right₀, inv_pos, field_simp and nlinarith; the reciprocal source form is also compiled in Tests.Shared.ConvexSmoothGradient.
For a positive real β and a C¹ convex real-valued function on a complete real inner-product space satisfying the global β quadratic upper model, every ordered pair x,y satisfies the squared gradient difference bound by 2β times its Bregman gap.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_gap_sq_le_bregman {f : E → ℝ} {β : ℝ}
(hf : ContDiff ℝ 1 f) (hc : ConvexOn ℝ univ f) (hβ : 0 < β)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x y : E) :
‖gradient f y - gradient f x‖ ^ 2 ≤
2 * β * (f y - f x - inner ℝ (gradient f x) (y - x))Fix x,y and write d=∇f(y)−∇f(x), z=y−d/β. Convexity and the actual gradient give the supporting-plane lower bound at x. This says f minus its tangent plane at x is minimized at x. The positive β makes the trial step meaningful. Apply the original upper model from y to z. Insert z−y=−d/β and z−x=(y−x)−d/β in the two models. Combining the inequalities eliminates f(z). The difference of the two linear terms is ⟨d,d⟩/β. Multiplication by 2β gives the shared division-free statement. The Lean proof carries out the same field arithmetic with β≠0 and positive reciprocal. The source reciprocal form is only recovered for β>0.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_gap_sq_le_bregman {f : E → ℝ} {β : ℝ}
(hf : ContDiff ℝ 1 f) (hc : ConvexOn ℝ univ f) (hβ : 0 < β)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x y : E) :
‖gradient f y - gradient f x‖ ^ 2 ≤
2 * β * (f y - f x - inner ℝ (gradient f x) (y - x)) := by
let d := gradient f y - gradient f x
let z := y - β⁻¹ • d
have hl := StrongConvexFirstOrder.firstOrder_lower_bound_of_strongConvexOn
(strongConvexOn_zero.mpr hc)
(fun w _ => (hf.differentiable_one w).hasGradientAt) (mem_univ x) (mem_univ z)
simp only [zero_div, zero_mul, add_zero] at hl
have hh := hu y z
have hzx : z - x = (y - x) - β⁻¹ • d := by dsimp [z]; abel
rw [hzx, inner_sub_right, inner_smul_right] at hl
have hzy : z - y = -(β⁻¹ • d) := by dsimp [z]; abel
rw [hzy, inner_neg_right, inner_smul_right, norm_neg, norm_smul,
Real.norm_eq_abs, mul_pow, sq_abs] at hh
have hd : inner ℝ (gradient f y) d - inner ℝ (gradient f x) d = ‖d‖ ^ 2 := by
rw [← inner_sub_left]
exact real_inner_self_eq_norm_sq d
have h := le_trans hl hh
have hb : β ≠ 0 := ne_of_gt hβ
apply (mul_le_mul_iff_right₀ (inv_pos.mpr hβ)).mp
field_simp [hb] at h ⊢
nlinarith
/-- Convex gradients are cocoercive in the division-free normalization.
The zero-modulus case follows by relaxing the upper model to `β + ε` and
letting positive `ε` tend to zero, without assigning meaning to a zero denominator. -/| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| Euclidean d-space, all x,y. | Complete real inner-product space E, all x,y:E. | generalization | The proof uses only the Riesz gradient, convex first-order support and real inner-product algebra; no dimension-dependent step occurs. |
| C¹ smoothness; the exercise explicitly removes the section-wide C² assumption. | ContDiff ℝ 1 f and ConvexOn ℝ Set.univ f, with the actual quadratic upper model. | same | All regularity needed for the genuine gradient and first-order support follows from C¹; no integrability, Hessian or supplied gradient premise is added. |
| Definition1.12 allows β≥0; (3.4) displays 1/(2β), with no explicit β>0 in the exercise. | β>0; shared scaled Bregman formula equivalent to (3.4) only in this domain. | source-implicit | The reciprocal source expression and the trial step need positive β. This does not follow from convex smoothness: affine functions have β=0. We retain the source wording and expose that boundary; zero is established only for the meaningful scaled and Lipschitz conclusions, not by Lean inv_zero. |
The complete real inner-product space explicitly generalizes the source Euclidean space. A constrained set is not covered: the trial gradient step must remain in the domain. No Riemannian, stochastic, or companion-paper theorem is claimed. Definition1.12 permits β≥0, but the reciprocal in (3.4) and the suggested step 1/β require β>0; the source does not state that restriction explicitly. The first declaration covers this positive domain. The scaled (3.5) and Lipschitz conclusions are separately established at β=0.
Encoder–denoiser: source-reviewed · implicit-assumption-exposed
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
AutoSamplingTheory.TechnicalLemmas.Analysis.ConvexSmoothGradient.gradient_cocoercive · theorem · Teaching coverage
For a nonnegative real β and a C¹ convex real-valued function on a complete real inner-product space satisfying the global β quadratic upper model, every ordered pair x,y satisfies the division-free cocoercivity inequality.
Fix x,y and set d=∇f(y)−∇f(x). For ε>0, the β upper model implies the (β+ε) model because squared norm is nonnegative. Thus the positive-modulus Bregman bound applies even when β=0.
hu' follows by real arithmetic from hu and sq_nonneg; two calls of gradient_gap_sq_le_bregman.
The values f(x),f(y) cancel. The two Bregman gaps sum to the gradient-displacement pairing, while reversing the gradient difference preserves its squared norm.
hxy and hyx; norm_sub_rev, inner_neg_right, inner_sub_left and nlinarith.
Let ε decrease to zero. The right side is affine and continuous in ε, and order is closed in ℝ. This proves the scaled bound for all β≥0. At β=0 the norm square must be zero, so the gradient is constant; no inverse at zero is used.
Tendsto.add/mul and tendsto_id.mono_left nhdsWithin_le_nhds; ge_of_tendsto with self_mem_nhdsWithin.
For a nonnegative real β and a C¹ convex real-valued function on a complete real inner-product space satisfying the global β quadratic upper model, every ordered pair x,y satisfies the division-free cocoercivity inequality.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_cocoercive {f : E → ℝ} {β : ℝ}
(hf : ContDiff ℝ 1 f) (hc : ConvexOn ℝ univ f) (hβ : 0 ≤ β)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x y : E) :
‖gradient f y - gradient f x‖ ^ 2 ≤
β * inner ℝ (gradient f y - gradient f x) (y - x)Fix x,y and set d=∇f(y)−∇f(x). For ε>0, the β upper model implies the (β+ε) model because squared norm is nonnegative. Thus the positive-modulus Bregman bound applies even when β=0. The values f(x),f(y) cancel. The two Bregman gaps sum to the gradient-displacement pairing, while reversing the gradient difference preserves its squared norm. Let ε decrease to zero. The right side is affine and continuous in ε, and order is closed in ℝ. This proves the scaled bound for all β≥0. At β=0 the norm square must be zero, so the gradient is constant; no inverse at zero is used.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_cocoercive {f : E → ℝ} {β : ℝ}
(hf : ContDiff ℝ 1 f) (hc : ConvexOn ℝ univ f) (hβ : 0 ≤ β)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x y : E) :
‖gradient f y - gradient f x‖ ^ 2 ≤
β * inner ℝ (gradient f y - gradient f x) (y - x) := by
have he (ε : ℝ) (hε : 0 < ε) :
‖gradient f y - gradient f x‖ ^ 2 ≤
(β + ε) * inner ℝ (gradient f y - gradient f x) (y - x) := by
have hu' (a b : E) : f b ≤ f a + inner ℝ (gradient f a) (b - a) +
(β + ε) / 2 * ‖b - a‖ ^ 2 := by
have := hu a b
nlinarith [sq_nonneg ‖b - a‖]
have hxy := gradient_gap_sq_le_bregman hf hc (add_pos_of_nonneg_of_pos hβ hε) hu' x y
have hyx := gradient_gap_sq_le_bregman hf hc (add_pos_of_nonneg_of_pos hβ hε) hu' y x
rw [norm_sub_rev (gradient f x), show x - y = -(y - x) by abel, inner_neg_right] at hyx
rw [inner_sub_left]
nlinarith
have ht : Tendsto (fun ε : ℝ => (β + ε) *
inner ℝ (gradient f y - gradient f x) (y - x)) (𝓝[>] 0)
(𝓝 (β * inner ℝ (gradient f y - gradient f x) (y - x))) := by
simpa using (tendsto_const_nhds.add (tendsto_id.mono_left nhdsWithin_le_nhds :
Tendsto (fun ε : ℝ => ε) (𝓝[>] 0) (𝓝 0))).mul tendsto_const_nhds
apply ge_of_tendsto ht
filter_upwards [self_mem_nhdsWithin] with ε hε
exact he ε hε
/-- A C¹ convex function with the global quadratic upper model has a
`β`-Lipschitz gradient, including `β = 0`. -/| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| Euclidean d-space, all x,y. | Complete real inner-product space E, all x,y:E. | generalization | The proof uses only the Riesz gradient, convex first-order support and real inner-product algebra; no dimension-dependent step occurs. |
| C¹ smoothness; the exercise explicitly removes the section-wide C² assumption. | ContDiff ℝ 1 f and ConvexOn ℝ Set.univ f, with the actual quadratic upper model. | same | All regularity needed for the genuine gradient and first-order support follows from C¹; no integrability, Hessian or supplied gradient premise is added. |
| Definition1.12 allows β≥0; (3.4) displays 1/(2β), with no explicit β>0 in the exercise. | β≥0; division-free (3.5), with zero handled by positive relaxation and a limit. | same | The reciprocal source expression and the trial step need positive β. This does not follow from convex smoothness: affine functions have β=0. We retain the source wording and expose that boundary; zero is established only for the meaningful scaled and Lipschitz conclusions, not by Lean inv_zero. |
The complete real inner-product space explicitly generalizes the source Euclidean space. A constrained set is not covered: the trial gradient step must remain in the domain. No Riemannian, stochastic, or companion-paper theorem is claimed. Definition1.12 permits β≥0, but the reciprocal in (3.4) and the suggested step 1/β require β>0; the source does not state that restriction explicitly. The first declaration covers this positive domain. The scaled (3.5) and Lipschitz conclusions are separately established at β=0.
Encoder–denoiser: source-reviewed · domain-mismatch
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
AutoSamplingTheory.TechnicalLemmas.Analysis.ConvexSmoothGradient.gradient_lipschitz · theorem · Teaching coverage
For a nonnegative real β and a C¹ convex real-valued function on a complete real inner-product space satisfying the global β quadratic upper model, its genuine gradient is β-Lipschitz everywhere.
Write d=∇f(y)−∇f(x), v=y−x. Multiply the inner-product upper bound by the nonnegative β and combine it with cocoercivity.
gradient_cocoercive and real_inner_le_norm; mul_le_mul_of_nonneg_left uses β.coe_nonneg.
If ‖d‖=0, the desired inequality is immediate. Otherwise ‖d‖>0 and cancellation yields the Lipschitz estimate. This does not divide by β and therefore includes β=0.
lipschitzWith_iff_norm_sub_le; by_cases on the norm, norm_nonneg, mul_le_mul_iff_left₀ and nlinarith.
For a nonnegative real β and a C¹ convex real-valued function on a complete real inner-product space satisfying the global β quadratic upper model, its genuine gradient is β-Lipschitz everywhere.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_lipschitz {f : E → ℝ} {β : NNReal}
(hf : ContDiff ℝ 1 f) (hc : ConvexOn ℝ univ f)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + (β : ℝ) / 2 * ‖y - x‖ ^ 2) :
LipschitzWith β (gradient f)Write d=∇f(y)−∇f(x), v=y−x. Multiply the inner-product upper bound by the nonnegative β and combine it with cocoercivity. If ‖d‖=0, the desired inequality is immediate. Otherwise ‖d‖>0 and cancellation yields the Lipschitz estimate. This does not divide by β and therefore includes β=0.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_lipschitz {f : E → ℝ} {β : NNReal}
(hf : ContDiff ℝ 1 f) (hc : ConvexOn ℝ univ f)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + (β : ℝ) / 2 * ‖y - x‖ ^ 2) :
LipschitzWith β (gradient f) := by
rw [lipschitzWith_iff_norm_sub_le]
intro x y
have h := gradient_cocoercive hf hc β.coe_nonneg hu y x
have hs := mul_le_mul_of_nonneg_left
(real_inner_le_norm (gradient f x - gradient f y) (x - y)) β.coe_nonneg
by_cases hz : ‖gradient f x - gradient f y‖ = 0
· rw [hz]
positivity
· apply (mul_le_mul_iff_left₀ (lt_of_le_of_ne (norm_nonneg _) (Ne.symm hz))).mp
nlinarith
end AutoSamplingTheory.TechnicalLemmas.Analysis.ConvexSmoothGradient| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| Euclidean d-space, all x,y. | Complete real inner-product space E, all x,y:E. | generalization | The proof uses only the Riesz gradient, convex first-order support and real inner-product algebra; no dimension-dependent step occurs. |
| C¹ smoothness; the exercise explicitly removes the section-wide C² assumption. | ContDiff ℝ 1 f and ConvexOn ℝ Set.univ f, with the actual quadratic upper model. | same | All regularity needed for the genuine gradient and first-order support follows from C¹; no integrability, Hessian or supplied gradient premise is added. |
| Definition1.12 allows β≥0; (3.4) displays 1/(2β), with no explicit β>0 in the exercise. | β:NNReal; Lipschitz bound includes β=0 and uses no reciprocal. | same | The reciprocal source expression and the trial step need positive β. This does not follow from convex smoothness: affine functions have β=0. We retain the source wording and expose that boundary; zero is established only for the meaningful scaled and Lipschitz conclusions, not by Lean inv_zero. |
The complete real inner-product space explicitly generalizes the source Euclidean space. A constrained set is not covered: the trial gradient step must remain in the domain. No Riemannian, stochastic, or companion-paper theorem is claimed. Definition1.12 permits β≥0, but the reciprocal in (3.4) and the suggested step 1/β require β>0; the source does not state that restriction explicitly. The first declaration covers this positive domain. The scaled (3.5) and Lipschitz conclusions are separately established at β=0.
Encoder–denoiser: source-reviewed · domain-mismatch
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
Sinho Chewi, Lectures on Optimization. ASTIS restatement, not quoted prose; no endorsement implied.
arXiv:2605.07006v1 · Section3, Theorem3.3, proof and immediately following distance-rate paragraph · faithful paraphrase
In the section’s C² Euclidean setting, an α-strongly convex β-smooth objective gives the displayed contraction of the gradient update x⁺=x−h∇f(x), for all x,y and h≤1/β. Taking y to be a global minimizer x⋆, using h=1/β, κ=β/α and R=‖x₀−x⋆‖, iteration yields the geometric and exponential distance estimates. The following logarithmic complexity conclusion is a separate proof obligation with its own declaration binding. The printed step restriction omits h≥0; its necessary domain is exposed in the bindings without rewriting the source.
Each statement and proof below has its own closed Lean disclosure. ASTIS parents, Mathlib calls and external mathematical sources are distinguished in each proof.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentContraction.gradient_step_contraction · theorem · Teaching coverage
For every pair x,y, the actual step T satisfies the displayed contraction estimate under the stated global curvature and step conditions.
For arbitrary x,y define v=y−x, d=∇f(y)−∇f(x) and p=⟨d,v⟩. Strong convexity with α≥0 supplies convexity and the lower pairing bound. Cocoercivity supplies the upper gradient-square bound.
StrongConvexFirstOrder.gradient_inner_lower_bound_of_strongConvexOn; UniformConvexOn.convexOn; ConvexSmoothGradient.gradient_cocoercive.
Since h≥0 and βh≤1, multiplying the cocoercivity bound by h² gives h²‖d‖²≤h²βp≤hp. Insert this into the exact squared-norm expansion, then use hp≥αh‖v‖².
norm_sub_sq_real, inner_smul_right, norm_smul; three mul_le_mul_of_nonneg_left applications and nlinarith.
The squared norm is nonnegative. Taking square roots and factoring the nonnegative factor ‖v‖² yields the asserted distance bound. If 1−αh is negative and v≠0, the squared estimate is impossible; hence no nontrivial negative-coefficient case is hidden.
Real.le_sqrt_of_sq_le; Real.sqrt_mul' with sq_nonneg; Real.sqrt_sq with norm_nonneg.
For every pair x,y, the actual step T satisfies the displayed contraction estimate under the stated global curvature and step conditions.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_step_contraction {f : E → ℝ} {α β h : ℝ}
(hf : ContDiff ℝ 1 f) (hsc : StrongConvexOn univ α f)
(hα : 0 ≤ α) (hβ : 0 ≤ β) (hh : 0 ≤ h) (hstep : β * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x y : E) :
‖(y - h • gradient f y) - (x - h • gradient f x)‖ ≤
Real.sqrt (1 - α * h) * ‖y - x‖For arbitrary x,y define v=y−x, d=∇f(y)−∇f(x) and p=⟨d,v⟩. Strong convexity with α≥0 supplies convexity and the lower pairing bound. Cocoercivity supplies the upper gradient-square bound. Since h≥0 and βh≤1, multiplying the cocoercivity bound by h² gives h²‖d‖²≤h²βp≤hp. Insert this into the exact squared-norm expansion, then use hp≥αh‖v‖². The squared norm is nonnegative. Taking square roots and factoring the nonnegative factor ‖v‖² yields the asserted distance bound. If 1−αh is negative and v≠0, the squared estimate is impossible; hence no nontrivial negative-coefficient case is hidden.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_step_contraction {f : E → ℝ} {α β h : ℝ}
(hf : ContDiff ℝ 1 f) (hsc : StrongConvexOn univ α f)
(hα : 0 ≤ α) (hβ : 0 ≤ β) (hh : 0 ≤ h) (hstep : β * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x y : E) :
‖(y - h • gradient f y) - (x - h • gradient f x)‖ ≤
Real.sqrt (1 - α * h) * ‖y - x‖ := by
have hc : ConvexOn ℝ univ f := hsc.convexOn (by intro r; positivity)
have hm := StrongConvexFirstOrder.gradient_inner_lower_bound_of_strongConvexOn
hsc (fun z _ => (hf.differentiable_one z).hasGradientAt) (mem_univ x) (mem_univ y)
have hg := ConvexSmoothGradient.gradient_cocoercive hf hc hβ hu x y
have hp : 0 ≤ inner ℝ (gradient f y - gradient f x) (y - x) :=
le_trans (mul_nonneg hα (sq_nonneg _)) hm
have hg' := mul_le_mul_of_nonneg_left hg (sq_nonneg h)
have hs := mul_le_mul_of_nonneg_left hstep (mul_nonneg hh hp)
have hm' := mul_le_mul_of_nonneg_left hm hh
have hv : (y - h • gradient f y) - (x - h • gradient f x) =
(y - x) - h • (gradient f y - gradient f x) := by rw [smul_sub]; abel
have hb : ‖(y - h • gradient f y) - (x - h • gradient f x)‖ ^ 2 ≤
(1 - α * h) * ‖y - x‖ ^ 2 := by
rw [hv, norm_sub_sq_real, inner_smul_right,
real_inner_comm (gradient f y - gradient f x), norm_smul,
Real.norm_eq_abs, mul_pow, sq_abs]
nlinarith
simpa only [Real.sqrt_mul' _ (sq_nonneg _), Real.sqrt_sq (norm_nonneg _)] using
Real.le_sqrt_of_sq_le hb
/-- The actual Nth gradient-descent iterate has geometric, then exponential,
distance control about a supplied global minimizer. -/| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| C² on Euclidean d-space. | C¹ on a complete real inner-product space. | generalization | Only genuine first derivatives, Riesz representation, first-order curvature and inner-product algebra are used; no Hessian, integration or finite dimension is required. |
| The source prints h≤1/β. | h≥0, β≥0 and βh≤1. | mathematically-necessary | The source prints h≤1/β without stating h≥0. Nonnegative step is essential: f(t)=t²/2, α=β=1 and h=−1 gives T(t)=2t, contradicting the claimed factor √2 for distinct points. The reciprocal formula additionally needs β>0. The stray gradient before y−x in the middle proof display is a transcription typo, resolved by the preceding expansion and Proposition1.6. The β=0 division-free case is an explicit extension, not a totalized reciprocal interpretation. |
| Nonnegative curvature moduli; the rate uses κ=β/α≥1. | α≥0, β≥0; factor sqrt(1−αh) raised to a natural power. | generalization | No unnecessary α≤β premise on a singleton Hilbert space; a negative coefficient forces all relevant distances to be zero. For positive compatible moduli and h=1/β the source condition-number formula is recovered. |
C¹ on a complete real inner-product space is an explicit extension of the section’s C² Euclidean setting. The source reciprocal restriction is recovered for β>0; the division-free statement also includes β=0 and h=0. If 1−αh<0, the squared bound forces every pairwise distance to vanish, so the norm result remains valid on a singleton space without an unjustified α≤β assumption. No constrained-domain, Riemannian or stochastic method is covered; this is shared optimization background, not companion-paper progress. The source prints h≤1/β without stating h≥0. Nonnegative step is essential: f(t)=t²/2, α=β=1 and h=−1 gives T(t)=2t, contradicting the claimed factor √2 for distinct points. The reciprocal formula additionally needs β>0. The stray gradient before y−x in the middle proof display is a transcription typo, resolved by the preceding expansion and Proposition1.6. The source specializes to h=1/β and κ=β/α. For 0<α≤β, r^N=(1−1/κ)^(N/2) and the exponential factor is exp(−N/(2κ)). This unit does not formalize the subsequent logarithmic iteration-complexity statement or the improved step of Exercise3.2.
Encoder–denoiser: accepted · possible-source-error
In the source C2 Euclidean setting, let f be alpha-convex and beta-smooth. For every x,y and step size 0 <= h <= 1/beta, with T(z)=z-h grad f(z), ||T(y)-T(x)|| <= sqrt(1-alpha h)||y-x||. The source positive reciprocal and ordinary square-root domains remain unchanged; this proposal only makes the missing nonnegative-step restriction explicit.
In Theorem3.3 replace the printed step restriction h<=1/beta with 0<=h<=1/beta. Retain the pinned source statement separately; do not overwrite it.
Classification: mathematically-necessary · Status: accepted
The literal all-real-step statement fails for every negative h on f(t)=t^2/2 with alpha=beta=1. The proof needs h>=0 when multiplying the curvature and step bounds.
Minimality: Only add h>=0; include h=0 because T is then identity and the factor is 1. No strict positivity of h, no additional smoothness, and no dimension restriction is proposed. Existing reciprocal/square-root source domains are not redefined. Removing h>=0 admits the explicit quadratic counterexample.
Evidence: {"counterexample": "f(t)=t^2/2 on R, alpha=beta=1, h=-1, x=0,y=1: h<=1/beta but 2>sqrt(2). For every h<0, (1-h)^2-(1-h)=h(h-1)>0.", "url": "https://arxiv.org/html/2605.07006v1#S3"}
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
AutoSamplingTheory.TechnicalLemmas.Analysis.StrongConvexFirstOrder.gradient_inner_lower_bound_of_strongConvexOnAutoSamplingTheory.TechnicalLemmas.Analysis.ConvexSmoothGradient.gradient_cocoerciveASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentContraction.gradient_descent_distance_bound · theorem · Teaching coverage
For any actual global minimizer x⋆, any initial point x₀ and every natural N (including zero), the actual Nth iterate satisfies the geometric and exponential distance estimates.
Write x⋆ for the supplied global minimizer, x₀ for the initial point, N∈ℕ for the iteration count, R=‖x₀−x⋆‖, T(x)=x−h∇f(x), and r=√(1−αh). A global minimum on the whole space is a local minimum. Fermat’s theorem sets its Fréchet derivative to zero, so the Riesz gradient vanishes.
IsMinOn.isLocalMin with Filter.univ_mem; IsLocalMin.fderiv_eq_zero; gradient and map_zero simplification.
The single-step result means T is r-Lipschitz. Its Nth iterate is r^N-Lipschitz, and x⋆ stays fixed under every iterate. Apply the iterated bound to x₀ and x⋆. N=0 is included.
gradient_step_contraction; lipschitzWith_iff_norm_sub_le; Real.toNNReal; LipschitzWith.iterate.dist_le_mul; Function.IsFixedPt.iterate.
The real inequality 1−a≤e^(−a), applied with a=αh, implies r≤e^(−αh/2). Both sides are nonnegative, so taking natural powers and multiplying by R≥0 preserves order. The exponential product identity gives the final formula.
Real.add_one_le_exp; Real.sqrt_le_left; Real.exp_add; pow_le_pow_left₀; Real.exp_nat_mul.
For any actual global minimizer x⋆, any initial point x₀ and every natural N (including zero), the actual Nth iterate satisfies the geometric and exponential distance estimates.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_descent_distance_bound {f : E → ℝ} {α β h : ℝ}
(hf : ContDiff ℝ 1 f) (hsc : StrongConvexOn univ α f)
(hα : 0 ≤ α) (hβ : 0 ≤ β) (hh : 0 ≤ h) (hstep : β * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
{xstar : E} (hmin : IsMinOn f univ xstar) (x₀ : E) (N : ℕ) :
‖(fun x => x - h • gradient f x)^[N] x₀ - xstar‖ ≤
Real.sqrt (1 - α * h) ^ N * ‖x₀ - xstar‖ ∧
Real.sqrt (1 - α * h) ^ N * ‖x₀ - xstar‖ ≤
Real.exp (-(α * h * N) / 2) * ‖x₀ - xstar‖Write x⋆ for the supplied global minimizer, x₀ for the initial point, N∈ℕ for the iteration count, R=‖x₀−x⋆‖, T(x)=x−h∇f(x), and r=√(1−αh). A global minimum on the whole space is a local minimum. Fermat’s theorem sets its Fréchet derivative to zero, so the Riesz gradient vanishes. The single-step result means T is r-Lipschitz. Its Nth iterate is r^N-Lipschitz, and x⋆ stays fixed under every iterate. Apply the iterated bound to x₀ and x⋆. N=0 is included. The real inequality 1−a≤e^(−a), applied with a=αh, implies r≤e^(−αh/2). Both sides are nonnegative, so taking natural powers and multiplying by R≥0 preserves order. The exponential product identity gives the final formula.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_descent_distance_bound {f : E → ℝ} {α β h : ℝ}
(hf : ContDiff ℝ 1 f) (hsc : StrongConvexOn univ α f)
(hα : 0 ≤ α) (hβ : 0 ≤ β) (hh : 0 ≤ h) (hstep : β * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
{xstar : E} (hmin : IsMinOn f univ xstar) (x₀ : E) (N : ℕ) :
‖(fun x => x - h • gradient f x)^[N] x₀ - xstar‖ ≤
Real.sqrt (1 - α * h) ^ N * ‖x₀ - xstar‖ ∧
Real.sqrt (1 - α * h) ^ N * ‖x₀ - xstar‖ ≤
Real.exp (-(α * h * N) / 2) * ‖x₀ - xstar‖ := by
let T : E → E := fun x => x - h • gradient f x
have hg : gradient f xstar = 0 := by
simp [gradient, (hmin.isLocalMin Filter.univ_mem).fderiv_eq_zero]
have hfix : Function.IsFixedPt T xstar := by simp [Function.IsFixedPt, T, hg]
have hl : LipschitzWith (Real.toNNReal (Real.sqrt (1 - α * h))) T := by
rw [lipschitzWith_iff_norm_sub_le]
intro x y
simpa only [Real.coe_toNNReal _ (Real.sqrt_nonneg _)] using
gradient_step_contraction hf hsc hα hβ hh hstep hu y x
constructor
· have hi := (hl.iterate N).dist_le_mul x₀ xstar
simpa only [dist_eq_norm, (hfix.iterate N).eq, NNReal.coe_pow, Real.coe_toNNReal _ (Real.sqrt_nonneg _), T] using hi
· have he : Real.sqrt (1 - α * h) ≤ Real.exp (-(α * h) / 2) := by
apply (Real.sqrt_le_left (Real.exp_nonneg _)).mpr
have hx := Real.add_one_le_exp (-(α * h))
rw [pow_two, ← Real.exp_add, show -(α * h) / 2 + -(α * h) / 2 = -(α * h) by ring]
simpa only [sub_eq_add_neg, add_comm] using hx
have hp := pow_le_pow_left₀ (Real.sqrt_nonneg _) he N
have hr := mul_le_mul_of_nonneg_right hp (norm_nonneg (x₀ - xstar))
rw [← Real.exp_nat_mul, show (N : ℝ) * (-(α * h) / 2) =
-(α * h * N) / 2 by ring] at hr
exact hr
end AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentContraction| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| C² on Euclidean d-space. | C¹ on a complete real inner-product space. | generalization | Only genuine first derivatives, Riesz representation, first-order curvature and inner-product algebra are used; no Hessian, integration or finite dimension is required. |
| The source prints h≤1/β. | h≥0, β≥0 and βh≤1. | mathematically-necessary | The source prints h≤1/β without stating h≥0. Nonnegative step is essential: f(t)=t²/2, α=β=1 and h=−1 gives T(t)=2t, contradicting the claimed factor √2 for distinct points. The reciprocal formula additionally needs β>0. The stray gradient before y−x in the middle proof display is a transcription typo, resolved by the preceding expansion and Proposition1.6. The β=0 division-free case is an explicit extension, not a totalized reciprocal interpretation. |
| Nonnegative curvature moduli; the rate uses κ=β/α≥1. | α≥0, β≥0; factor sqrt(1−αh) raised to a natural power. | generalization | No unnecessary α≤β premise on a singleton Hilbert space; a negative coefficient forces all relevant distances to be zero. For positive compatible moduli and h=1/β the source condition-number formula is recovered. |
| Take y as a global minimizer x⋆ and iterate at h=1/β. | IsMinOn f Set.univ xstar and actual Function.iterate at any admitted h, all N:ℕ. | generalization | Stationarity and fixed-point behavior follow from Fermat, not from an extra supplied-gradient hypothesis. N=0 and h=0 are retained; existence of a minimizer is not proved. |
C¹ on a complete real inner-product space is an explicit extension of the section’s C² Euclidean setting. The source reciprocal restriction is recovered for β>0; the division-free statement also includes β=0 and h=0. If 1−αh<0, the squared bound forces every pairwise distance to vanish, so the norm result remains valid on a singleton space without an unjustified α≤β assumption. No constrained-domain, Riemannian or stochastic method is covered; this is shared optimization background, not companion-paper progress. The source prints h≤1/β without stating h≥0. Nonnegative step is essential: f(t)=t²/2, α=β=1 and h=−1 gives T(t)=2t, contradicting the claimed factor √2 for distinct points. The reciprocal formula additionally needs β>0. The stray gradient before y−x in the middle proof display is a transcription typo, resolved by the preceding expansion and Proposition1.6. The source specializes to h=1/β and κ=β/α. For 0<α≤β, r^N=(1−1/κ)^(N/2) and the exponential factor is exp(−N/(2κ)). This unit does not formalize the subsequent logarithmic iteration-complexity statement or the improved step of Exercise3.2.
Encoder–denoiser: accepted · implicit-assumption-exposed
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentComplexity.distance_le_of_log_bound · theorem · Teaching coverage
E is a complete real inner-product space; f:E→R is continuously Frechet differentiable. Its gradient is its actual Riesz gradient. Alpha, beta and epsilon are strictly positive. The objective is alpha-strongly convex on E, with the alpha/2 quadratic convention. For every x,y, f(y)<=f(x)+<gradient f(x),y-x>+(beta/2)||y-x||². This is the source smoothness upper model. A global minimizer xstar is supplied. The initial point x0 is arbitrary and N is a natural number, including zero. X_N is exactly N iterations of x ↦ x-beta⁻¹ gradient f(x). Write R=||x0-xstar||. If R>0, assume 2(beta/alpha)log(R/epsilon)<=N. When R=0 no logarithmic threshold is required. Then the actual final iterate has distance at most epsilon from xstar.
Apply the existing distance theorem at the positive step h=1/beta. Its first conclusion bounds the actual iterate by the geometric factor; compose it with the second conclusion to obtain the exponential bound.
GradientDescentContraction.gradient_descent_distance_bound; compose its two inequalities with trans.
If R=0, the exponential bound has zero right-hand side. Thus every iterate has zero distance and meets any positive tolerance. This branch uses neither a real logarithm at zero nor a positive iteration count.
Case split on the initial norm; simplify the existing bound.
For R>0, the ratio R/epsilon is positive. Multiply the threshold by alpha/beta>0 and divide by two. The log comparison gives R/epsilon<=exp(alpha N/(2beta)). Multiply by exp(-alpha N/(2beta)) and then by epsilon>0; the two exponential factors cancel. Combining with the first step proves the accuracy bound.
Real.log_le_iff_le_exp, Real.exp_pos, Real.exp_add and div_le_iff₀; positive alpha and beta justify reciprocal cancellation.
Positive-domain logarithmic budget for actual gradient iterates.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem distance_le_of_log_bound {f : E → ℝ} {α β ε : ℝ}
(hf : ContDiff ℝ 1 f) (hsc : StrongConvexOn univ α f)
(hα : 0 < α) (hβ : 0 < β) (hε : 0 < ε)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y-x) + β/2*‖y-x‖^2)
{xstar : E} (hmin : IsMinOn f univ xstar) (x₀ : E) (N : ℕ)
(hN : 0 < ‖x₀-xstar‖ → 2 * (β / α) * Real.log (‖x₀-xstar‖ / ε) ≤ (N : ℝ)) :
‖(fun x => x - β⁻¹ • gradient f x)^[N] x₀ - xstar‖ ≤ εApply the existing distance theorem at the positive step h=1/beta. Its first conclusion bounds the actual iterate by the geometric factor; compose it with the second conclusion to obtain the exponential bound. If R=0, the exponential bound has zero right-hand side. Thus every iterate has zero distance and meets any positive tolerance. This branch uses neither a real logarithm at zero nor a positive iteration count. For R>0, the ratio R/epsilon is positive. Multiply the threshold by alpha/beta>0 and divide by two. The log comparison gives R/epsilon<=exp(alpha N/(2beta)). Multiply by exp(-alpha N/(2beta)) and then by epsilon>0; the two exponential factors cancel. Combining with the first step proves the accuracy bound.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem distance_le_of_log_bound {f : E → ℝ} {α β ε : ℝ}
(hf : ContDiff ℝ 1 f) (hsc : StrongConvexOn univ α f)
(hα : 0 < α) (hβ : 0 < β) (hε : 0 < ε)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y-x) + β/2*‖y-x‖^2)
{xstar : E} (hmin : IsMinOn f univ xstar) (x₀ : E) (N : ℕ)
(hN : 0 < ‖x₀-xstar‖ → 2 * (β / α) * Real.log (‖x₀-xstar‖ / ε) ≤ (N : ℝ)) :
‖(fun x => x - β⁻¹ • gradient f x)^[N] x₀ - xstar‖ ≤ ε := by
have hi := GradientDescentContraction.gradient_descent_distance_bound hf hsc
hα.le hβ.le (inv_nonneg.mpr hβ.le) (by simp [ne_of_gt hβ]) hu hmin x₀ N
have he := hi.1.trans hi.2
by_cases hR : ‖x₀-xstar‖ = 0
· simpa [hR] using he.trans (by simpa [hR] using hε.le)
· have hRp : 0 < ‖x₀-xstar‖ := lt_of_le_of_ne (norm_nonneg _) (Ne.symm hR)
have ht := mul_le_mul_of_nonneg_left (hN hRp) (div_nonneg hα.le hβ.le)
have hc : (α / β) * (2 * (β / α) * Real.log (‖x₀-xstar‖ / ε)) =
2 * Real.log (‖x₀-xstar‖ / ε) := by field_simp
rw [hc] at ht
have hl : Real.log (‖x₀-xstar‖ / ε) ≤ α * β⁻¹ * N / 2 := by
rw [div_eq_mul_inv α β] at ht
nlinarith [ht]
have hex := (Real.log_le_iff_le_exp (div_pos hRp hε)).mp hl
have hb : Real.exp (-(α * β⁻¹ * N) / 2) * ‖x₀-xstar‖ ≤ ε := by
have hm := mul_le_mul_of_nonneg_left hex (le_of_lt (Real.exp_pos (-(α * β⁻¹ * N) / 2)))
have hid : Real.exp (-(α * β⁻¹ * N) / 2) * Real.exp (α * β⁻¹ * N / 2) = 1 := by
rw [← Real.exp_add]; ring_nf; exact Real.exp_zero
rw [hid] at hm
have hh := (div_le_iff₀ hε).mp (show (Real.exp (-(α * β⁻¹ * N) / 2) * ‖x₀-xstar‖) / ε ≤ 1 by simpa [mul_div_assoc] using hm)
simpa using hh
exact he.trans hb
end AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentComplexity| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| C2 Euclidean objective with strong convexity and beta smoothness. | C1 complete real Hilbert objective with the global quadratic upper model and actual gradient. | generalization | Reuses the independently reviewed contraction parent without additional analytic assumptions. |
| h=1/beta and kappa=beta/alpha, in the positive condition-number regime. | Alpha>0,beta>0 and exact h=beta inverse; no additional alpha<=beta premise. | generalization | Positive moduli make the reciprocal step admissible. The parent also handles degenerate singleton spaces; no separate condition-number variable or negative step is used. |
| Distance accuracy epsilon and logarithmic threshold log(R/epsilon). | Epsilon>0; threshold required only if R>0; N may be zero. | source-implicit | The ordinary logarithmic argument must be positive. R0 has exact stationary distance; an already accurate start needs no updates. This makes the domain explicit without altering the positive-radius source bound. |
| The rate is about an actual global minimizer. | IsMinOn f univ xstar and actual Function.iterate. | same | No existence theorem or surrogate recurrence is substituted. |
This closes the logarithmic-complexity obligation of Theorem3.3 by integrating the existing actual-iterate contraction; it does not reprove that contraction. Earlier binding-local statements that exclude complexity retain their historical scope. C1 on a complete real Hilbert space generalizes the source C2 Euclidean setting. The explicit quadratic upper model is sufficient; no Hessian or finite dimension is used. The source condition number is beta/alpha. Alpha<=beta is not needed as an additional hypothesis: the parent theorem handles a singleton space too. On the ordinary nontrivial source setting the usual compatible-modulus regime is recovered. Positive moduli and positive accuracy expose the denominator and logarithm domains. R=0 is treated without log0; for 0<R<=epsilon the threshold is nonpositive, so N=0 is allowed. The sufficient integer budget can be the natural ceiling of the real threshold when R>0, and zero when R=0. The compiled quadratic consumer also uses Lean totalized log0 inside its ceiling expression; its zero-radius proof is independent of that expression. No minimality or lower complexity bound is claimed. A minimizer is assumed, not constructed. No full Table1, Chapter3 exercises, Riemannian or stochastic convergence, or companion-paper result is claimed.
Encoder–denoiser: accepted · implicit-assumption-exposed
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
Sinho Chewi, Lectures on Optimization. ASTIS-authored paraphrase; no endorsement implied.
arXiv:2605.07006v1 · Theorem3.4 (3.1)-(3.3), Lemma3.1, weighted calculation after Lemma3.5 · faithful paraphrase
In the section C² Euclidean setting, strong convexity and smoothness give a distance-plus-function decrement for the gradient update. Remark (3.3) allows any comparator z. Applying the forced recurrence and monotonic function values gives the weighted final-gap estimate, then the printed inverse-power closed form and the convex limiting rate. The source prints only h≤1/β; the missing nonnegative-step condition and singular reciprocal endpoints remain visible in separate binding deltas.
Each statement and proof below has its own closed Lean disclosure. ASTIS parents, Mathlib calls and external mathematical sources are distinguished in each proof.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentValue.gradient_step_energy_bound · theorem · Teaching coverage
For every x,z, one actual gradient step obeys the displayed distance-plus-function energy bound.
Put g=∇f(x) and s=T(x)=x−hg. Apply the upper model at x,s. Since h≥0 and βh≤1, βh²‖g‖²≤h‖g‖². This proves the source Lemma3.1 descent estimate using the canonical shared descent interface.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentBasic.gradient_step_descent_of_quadratic_upper_bound; inner_smul_right, real_inner_self_eq_norm_sq, norm_smul, mul_le_mul_of_nonneg_right.
The compiled first-order support theorem follows from the source chord definition and the genuine gradient, supplied by C¹ differentiability. Set v=x−z and g=∇f(x). No minimum condition on z enters.
StrongConvexFirstOrder.firstOrder_lower_bound_of_strongConvexOn; ContDiff.differentiable_one; DifferentiableAt.hasGradientAt.
Multiply each function inequality by 2h≥0 and insert the exact squared-distance expansion. The h²‖g‖² terms cancel. This gives the stated one-step energy inequality even when the comparator gap is negative.
norm_sub_sq_real; inner_smul_right; real_inner_comm; norm_smul; two nonnegative multiplications and nlinarith.
Actual-gradient one-step arbitrary-comparator energy bound.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_step_energy_bound {f : E → ℝ} {α β h : ℝ}
(hf : ContDiff ℝ 1 f) (hsc : StrongConvexOn univ α f)
(hh : 0 ≤ h) (hstep : β * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x z : E) :
‖x - h • gradient f x - z‖ ^ 2 + 2 * h * (f (x - h • gradient f x) - f z) ≤
(1 - α * h) * ‖x - z‖ ^ 2Put g=∇f(x) and s=T(x)=x−hg. Apply the upper model at x,s. Since h≥0 and βh≤1, βh²‖g‖²≤h‖g‖². This proves the source Lemma3.1 descent estimate using the canonical shared descent interface. The compiled first-order support theorem follows from the source chord definition and the genuine gradient, supplied by C¹ differentiability. Set v=x−z and g=∇f(x). No minimum condition on z enters. Multiply each function inequality by 2h≥0 and insert the exact squared-distance expansion. The h²‖g‖² terms cancel. This gives the stated one-step energy inequality even when the comparator gap is negative.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_step_energy_bound {f : E → ℝ} {α β h : ℝ}
(hf : ContDiff ℝ 1 f) (hsc : StrongConvexOn univ α f)
(hh : 0 ≤ h) (hstep : β * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x z : E) :
‖x - h • gradient f x - z‖ ^ 2 + 2 * h * (f (x - h • gradient f x) - f z) ≤
(1 - α * h) * ‖x - z‖ ^ 2 := by
have hl := StrongConvexFirstOrder.firstOrder_lower_bound_of_strongConvexOn
hsc (fun w _ => (hf.differentiable_one w).hasGradientAt) (mem_univ x) (mem_univ z)
have hd := GradientDescentBasic.gradient_step_descent_of_quadratic_upper_bound hh hstep hu x
have hn : z - x = -(x - z) := by abel
rw [hn, inner_neg_right, norm_neg] at hl
have hl' := mul_le_mul_of_nonneg_left hl (by positivity : 0 ≤ 2 * h)
have hd' := mul_le_mul_of_nonneg_left hd (by positivity : 0 ≤ 2 * h)
rw [show x - h • gradient f x - z = (x - z) - h • gradient f x by abel,
norm_sub_sq_real, inner_smul_right, real_inner_comm (gradient f x),
norm_smul, Real.norm_eq_abs, mul_pow, sq_abs]
nlinarith
/-- Weighted final function gap for actual gradient-descent iterates. The
coefficient domain is explicit and includes both zero and one. -/| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| C² Euclidean objective. | C¹ objective on a complete real inner-product space. | generalization | Only genuine first derivatives, first-order support and inner-product algebra enter. |
| h≤1/β, with h≥0 omitted. | h≥0 and βh≤1. | mathematically-necessary | The source prints h≤1/β without h≥0. The latter is essential: f(t)=t²/2, α=0, β=1, x=0, z=1 and h=−1 meet the printed upper restriction, but (3.3) would assert 2≤1. The division-free βh≤1 presentation includes β=0; it agrees with the printed reciprocal restriction only for β>0. |
| Nonnegative strong convexity and smoothness moduli. | α and β are real; no additional sign assumptions. | generalization | The one-step argument uses only the two stated models and h≥0. Signed moduli are a disclosed extension; no reciprocal is used. |
| Minimizer in (3.1), arbitrary z explicitly in (3.3). | Arbitrary comparator z; signed function gap. | same | The source expressly supplies this general comparator inequality; the weighted proof needs gap monotonicity, not gap positivity. |
This is shared optimization textbook mathematics, not companion-paper progress. C¹ on a complete real Hilbert space generalizes the section’s C² Euclidean setting. Signed α and β are explicit extensions of the nonnegative source moduli; no reciprocal of either is used. The actual comparator formulation is justified by source (3.3). The source prints h≤1/β without h≥0. The latter is essential: f(t)=t²/2, α=0, β=1, x=0, z=1 and h=−1 meet the printed upper restriction, but (3.3) would assert 2≤1. The division-free βh≤1 presentation includes β=0; it agrees with the printed reciprocal restriction only for β>0.
Encoder–denoiser: accepted · possible-source-error
For a C2 alpha-convex beta-smooth Euclidean function with beta>0, restrict the step to 0<=h<=1/beta and set T(x)=x-h grad f(x). Then f(T(x))-f(x)<=-(h/2)||grad f(x)||^2. For every comparator z, ||T(x)-z||^2+2h(f(T(x))-f(z))<=(1-alpha h)||x-z||^2. This proposal corrects only the missing nonnegative-step domain in Lemma3.1 and (3.1)/(3.3); it makes no claim about the printed inverse-power rate at singular endpoints.
Add h>=0 to the printed h<=1/beta condition for the descent and one-step energy assertions. Preserve the pinned source separately. Do not alter the signed-parameter Hilbert-space generalization or claim to repair the singular inverse-power rate.
Classification: mathematically-necessary · Status: accepted
The source descent estimate and its general-comparator energy conclusion both fail for negative steps even with a smooth strongly convex quadratic; the proof multiplies inequalities by h or 2h and requires their signs.
Minimality: Adding only h>=0 preserves the admissible equality case h=0. The beta>0 reciprocal domain is unchanged. No stronger curvature, smoothness or minimizer hypothesis is proposed. Removing this lower bound admits the explicit counterexamples.
Evidence: {"counterexample": {"descent_missing_nonnegative_step": "Take f(t)=t^2/2 on R, beta=1,h=-1,x=1. The printed h<=1/beta holds; T(1)=2 and f(2)-f(1)=3/2 exceeds -(h/2)|grad f(1)|^2=1/2.", "general_comparator_energy_missing_nonnegative_step": "Take f(t)=t^2/2, alpha=1/2,beta=1,h=-1,x=0,z=1. This f is alpha-strongly convex and beta-smooth. T(0)=0; ||T(0)-1||^2+2h(f(T(0))-f(1))=2 while (1-alpha h)||0-1||^2=3/2. Thus the printed arbitrary-comparator claim fails.", "general_comparator_weighted_missing_nonnegative_step": "Same f,alpha,beta,h, take x0=0,z=1,N=2. q=3/2, g_N=-1/2, S2=5/2. Left side is 5/2 while right side is 9/4. This concerns the general-comparator extension, not a claim that the minimizer weighted inequality itself fails for negative h."}, "url": "https://arxiv.org/html/2605.07006v1#S3"}
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
AutoSamplingTheory.TechnicalLemmas.Analysis.StrongConvexFirstOrder.firstOrder_lower_bound_of_strongConvexOnAutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentBasic.gradient_step_descent_of_quadratic_upper_boundASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentValue.gradient_descent_weighted_value_bound · theorem · Teaching coverage
For every initial point x₀, comparator z and natural N, actual iterates obey the displayed finite-geometric-sum bound under q≥0.
Define x_n=T^n(x₀), u_n=‖x_n−z‖², g_n=f(x_n)−f(z), and q=1−αh≥0. The one-step energy inequality gives the recurrence, and shared descent gives g_(n+1)≤g_n. The gaps themselves need not be nonnegative.
gradient_step_energy_bound; AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentBasic.gradient_step_descent_of_quadratic_upper_bound; Function.iterate_succ_apply'; antitone_nat_of_succ_le.
Apply Mathlib’s recurrence theorem with constant coefficient q and forcing −2h g_(n+1). This theorem permits signed forcing. Constant products become powers; no inverse of q is introduced, so q=0 is admitted.
discrete_gronwall_prod_general; Finset.prod_const; Nat.card_Ico; Nat.Ico_zero_eq_range; Finset.card_range.
For k<N, monotonicity gives g_N≤g_(k+1). Multiply by the nonpositive coefficient −2h and then the nonnegative weight q^(N−1−k). Sum, discard u_N≥0, and reverse the finite index. Write S_N=Σ_(k=0)^(N−1)q^k and R=‖x₀−z‖. This proves the final bound also for N=0.
Finset.sum_le_sum; pow_nonneg; Finset.sum_range_reflect; Finset.mul_sum; sq_nonneg.
Actual-iterate finite weighted final comparator gap.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_descent_weighted_value_bound {f : E → ℝ} {α β h : ℝ}
(hf : ContDiff ℝ 1 f) (hsc : StrongConvexOn univ α f)
(hh : 0 ≤ h) (hstep : β * h ≤ 1) (hcoeff : α * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x₀ z : E) (N : ℕ) :
2 * h * (∑ k ∈ range N, (1 - α * h) ^ k) *
(f ((fun x => x - h • gradient f x)^[N] x₀) - f z) ≤
(1 - α * h) ^ N * ‖x₀ - z‖ ^ 2Define x_n=T^n(x₀), u_n=‖x_n−z‖², g_n=f(x_n)−f(z), and q=1−αh≥0. The one-step energy inequality gives the recurrence, and shared descent gives g_(n+1)≤g_n. The gaps themselves need not be nonnegative. Apply Mathlib’s recurrence theorem with constant coefficient q and forcing −2h g_(n+1). This theorem permits signed forcing. Constant products become powers; no inverse of q is introduced, so q=0 is admitted. For k<N, monotonicity gives g_N≤g_(k+1). Multiply by the nonpositive coefficient −2h and then the nonnegative weight q^(N−1−k). Sum, discard u_N≥0, and reverse the finite index. Write S_N=Σ_(k=0)^(N−1)q^k and R=‖x₀−z‖. This proves the final bound also for N=0.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_descent_weighted_value_bound {f : E → ℝ} {α β h : ℝ}
(hf : ContDiff ℝ 1 f) (hsc : StrongConvexOn univ α f)
(hh : 0 ≤ h) (hstep : β * h ≤ 1) (hcoeff : α * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x₀ z : E) (N : ℕ) :
2 * h * (∑ k ∈ range N, (1 - α * h) ^ k) *
(f ((fun x => x - h • gradient f x)^[N] x₀) - f z) ≤
(1 - α * h) ^ N * ‖x₀ - z‖ ^ 2 := by
let T : E → E := fun x => x - h • gradient f x
let X : ℕ → E := fun n => T^[n] x₀
let q : ℝ := 1 - α * h
have hq : 0 ≤ q := sub_nonneg.mpr hcoeff
have hX (n : ℕ) : X (n + 1) = T (X n) := Function.iterate_succ_apply' _ _ _
have hm : Antitone (fun n => f (X n)) := by
apply antitone_nat_of_succ_le
intro n
have hd := GradientDescentBasic.gradient_step_descent_of_quadratic_upper_bound hh hstep hu (X n)
rw [hX]
dsimp [T]
have : 0 ≤ h / 2 * ‖gradient f (X n)‖ ^ 2 := by positivity
linarith
have hr (n : ℕ) (_ : 0 ≤ n) :
‖X (n + 1) - z‖ ^ 2 ≤ q * ‖X n - z‖ ^ 2 + (-2 * h * (f (X (n + 1)) - f z)) := by
have he := gradient_step_energy_bound hf hsc hh hstep hu (X n) z
rw [hX]
dsimp [T, q]
linarith
have hg := discrete_gronwall_prod_general (u := fun n => ‖X n - z‖ ^ 2)
(b := fun n => -2 * h * (f (X (n + 1)) - f z)) (c := fun _ => q) hr (fun _ _ => hq) (Nat.zero_le N)
simp only [Finset.prod_const, Nat.card_Ico, Nat.Ico_zero_eq_range, Finset.card_range] at hg
have hs : ∑ k ∈ range N, (-2 * h * (f (X (k + 1)) - f z)) * q ^ (N - (k + 1)) ≤
∑ k ∈ range N, (-2 * h * (f (X N) - f z)) * q ^ (N - (k + 1)) := by
apply sum_le_sum
intro k hk
have hm' := hm (by have := mem_range.mp hk; omega : k + 1 ≤ N)
apply mul_le_mul_of_nonneg_right _ (pow_nonneg hq _)
have hh' : 0 ≤ 2 * h := by positivity
nlinarith
have hsum : (∑ k ∈ range N, q ^ (N - (k + 1))) = ∑ k ∈ range N, q ^ k := by
rw [← sum_range_reflect (fun k => q ^ k) N]
apply sum_congr rfl
intro k _
congr 1
omega
rw [← mul_sum, hsum] at hs
have hu0 : X 0 = x₀ := rfl
rw [hu0] at hg
have huN := sq_nonneg ‖X N - z‖
change 2 * h * (∑ k ∈ range N, q ^ k) * (f (X N) - f z) ≤ q ^ N * ‖x₀ - z‖ ^ 2
nlinarith
end AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentValue| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| C² Euclidean objective. | C¹ objective on a complete real inner-product space. | generalization | Only genuine first derivatives, first-order support and inner-product algebra enter. |
| h≤1/β, with h≥0 omitted. | h≥0 and βh≤1. | mathematically-necessary | The source prints h≤1/β without h≥0. The latter is essential: f(t)=t²/2, α=0, β=1, x=0, z=1 and h=−1 meet the printed upper restriction, but (3.3) would assert 2≤1. The division-free βh≤1 presentation includes β=0; it agrees with the printed reciprocal restriction only for β>0. |
| Nonnegative strong convexity and smoothness moduli. | α and β are real; no additional sign assumptions. | generalization | The one-step argument uses only the two stated models and h≥0. Signed moduli are a disclosed extension; no reciprocal is used. |
| Minimizer in (3.1), arbitrary z explicitly in (3.3). | Arbitrary comparator z; signed function gap. | same | The source expressly supplies this general comparator inequality; the weighted proof needs gap monotonicity, not gap positivity. |
| Lemma3.5 uses A>0; inverse calculation uses q=1−αh. | αh≤1, hence q≥0; finite weighted sum, no division, all N∈ℕ. | generalization | Expose the source coefficient domain, extending it to zero with product-form Gronwall. h=0,N=0,q=0,1 are not interpretations of singular reciprocal formulas. |
This is shared optimization textbook mathematics, not companion-paper progress. C¹ on a complete real Hilbert space generalizes the section’s C² Euclidean setting. Signed α and β are explicit extensions of the nonnegative source moduli; no reciprocal of either is used. The actual comparator formulation is justified by source (3.3). The source prints h≤1/β without h≥0. The latter is essential: f(t)=t²/2, α=0, β=1, x=0, z=1 and h=−1 meet the printed upper restriction, but (3.3) would assert 2≤1. The division-free βh≤1 presentation includes β=0; it agrees with the printed reciprocal restriction only for β>0. The weighted adapter explicitly assumes αh≤1, the nonnegative coefficient domain used in the source recurrence proof. It allows q=0 as a product-form endpoint extension. N=0 and h=0 are valid division-free cases; they give no normalized rate. For h>0,N>0, the α=0 O(1/N) rate and the positive-α expression αq^N R²/[2(1−q^N)] are compiled test consumers. The latter includes q=0; equivalence to the printed inverse-power expression is only meaningful for q>0 and is not a public declaration here. No complete Theorem3.4 closure is claimed.
Encoder–denoiser: source-reviewed · domain-mismatch
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentValue.gradient_step_energy_boundAutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentBasic.gradient_step_descent_of_quadratic_upper_boundASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentRates.convex_value_le · theorem · Teaching coverage
E is a complete real inner-product space and f:E→R is C1. The gradient is the genuine Riesz gradient of f. For all x,y, f(y)<=f(x)+<gradient f(x),y-x>+(beta/2)||y-x||². The step satisfies h>0 and beta*h<=1; N is a positive natural number. x0 and z are arbitrary points; X_N is exactly N iterations of x ↦ x-h gradient f(x) starting at x0. No minimizer is required for the comparator bound. f is convex on the whole space. No positivity assumption on beta is needed beyond the upper model and admissible step. The following bound holds for the actual final iterate.
Write q=1-alpha h, R=||x0-z|| and e_N=f(X_N)-f(z). The existing weighted theorem already derives objective descent and the forced recurrence for the actual gradient iterates. Invoke it directly; its conclusion also allows negative comparator gaps.
GradientDescentValue.gradient_descent_weighted_value_bound.
For a convex objective set alpha=0, hence q=1. Every summand equals one and there are exactly N summands. Thus the weighted estimate becomes 2hN e_N<=R².
strongConvexOn_zero; Finset.sum_const, card_range, one_pow and nsmul_eq_mul.
Since h>0 and N>0, the coefficient 2hN is positive. Dividing preserves the inequality. With beta>0, substituting h=1/beta gives exactly beta R²/(2N), the source prescribed-step convex rate. This substitution is exercised by a compiled consumer test.
le_div_iff₀; Tests.Shared.GradientDescentRates verifies the reciprocal-step specialization.
Convex gradient descent has a normalized final-value bound.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem convex_value_le {f : E → ℝ} {β h : ℝ} (hf : ContDiff ℝ 1 f)
(hc : ConvexOn ℝ univ f) (hh : 0 < h) (hstep : β * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x₀ z : E) {N : ℕ} (hN : 0 < N) :
f ((fun x => x - h • gradient f x)^[N] x₀) - f z ≤ ‖x₀ - z‖ ^ 2 / (2 * h * N)Write q=1-alpha h, R=||x0-z|| and e_N=f(X_N)-f(z). The existing weighted theorem already derives objective descent and the forced recurrence for the actual gradient iterates. Invoke it directly; its conclusion also allows negative comparator gaps. For a convex objective set alpha=0, hence q=1. Every summand equals one and there are exactly N summands. Thus the weighted estimate becomes 2hN e_N<=R². Since h>0 and N>0, the coefficient 2hN is positive. Dividing preserves the inequality. With beta>0, substituting h=1/beta gives exactly beta R²/(2N), the source prescribed-step convex rate. This substitution is exercised by a compiled consumer test.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem convex_value_le {f : E → ℝ} {β h : ℝ} (hf : ContDiff ℝ 1 f)
(hc : ConvexOn ℝ univ f) (hh : 0 < h) (hstep : β * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x₀ z : E) {N : ℕ} (hN : 0 < N) :
f ((fun x => x - h • gradient f x)^[N] x₀) - f z ≤ ‖x₀ - z‖ ^ 2 / (2 * h * N) := by
have he := gradient_descent_weighted_value_bound hf
(strongConvexOn_zero.mpr hc) hh.le hstep (by norm_num : (0 : ℝ) * h ≤ 1) hu x₀ z N
simp only [zero_mul, sub_zero, one_pow, sum_const, card_range, nsmul_eq_mul,
mul_one, one_mul] at he
apply (le_div_iff₀ (by positivity : 0 < 2 * h * (N : ℝ))).mpr
nlinarith [he]
/-- Strongly convex rational rate, and exact inverse-power form on its positive-base domain. -/| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| C2 Euclidean objective; minimizer comparator in displayed rate, arbitrary comparator allowed in (3.3). | C1 complete real Hilbert objective and arbitrary comparator z. | generalization | The unchanged weighted parent needs no finite dimension, Hessian or minimum. Choosing a minimizing z recovers the source optimization gap. |
| Beta-smooth objective and printed h<=1/beta. | Global quadratic upper model and beta*h<=1, with h>0. | mathematically-necessary | The upper model is the source smoothness characterization. Positive h is required by this finite normalization; beta>0 recovers the printed reciprocal step. The previously exposed negative-step problem is preserved rather than silently removed. |
| N is an iteration count; displayed coefficients divide by N or a geometric denominator. | N>0. | source-implicit | The finite normalized estimate is only for a positive number of updates; no totalized N0 quotient is used. |
| Convex case is read as the alpha0 limiting formula. | Set alpha=0 directly in the finite weighted sum and divide by 2hN. | same | The source numerical rate is obtained directly; no analytic parameter-limit theorem is asserted. |
These are public integrations of the existing weighted theorem and previously compiled test normalizations. The new representation edge is the exact inverse-power equality; no new descent or recurrence proof is claimed. C1 on a complete real Hilbert space and arbitrary comparator generalize the C2 Euclidean minimizer-based source rate. Source smoothness is represented by its global quadratic upper model. The condition beta*h<=1 agrees with h<=1/beta when beta>0. Finite normalized bounds require h>0 and N>0. No real-valued normalized h=0 or N=0 assertion, analytic alpha-to-zero limit, iteration-complexity theorem, minimum existence, Riemannian or stochastic result is claimed.
Encoder–denoiser: accepted · implicit-assumption-exposed
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentRates.strongly_convex_value_le · theorem · Teaching coverage
E is a complete real inner-product space and f:E→R is C1. The gradient is the genuine Riesz gradient of f. For all x,y, f(y)<=f(x)+<gradient f(x),y-x>+(beta/2)||y-x||². The step satisfies h>0 and beta*h<=1; N is a positive natural number. x0 and z are arbitrary points; X_N is exactly N iterations of x ↦ x-h gradient f(x) starting at x0. No minimizer is required for the comparator bound. f is alpha-strongly convex on the whole space with normalization alpha/2; alpha>0 and alpha*h<=1. The rational bound includes q=1-alpha*h=0; the second, conditional inverse-power bound additionally requires alpha*h<1. The following bound holds for the actual final iterate.
Write q=1-alpha h, R=||x0-z|| and e_N=f(X_N)-f(z). The existing weighted theorem already derives objective descent and the forced recurrence for the actual gradient iterates. Invoke it directly; its conclusion also allows negative comparator gaps.
GradientDescentValue.gradient_descent_weighted_value_bound.
Positive alpha and h with alpha h<=1 give 0<=q<1. For N>0, q^N<1. The finite geometric identity, multiplied by 2, yields 2alpha h sum(q^k)=2(1-q^N). Multiply the weighted estimate by positive alpha and divide by positive 2(1-q^N). This rational form remains valid at q=0.
geom_sum_mul_neg, pow_lt_one₀, mul_le_mul_of_nonneg_left and le_div_iff₀.
Under the additional strict inequality alpha h<1, q>0 and q^N>0. Integer negative powers equal inverse positive powers. Multiplying numerator and denominator by q^N proves the exact displayed equality. At q=0 only the preceding rational conclusion applies; the negative-power formula is undefined in ordinary real arithmetic.
zpow_neg, zpow_natCast, pow_pos and field_simp. The positive q^N fact discharges inverse cancellation.
Strongly convex gradient descent has rational and inverse-power rates.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem strongly_convex_value_le {f : E → ℝ} {α β h : ℝ} (hf : ContDiff ℝ 1 f)
(hsc : StrongConvexOn univ α f) (hα : 0 < α) (hh : 0 < h) (hstep : β * h ≤ 1)
(hcoeff : α * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x₀ z : E) {N : ℕ} (hN : 0 < N) :
f ((fun x => x - h • gradient f x)^[N] x₀) - f z ≤
α * (1 - α * h) ^ N * ‖x₀ - z‖ ^ 2 / (2 * (1 - (1 - α * h) ^ N)) ∧
(α * h < 1 → f ((fun x => x - h • gradient f x)^[N] x₀) - f z ≤
α / (2 * ((1 - α * h) ^ (-(N : ℤ)) - 1)) * ‖x₀ - z‖ ^ 2)Write q=1-alpha h, R=||x0-z|| and e_N=f(X_N)-f(z). The existing weighted theorem already derives objective descent and the forced recurrence for the actual gradient iterates. Invoke it directly; its conclusion also allows negative comparator gaps. Positive alpha and h with alpha h<=1 give 0<=q<1. For N>0, q^N<1. The finite geometric identity, multiplied by 2, yields 2alpha h sum(q^k)=2(1-q^N). Multiply the weighted estimate by positive alpha and divide by positive 2(1-q^N). This rational form remains valid at q=0. Under the additional strict inequality alpha h<1, q>0 and q^N>0. Integer negative powers equal inverse positive powers. Multiplying numerator and denominator by q^N proves the exact displayed equality. At q=0 only the preceding rational conclusion applies; the negative-power formula is undefined in ordinary real arithmetic.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem strongly_convex_value_le {f : E → ℝ} {α β h : ℝ} (hf : ContDiff ℝ 1 f)
(hsc : StrongConvexOn univ α f) (hα : 0 < α) (hh : 0 < h) (hstep : β * h ≤ 1)
(hcoeff : α * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x₀ z : E) {N : ℕ} (hN : 0 < N) :
f ((fun x => x - h • gradient f x)^[N] x₀) - f z ≤
α * (1 - α * h) ^ N * ‖x₀ - z‖ ^ 2 / (2 * (1 - (1 - α * h) ^ N)) ∧
(α * h < 1 → f ((fun x => x - h • gradient f x)^[N] x₀) - f z ≤
α / (2 * ((1 - α * h) ^ (-(N : ℤ)) - 1)) * ‖x₀ - z‖ ^ 2) := by
have hq : 0 ≤ 1 - α * h := by linarith
have hqlt : 1 - α * h < 1 := by nlinarith
have he := gradient_descent_weighted_value_bound hf hsc hh.le hstep (by linarith) hu x₀ z N
have hs := geom_sum_mul_neg (1 - α * h) N
have hp : (1 - α * h) ^ N < 1 := pow_lt_one₀ hq hqlt (Nat.ne_of_gt hN)
have hr : f ((fun x => x - h • gradient f x)^[N] x₀) - f z ≤
α * (1 - α * h) ^ N * ‖x₀ - z‖ ^ 2 / (2 * (1 - (1 - α * h) ^ N)) := by
apply (le_div_iff₀ (by positivity : 0 < 2 * (1 - (1 - α * h) ^ N))).mpr
have hem := mul_le_mul_of_nonneg_left he hα.le
have hid : α * (2 * h * ∑ k ∈ range N, (1 - α * h) ^ k) =
2 * (1 - (1 - α * h) ^ N) := by nlinarith [hs]
rw [← mul_assoc, hid] at hem
nlinarith [hem]
refine ⟨hr, ?_⟩
intro hstrict
have hqp : 0 < (1 - α * h) ^ N := pow_pos (by linarith) N
have heq : α * (1 - α * h) ^ N * ‖x₀ - z‖ ^ 2 /
(2 * (1 - (1 - α * h) ^ N)) =
α / (2 * ((1 - α * h) ^ (-(N : ℤ)) - 1)) * ‖x₀ - z‖ ^ 2 := by
rw [zpow_neg, zpow_natCast]
field_simp
rwa [heq] at hr
end AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentRates| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| C2 Euclidean objective; minimizer comparator in displayed rate, arbitrary comparator allowed in (3.3). | C1 complete real Hilbert objective and arbitrary comparator z. | generalization | The unchanged weighted parent needs no finite dimension, Hessian or minimum. Choosing a minimizing z recovers the source optimization gap. |
| Beta-smooth objective and printed h<=1/beta. | Global quadratic upper model and beta*h<=1, with h>0. | mathematically-necessary | The upper model is the source smoothness characterization. Positive h is required by this finite normalization; beta>0 recovers the printed reciprocal step. The previously exposed negative-step problem is preserved rather than silently removed. |
| N is an iteration count; displayed coefficients divide by N or a geometric denominator. | N>0. | source-implicit | The finite normalized estimate is only for a positive number of updates; no totalized N0 quotient is used. |
| Printed inverse-power expression alpha/[2((1-alpha*h)^(-N)-1)]. | Alpha>0, h>0, alpha*h<=1; rational form throughout and exact inverse-power form only alpha*h<1. | mathematically-necessary | The rational form gives a valid q0 extension. The inverse-power expression needs q>0; with unit quadratic, alpha=beta=h=N=1,x0=1,z=0, its Lean totalized value is -1/2 while the final gap is0. No finite inverse-power q0 theorem is claimed. |
These are public integrations of the existing weighted theorem and previously compiled test normalizations. The new representation edge is the exact inverse-power equality; no new descent or recurrence proof is claimed. C1 on a complete real Hilbert space and arbitrary comparator generalize the C2 Euclidean minimizer-based source rate. Source smoothness is represented by its global quadratic upper model. The condition beta*h<=1 agrees with h<=1/beta when beta>0. Finite normalized bounds require h>0 and N>0. No real-valued normalized h=0 or N=0 assertion, analytic alpha-to-zero limit, iteration-complexity theorem, minimum existence, Riemannian or stochastic result is claimed. The rational coefficient equals zero at q=0 and N>0. With an actual minimizing comparator it forces exact objective optimality. This does not make the source inverse-power expression meaningful at zero.
Encoder–denoiser: accepted · possible-source-error
Retain the source C2 Euclidean alpha-strongly convex and beta-smooth objective, alpha>0,beta>0, a supplied minimizer z and actual constant-step gradient descent. For an integer N>=1, positive h with h<=1/beta and 0<alpha*h<1, assert f(x_N)-f(z)<=alpha*||x0-z||²/[2*((1-alpha*h)^(-N)-1)]. If alpha*h=1, use instead the separately proved rational coefficient alpha*(1-alpha*h)^N/[2*(1-(1-alpha*h)^N)]=0; do not evaluate the inverse-power expression at zero. Alpha=0 belongs to the separate convex formula with h>0,N>=1.
Make the finite inverse-power rate domain explicit: N>=1, h>0 and 0<alpha*h<1 for alpha>0. Treat the zero geometric base only through the rational extension, and alpha0 only through the convex formula. Preserve the original source wording separately.
Classification: mathematically-necessary · Status: accepted
The source normalized formula requires division and negative powers; its printed h<=1/beta alone does not supply all finite-real domains. The source recurrence lemma assumes a positive coefficient. For 0<q<1 and N>=1, q^N>0 and q^(-N)-1>0. At q0 or q1 the ordinary real normalization is undefined, and Lean totalized inverses do not encode a limiting convention. This clarification is separate from the existing nonnegative-step correction and the Hilbert/comparator generalizations.
Minimality: For nonnegative source alpha,beta and the contraction regime, the finite inverse-power formula needs alpha>0,h>0,N>=1 and q>0; then q<1 follows. No additional objective regularity or minimizer hypothesis is introduced. Only singular parameter strata are excluded from that expression; q0 remains covered by the rational formula and alpha0 by direct convex normalization. This does not claim an analytic limiting theorem.
Evidence: Chewi arXiv2605.07006v1 Theorem3.4 (3.2), Lemma3.5 positive coefficient and subsequent inverse-sum display. Unit quadratic f(x)=x²/2, alpha=beta=h=N=1,z=0,x0=1 satisfies the source assumptions, has gradient x and final iterate0. Its true gap is0 while the Lean totalized inverse-power coefficient is1/[2*(0^(-1)-1)]=-1/2. Tests/Shared/GradientDescentRates.lean tests the actual quadratic APIs (including h1) and separately compiles the numeric coefficient refutation. For h0 or N0 the denominator vanishes; the same nonoptimal initial point gives positive gap, incompatible with Lean zero quotient. These are counterexamples to naive totalized readings, not the source positive-domain result.
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
Sinho Chewi, Lectures on Optimization. ASTIS-authored paraphrase; no endorsement implied.
arXiv:2605.07006v1 · Lemma3.1 · faithful paraphrase
In the C² Euclidean setting, β-smoothness gives a quadratic upper model. For the actual gradient update with the printed restriction h≤1/β, the function decrease is at least h/2 times squared gradient norm.
Each statement and proof below has its own closed Lean disclosure. ASTIS parents, Mathlib calls and external mathematical sources are distinguished in each proof.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentBasic.gradient_step_descent_of_quadratic_upper_bound · theorem · Teaching coverage
Every actual gradient update obeys the displayed decrease under the global quadratic upper model and nonnegative admissible step.
Write g=∇f(x), T(x)=x−hg. The displacement is −hg; inner-product and norm identities evaluate the model exactly.
inner_neg_right; inner_smul_right; real_inner_self_eq_norm_sq; norm_neg; norm_smul; sq_abs.
Multiply βh≤1 by h‖g‖²≥0. Substituting the result leaves half of the linear decrease.
mul_nonneg; sq_nonneg; mul_le_mul_of_nonneg_right; nlinarith.
Actual gradient update and the global upper-model decrease.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_step_descent_of_quadratic_upper_bound {f : E → ℝ} {β h : ℝ}
(hh : 0 ≤ h) (hstep : β * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x : E) : f (x - h • gradient f x) - f x ≤ -(h / 2) * ‖gradient f x‖ ^ 2Write g=∇f(x), T(x)=x−hg. The displacement is −hg; inner-product and norm identities evaluate the model exactly. Multiply βh≤1 by h‖g‖²≥0. Substituting the result leaves half of the linear decrease.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_step_descent_of_quadratic_upper_bound {f : E → ℝ} {β h : ℝ}
(hh : 0 ≤ h) (hstep : β * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x : E) : f (x - h • gradient f x) - f x ≤ -(h / 2) * ‖gradient f x‖ ^ 2 := by
have hu' := hu x (x - h • gradient f x)
have he : x - h • gradient f x - x = -(h • gradient f x) := by abel
rw [he, inner_neg_right, inner_smul_right, real_inner_self_eq_norm_sq,
norm_neg, norm_smul, Real.norm_eq_abs, mul_pow, sq_abs] at hu'
have hs := mul_le_mul_of_nonneg_right hstep (mul_nonneg hh (sq_nonneg ‖gradient f x‖))
nlinarith
end AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentBasic| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| C² Euclidean function and smoothness. | Complete real Hilbert space, global quadratic upper model in the actual gradient; no separate differentiability premise. | generalization | The proof consumes this model algebraically. The source hypotheses supply it; no smoothness equivalence or arbitrary vector field is asserted. |
| Printed h≤1/β. | h≥0 and βh≤1. | mathematically-necessary | The source prints only h≤1/β. The explicit h≥0 is necessary: for f(t)=t²/2, β=1,h=−1,x=1, descent would assert 3/2≤1/2. The reciprocal and product step restrictions agree when β>0; signed β and β=0 here are algebraic extensions. |
| Positive source moduli. | Real moduli under the explicit model inequalities. | generalization | The algebraic finite-step inequality does not need separate sign hypotheses. Positive α and h are required to call the ordinary PL bound geometric decay; β>0 recovers the reciprocal condition. |
This is shared optimization textbook work, not progress on the companion papers. No convexity, optimizer-existence proof or smoothness-to-upper-model theorem is claimed. The source prints only h≤1/β. The explicit h≥0 is necessary: for f(t)=t²/2, β=1,h=−1,x=1, descent would assert 3/2≤1/2. The reciprocal and product step restrictions agree when β>0; signed β and β=0 here are algebraic extensions.
Encoder–denoiser: accepted · possible-source-error
Let f:R^d->R be C2 and beta-smooth with beta>0. For every step 0<=h<=1/beta and every x, define T(x)=x-h grad f(x). Then f(T(x))-f(x)<=-(h/2)||grad f(x)||^2.
Add h>=0 to the printed h<=1/beta restriction in Lemma3.1. Retain the original pinned source separately and preserve the local algebraic generalization.
Classification: mathematically-necessary · Status: accepted
f(t)=t^2/2 on R, beta=1,h=-1,x=1 satisfies h<=1/beta. T(1)=2; f(2)-f(1)=3/2 but -(h/2)|f prime(1)|^2=1/2, so descent fails. More generally h<0 gives discrepancy h(h-1)/2>0.
Minimality: Only the lower bound h>=0 is added to the source step domain; h=0 remains valid. Source positive modulus/regularity premises are retained. No convexity or strong convexity assumption is added. Omitting the new lower bound admits the explicit quadratic counterexample.
Evidence: Primary source https://arxiv.org/html/2605.07006v1#S3, Lemma3.1. Exact counterexample: f(t)=t^2/2 on R, beta=1,h=-1,x=1 satisfies h<=1/beta. T(1)=2; f(2)-f(1)=3/2 but -(h/2)|f prime(1)|^2=1/2, so descent fails. More generally h<0 gives discrepancy h(h-1)/2>0.
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
Sinho Chewi, Lectures on Optimization. ASTIS-authored paraphrase; no endorsement implied.
arXiv:2605.07006v1 · Theorem3.6; Definition2.5 and Section2 minimum convention · faithful paraphrase
In the C² Euclidean setting with an attained minimum f★=f(x★), β-smoothness and the PL inequality with α>0 give the displayed last-iterate function-value bound, for the printed restriction h≤1/β. No convexity assumption appears.
Each statement and proof below has its own closed Lean disclosure. ASTIS parents, Mathlib calls and external mathematical sources are distinguished in each proof.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentPL.gradient_descent_pl_value_bound · theorem · Teaching coverage
For every initial point x₀ and N∈ℕ, actual gradient iterates obey the displayed PL value bound about a supplied global minimizer.
Let z be the supplied global minimizer, G(x)=f(x)−f(z)≥0 and q=1−αh. Multiply 2αG(x)≤‖∇f(x)‖² by h/2≥0 and combine with the shared descent bound.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentBasic.gradient_step_descent_of_quadratic_upper_bound; mul_le_mul_of_nonneg_left; IsMinOn; nlinarith.
If q≥0, set u_n=G(Tⁿx₀). The actual iterate successor identity gives u_(n+1)≤q u_n. Apply the existing scalar geometric bound; no convexity enters.
Function.iterate_succ_apply'; le_geom.
If q<0, nonnegative gaps and the one-step bound force G(x)=0 for every x. Both sides of the claimed rate are zero for every natural N, including odd N.
lt_of_not_ge; global minimum lower bound; nlinarith; mul_zero.
Actual gradient iterates and supplied-minimizer PL final-value bound.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_descent_pl_value_bound {f : E → ℝ} {α β h : ℝ} {z : E}
(hz : IsMinOn f univ z) (hh : 0 ≤ h) (hstep : β * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(hpl : ∀ x, 2 * α * (f x - f z) ≤ ‖gradient f x‖ ^ 2)
(x₀ : E) (N : ℕ) :
f ((fun x => x - h • gradient f x)^[N] x₀) - f z ≤
(1 - α * h) ^ N * (f x₀ - f z)Let z be the supplied global minimizer, G(x)=f(x)−f(z)≥0 and q=1−αh. Multiply 2αG(x)≤‖∇f(x)‖² by h/2≥0 and combine with the shared descent bound. If q≥0, set u_n=G(Tⁿx₀). The actual iterate successor identity gives u_(n+1)≤q u_n. Apply the existing scalar geometric bound; no convexity enters. If q<0, nonnegative gaps and the one-step bound force G(x)=0 for every x. Both sides of the claimed rate are zero for every natural N, including odd N.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_descent_pl_value_bound {f : E → ℝ} {α β h : ℝ} {z : E}
(hz : IsMinOn f univ z) (hh : 0 ≤ h) (hstep : β * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(hpl : ∀ x, 2 * α * (f x - f z) ≤ ‖gradient f x‖ ^ 2)
(x₀ : E) (N : ℕ) :
f ((fun x => x - h • gradient f x)^[N] x₀) - f z ≤
(1 - α * h) ^ N * (f x₀ - f z) := by
let T : E → E := fun x => x - h • gradient f x
let q : ℝ := 1 - α * h
have hnonneg (x : E) : 0 ≤ f x - f z := sub_nonneg.mpr (hz (mem_univ x))
have hrec (x : E) : f (T x) - f z ≤ q * (f x - f z) := by
have hd := GradientDescentBasic.gradient_step_descent_of_quadratic_upper_bound hh hstep hu x
have hp := mul_le_mul_of_nonneg_left (hpl x) (show 0 ≤ h / 2 by positivity)
dsimp [T, q]
nlinarith
by_cases hq : 0 ≤ q
· have hr := le_geom (u := fun n => f (T^[n] x₀) - f z) hq N (by
intro k _
rw [Function.iterate_succ_apply']
exact hrec _)
exact hr
· have hzero (x : E) : f x - f z = 0 := by
have hc : q * (f x - f z) ≥ 0 := (hnonneg (T x)).trans (hrec x)
have hneg : q < 0 := lt_of_not_ge hq
have hx := hnonneg x
nlinarith
change f (T^[N] x₀) - f z ≤ q ^ N * (f x₀ - f z)
rw [hzero, hzero, mul_zero]
end AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentPL| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| C² Euclidean function and smoothness. | Complete real Hilbert space, global quadratic upper model in the actual gradient; no separate differentiability premise. | generalization | The proof consumes this model algebraically. The source hypotheses supply it; no smoothness equivalence or arbitrary vector field is asserted. |
| Printed h≤1/β. | h≥0 and βh≤1. | mathematically-necessary | The source prints only h≤1/β. The explicit h≥0 is necessary: for f(t)=t²/2, β=1,h=−1,x=1, descent would assert 3/2≤1/2. The reciprocal and product step restrictions agree when β>0; signed β and β=0 here are algebraic extensions. |
| Positive source moduli. | Real moduli under the explicit model inequalities. | generalization | The algebraic finite-step inequality does not need separate sign hypotheses. Positive α and h are required to call the ordinary PL bound geometric decay; β>0 recovers the reciprocal condition. |
| Attained global minimum; no explicit q≥0 restriction. | Supplied global minimizer, with both signs of q allowed. | same | Minimum supplies gap≥0. q≥0 uses scalar geometric iteration; q<0 forces every gap to be zero. No optimizer existence conclusion. |
This is shared optimization textbook work, not progress on the companion papers. No convexity, optimizer-existence proof or smoothness-to-upper-model theorem is claimed. The source prints only h≤1/β. The explicit h≥0 is necessary: for f(t)=t²/2, β=1,h=−1,x=1, descent would assert 3/2≤1/2. The reciprocal and product step restrictions agree when β>0; signed β and β=0 here are algebraic extensions. The supplied z satisfies f(z)≤f(x) for every x. This preserves the source attainment convention; no minimizer is constructed. The formula permits signed α. A positive PL modulus α>0 and positive h give q<1; in the ordinary branch 0≤q<1 this is geometric decay. The theorem adds no αh≤1 restriction; negative q is necessarily a zero-gap degeneracy. h=0 and N=0 yield equality. Theorem3.6 has its own missing-step counterexample: f(t)=t²/2, α=β=1,h=−1,x₀=1,N=1 gives final gap 2 but proposed upper bound 1. Its source repair remains distinct from the actual compiled theorem.
Encoder–denoiser: accepted · possible-source-error
Let f:R^d->R be C2 and beta-smooth with beta>0, admit a global minimizer z, and satisfy ||grad f(x)||^2>=2alpha(f(x)-f(z)) for all x with alpha>0. For every step 0<=h<=1/beta, define T(x)=x-h grad f(x). For every x0 and N in the natural numbers, f(T^[N](x0))-f(z)<=(1-alpha h)^N(f(x0)-f(z)).
Add h>=0 to the printed h<=1/beta restriction in Theorem3.6. Retain the original pinned source separately and preserve the local algebraic generalization.
Classification: mathematically-necessary · Status: accepted
For f(t)=t^2/2 on R, with alpha=beta=1, z=0,x0=1,N=1,h=-1 satisfies exact PL and all printed source premises. The new gap is f(2)=2, but (1-alpha h)(f(1)-f(0))=1. Thus 2<=1 is false. For every h<0, (1-h)^2>(1-h).
Minimality: Only the lower bound h>=0 is added to the source step domain; h=0 remains valid. Source positive modulus/regularity/attained-minimum/PL premises are retained. No convexity or q>=0 assumption is added. Omitting the new lower bound admits the explicit quadratic counterexample.
Evidence: Primary source https://arxiv.org/html/2605.07006v1#S3, Theorem3.6. Exact counterexample: For f(t)=t^2/2 on R, with alpha=beta=1, z=0,x0=1,N=1,h=-1 satisfies exact PL and all printed source premises. The new gap is f(2)=2, but (1-alpha h)(f(1)-f(0))=1. Thus 2<=1 is false. For every h<0, (1-h)^2>(1-h).
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
Sinho Chewi, Lectures on Optimization. ASTIS-authored paraphrase; no endorsement implied.
arXiv:2605.07006v1 · Theorem3.7 and its proof; Section2 attained-minimum convention · faithful paraphrase
For a β-smooth objective and the printed step restriction h≤1/β, the smallest gradient norm among x₀,…,x_(N−1) is bounded by the displayed square root. The proof adds the single-step descent inequalities and bounds the last objective value below by f★.
Each statement and proof below has its own closed Lean disclosure. ASTIS parents, Mathlib calls and external mathematical sources are distinguished in each proof.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentStationarity.gradient_descent_sum_sq_bound · theorem · Teaching coverage
For every N∈ℕ, actual gradient descent satisfies the cumulative squared-gradient inequality.
The existing shared descent theorem controls the gradient norm at x_k by the decrease from x_k to x_(k+1). The successor identity connects the abstract iterate to the actual update.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentBasic.gradient_step_descent_of_quadratic_upper_bound; Function.iterate_succ_apply'.
Distribute h/2 over the finite sum, sum the pointwise inequalities, then cancel adjacent objective values with Mathlib’s reversed telescoping identity. No lower bound is needed.
Finset.mul_sum; Finset.sum_le_sum; Finset.sum_range_sub'.
Actual gradient iterates, explicit upper model and step/iteration domains.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_descent_sum_sq_bound {f : E → ℝ} {β h : ℝ}
(hh : 0 ≤ h) (hstep : β * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x₀ : E) (N : ℕ) :
h / 2 * ∑ k ∈ Finset.range N, ‖gradient f ((fun x => x - h • gradient f x)^[k] x₀)‖ ^ 2 ≤
f x₀ - f ((fun x => x - h • gradient f x)^[N] x₀)The existing shared descent theorem controls the gradient norm at x_k by the decrease from x_k to x_(k+1). The successor identity connects the abstract iterate to the actual update. Distribute h/2 over the finite sum, sum the pointwise inequalities, then cancel adjacent objective values with Mathlib’s reversed telescoping identity. No lower bound is needed.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_descent_sum_sq_bound {f : E → ℝ} {β h : ℝ}
(hh : 0 ≤ h) (hstep : β * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x₀ : E) (N : ℕ) :
h / 2 * ∑ k ∈ Finset.range N, ‖gradient f ((fun x => x - h • gradient f x)^[k] x₀)‖ ^ 2 ≤
f x₀ - f ((fun x => x - h • gradient f x)^[N] x₀) := by
let T : E → E := fun x => x - h • gradient f x
calc
h / 2 * ∑ k ∈ Finset.range N, ‖gradient f (T^[k] x₀)‖ ^ 2 =
∑ k ∈ Finset.range N, h / 2 * ‖gradient f (T^[k] x₀)‖ ^ 2 := Finset.mul_sum _ _ _
_ ≤ ∑ k ∈ Finset.range N, (f (T^[k] x₀) - f (T^[k + 1] x₀)) := by
apply Finset.sum_le_sum
intro k _
rw [Function.iterate_succ_apply']
have hd := GradientDescentBasic.gradient_step_descent_of_quadratic_upper_bound
hh hstep hu (T^[k] x₀)
change h / 2 * ‖gradient f (T^[k] x₀)‖ ^ 2 ≤ f (T^[k] x₀) - f (T (T^[k] x₀))
dsimp [T] at *
linarith
_ = f x₀ - f (T^[N] x₀) := by
simpa using Finset.sum_range_sub' (fun k => f (T^[k] x₀)) N
/-- Among the first `N` actual gradient iterates, one has small gradient norm.
This is a best-iterate guarantee, not a last-iterate or global optimality guarantee. -/| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| Smooth Euclidean objective and β-smoothness. | Complete real Hilbert space and the global quadratic upper model in the actual gradient. | generalization | Only this model is consumed; the source smooth Euclidean case specializes it. No assertion of differentiability of arbitrary objectives or a smoothness equivalence. |
| Positive β and h≤1/β. | Real β and βh≤1, with h≥0. | generalization | Product and reciprocal restrictions agree for β>0. Signed β are permitted only within the explicit algebraic upper model. |
| The printed bound divides by Nh and takes a minimum over 0,…,N−1 without explicit positivity in the theorem line. | Unnormalized sum with h≥0,N∈ℕ. | mathematically-necessary | The source prints only h≤1/β. The normalized theorem additionally needs h>0 and N≥1. For f(t)=t²/2, β=1,x₀=1,z=0,N=1, h=0 or h=−1 makes the Lean-totalized square-root bound equal to 0, although the only tested gradient has norm 1. In ordinary real arithmetic these expressions are undefined. At N=0 the minimum has an empty index set. Proposed domain repairs are separately reviewed; the pinned source wording remains unchanged. The unnormalized component retains h=0,N=0 because there is no division or empty minimum. |
| Attained minimum and finite minimum of gradient norms. | No lower-bound premise or witness conclusion in this proof component. | generalization | The cumulative proof is valid before using the source minimum. |
No convexity, PL inequality, or stochastic oracle is assumed. These are shared textbook optimization results, not companion-paper completion. The real parameter β need not be positive in this algebraic model. For source β>0, βh≤1 is equivalent to h≤1/β; β=0 and negative β are explicitly broader model domains, not new reciprocal smoothness claims. The source prints only h≤1/β. The normalized theorem additionally needs h>0 and N≥1. For f(t)=t²/2, β=1,x₀=1,z=0,N=1, h=0 or h=−1 makes the Lean-totalized square-root bound equal to 0, although the only tested gradient has norm 1. In ordinary real arithmetic these expressions are undefined. At N=0 the minimum has an empty index set. Proposed domain repairs are separately reviewed; the pinned source wording remains unchanged. The unnormalized sum includes h=0 and N=0; both are equality cases. This proof component alone is not the normalized stationary-iterate guarantee.
Encoder–denoiser: accepted · domain-mismatch
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentStationarity.exists_gradient_descent_norm_le · theorem · Teaching coverage
For every initial point and positive natural iteration count, one of the first N actual gradient iterates satisfies the displayed norm bound.
The supplied global minimizer z gives f(z)≤f(x_N). Apply accumulated descent to replace the final objective value by f(z).
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentStationarity.gradient_descent_sum_sq_bound; IsMinOn.
Let B=2(f(x₀)−f(z))/(Nh). Since h>0 and N>0, multiplication by h/2 preserves and reflects order; (h/2)NB is exactly the initial gap. Hence the sum is at most NB.
Nat.cast_pos; field_simp; Finset.sum_const; Finset.card_range; mul_le_mul_iff_right₀.
A nonempty finite sum bounded by the sum of the constant B has a term at most B. Convert that squared-norm bound to a norm bound with Mathlib’s square-root lemma. The witness is one of x₀,…,x_(N−1).
Finset.exists_le_of_sum_le; Finset.mem_range; Real.le_sqrt_of_sq_le.
Actual gradient iterates, explicit upper model and step/iteration domains.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem exists_gradient_descent_norm_le {f : E → ℝ} {β h : ℝ} {z : E}
(hz : IsMinOn f univ z) (hh : 0 < h) (hstep : β * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x₀ : E) {N : ℕ} (hN : 0 < N) :
∃ k ∈ Finset.range N,
‖gradient f ((fun x => x - h • gradient f x)^[k] x₀)‖ ≤
Real.sqrt (2 * (f x₀ - f z) / ((N : ℝ) * h))The supplied global minimizer z gives f(z)≤f(x_N). Apply accumulated descent to replace the final objective value by f(z). Let B=2(f(x₀)−f(z))/(Nh). Since h>0 and N>0, multiplication by h/2 preserves and reflects order; (h/2)NB is exactly the initial gap. Hence the sum is at most NB. A nonempty finite sum bounded by the sum of the constant B has a term at most B. Convert that squared-norm bound to a norm bound with Mathlib’s square-root lemma. The witness is one of x₀,…,x_(N−1).
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem exists_gradient_descent_norm_le {f : E → ℝ} {β h : ℝ} {z : E}
(hz : IsMinOn f univ z) (hh : 0 < h) (hstep : β * h ≤ 1)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x₀ : E) {N : ℕ} (hN : 0 < N) :
∃ k ∈ Finset.range N,
‖gradient f ((fun x => x - h • gradient f x)^[k] x₀)‖ ≤
Real.sqrt (2 * (f x₀ - f z) / ((N : ℝ) * h)) := by
let T : E → E := fun x => x - h • gradient f x
let B : ℝ := 2 * (f x₀ - f z) / ((N : ℝ) * h)
have hNr : 0 < (N : ℝ) := by exact_mod_cast hN
have hd := gradient_descent_sum_sq_bound hh.le hstep hu x₀ N
have hzN : f z ≤ f (T^[N] x₀) := hz (mem_univ _)
have hsum : (∑ k ∈ Finset.range N, ‖gradient f (T^[k] x₀)‖ ^ 2) ≤
∑ _k ∈ Finset.range N, B := by
have hb : h / 2 * ((N : ℝ) * B) = f x₀ - f z := by
dsimp [B]
field_simp
simp only [Finset.sum_const, Finset.card_range, nsmul_eq_mul]
apply (mul_le_mul_iff_right₀ (show 0 < h / 2 by positivity)).mp
change h / 2 * (∑ k ∈ Finset.range N, ‖gradient f (T^[k] x₀)‖ ^ 2) ≤
h / 2 * ((N : ℝ) * B)
rw [hb]
change h / 2 * (∑ k ∈ Finset.range N, ‖gradient f (T^[k] x₀)‖ ^ 2) ≤
f x₀ - f (T^[N] x₀) at hd
linarith
obtain ⟨k, hk, hkle⟩ := Finset.exists_le_of_sum_le ⟨0, Finset.mem_range.mpr hN⟩ hsum
refine ⟨k, hk, ?_⟩
exact Real.le_sqrt_of_sq_le hkle
end AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentStationarity| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| Smooth Euclidean objective and β-smoothness. | Complete real Hilbert space and the global quadratic upper model in the actual gradient. | generalization | Only this model is consumed; the source smooth Euclidean case specializes it. No assertion of differentiability of arbitrary objectives or a smoothness equivalence. |
| Positive β and h≤1/β. | Real β and βh≤1, with h>0. | generalization | Product and reciprocal restrictions agree for β>0. Signed β are permitted only within the explicit algebraic upper model. |
| The printed bound divides by Nh and takes a minimum over 0,…,N−1 without explicit positivity in the theorem line. | Strictly positive h and N≥1. | mathematically-necessary | The source prints only h≤1/β. The normalized theorem additionally needs h>0 and N≥1. For f(t)=t²/2, β=1,x₀=1,z=0,N=1, h=0 or h=−1 makes the Lean-totalized square-root bound equal to 0, although the only tested gradient has norm 1. In ordinary real arithmetic these expressions are undefined. At N=0 the minimum has an empty index set. Proposed domain repairs are separately reviewed; the pinned source wording remains unchanged. |
| Attained minimum and finite minimum of gradient norms. | Supplied IsMinOn f univ z and an existential index in Finset.range N. | same | For N≥1, existence of a term below B is equivalent to the finite minimum being below B. z encodes the source minimizer, without proving existence. |
No convexity, PL inequality, or stochastic oracle is assumed. These are shared textbook optimization results, not companion-paper completion. The real parameter β need not be positive in this algebraic model. For source β>0, βh≤1 is equivalent to h≤1/β; β=0 and negative β are explicitly broader model domains, not new reciprocal smoothness claims. The source prints only h≤1/β. The normalized theorem additionally needs h>0 and N≥1. For f(t)=t²/2, β=1,x₀=1,z=0,N=1, h=0 or h=−1 makes the Lean-totalized square-root bound equal to 0, although the only tested gradient has norm 1. In ordinary real arithmetic these expressions are undefined. At N=0 the minimum has an empty index set. Proposed domain repairs are separately reviewed; the pinned source wording remains unchanged. The existential witness is equivalent to the finite-minimum upper bound on this nonempty index set. No last-iterate guarantee, convergence of the entire sequence, exact stationary point, or global optimality is concluded. The minimizer is supplied, not constructed. At h=1/β with β>0, the formula gives the source O(βΔ₀/ε²) stationarity scaling; no separate stopping algorithm or oracle-complexity theorem is claimed.
Encoder–denoiser: accepted · domain-mismatch
For every natural dimension d, let f:R^d→R be twice continuously differentiable and let beta>0. Assume f(y)≤f(x)+<grad f(x),y-x>+(beta/2)||y-x||² for all x,y∈R^d, and let z be a global minimizer of f, with f_star=f(z). For every h with 0<h≤1/beta, every x₀∈R^d and every natural N≥1, define x_(k+1)=x_k-h grad f(x_k) for all natural k starting from x₀. Then min_{0≤k<N}||grad f(x_k)||≤sqrt(2(f(x₀)-f_star)/(N*h)).
State the ordinary reciprocal domain beta>0, the descent step 0<h≤1/beta, and the nonempty iteration range N≥1. Retain the Euclidean C² setting, actual updates, attained minimum and original best-iterate conclusion. Do not import the Lean Hilbert/algebraic extension into the source theorem.
Classification: source-implicit · Status: accepted
The denominator Nh must be positive for the averaging argument, and a minimum over the first N indices needs N≥1. beta>0 selects the ordinary reciprocal domain from the beta≥0 smoothness definition. These are source-domain clarifications rather than consequences of Lean division conventions.
Minimality: Only domains of already present parameters are clarified. No convexity, PL inequality, gradient-Lipschitz condition, coercivity or unique minimizer is added. The source C² and attained-minimum conventions and numerical constant 2 are retained. beta=0 remains a separate algebraic extension through beta*h≤1, not a replacement for the printed reciprocal statement.
Evidence: Primary source https://arxiv.org/html/2605.07006v1 Definition1.12, S2 convention, S3 and Theorem3.7. Step endpoint: on R take f(t)=t²/2, beta=1, z=0, x₀=1, h=0, N=1 and x_(k+1)=x_k-h*f'(x_k)=x_k, so all x_k=1 and the minimum gradient norm is 1; ordinary Nh division is undefined, while Lean-totalized division gives RHS 0 and a false bound. Negative step: on R take f(t)=t²/2, beta=1, z=0, x₀=1, h=-1, N=1 and x_(k+1)=2x_k; the radicand is -1, not an ordinary real square-root domain, while Real.sqrt makes RHS 0 and the bound false. Empty range: on R take f(t)=t²/2, beta=1, z=0, x₀=1, h=1, N=0 and x_(k+1)=x_k-f'(x_k)=0; there is no k<N and no real-valued finite minimum over that empty range. Reciprocal endpoint: on R take f(t)=0, beta=0, z=0, x₀=1, h=1, N=1 and x_(k+1)=x_k; the algebraic bound holds but 1/beta in ordinary real arithmetic is undefined.
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
Sinho Chewi, Lectures on Optimization. ASTIS-authored paraphrase; no endorsement implied.
arXiv:2605.07006v1 · Exercise3.2 and the Section3 C² convention; Definition1.12 smoothness · faithful paraphrase
For an α-convex and β-smooth C² Euclidean objective, apply the fundamental theorem of calculus to T_h=id−h∇f along the segment between two points. Bound the eigenvalues of DT_h to obtain its operator norm bound and show that h=2/(α+β) minimizes the resulting bound. The resulting factor is (κ−1)/(κ+1), where κ=β/α, improving the preceding gradient-descent estimate.
Each statement and proof below has its own closed Lean disclosure. ASTIS parents, Mathlib calls and external mathematical sources are distinguished in each proof.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentOptimalStep.gradient_step_endpoint_bound · theorem · Teaching coverage
Every nonnegative gradient step satisfies the displayed pairwise Lipschitz bound.
Apply the strong-convex first-order gradient monotonicity theorem and its C² Hessian equivalence. The upper-model equivalence gives the opposite inequality. The Riesz map turns D²f(z) into a continuous linear operator H_z with the displayed quadratic form.
StrongConvexFirstOrder.gradient_inner_lower_bound_of_strongConvexOn; ConvexityC2.gradient_mono_iff_fderiv2_lower; SmoothnessEquivalences.upper_model_iff_fderiv2_upper; toDual_symm_apply.
Differentiate T_h to obtain A_z=I−hH_z. C² symmetry makes A_z symmetric. Multiplying the Hessian inequalities by h≥0 puts the Rayleigh value of every nonzero vector in [1−hβ,1−hα]. Its absolute value is at most the maximum of the endpoint absolute values. Mathlib’s supremum formula bounds the operator norm; the zero vector is treated separately. In this supremum the Rayleigh quotient is assigned value zero at v=0, including when E is the zero space.
ContDiffAt.isSymmSndFDerivAt; ContinuousLinearMap.norm_eq_iSup_rayleighQuotient; HasFDerivAt.comp; HasFDerivAt.sub; HasFDerivAt.const_smul.
Set v=y−x. The derivative of t↦T_h(x+tv) is A_(x+tv)v and is continuous. The vector fundamental theorem of calculus expresses the update difference as its integral over [0,1]. Bound the integral norm by the uniform derivative bound times the segment length.
intervalIntegral.integral_eq_sub_of_hasDerivAt; intervalIntegral.norm_integral_le_of_norm_le_const; ContinuousLinearMap.le_opNorm; ContDiff.continuous_fderiv.
C² actual-gradient map, global lower curvature and quadratic upper model; explicit real parameter domains.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_step_endpoint_bound {f : E → ℝ} {α β h : ℝ}
(hf : ContDiff ℝ 2 f) (hsc : StrongConvexOn univ α f) (hh : 0 ≤ h)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x y : E) :
‖(y - h • gradient f y) - (x - h • gradient f x)‖ ≤
max |1 - h * α| |1 - h * β| * ‖y - x‖Apply the strong-convex first-order gradient monotonicity theorem and its C² Hessian equivalence. The upper-model equivalence gives the opposite inequality. The Riesz map turns D²f(z) into a continuous linear operator H_z with the displayed quadratic form. Differentiate T_h to obtain A_z=I−hH_z. C² symmetry makes A_z symmetric. Multiplying the Hessian inequalities by h≥0 puts the Rayleigh value of every nonzero vector in [1−hβ,1−hα]. Its absolute value is at most the maximum of the endpoint absolute values. Mathlib’s supremum formula bounds the operator norm; the zero vector is treated separately. In this supremum the Rayleigh quotient is assigned value zero at v=0, including when E is the zero space. Set v=y−x. The derivative of t↦T_h(x+tv) is A_(x+tv)v and is continuous. The vector fundamental theorem of calculus expresses the update difference as its integral over [0,1]. Bound the integral norm by the uniform derivative bound times the segment length.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem gradient_step_endpoint_bound {f : E → ℝ} {α β h : ℝ}
(hf : ContDiff ℝ 2 f) (hsc : StrongConvexOn univ α f) (hh : 0 ≤ h)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x y : E) :
‖(y - h • gradient f y) - (x - h • gradient f x)‖ ≤
max |1 - h * α| |1 - h * β| * ‖y - x‖ := by
let M := max |1 - h * α| |1 - h * β|
have hM : 0 ≤ M := (abs_nonneg _).trans (le_max_left _ _)
have hlo := (ConvexityC2.gradient_mono_iff_fderiv2_lower hf).mp (fun a b =>
StrongConvexFirstOrder.gradient_inner_lower_bound_of_strongConvexOn hsc
(fun z _ => ((hf.of_le (by norm_num) : ContDiff ℝ 1 f).differentiable_one z).hasGradientAt)
(mem_univ a) (mem_univ b))
have hup := (SmoothnessEquivalences.upper_model_iff_fderiv2_upper hf).mp hu
let R : (E →L[ℝ] ℝ) →L[ℝ] E :=
{ toFun := (toDual ℝ E).symm
map_add' := (toDual ℝ E).symm.map_add
map_smul' := by intros; simp
cont := (toDual ℝ E).symm.continuous }
let H (z : E) : E →L[ℝ] E := R.comp (fderiv ℝ (fderiv ℝ f) z)
let A (z : E) : E →L[ℝ] E := ContinuousLinearMap.id ℝ E - h • H z
let T : E → E := fun z => z - h • gradient f z
have hfd : ContDiff ℝ 1 (fderiv ℝ f) := hf.fderiv_right (by norm_num)
have hgrad (z : E) : HasFDerivAt (gradient f) (H z) z :=
R.hasFDerivAt.comp z (hfd.differentiable_one z).hasFDerivAt
have hTd (z : E) : HasFDerivAt T (A z) z :=
(hasFDerivAt_id z).sub ((hgrad z).const_smul h)
have hT : ContDiff ℝ 1 T := contDiff_id.sub ((R.contDiff.comp hfd).const_smul h)
have hinner (z v w : E) : inner ℝ (H z v) w = (fderiv ℝ (fderiv ℝ f) z v) w :=
toDual_symm_apply
have hsym (z : E) : (A z).IsSymmetric := by
intro v w
change inner ℝ (v - h • H z v) w = inner ℝ v (w - h • H z w)
rw [inner_sub_left, inner_sub_right, real_inner_smul_left, inner_smul_right]
have hr : inner ℝ v (H z w) = (fderiv ℝ (fderiv ℝ f) z w) v :=
(real_inner_comm v (H z w)).symm.trans (hinner z w v)
rw [hinner, hr]
rw [hf.contDiffAt.isSymmSndFDerivAt (by norm_num) v w]
have hnorm (z : E) : ‖A z‖ ≤ M := by
rw [(A z).norm_eq_iSup_rayleighQuotient (hsym z)]
apply ciSup_le
intro v
change |inner ℝ (A z v) v / ‖v‖ ^ 2| ≤ M
by_cases hv : v = 0
· simp [hv]
exact hM
· simp only [abs_div, abs_pow, abs_norm]
apply (div_le_iff₀ (sq_pos_of_pos (norm_pos_iff.mpr hv))).mpr
change |inner ℝ (v - h • H z v) v| ≤ M * ‖v‖ ^ 2
rw [inner_sub_left, real_inner_smul_left, real_inner_self_eq_norm_sq, hinner]
have hl := mul_le_mul_of_nonneg_left (hlo z v) hh
have hu' := mul_le_mul_of_nonneg_left (hup z v) hh
have hleft : 1 - h * α ≤ M := (le_abs_self _).trans (le_max_left _ _)
have hright : -(1 - h * β) ≤ M := (neg_le_abs _).trans (le_max_right _ _)
have hleft' := mul_le_mul_of_nonneg_right hleft (sq_nonneg ‖v‖)
have hright' := mul_le_mul_of_nonneg_right hright (sq_nonneg ‖v‖)
exact abs_le.mpr ⟨by nlinarith, by nlinarith⟩
let v := y - x
have hpath (t : ℝ) : HasDerivAt (fun s : ℝ => T (x + s • v)) (A (x + t • v) v) t := by
convert (hTd (x + t • v)).comp_hasDerivAt t
(((hasDerivAt_id t).smul_const v).const_add x) using 1 <;> simp [Function.comp_def]
have hc : Continuous (fun t : ℝ => A (x + t • v) v) := by
have hA : A = fderiv ℝ T := funext (fun z => (hTd z).fderiv.symm)
rw [hA]
exact ((hT.continuous_fderiv (by norm_num)).comp
(continuous_const.add (continuous_id.smul continuous_const))).clm_apply continuous_const
have hFTC : (∫ t : ℝ in 0..1, A (x + t • v) v) = T y - T x := by
simpa [v] using intervalIntegral.integral_eq_sub_of_hasDerivAt
(fun t _ => hpath t) (hc.intervalIntegrable 0 1)
change ‖T y - T x‖ ≤ M * ‖v‖
rw [← hFTC]
simpa using intervalIntegral.norm_integral_le_of_norm_le_const (a := (0 : ℝ)) (b := 1)
(fun t _ => ((A (x + t • v)).le_opNorm v).trans
(mul_le_mul_of_nonneg_right (hnorm _) (norm_nonneg v)))
/-- The step `2/(α+β)` gives the sharp uniform curvature-envelope contraction.
Its factor minimizes the endpoint max-envelope over every real step.
The `α=0` boundary is nonexpansive, and `α=β` is retained. -/| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| C² Euclidean objective. | C² objective on a complete real Hilbert space. | generalization | The symmetric Rayleigh quotient norm identity replaces the finite-dimensional eigenvalue description and the same vector segment FTC is used. |
| α-convex and β-smooth objective. | StrongConvexOn univ α f and the global upper quadratic model in the actual gradient. | same | Under C² regularity, existing compiled C² equivalences give exactly the lower and upper Hessian quadratic-form bounds used by the source. |
| C² Hessian and segment integral. | Actual Riesz Hessian derivative, symmetric continuous linear update derivative, continuous segment derivative. | source-implicit | C² and completeness discharge the derivative, symmetry and integrability conditions inside the proof; no extra analytic hypothesis is supplied. |
| Positive-curvature condition-number regime. | Signed α,β with the actual compatible curvature models and h≥0. | generalization | The intermediate endpoint argument does not use parameter positivity. |
| Minimize the bound on the update difference. | Only the bound component. | same | No claim of objective-specific best step or oracle complexity. The derivative/FTC route is retained. The step-selection obligation belongs to the separate declaration. |
The source works in Euclidean space; the Lean theorem extends the same argument to complete real Hilbert spaces using the symmetric Rayleigh norm formula. Completeness supplies the Riesz map and the vector-valued integral. C² regularity supplies the actual gradient derivative, Hessian symmetry, and continuity/integrability along the closed line segment. No additional domination, measurability, boundary or supplied spectral hypothesis is assumed. These are textbook optimisation edges. No minimizer, N-step convergence, stochastic sampling theorem, oracle lower bound or companion-paper completion is asserted. This is the Exercise3.2 derivative/integral proof component before step selection. It does not by itself assert contraction: M_h can exceed one. It includes h=0 and allows signed curvature bounds.
Encoder–denoiser: accepted · domain-mismatch
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
AutoSamplingTheory.TechnicalLemmas.Analysis.StrongConvexFirstOrder.gradient_inner_lower_bound_of_strongConvexOnAutoSamplingTheory.TechnicalLemmas.Analysis.ConvexityC2.gradient_mono_iff_fderiv2_lowerAutoSamplingTheory.TechnicalLemmas.Analysis.SmoothnessEquivalences.upper_model_iff_fderiv2_upperASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentOptimalStep.optimal_gradient_step · theorem · Teaching coverage
The balanced positive step satisfies the displayed bound, and its factor is a lower bound for the endpoint envelope at every real step.
Let D=α+β>0 and q=(β−α)/D≥0. At h★=2/D the endpoint values are q and −q. Their maximum absolute value is q, so the preceding actual-gradient bound gives the stated two-point inequality.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentOptimalStep.gradient_step_endpoint_bound; field_simp; abs_neg; abs_of_nonneg; max_self.
For any real h, M_h≥1−hα and M_h≥hβ−1. Multiply these inequalities by β≥0 and α≥0 respectively and add. The h terms cancel. Dividing by α+β>0 yields M_h≥q, including negative h. This is envelope minimization, not an objective-by-objective optimal-step theorem.
le_abs_self; neg_le_abs; mul_le_mul_of_nonneg_left; div_le_iff₀.
C² actual-gradient map, global lower curvature and quadratic upper model; explicit real parameter domains.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem optimal_gradient_step {f : E → ℝ} {α β : ℝ}
(hf : ContDiff ℝ 2 f) (hsc : StrongConvexOn univ α f)
(hα : 0 ≤ α) (hβ : 0 < β) (hαβ : α ≤ β)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x y : E) :
‖(y - (2 / (α + β)) • gradient f y) - (x - (2 / (α + β)) • gradient f x)‖ ≤
((β - α) / (α + β)) * ‖y - x‖ ∧
∀ h : ℝ, (β - α) / (α + β) ≤ max |1 - h * α| |1 - h * β|Let D=α+β>0 and q=(β−α)/D≥0. At h★=2/D the endpoint values are q and −q. Their maximum absolute value is q, so the preceding actual-gradient bound gives the stated two-point inequality. For any real h, M_h≥1−hα and M_h≥hβ−1. Multiply these inequalities by β≥0 and α≥0 respectively and add. The h terms cancel. Dividing by α+β>0 yields M_h≥q, including negative h. This is envelope minimization, not an objective-by-objective optimal-step theorem.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem optimal_gradient_step {f : E → ℝ} {α β : ℝ}
(hf : ContDiff ℝ 2 f) (hsc : StrongConvexOn univ α f)
(hα : 0 ≤ α) (hβ : 0 < β) (hαβ : α ≤ β)
(hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2)
(x y : E) :
‖(y - (2 / (α + β)) • gradient f y) - (x - (2 / (α + β)) • gradient f x)‖ ≤
((β - α) / (α + β)) * ‖y - x‖ ∧
∀ h : ℝ, (β - α) / (α + β) ≤ max |1 - h * α| |1 - h * β| := by
have hD : 0 < α + β := add_pos_of_nonneg_of_pos hα hβ
have hq : 0 ≤ (β - α) / (α + β) := div_nonneg (sub_nonneg.mpr hαβ) hD.le
have ha : 1 - 2 / (α + β) * α = (β - α) / (α + β) := by field_simp; ring
have hb : 1 - 2 / (α + β) * β = -((β - α) / (α + β)) := by field_simp; ring
constructor
· have hc := gradient_step_endpoint_bound hf hsc (show 0 ≤ 2 / (α + β) by positivity) hu x y
simpa only [ha, hb, abs_neg, abs_of_nonneg hq, max_self] using hc
· intro h
let M := max |1 - h * α| |1 - h * β|
have ha' : 1 - h * α ≤ M := (le_abs_self _).trans (le_max_left _ _)
have hb' : -(1 - h * β) ≤ M := (neg_le_abs _).trans (le_max_right _ _)
apply (div_le_iff₀ hD).mpr
have h1 := mul_le_mul_of_nonneg_left ha' hβ.le
have h2 := mul_le_mul_of_nonneg_left hb' hα
nlinarith
end AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentOptimalStep| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| C² Euclidean objective. | C² objective on a complete real Hilbert space. | generalization | The symmetric Rayleigh quotient norm identity replaces the finite-dimensional eigenvalue description and the same vector segment FTC is used. |
| α-convex and β-smooth objective. | StrongConvexOn univ α f and the global upper quadratic model in the actual gradient. | same | Under C² regularity, existing compiled C² equivalences give exactly the lower and upper Hessian quadratic-form bounds used by the source. |
| C² Hessian and segment integral. | Actual Riesz Hessian derivative, symmetric continuous linear update derivative, continuous segment derivative. | source-implicit | C² and completeness discharge the derivative, symmetry and integrability conditions inside the proof; no extra analytic hypothesis is supplied. |
| Positive-curvature condition-number regime. | 0≤α≤β and β>0; optimal comparison for all real h. | generalization | At α=0 the extension is nonexpansive and no κ is formed. β>0 gives a positive denominator; α≤β is explicit rather than inferred in the zero-dimensional space. For α>0 this is the source contraction factor. |
| Minimize the bound on the update difference. | Pairwise bound at 2/(α+β) and global scalar minimax inequality for the endpoint envelope. | same | No claim of objective-specific best step or oracle complexity. The derivative/FTC route is retained. The scalar lower bound is proved for all real h, so in particular covers nonnegative descent steps. |
The source works in Euclidean space; the Lean theorem extends the same argument to complete real Hilbert spaces using the symmetric Rayleigh norm formula. Completeness supplies the Riesz map and the vector-valued integral. C² regularity supplies the actual gradient derivative, Hessian symmetry, and continuity/integrability along the closed line segment. No additional domination, measurability, boundary or supplied spectral hypothesis is assumed. These are textbook optimisation edges. No minimizer, N-step convergence, stochastic sampling theorem, oracle lower bound or companion-paper completion is asserted. For the source’s condition-number interpretation assume α>0: κ=β/α and q=(κ−1)/(κ+1)<1. At α=0 the extension gives q=1 (nonexpansive) and κ is undefined. At α=β>0 the map has zero pairwise difference; this does not identify a minimizer without further argument. The explicit order α≤β preserves the zero-dimensional case, where curvature inequalities alone do not imply this order. The result minimizes the endpoint upper envelope; it does not state that every individual objective has its actual smallest Lipschitz constant at h★.
Encoder–denoiser: accepted · domain-mismatch
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
Sinho Chewi, Lectures on Optimization. ASTIS-authored paraphrase; no endorsement implied.
arXiv:2605.07006v1 · Exercise3.3; Section3 gradient-descent definition · faithful paraphrase
For the centered quadratic objective associated with a positive-definite symmetric matrix, derive an explicit expression for gradient-descent iterates and assess how sharp the estimates in this section are. The exercise does not print a solution.
Each statement and proof below has its own closed Lean disclosure. ASTIS parents, Mathlib calls and external mathematical sources are distinguished in each proof.
AutoSamplingTheory.TechnicalLemmas.Analysis.QuadraticGradientDescent.quadratic_gradient_iterate · theorem · Teaching coverage
For every natural iteration count, the actual gradient-descent trajectory equals the indicated operator power.
The product rule for the inner product gives half the sum of two linear terms. Symmetry moves H between arguments, and real inner-product symmetry identifies both terms. This is the continuous linear functional represented by Hx, so uniqueness of the Riesz gradient yields ∇f(x)=Hx.
HasFDerivAt.inner; HasFDerivAt.const_mul; LinearMap.IsSymmetric.apply_clm; hasGradientAt_iff_hasFDerivAt; HasGradientAt.gradient.
Substitute the computed gradient into T_h. The update is the continuous linear endomorphism I−hH. Reuse Mathlib’s identity equating endomorphism powers with function iteration; the zero-th power is the identity.
FunLike.coe_pow_eq_iterate; congrFun.
Actual quadratic and actual gradient iteration; symmetric continuous linear H on complete real Hilbert E, real h, natural N.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem quadratic_gradient_iterate (H : E →L[ℝ] E) (hH : H.IsSymmetric)
(h : ℝ) (N : ℕ) (x : E) :
let f := fun z : E => inner ℝ z (H z) / 2
(fun z => z - h • gradient f z)^[N] x = ((1 - h • H) ^ N) xThe product rule for the inner product gives half the sum of two linear terms. Symmetry moves H between arguments, and real inner-product symmetry identifies both terms. This is the continuous linear functional represented by Hx, so uniqueness of the Riesz gradient yields ∇f(x)=Hx. Substitute the computed gradient into T_h. The update is the continuous linear endomorphism I−hH. Reuse Mathlib’s identity equating endomorphism powers with function iteration; the zero-th power is the identity.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem quadratic_gradient_iterate (H : E →L[ℝ] E) (hH : H.IsSymmetric)
(h : ℝ) (N : ℕ) (x : E) :
let f := fun z : E => inner ℝ z (H z) / 2
(fun z => z - h • gradient f z)^[N] x = ((1 - h • H) ^ N) x := by
let f := fun z : E => inner ℝ z (H z) / 2
have hg (z : E) : gradient f z = H z := by
have hraw := ((hasFDerivAt_id z).inner ℝ H.hasFDerivAt).const_mul (1 / 2 : ℝ)
have hlin : (1 / 2 : ℝ) •
((fderivInnerCLM ℝ (z, H z)).comp ((ContinuousLinearMap.id ℝ E).prod H)) =
toDual ℝ E (H z) := by
ext v
change (1 / 2 : ℝ) * (inner ℝ z (H v) + inner ℝ v (H z)) = inner ℝ (H z) v
rw [← hH.apply_clm z v, (real_inner_comm v (H z)).symm]
ring
have hd : HasFDerivAt f (toDual ℝ E (H z)) z := by
convert hraw using 1 <;> first | rfl | exact hlin.symm | (ext v; simp only [f, id_eq]; ring)
exact (hasGradientAt_iff_hasFDerivAt.mpr hd).gradient
change (fun z => z - h • gradient f z)^[N] x = _
simp_rw [hg]
exact congrFun (FunLike.coe_pow_eq_iterate (1 - h • H) N).symm x
/-- A supplied eigenmode gives exact iterates, distances to zero and quadratic values.
No existence of an eigenvector or stability of the chosen step is assumed. -/| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| Positive-definite symmetric matrix on Euclidean space. | Symmetric continuous linear operator on a complete real Hilbert space; no positivity premise. | generalization | Symmetry suffices to differentiate the quadratic. Operator powers and scalar-mode algebra need no positivity. The source positive-definite finite-dimensional case specializes the theorem; arbitrary Hilbert operators need not have endpoint eigenvectors. |
| Actual gradient descent on f(x)=⟨x,Ax⟩/2. | Actual gradient of the literal centered quadratic; h∈ℝ constant and N∈ℕ. | same | The gradient is computed internally, not assumed. All real steps and N=0 are meaningful for the exact identity, although a convergence claim would require separate step conditions. |
| Write explicit iterates and check sharpness of section estimates. | Operator-power formula for all initial points. | same | This binding covers only the explicit-iterate obligation. |
| Quadratic regularity and standard matrix gradient. | Bounded operator and real inner product provide a continuously differentiable quadratic; symmetry gives the Riesz gradient. | source-implicit | Differentiability follows from bounded bilinear calculus. There are no measure, integral or boundary hypotheses in these algebraic iteration identities. |
The source assumes a positive-definite symmetric matrix on Euclidean space. These exact identities extend to bounded symmetric operators on complete real Hilbert spaces, including signed or zero operators and the zero-dimensional space. Positivity and a stability condition on h are unnecessary for identities. The theorem does not assert convergence for arbitrary h or indefinite H. The quadratic is smooth by bounded bilinear calculus; symmetry, not a supplied gradient equality, gives its true gradient. This is a bounded Exercise3.3 proof component. Assessment of every Section3 bound, spectral decomposition/existence, complexity lower bounds, accelerated methods and companion-paper completion remain outside its conclusions. The formula covers every initial point, without choosing an eigenbasis. The source matrix-power notation is instantiated by a continuous linear map on Euclidean space.
Encoder–denoiser: accepted · lean-weakened-conclusion
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
AutoSamplingTheory.TechnicalLemmas.Analysis.QuadraticGradientDescent.quadratic_eigenmode · theorem · Teaching coverage
The supplied eigenmode evolves by a scalar geometric factor, with the displayed exact norm and objective-value identities.
The given relation Hx=μx implies (I−hH)x=(1−hμ)x. If x=0, every power identity is immediate. Otherwise this is a genuine nonzero eigenvector of I−hH, so Mathlib’s eigenvector power theorem applies. No eigenvector is constructed.
AutoSamplingTheory.TechnicalLemmas.Analysis.QuadraticGradientDescent.quadratic_gradient_iterate; Module.End.mem_eigenspace_iff; Module.End.HasEigenvector.pow_apply; ContinuousLinearMap.toLinearMap_pow.
Take norms of the scalar multiple and use homogeneity. The quadratic is homogeneous of degree two, so its value is multiplied by the square of the trajectory scalar. The absolute value is essential when the update changes sign.
norm_smul; Real.norm_eq_abs; map_smul; inner_smul_left; inner_smul_right; pow_mul.
Actual quadratic and actual gradient iteration; symmetric continuous linear H on complete real Hilbert E, real h, natural N.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem quadratic_eigenmode (H : E →L[ℝ] E) (hH : H.IsSymmetric)
{μ : ℝ} {x : E} (hx : H x = μ • x) (h : ℝ) (N : ℕ) :
let f := fun z : E => inner ℝ z (H z) / 2
let z := (fun y => y - h • gradient f y)^[N] x
z = (1 - h * μ) ^ N • x ∧
‖z‖ = |1 - h * μ| ^ N * ‖x‖ ∧
f z = (1 - h * μ) ^ (2 * N) * f xThe given relation Hx=μx implies (I−hH)x=(1−hμ)x. If x=0, every power identity is immediate. Otherwise this is a genuine nonzero eigenvector of I−hH, so Mathlib’s eigenvector power theorem applies. No eigenvector is constructed. Take norms of the scalar multiple and use homogeneity. The quadratic is homogeneous of degree two, so its value is multiplied by the square of the trajectory scalar. The absolute value is essential when the update changes sign.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem quadratic_eigenmode (H : E →L[ℝ] E) (hH : H.IsSymmetric)
{μ : ℝ} {x : E} (hx : H x = μ • x) (h : ℝ) (N : ℕ) :
let f := fun z : E => inner ℝ z (H z) / 2
let z := (fun y => y - h • gradient f y)^[N] x
z = (1 - h * μ) ^ N • x ∧
‖z‖ = |1 - h * μ| ^ N * ‖x‖ ∧
f z = (1 - h * μ) ^ (2 * N) * f x := by
let f := fun z : E => inner ℝ z (H z) / 2
let A : E →L[ℝ] E := 1 - h • H
have hAx : A x = (1 - h * μ) • x := by
simp only [A, sub_apply, one_apply_eq_self,
smul_apply, hx, smul_smul, sub_smul, one_smul]
have hp : (A ^ N) x = (1 - h * μ) ^ N • x := by
by_cases hz : x = 0
· simp [hz]
· have he : Module.End.HasEigenvector A.toLinearMap (1 - h * μ) x :=
⟨Module.End.mem_eigenspace_iff.mpr hAx, hz⟩
have ht := congrArg (fun K : E →ₗ[ℝ] E => K x) (ContinuousLinearMap.toLinearMap_pow A N)
convert ht.trans (he.pow_apply N) using 1; rfl
have hi := (quadratic_gradient_iterate H hH h N x).trans hp
change _ = _ ∧ _ = _ ∧ f _ = _ * f x
rw [hi]
refine ⟨rfl, ?_, ?_⟩
· simp [norm_smul, Real.norm_eq_abs]
· simp only [f, map_smul, inner_smul_left, inner_smul_right, RCLike.conj_to_real]
rw [Nat.mul_comm 2 N, pow_mul]
ring
end AutoSamplingTheory.TechnicalLemmas.Analysis.QuadraticGradientDescent| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| Positive-definite symmetric matrix on Euclidean space. | Symmetric continuous linear operator on a complete real Hilbert space; no positivity premise. | generalization | Symmetry suffices to differentiate the quadratic. Operator powers and scalar-mode algebra need no positivity. The source positive-definite finite-dimensional case specializes the theorem; arbitrary Hilbert operators need not have endpoint eigenvectors. |
| Actual gradient descent on f(x)=⟨x,Ax⟩/2. | Actual gradient of the literal centered quadratic; h∈ℝ constant and N∈ℕ. | same | The gradient is computed internally, not assumed. All real steps and N=0 are meaningful for the exact identity, although a convergence claim would require separate step conditions. |
| Write explicit iterates and check sharpness of section estimates. | Given Hx=μx, exact trajectory/norm/value; zero-vector relation allowed. | source-implicit | Modewise calculations are the standard proof component for sharpness. Eigenmode existence and the full comparison with every section bound remain uncovered; a nonzero witness is necessary to infer a sharp positive factor. |
| Quadratic regularity and standard matrix gradient. | Bounded operator and real inner product provide a continuously differentiable quadratic; symmetry gives the Riesz gradient. | source-implicit | Differentiability follows from bounded bilinear calculus. There are no measure, integral or boundary hypotheses in these algebraic iteration identities. |
The source assumes a positive-definite symmetric matrix on Euclidean space. These exact identities extend to bounded symmetric operators on complete real Hilbert spaces, including signed or zero operators and the zero-dimensional space. Positivity and a stability condition on h are unnecessary for identities. The theorem does not assert convergence for arbitrary h or indefinite H. The quadratic is smooth by bounded bilinear calculus; symmetry, not a supplied gradient equality, gives its true gradient. This is a bounded Exercise3.3 proof component. Assessment of every Section3 bound, spectral decomposition/existence, complexity lower bounds, accelerated methods and companion-paper completion remain outside its conclusions. To use this as a sharpness witness, supply a nonzero endpoint eigenvector and the appropriate positive curvature bounds. At h=2/(α+β), modes μ=α or μ=β give |1−hμ|=(β−α)/(α+β). The concrete diagonal-matrix tests realize both endpoints for α=1,β=3; this is not a general spectral existence theorem. N=0 gives the initial point and value even when 1−hμ=0; the zero-th power is one. A zero mode vector yields zero throughout. For arbitrary Hilbert operators, neither endpoint eigenvectors nor a diagonalizing eigenbasis are asserted.
Encoder–denoiser: accepted · lean-weakened-conclusion
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
Sinho Chewi, Lectures on Optimization. ASTIS-authored selected-component restatement; no endorsement implied.
arXiv:2605.07006v1 · Exercise3.3, selected sharpness check for Exercise3.2; Definition3.2 convention · faithful paraphrase
The quadratic exercise asks the reader to test Section3 estimates using positive-definite quadratics. This item isolates the sharpness of the uniform constant-step distance contraction from Exercise3.2: its balanced step has factor (beta−alpha)/(alpha+beta) over the class with curvature bounded below by alpha and above by beta. The exact quadratic witness is an ASTIS derivation, not a printed source theorem or an assertion that every Section3 estimate is sharp.
Each statement and proof below has its own closed Lean disclosure. ASTIS parents, Mathlib calls and external mathematical sources are distinguished in each proof.
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentSharpness.exists_quadratic_worst_case · theorem · Teaching coverage
For every 0<alpha<=beta and real fixed step h, there is one positive scalar curvature mu in {alpha,beta} whose actual quadratic belongs to the alpha-strongly convex, beta-smooth class and realizes the following bounds for every natural N.
Let M_h be the larger of the two endpoint magnitudes. Choose mu=alpha or beta attaining this maximum. Then alpha<=mu<=beta and mu>0. This choice does not depend on N.
Order comparison and max_eq_left/max_eq_right.
Set f(x)=mu x²/2. Differentiate to get the actual gradient mu x. Subtracting mu‖x‖²/2 leaves the zero convex function; lowering the strong-convexity modulus gives alpha. The exact quadratic remainder is mu(y−x)²/2, which is bounded above by beta(y−x)²/2. Positivity makes0 a global minimizer.
HasDerivAt.hasGradientAt; strongConvexOn_iff_convex; StrongConvexOn.mono; quadratic remainder algebra.
Apply the compiled eigenmode identity to H=mu I and x0=1. Its norm is |1−hmu|^N=M_h^N. The compiled optimal-step theorem applied to this certified objective gives q<=M_h. Since q>=0, raising to N preserves the inequality.
QuadraticGradientDescent.quadratic_eigenmode; GradientDescentOptimalStep.optimal_gradient_step; pow_le_pow_left₀.
At hstar=2/(alpha+beta), the two endpoint update scalars are q and−q. Either selected mu therefore gives absolute factor q, and the same exact trajectory yields q^N for every N. Together with the previously compiled uniform one-step upper bound, this witnesses its class-level sharpness.
Endpoint field arithmetic, abs_of_nonneg, abs_neg, and the local specialization of quadratic_eigenmode.
Positive class curvature bounds; every fixed real step admits one actual positive scalar quadratic, all class certificates, and exact/lower distance identities for all natural iterations.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem exists_quadratic_worst_case {α β : ℝ} (hα : 0 < α) (hαβ : α ≤ β) (h : ℝ) :
∃ μ : ℝ, (μ = α ∨ μ = β) ∧ 0 < μ ∧
let f : ℝ → ℝ := fun x => μ * x ^ 2 / 2
ContDiff ℝ 2 f ∧ StrongConvexOn univ α f ∧
(∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2) ∧
IsMinOn f univ 0 ∧
∀ N : ℕ,
‖(fun x => x - h * gradient f x)^[N] 1‖ = (max |1 - h * α| |1 - h * β|) ^ N ∧
((β - α) / (α + β)) ^ N ≤ ‖(fun x => x - h * gradient f x)^[N] 1‖ ∧
‖(fun x => x - (2 / (α + β)) * gradient f x)^[N] 1‖ =
((β - α) / (α + β)) ^ NLet M_h be the larger of the two endpoint magnitudes. Choose mu=alpha or beta attaining this maximum. Then alpha<=mu<=beta and mu>0. This choice does not depend on N. Set f(x)=mu x²/2. Differentiate to get the actual gradient mu x. Subtracting mu‖x‖²/2 leaves the zero convex function; lowering the strong-convexity modulus gives alpha. The exact quadratic remainder is mu(y−x)²/2, which is bounded above by beta(y−x)²/2. Positivity makes0 a global minimizer. Apply the compiled eigenmode identity to H=mu I and x0=1. Its norm is |1−hmu|^N=M_h^N. The compiled optimal-step theorem applied to this certified objective gives q<=M_h. Since q>=0, raising to N preserves the inequality. At hstar=2/(alpha+beta), the two endpoint update scalars are q and−q. Either selected mu therefore gives absolute factor q, and the same exact trajectory yields q^N for every N. Together with the previously compiled uniform one-step upper bound, this witnesses its class-level sharpness.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem exists_quadratic_worst_case {α β : ℝ} (hα : 0 < α) (hαβ : α ≤ β) (h : ℝ) :
∃ μ : ℝ, (μ = α ∨ μ = β) ∧ 0 < μ ∧
let f : ℝ → ℝ := fun x => μ * x ^ 2 / 2
ContDiff ℝ 2 f ∧ StrongConvexOn univ α f ∧
(∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2) ∧
IsMinOn f univ 0 ∧
∀ N : ℕ,
‖(fun x => x - h * gradient f x)^[N] 1‖ = (max |1 - h * α| |1 - h * β|) ^ N ∧
((β - α) / (α + β)) ^ N ≤ ‖(fun x => x - h * gradient f x)^[N] 1‖ ∧
‖(fun x => x - (2 / (α + β)) * gradient f x)^[N] 1‖ =
((β - α) / (α + β)) ^ N := by
obtain ⟨μ, hm, he⟩ : ∃ μ : ℝ, (μ = α ∨ μ = β) ∧
|1 - h * μ| = max |1 - h * α| |1 - h * β| := by
by_cases hc : |1 - h * α| ≤ |1 - h * β|
· exact ⟨β, Or.inr rfl, (max_eq_right hc).symm⟩
· exact ⟨α, Or.inl rfl, (max_eq_left (le_of_not_ge hc)).symm⟩
have ham : α ≤ μ := by rcases hm with rfl | rfl <;> order
have hmb : μ ≤ β := by rcases hm with rfl | rfl <;> order
have hmpos : 0 < μ := hα.trans_le ham
let f : ℝ → ℝ := fun x => μ * x ^ 2 / 2
have hf : ContDiff ℝ 2 f := (contDiff_const.mul (contDiff_id.pow 2)).div_const 2
have hg (x : ℝ) : gradient f x = μ * x := by
have hd : HasDerivAt f (μ * x) x := by
convert (((hasDerivAt_id x).pow 2).const_mul μ).div_const (2 : ℝ) using 1 <;> first | rfl | (simp only [id_eq]; ring)
exact hd.hasGradientAt.gradient
have hc : StrongConvexOn univ α f := by
apply StrongConvexOn.mono ham
rw [strongConvexOn_iff_convex]
have hz : (fun x : ℝ => f x - μ / 2 * ‖x‖ ^ 2) = fun _ => 0 := by
funext x; simp [f, Real.norm_eq_abs, sq_abs]; ring
rw [hz]; exact convexOn_const _ convex_univ
have hu : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2 := by
intro x y
rw [hg]; simp only [f, Real.inner_apply, Real.norm_eq_abs, sq_abs]
nlinarith [mul_nonneg (sub_nonneg.mpr hmb) (sq_nonneg (y-x))]
have hmin : IsMinOn f univ 0 := by
intro x _
change μ * (0 : ℝ) ^ 2 / 2 ≤ μ * x ^ 2 / 2
simpa using div_nonneg (mul_nonneg hmpos.le (sq_nonneg x)) (by norm_num : (0 : ℝ) ≤ 2)
have hn (t : ℝ) (N : ℕ) :
‖(fun x => x - t * gradient f x)^[N] 1‖ = |1 - t * μ| ^ N := by
have hs : (μ • (1 : ℝ →L[ℝ] ℝ)).IsSymmetric := by
intro x y; simp [mul_comm, mul_left_comm]
have heig : (μ • (1 : ℝ →L[ℝ] ℝ)) 1 = μ • (1 : ℝ) := by simp
have hr := (quadratic_eigenmode (μ • (1 : ℝ →L[ℝ] ℝ)) hs heig t N).2.1
have heq : (fun z : ℝ => inner ℝ z ((μ • (1 : ℝ →L[ℝ] ℝ)) z) / 2) = f := by
funext z; simp [f]; ring
simpa only [heq, smul_eq_mul, norm_one, mul_one] using hr
have hβ : 0 < β := hα.trans_le hαβ
have hD : 0 < α + β := add_pos hα hβ
have hq : 0 ≤ (β - α) / (α + β) := div_nonneg (sub_nonneg.mpr hαβ) hD.le
have hlow := (optimal_gradient_step hf hc hα.le hβ hαβ hu 0 1).2 h
have hbal : |1 - 2 / (α + β) * μ| = (β - α) / (α + β) := by
rcases hm with hma | hmb
· rw [hma]
have ha : 1 - 2 / (α + β) * α = (β - α) / (α + β) := by field_simp; ring
rw [ha, abs_of_nonneg hq]
· rw [hmb]
have hb : 1 - 2 / (α + β) * β = -((β - α) / (α + β)) := by field_simp; ring
rw [hb, abs_neg, abs_of_nonneg hq]
refine ⟨μ, hm, hmpos, hf, hc, hu, hmin, ?_⟩
intro N
rw [hn h N, hn (2 / (α + β)) N, he, hbal]
exact ⟨rfl, pow_le_pow_left₀ hq hlow N, rfl⟩
end AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentSharpness| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| Positive-definite quadratic in Euclidean space. | One scalar positive quadratic with mu in {alpha,beta}, chosen after h and before N. | same | A one-dimensional positive quadratic belongs to the source class and suffices for a uniform class-level lower witness; no general-dimensional spectral decomposition is needed. |
| Alpha strong convexity and beta smoothness in the uniform rate. | Actual StrongConvexOn and global quadratic upper-model certificates, with alpha<=mu<=beta. | source-implicit | The parameters define bounds, not both tight constants of the scalar witness. Its intrinsic condition number is1; no claim that it equals beta/alpha. |
| Fixed descent step and positive condition-number regime. | 0<alpha<=beta, any real h; same witness for all N including0. | generalization | Allowing zero/negative fixed steps strengthens the obstruction without asserting their convergence. Positive alpha ensures positive definiteness, and equal bounds remain valid. |
| Check how sharp Section3 results are. | Selected constant-step distance sharpness component only. | same | Other section comparisons, variable-step methods and general oracle complexity are left uncovered. |
This is class-level sharpness for constant-step distance contraction. Alpha and beta are valid curvature bounds; a scalar witness has tight constants mu,mu, so beta/alpha is not claimed to be its intrinsic condition number. A fixed two-dimensional quadratic with both exact endpoint eigenvalues is not constructed. The scalar witness is chosen after the step h but before N, and is valid for every N. This does not cover varying or adaptive step sequences, general first-order algorithms, acceleration, oracle complexity lower bounds, or all Section3 estimates. Positive alpha is retained to ensure the witness is positive definite. Equal bounds are included; q=0 then, and N=0 still has distance1 because 0^0=1. Negative and zero h are allowed for the obstruction; no convergence for those steps is claimed. The statement constructs a C2 quadratic and its global minimizer0, and uses actual gradients. No gradient identity, trajectory formula, smoothness model or minimizer certificate is supplied as a hypothesis. The starting point1 has distance1 from0.
Encoder–denoiser: accepted · equivalent-after-elaboration
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
AutoSamplingTheory.TechnicalLemmas.Analysis.QuadraticGradientDescent.quadratic_eigenmodeAutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentOptimalStep.optimal_gradient_stepASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.
Sinho Chewi, Lectures on Optimization. ASTIS-authored selected-component restatement; no endorsement implied.
arXiv:2605.07006v1 · Exercise3.3 testing Theorem3.4 convex specialization and Table1 · faithful paraphrase
Exercise3.3 asks the reader to examine Section3 bounds with positive-definite quadratic objectives. This item selects the convex function-value estimate from Theorem3.4: at step1/beta and initial distance R, the upper gap is beta R²/(2N) for positive N. An explicit quadratic family demonstrates its order sharpness at R=1. The exercise does not print the witness or a lower-bound constant.
Each statement and proof below has its own closed Lean disclosure. ASTIS parents, Mathlib calls and external mathematical sources are distinguished in each proof.
AutoSamplingTheory.TechnicalLemmas.Analysis.ConvexGradientGapSharpness.quadratic_gap_lower_bound · theorem · Teaching coverage
For every real beta>0 and natural horizon N, the explicit positive scalar quadratic below is C2, mu-strongly convex, admits the global beta quadratic upper model and is minimized at0. Its actual gradient-descent iterate from1 at step1/beta has the following exact gap and lower bound.
For beta>0 and N natural set D=N+1 and mu=beta/(2D). Then D>=1 and0<mu<=beta. Reuse the compiled scalar-quadratic witness with both curvature endpoints equal to mu. Equality of the endpoints forces that witness to be exactly f(x)=mu x²/2. It supplies C2 regularity, mu strong convexity, minimizer0 and the genuine gradient trajectory.
GradientDescentSharpness.exists_quadratic_worst_case at equal endpoints; order and positive division.
At the prescribed step1/beta the scalar contraction is q=1−1/(2D), which is nonnegative. The existing norm identity gives norm(x_N)=q^N. Since the objective is mu times the squared norm divided by2 and f(0)=0, this is also an exact objective-gap formula. Enlarging the quadratic upper model from mu to beta verifies the advertised smoothness class.
Existing actual norm identity; abs_mul_abs_self and scalar norm; nonnegative quadratic remainder when mu<=beta.
Apply Bernoulli to q and exponent N. The resulting affine lower bound is (D+1)/(2D), at least1/2. Thus even after N steps the selected small curvature leaves at least half of the initial distance.
Mathlib one_add_mul_sub_le_pow; positive denominator arithmetic.
Squaring the nonnegative half-distance bound gives q^(2N)>=1/4. Multiply by the positive beta/(4D) in the exact objective identity. With the source upper rate for N>0, the resulting family obstructs any uniformly faster order at this prescribed step.
pow_mul; square inequality and mul_le_mul_of_nonneg_left. The general upper bound is composed in the test, not assumed in this proof.
Positive beta and natural horizon determine one explicit scalar quadratic, all admissibility certificates, exact actual-iterate objective gap and beta/(16(N+1)) lower bound.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem quadratic_gap_lower_bound {β : ℝ} (hβ : 0 < β) (N : ℕ) :
let μ := β / (2 * ((N : ℝ) + 1))
let f : ℝ → ℝ := fun x => μ * x ^ 2 / 2
0 < μ ∧ ContDiff ℝ 2 f ∧ StrongConvexOn univ μ f ∧
(∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2) ∧
IsMinOn f univ 0 ∧
let z := (fun x => x - (1 / β) * gradient f x)^[N] 1
f z - f 0 = β / (4 * ((N : ℝ) + 1)) *
(1 - 1 / (2 * ((N : ℝ) + 1))) ^ (2 * N) ∧
β / (16 * ((N : ℝ) + 1)) ≤ f z - f 0For beta>0 and N natural set D=N+1 and mu=beta/(2D). Then D>=1 and0<mu<=beta. Reuse the compiled scalar-quadratic witness with both curvature endpoints equal to mu. Equality of the endpoints forces that witness to be exactly f(x)=mu x²/2. It supplies C2 regularity, mu strong convexity, minimizer0 and the genuine gradient trajectory. At the prescribed step1/beta the scalar contraction is q=1−1/(2D), which is nonnegative. The existing norm identity gives norm(x_N)=q^N. Since the objective is mu times the squared norm divided by2 and f(0)=0, this is also an exact objective-gap formula. Enlarging the quadratic upper model from mu to beta verifies the advertised smoothness class. Apply Bernoulli to q and exponent N. The resulting affine lower bound is (D+1)/(2D), at least1/2. Thus even after N steps the selected small curvature leaves at least half of the initial distance. Squaring the nonnegative half-distance bound gives q^(2N)>=1/4. Multiply by the positive beta/(4D) in the exact objective identity. With the source upper rate for N>0, the resulting family obstructs any uniformly faster order at this prescribed step.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem quadratic_gap_lower_bound {β : ℝ} (hβ : 0 < β) (N : ℕ) :
let μ := β / (2 * ((N : ℝ) + 1))
let f : ℝ → ℝ := fun x => μ * x ^ 2 / 2
0 < μ ∧ ContDiff ℝ 2 f ∧ StrongConvexOn univ μ f ∧
(∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2) ∧
IsMinOn f univ 0 ∧
let z := (fun x => x - (1 / β) * gradient f x)^[N] 1
f z - f 0 = β / (4 * ((N : ℝ) + 1)) *
(1 - 1 / (2 * ((N : ℝ) + 1))) ^ (2 * N) ∧
β / (16 * ((N : ℝ) + 1)) ≤ f z - f 0 := by
let D : ℝ := (N : ℝ) + 1
have hD : 0 < D := by dsimp [D]; positivity
have hD1 : 1 ≤ D := by dsimp [D]; exact le_add_of_nonneg_left (Nat.cast_nonneg N)
let μ := β / (2 * D)
have hμ : 0 < μ := div_pos hβ (by positivity)
have hμβ : μ ≤ β := by
apply (div_le_iff₀ (by positivity : 0 < 2 * D)).mpr
nlinarith
obtain ⟨ν, hν, _, hf, hc, hu, hm, hn⟩ :=
exists_quadratic_worst_case hμ (le_refl μ) (1 / β)
have hv : ν = μ := hν.elim id id
subst ν
let f : ℝ → ℝ := fun x => μ * x ^ 2 / 2
let q : ℝ := 1 - 1 / (2 * D)
have hq : 0 ≤ q := by
have : 1 / (2 * D) ≤ 1 := (div_le_one (by positivity)).mpr (by linarith)
dsimp [q]; linarith
have he : 1 - 1 / β * μ = q := by
dsimp [μ, q]; field_simp
have hn' : ‖(fun x => x - (1 / β) * gradient f x)^[N] 1‖ = q ^ N := by
simpa only [max_self, he, abs_of_nonneg hq] using (hn N).1
have hpow : 1 / 2 ≤ q ^ N := by
have hb := one_add_mul_sub_le_pow (by linarith : -1 ≤ q) N
have heq : 1 + (N : ℝ) * (q - 1) = (D + 1) / (2 * D) := by
dsimp [q, D]; field_simp; ring
rw [heq] at hb
have : (1 : ℝ) / 2 ≤ (D + 1) / (2 * D) := by
apply (le_div_iff₀ (by positivity)).mpr
linarith
exact this.trans hb
have huβ : ∀ x y, f y ≤ f x + inner ℝ (gradient f x) (y - x) + β / 2 * ‖y - x‖ ^ 2 := by
intro x y
have hh : f y ≤ f x + inner ℝ (gradient f x) (y - x) + μ / 2 * ‖y - x‖ ^ 2 := hu x y
nlinarith [mul_nonneg (sub_nonneg.mpr hμβ) (sq_nonneg ‖y - x‖)]
change 0 < μ ∧ _ ∧ _ ∧ _ ∧ _ ∧ _
refine ⟨hμ, hf, hc, huβ, hm, ?_⟩
dsimp only
have hvalue : f ((fun x => x - (1 / β) * gradient f x)^[N] 1) - f 0 =
β / (4 * D) * (q ^ N) ^ 2 := by
have hs : ((fun x => x - (1 / β) * gradient f x)^[N] 1) ^ 2 = (q ^ N) ^ 2 := by
simpa only [Real.norm_eq_abs, abs_mul_abs_self, sq] using congrArg (fun r : ℝ => r * r) hn'
change μ * _ ^ 2 / 2 - μ * 0 ^ 2 / 2 = _
rw [hs]
dsimp [μ]; field_simp; ring
rw [hvalue]
change β / (4 * D) * (q ^ N) ^ 2 = β / (4 * D) * q ^ (2 * N) ∧
β / (16 * D) ≤ β / (4 * D) * (q ^ N) ^ 2
constructor
· rw [Nat.mul_comm 2 N, pow_mul]
· have hs : (1 : ℝ) / 4 ≤ (q ^ N) ^ 2 := by nlinarith
have := mul_le_mul_of_nonneg_left hs (by positivity : 0 ≤ β / (4 * D))
convert this using 1 <;> first | rfl | (field_simp; ring)
end AutoSamplingTheory.TechnicalLemmas.Analysis.ConvexGradientGapSharpness| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| Positive-definite Euclidean quadratic; convex beta-smooth class. | Scalar f_N(x)=mu_N x²/2, mu_N=beta/[2(N+1)]>0, all regularity/model/minimizer certificates proved. | same | One-dimensional positive quadratics are valid source witnesses; positive strong convexity entails convexity. |
| Uniform beta-smooth function class and step1/beta. | Mu_N<=beta; beta is a valid upper model parameter, not the tight scalar curvature. | source-implicit | The prescribed class step need not be the step optimized for the individual witness. The intrinsic tight constants both equal mu_N. |
| Exercise asks how sharp the source estimates are, without printing a solution. | For each N choose f_N and prove beta/[16(N+1)] lower bound, initial distance1. | same | This is an authored order-sharpness proof component. Curvature may shrink with the horizon; no single fixed-objective reciprocal asymptotic or optimal constant is claimed. |
| Source convex normalized upper rate has N>0. | The constructed lower bound and exact gap also hold at N=0. | generalization | All N+1 denominators stay positive. At0 the initial gap is beta/4; no singular source upper rate is interpreted. |
The horizon N is fixed before choosing the objective f_N. Its positive curvature mu_N shrinks with N. This is a family witnessing a worst-case bound over the convex beta-smooth class; it is not a single fixed strongly convex objective with an asymptotic reciprocal tail. Beta is a valid upper curvature bound, not the tight smoothness constant of this scalar witness. The step is prescribed as1/beta, not tuned to its intrinsic curvature. Strong convexity with mu_N>0 implies ordinary convexity. The constant1/16 is an ASTIS-derived convenient lower constant, not an optimal constant or a number printed in the exercise. For N>=1, beta/[16(N+1)]>=beta/(32N); comparison with the source upper bound beta/(2N) shows order sharpness at initial distance1. The theorem states the finite N+1 bound. N=0 is included only as a nonsingular lower-bound identity: the actual initial gap is beta/4. It does not interpret the singular source1/N upper bound at zero. No variable/adaptive-step result, general first-order oracle lower bound, full Exercise3.3 comparison list, acceleration claim or companion-paper completion follows. The function, actual gradients, smoothness model and minimizer are certified, not supplied as hypotheses.
Encoder–denoiser: accepted · equivalent-after-elaboration
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
ASTIS prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.