Plain-English statement
- Final-value bound for actual gradient iterates under a PL model. No additional nonnegative-coefficient restriction or convexity is required.
Read the mathematics first, then descend into Lean
You do not need to know Lean before opening this panel. The page keeps the paper-level theorem, rigorous proof obligations, exact Lean declaration, and proof dependencies as separate layers so a first-time reader can move down one layer at a time.
Proof architecture
Start with the tree when learning: prerequisites sit below the theorem and downstream results sit above it. Switch to the network when you want to understand where this declaration lives in the local formal library. Every mapped node is clickable.
Graph rule: only dependencies found by the ASTIS source scan are drawn. Missing tactic indirection is treated as an under-approximation; the site never invents an edge just to make a prettier graph.
How to read the exact Lean declaration
Read a Lean theorem left-to-right exactly as you would unpack a mathematical sentence: name → ambient types → automatically inferred structures → explicit hypotheses → conclusion → proof. Then read the proof top-to-bottom as transformations of the current goal.
- NameWhat reusable mathematical fact is being created?
- ParametersWhich symbols are arbitrary, and which structures are inferred by typeclass search?
- PropositionAfter the colon, translate the Lean expression back into a paper statement.
- Proof actionsAfter
by, ask what each tactic does to the mathematical goal—not only what syntax it uses.
Syntax used on this page
This glossary is filtered to syntax that actually occurs in the declaration above. Open a symbol only when you meet it, rather than memorizing Lean grammar in advance.
Source voice and ASTIS voice stay separate
When Samplinglib shows a short quotation from Chewi, it is labeled as a source excerpt and linked to the canonical book page. Intuition, expanded proof steps, hidden regularity assumptions, and Lean explanations are ASTIS-authored commentary. A quotation never substitutes for a formal proof, and an ASTIS explanation is never attributed to the textbook author.
Lean statement
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
Open AutoSamplingTheory/TechnicalLemmas/Analysis/GradientDescentPL.lean:24published source at 0e31a3cda412
Proof architecture
Actual iterate PL final-value rate; supplied global minimum handles both signs of geometric coefficient.
Lean proof walkthrough
- Read the quantified variables and typeclass brackets as part of the mathematical statement; inferred arguments are not missing assumptions.
- `intro` introduces quantified hypotheses into the local proof context.
- `have` creates a named intermediate mathematical fact.
- `rw` rewrites by an established identity.
- `exact` closes the current goal with an already typed term.
Why the statement has this shape
The declaration is kept at the reusable level recorded by its Registry tags and direct consumers. Explicit measures, spaces, wrappers, and regularity hypotheses expose interfaces that paper notation often infers. A theorem card explains those interfaces but never widens the compiled statement.
Hidden assumptions and non-claims
- No additional hidden-contract keyword was inferred; the exact Lean hypotheses remain controlling.