Plain-English statement
- The actual Riesz Hessian segment integral is a symmetric gradient secant operator with inherited signed curvature bounds and the endpoint norm bound. No operator, gradient identity, symmetry or integrability certificate is assumed.
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 hessian_secant_operator {f : E → ℝ} {α β : ℝ}
(hf : ContDiff ℝ 2 f)
(hlo : ∀ z v, α * ‖v‖ ^ 2 ≤ (fderiv ℝ (fderiv ℝ f) z v) v)
(hup : ∀ z v, (fderiv ℝ (fderiv ℝ f) z v) v ≤ β * ‖v‖ ^ 2)
(x y : E) :
let φ := fun t : ℝ => continuousLinearMapOfBilin
(fderiv ℝ (fderiv ℝ f) (y + t • (x - y)))
let H := ∫ t : ℝ in 0..1, φ t
IntervalIntegrable φ volume 0 1 ∧
gradient f x - gradient f y = H (x - y) ∧
H.IsSymmetric ∧
(∀ v, α * ‖v‖ ^ 2 ≤ inner ℝ (H v) v ∧
inner ℝ (H v) v ≤ β * ‖v‖ ^ 2) ∧
‖H‖ ≤ max |α| |β| := by
let φ := fun t : ℝ => continuousLinearMapOfBilin
(fderiv ℝ (fderiv ℝ f) (y + t • (x - y)))
let H := ∫ t : ℝ in 0..1, φ t
change IntervalIntegrable φ volume 0 1 ∧ _
have hfd : ContDiff ℝ 1 (fderiv ℝ f) := hf.fderiv_right (by norm_num)
have hc : Continuous φ := by
unfold φ continuousLinearMapOfBilin
exact continuous_const.clm_comp ((hfd.continuous_fderiv (by norm_num)).comp
(continuous_const.add (continuous_id.smul continuous_const)))
have hi : IntervalIntegrable φ volume 0 1 := hc.intervalIntegrable 0 1
have hinner (v w : E) : inner ℝ (H v) w =
∫ t : ℝ in 0..1, (fderiv ℝ (fderiv ℝ f) (y + t • (x - y)) v) w := by
change inner ℝ ((∫ t : ℝ in 0..1, φ t) v) w = _
rw [ContinuousLinearMap.intervalIntegral_apply hi v, real_inner_comm]
change (innerSL ℝ w) (∫ t : ℝ in 0..1, φ t v) = _
rw [← (innerSL ℝ w).intervalIntegral_comp_comm
(((hc.clm_apply continuous_const : Continuous (fun t => φ t v))).intervalIntegrable
(μ := volume) 0 1)]
apply intervalIntegral.integral_congr
intro t _
exact (real_inner_comm w (φ t v)).symm.trans
(continuousLinearMapOfBilin_apply _ v w)
have hgrad : gradient f x - gradient f y = H (x - y) := by
apply ext_inner_right ℝ
intro w
rw [hinner]
have hd (t : ℝ) : HasDerivAt
(fun s : ℝ => fderiv ℝ f (y + s • (x - y)) w)
((fderiv ℝ (fderiv ℝ f) (y + t • (x - y)) (x - y)) w) t := by
convert ((hfd.differentiable_one _).hasFDerivAt.comp_hasDerivAt t
(((hasDerivAt_id t).smul_const (x - y)).const_add y)).clm_apply
(hasDerivAt_const t w) using 1 <;> first | rfl | simp
have hdcont : Continuous (fun t : ℝ =>
(fderiv ℝ (fderiv ℝ f) (y + t • (x - y)) (x - y)) w) :=
(((hfd.continuous_fderiv (by norm_num)).comp
(continuous_const.add (continuous_id.smul continuous_const))).clm_apply
continuous_const).clm_apply continuous_const
simpa [inner_sub_left, gradient, Function.comp_def] using
(intervalIntegral.integral_eq_sub_of_hasDerivAt
(fun t _ => hd t) (hdcont.intervalIntegrable 0 1)).symm
have hsym : H.IsSymmetric := by
intro v w
change inner ℝ (H v) w = inner ℝ v (H w)
have hw : inner ℝ v (H w) =
∫ t : ℝ in 0..1, (fderiv ℝ (fderiv ℝ f) (y + t • (x - y)) w) v :=
(real_inner_comm v (H w)).symm.trans (hinner w v)
rw [hinner, hw]
apply intervalIntegral.integral_congr
intro t _
exact hf.contDiffAt.isSymmSndFDerivAt (by norm_num) v w
have hbound (v : E) : α * ‖v‖ ^ 2 ≤ inner ℝ (H v) v ∧
inner ℝ (H v) v ≤ β * ‖v‖ ^ 2 := by
have hvcont : Continuous (fun t : ℝ =>
(fderiv ℝ (fderiv ℝ f) (y + t • (x - y)) v) v) :=
(((hfd.continuous_fderiv (by norm_num)).comp
(continuous_const.add (continuous_id.smul continuous_const))).clm_apply
continuous_const).clm_apply continuous_const
rw [hinner]
constructor
· simpa using intervalIntegral.integral_mono_on (by norm_num : (0 : ℝ) ≤ 1)
(intervalIntegrable_const : IntervalIntegrable (fun _ : ℝ => α * ‖v‖ ^ 2) volume 0 1)
(hvcont.intervalIntegrable 0 1) (fun t _ => hlo _ v)
· simpa using intervalIntegral.integral_mono_on (by norm_num : (0 : ℝ) ≤ 1)
(hvcont.intervalIntegrable 0 1)
(intervalIntegrable_const : IntervalIntegrable (fun _ : ℝ => β * ‖v‖ ^ 2) volume 0 1)
(fun t _ => hup _ v)
refine ⟨hi, hgrad, hsym, hbound, ?_⟩
rw [H.norm_eq_iSup_rayleighQuotient hsym]
apply ciSup_le
intro v
change |inner ℝ (H v) v / ‖v‖ ^ 2| ≤ max |α| |β|
by_cases hv : v = 0
· simp [hv]
· simp only [abs_div, abs_pow, abs_norm]
apply (div_le_iff₀ (sq_pos_of_pos (norm_pos_iff.mpr hv))).mpr
have hl := (hbound v).1
have hu := (hbound v).2
have hl' := mul_le_mul_of_nonneg_right
((neg_le_abs α).trans (le_max_left |α| |β|)) (sq_nonneg ‖v‖)
have hu' := mul_le_mul_of_nonneg_right
((le_abs_self β).trans (le_max_right |α| |β|)) (sq_nonneg ‖v‖)
exact abs_le.mpr ⟨by nlinarith, by nlinarith⟩
end AutoSamplingTheory.TechnicalLemmas.Analysis.HessianSecantOperator
Open AutoSamplingTheory/TechnicalLemmas/Analysis/HessianSecantOperator.lean:27published source at ed709a7f320d
Proof architecture
SPHMC Lemma4.6 actual Picard-node H_j then averaged H; Chewi Proposition1.6/Exercise3.2 shared gradient-segment mechanism (planned source consumers)
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.
- `simp` normalizes through registered definitional and theorem rewrites.
- `apply` reduces the goal to the hypotheses of a reusable theorem.
- `refine` instantiates a reusable theorem while leaving explicit subgoals.
- `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
- Integrability is an input or proved output; a displayed integral alone does not supply it.
- Totalized `fderiv` values must not be read as a differentiability theorem.
- Genuine differentiability is localized to the hypotheses shown in the Lean statement.