Actual terminal reference by gradient descent
AutoSamplingTheory.ExampleCases.SmoothedPicardHMC.TerminalReferenceGradientDescent.terminal_reference_gradient_descent · theorem · Teaching coverage
Mathematical statement
The derived a,c are positive and k≥1. The exact gradient is grad F(x)=grad U(x)+(x-u)/A. Both N and x_plus are measurable. For every v, the output satisfies norm(grad F(x_plus(v)))^2≤d/A and the exact center-residual identity norm(u-A*grad U(x_plus(v))-x_plus(v))=A*norm(grad F(x_plus(v)))≤sqrt(d*A). All j<N(v) strictly fail the stopping test. N(v)≤ceil(k*log(1+A*norm(grad F(v))^2/d)), and N(v)+1≤k*log(1+A*norm(grad F(v))^2/d)+2. Under the additional starting-law moment hypotheses, N+1 is genuinely integrable and its expectation is at most 2+k*log(1+A*M/d).
Lean statement · terminal_reference_gradient_descent
Actual regularized gradient, positive curvature constants, measurable first-hit index/output, terminal residual, strict earlier failure, ceiling/count bounds and conditional initial-law L1/expected count.
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 terminal_reference_gradient_descent [FiniteDimensional ℝ E]
[MeasurableSpace E] [BorelSpace E] {U : E → ℝ} {m b : ℝ≥0}
(hU : ContDiff ℝ 2 U)
(hH : ∀ x v : E, (m:ℝ)*‖v‖^2 ≤ (fderiv ℝ (fderiv ℝ U) x v) v ∧
(fderiv ℝ (fderiv ℝ U) x v) v ≤ (b:ℝ)*‖v‖^2)
(hmb : m ≤ b) {A d : ℝ} (hA : 0 < A) (hd : 0 < d)
(_hdim : d = Module.finrank ℝ E) (u : E) :
let F := fun x => U x+A⁻¹/2*‖x-u‖^2
let a := (m:ℝ)+A⁻¹
let c := (b:ℝ)+A⁻¹
let k := c/a
let T := fun x => x-c⁻¹ • gradient F x
let N := firstIndex T F (d/A)
let xp := fun v => T^[N v] v
0 < a ∧ 0 < c ∧ 1 ≤ k ∧
(∀ x, gradient F x=gradient U x+A⁻¹ • (x-u)) ∧
Measurable N ∧ Measurable xp ∧
(∀ v, ‖gradient F (xp v)‖^2 ≤ d/A ∧
‖u-A • gradient U (xp v)-xp v‖=A*‖gradient F (xp v)‖ ∧
‖u-A • gradient U (xp v)-xp v‖ ≤ Real.sqrt (d*A) ∧
(∀ j < N v, d/A < ‖gradient F (T^[j] v)‖^2) ∧
N v ≤ Nat.ceil (k*Real.log (1+A*‖gradient F v‖^2/d)) ∧
(N v:ℝ)+1 ≤ k*Real.log (1+A*‖gradient F v‖^2/d)+2) ∧
(∀ (μ : Measure E), IsProbabilityMeasure μ → ∀ M : ℝ,
Integrable (fun v => ‖gradient F v‖^2) μ →
(∫ v, ‖gradient F v‖^2 ∂μ) ≤ M →
Integrable (fun v => (N v:ℝ)+1) μ ∧
(∫ v, (N v:ℝ)+1 ∂μ) ≤ 2+k*Real.log (1+A*M/d))Proof roadmap
- 1Derive the actual regularized gradient and curvature
The quadratic term has derivative A^{-1}<x-u, .>. Adding it to the derivative of U gives the exact gradient formula. Reuse QuadraticRegularization for strong convexity and gradient Lipschitz continuity. To obtain the quadratic upper model, apply the Hessian-to-strong-convexity theorem to -U with modulus -b, then the first-order lower bound and reverse its signs. Add the exact quadratic expansion. Since A>0 and 0≤m≤b, a,c>0 and k≥1. No model inequality or gradient field is supplied as an assumption.
- 2Control gradients through adjacent actual iterates
Apply the existing one-step contraction to x and T(x). Their distance is c^{-1} times the norm of grad F(x); the next distance is c^{-1} times the norm of grad F(T(x)). Cancel the positive step and iterate this inequality. Bound sqrt(1-a/c) by exp(-a/(2c)), then square the resulting norm bound. This uses the source gradient-descent map and needs no supplied minimizer. It is a stronger local proof than the source display with an extra k prefactor, rather than a literal replay of that display.
- 3Give a finite stopping certificate including degenerate gradients
Put s=d/A>0 and z=norm(grad F(v))^2≥0. The natural ceiling n=ceil(k log(1+z/s)) satisfies n≥k log(1+z/s). Therefore exp(-n/k)z≤z/(1+z/s)≤s. This constructs a finite successful index before Nat.find is used. The argument covers z=0 and k=1 without taking log(1-1/k). The ceiling bound and ceil(t)<t+1 for t≥0 later give the extra two units in the real count bound.
- 4Prove the first-hit index and stopped output are measurable
The C1 gradient is continuous, hence T and each finite iterate are continuous. Each event where the nth gradient square is at most s is Borel measurable. The finite-attainment certificate identifies N with Nat.find of this event family. measurable_find proves N measurable, and Measurable.find proves measurability of v mapped to T^N(v)(v). Nat.find_spec gives success and Nat.find_min gives strict failure for every earlier index. Pointwise termination is not used as a substitute for measurability.
- 5Convert the stopping test into the required terminal residual
At every x, the exact gradient formula gives u-A grad U(x)-x=-A grad F(x). Because A>0, its norm is A times norm(grad F(x)). At the stopped point, multiply the proved gradient-square threshold by A squared; the result is at most dA. Taking the nonnegative square root yields the center residual used by the terminal sampler. This proves the residual of the constructed point rather than receiving it as input.
- 6Establish integrability before the expected-count bound
For g(v)=norm(grad F(v))^2, the given nonnegative integrable g and Eg≤M imply M≥0. First use 0≤log(1+g/s)≤g/s to prove logarithmic integrability. The log-ratio inequality gives the displayed tangent bound; both sides are integrable before integrating. Its remainder has nonpositive expectation by Eg≤M. Finally, measurability and the pointwise count bound imply N+1 is integrable, and integral monotonicity gives the expected count. This is a direct logarithmic tangent proof, not a call to a Jensen API or a presumption of cost integrability.
- 7Assemble the actual fixed-parameter reference and counting contract
Instantiate the stopping and expectation lemmas with the genuine F, its proved a,c and threshold d/A. The pointwise conclusions hold for every starting point; the expected-cost clause is then quantified over any probability starting law satisfying the actual gradient moment hypotheses. At an initially successful point N=0 and one gradient check is charged. Each visit needs one U-gradient evaluation because the regularization term is algebraic, and the computed gradient is reused for the next update. The final gradient is charged; no unproved saving is deducted when later combining this construction with a sampler.
Full assumptions and notation
All objects and hypotheses
- E is a complete finite-dimensional real inner-product space with its Borel sigma-algebra. The real parameter d is strictly positive and equals finrank(E). U:E→R is C2. Nonnegative real numbers m,b satisfy m≤b, and the genuine Hessian obeys m*norm(v)^2 ≤ D2U(x)[v,v] ≤ b*norm(v)^2 at every x,v.
- Fix a finite real A>0 and u in E. Define F(x)=U(x)+norm(x-u)^2/(2A), a=m+1/A, c=b+1/A and k=c/a. Define the actual gradient-descent map T(x)=x-(1/c)*grad F(x). All gradients are the actual derivatives of these functions.
- For every starting point v, N(v) is the least natural n with norm(grad F(T^n(v)))^2≤d/A if such an n exists, and zero otherwise. Let x_plus(v)=T^N(v)(v). The proof establishes finite attainment for every v, so the fallback branch never occurs. The specified query count is N(v)+1: evaluate grad U once at each visited point, form the quadratic-gradient term algebraically, check the threshold and reuse this gradient for an update when required. The final successful check is charged.
- Only the expected-cost clause additionally takes an arbitrary probability starting law mu and a real M with actual norm(grad F(v))^2 integrable under mu and integral at most M. M need not be separately assumed nonnegative: the proof derives it. These are explicit inputs, not established properties of the recursive sampler history.
Mathematical proof
1. Derive the actual regularized gradient and curvature
The quadratic term has derivative A^{-1}<x-u, .>. Adding it to the derivative of U gives the exact gradient formula. Reuse QuadraticRegularization for strong convexity and gradient Lipschitz continuity. To obtain the quadratic upper model, apply the Hessian-to-strong-convexity theorem to -U with modulus -b, then the first-order lower bound and reverse its signs. Add the exact quadratic expansion. Since A>0 and 0≤m≤b, a,c>0 and k≥1. No model inequality or gradient field is supplied as an assumption.
Corresponding Lean step
quadratic_upper; regularized_data; AutoSamplingTheory.TechnicalLemmas.Analysis.QuadraticRegularization.strongConvexOn_and_lipschitzWith_gradient_add_quadratic; AutoSamplingTheory.TechnicalLemmas.Analysis.HessianStrongConvexity.strongConvexOn_univ_of_fderiv2_lower; AutoSamplingTheory.TechnicalLemmas.Analysis.StrongConvexFirstOrder.firstOrder_lower_bound_of_strongConvexOn
2. Control gradients through adjacent actual iterates
Apply the existing one-step contraction to x and T(x). Their distance is c^{-1} times the norm of grad F(x); the next distance is c^{-1} times the norm of grad F(T(x)). Cancel the positive step and iterate this inequality. Bound sqrt(1-a/c) by exp(-a/(2c)), then square the resulting norm bound. This uses the source gradient-descent map and needs no supplied minimizer. It is a stronger local proof than the source display with an extra k prefactor, rather than a literal replay of that display.
Corresponding Lean step
gradient_decay; AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentContraction.gradient_step_contraction; Real.add_one_le_exp
3. Give a finite stopping certificate including degenerate gradients
Put s=d/A>0 and z=norm(grad F(v))^2≥0. The natural ceiling n=ceil(k log(1+z/s)) satisfies n≥k log(1+z/s). Therefore exp(-n/k)z≤z/(1+z/s)≤s. This constructs a finite successful index before Nat.find is used. The argument covers z=0 and k=1 without taking log(1-1/k). The ceiling bound and ceil(t)<t+1 for t≥0 later give the extra two units in the real count bound.
Corresponding Lean step
stopping_certificate; stopped_program; Nat.le_ceil; Nat.ceil_lt_add_one
4. Prove the first-hit index and stopped output are measurable
The C1 gradient is continuous, hence T and each finite iterate are continuous. Each event where the nth gradient square is at most s is Borel measurable. The finite-attainment certificate identifies N with Nat.find of this event family. measurable_find proves N measurable, and Measurable.find proves measurability of v mapped to T^N(v)(v). Nat.find_spec gives success and Nat.find_min gives strict failure for every earlier index. Pointwise termination is not used as a substitute for measurability.
Corresponding Lean step
firstIndex; stopped_program; AutoSamplingTheory.TechnicalLemmas.Analysis.Calculus.Gradient.continuous_gradient_of_contDiff_one; measurable_find; Measurable.find; Nat.find_spec; Nat.find_min
5. Convert the stopping test into the required terminal residual
At every x, the exact gradient formula gives u-A grad U(x)-x=-A grad F(x). Because A>0, its norm is A times norm(grad F(x)). At the stopped point, multiply the proved gradient-square threshold by A squared; the result is at most dA. Taking the nonnegative square root yields the center residual used by the terminal sampler. This proves the residual of the constructed point rather than receiving it as input.
Corresponding Lean step
terminal_reference_gradient_descent; regularized_data; Real.le_sqrt_of_sq_le
6. Establish integrability before the expected-count bound
For g(v)=norm(grad F(v))^2, the given nonnegative integrable g and Eg≤M imply M≥0. First use 0≤log(1+g/s)≤g/s to prove logarithmic integrability. The log-ratio inequality gives the displayed tangent bound; both sides are integrable before integrating. Its remainder has nonpositive expectation by Eg≤M. Finally, measurability and the pointwise count bound imply N+1 is integrable, and integral monotonicity gives the expected count. This is a direct logarithmic tangent proof, not a call to a Jensen API or a presumption of cost integrability.
Corresponding Lean step
expected_count; Real.log_le_sub_one_of_pos; MeasureTheory.Integrable.mono'; MeasureTheory.integral_mono; MeasureTheory.integral_add
7. Assemble the actual fixed-parameter reference and counting contract
Instantiate the stopping and expectation lemmas with the genuine F, its proved a,c and threshold d/A. The pointwise conclusions hold for every starting point; the expected-cost clause is then quantified over any probability starting law satisfying the actual gradient moment hypotheses. At an initially successful point N=0 and one gradient check is charged. Each visit needs one U-gradient evaluation because the regularization term is algebraic, and the computed gradient is reused for the next update. The final gradient is charged; no unproved saving is deducted when later combining this construction with a sampler.
Corresponding Lean step
terminal_reference_gradient_descent; stopped_program; expected_count; regularized_data
Lean verification
The exact proof begins folded immediately after the mathematical argument; the statement is folded beside the claim above.
Lean proof · terminal_reference_gradient_descent
Derive regularized curvature and gradient, contract adjacent actual iterates, construct a finite ceiling certificate, prove measurable first hit, convert its residual and integrate a logarithmic tangent 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 terminal_reference_gradient_descent [FiniteDimensional ℝ E]
[MeasurableSpace E] [BorelSpace E] {U : E → ℝ} {m b : ℝ≥0}
(hU : ContDiff ℝ 2 U)
(hH : ∀ x v : E, (m:ℝ)*‖v‖^2 ≤ (fderiv ℝ (fderiv ℝ U) x v) v ∧
(fderiv ℝ (fderiv ℝ U) x v) v ≤ (b:ℝ)*‖v‖^2)
(hmb : m ≤ b) {A d : ℝ} (hA : 0 < A) (hd : 0 < d)
(_hdim : d = Module.finrank ℝ E) (u : E) :
let F := fun x => U x+A⁻¹/2*‖x-u‖^2
let a := (m:ℝ)+A⁻¹
let c := (b:ℝ)+A⁻¹
let k := c/a
let T := fun x => x-c⁻¹ • gradient F x
let N := firstIndex T F (d/A)
let xp := fun v => T^[N v] v
0 < a ∧ 0 < c ∧ 1 ≤ k ∧
(∀ x, gradient F x=gradient U x+A⁻¹ • (x-u)) ∧
Measurable N ∧ Measurable xp ∧
(∀ v, ‖gradient F (xp v)‖^2 ≤ d/A ∧
‖u-A • gradient U (xp v)-xp v‖=A*‖gradient F (xp v)‖ ∧
‖u-A • gradient U (xp v)-xp v‖ ≤ Real.sqrt (d*A) ∧
(∀ j < N v, d/A < ‖gradient F (T^[j] v)‖^2) ∧
N v ≤ Nat.ceil (k*Real.log (1+A*‖gradient F v‖^2/d)) ∧
(N v:ℝ)+1 ≤ k*Real.log (1+A*‖gradient F v‖^2/d)+2) ∧
(∀ (μ : Measure E), IsProbabilityMeasure μ → ∀ M : ℝ,
Integrable (fun v => ‖gradient F v‖^2) μ →
(∫ v, ‖gradient F v‖^2 ∂μ) ≤ M →
Integrable (fun v => (N v:ℝ)+1) μ ∧
(∫ v, (N v:ℝ)+1 ∂μ) ≤ 2+k*Real.log (1+A*M/d)) := by
let r : ℝ≥0 := ⟨A⁻¹,inv_nonneg.mpr hA.le⟩
let F := fun x => U x+A⁻¹/2*‖x-u‖^2
let a := (m:ℝ)+A⁻¹
let c := (b:ℝ)+A⁻¹
let k := c/a
let T := fun x => x-c⁻¹ • gradient F x
let N := firstIndex T F (d/A)
let xp := fun v => T^[N v] v
have ha : 0 < a := add_pos_of_nonneg_of_pos m.coe_nonneg (inv_pos.mpr hA)
have hc : 0 < c := add_pos_of_nonneg_of_pos b.coe_nonneg (inv_pos.mpr hA)
have hk : 1 ≤ k := by
apply (le_div_iff₀ ha).mpr
have hmb' : (m:ℝ) ≤ b := hmb
dsimp [a,c]
linarith
have hdata := regularized_data (r:=r) hU hH u
have hF : ContDiff ℝ 2 F := hdata.1
have hsc : StrongConvexOn univ a F := hdata.2.1
have hg (x : E) : gradient F x=gradient U x+A⁻¹ • (x-u) := hdata.2.2.2.1 x
have hu : ∀ x y, F y ≤ F x+inner ℝ (gradient F x) (y-x)+c/2*‖y-x‖^2 :=
hdata.2.2.2.2
have hp := stopped_program (hF.of_le (by norm_num)) ha hc
(div_pos hd hA) hsc hu
have ratio (z : ℝ) : z/(d/A)=A*z/d := by field_simp
have hres (x : E) : ‖u-A • gradient U x-x‖=A*‖gradient F x‖ := by
have he : u-A • gradient U x-x=-(A • gradient F x) := by
rw [hg,smul_add,smul_smul,mul_inv_cancel₀ hA.ne',one_smul]
abel
rw [he,norm_neg,norm_smul,Real.norm_eq_abs,abs_of_pos hA]
refine ⟨ha,hc,hk,hg,hp.1,hp.2.1,?_,?_⟩
· intro v
have hv := hp.2.2 v
have hstop : ‖gradient F (xp v)‖^2 ≤ d/A := hv.1
have hr : ‖u-A • gradient U (xp v)-xp v‖ ≤ Real.sqrt (d*A) := by
apply Real.le_sqrt_of_sq_le
rw [hres,mul_pow]
have hh := mul_le_mul_of_nonneg_left hstop (sq_nonneg A)
have he : A^2*(d/A)=d*A := by field_simp
rw [he] at hh
exact hh
refine ⟨hstop,hres _,hr,hv.2.1,?_,?_⟩
· simpa only [ratio] using hv.2.2.1
· simpa only [ratio] using hv.2.2.2
· intro μ hμ M hgi hM
let : IsProbabilityMeasure μ := hμ
have hgm : Measurable (fun v => ‖gradient F v‖^2) :=
((TechnicalLemmas.Analysis.Calculus.Gradient.continuous_gradient_of_contDiff_one
(hF.of_le (by norm_num))).norm.pow 2).measurable
have he := expected_count μ (fun v => ‖gradient F v‖^2) N (div_pos hc ha)
(div_pos hd hA) hgm hgi (fun v => sq_nonneg _) hp.1 hM (fun v => (hp.2.2 v).2.2.2)
simpa only [ratio] using he
end AutoSamplingTheory.ExampleCases.SmoothedPicardHMC.TerminalReferenceGradientDescentSource assumptions versus formal assumptions
| Source | Actual Lean | Difference kind | Why it matters |
|---|---|---|---|
| Section6.3 is stated in Euclidean space. | Complete finite-dimensional real inner-product Borel space with d=finrank(E)>0. | generalization | Coordinate-free extension; the dimension equality is still a public assumption despite its unused binder name. |
| The recursive application has a strongly convex smooth base potential. | Actual C2 Hessian bounds with 0<=m<=b, allowing m=b=0. | generalization | Positive finite quadratic precision still gives a,c>0 and all proofs remain valid; this is a base-potential extension, not an omitted convexity assumption. |
| The terminal stage has finite positive A and positive dimension; the overall recursive interface also discusses infinite initial A0. | Finite real A>0 and d>0. | same | This is the terminal preparation component, not an implementation of the infinite initial regularization parameter. |
| The displayed source GD estimate has an extra condition-number prefactor and only universal cost constants. | The same step1/c GD has exp(-n/k) gradient-square decay, an explicit natural-ceiling certificate and expectation constant2. | source-implicit | Adjacent-iterate contraction gives a stronger local proof without changing the algorithm; explicit constants are derived and not attributed as printed source constants. |
| First attainment and using a random starting point are implicit in the optimization routine. | Actual Nat.find, measurable N and stopped output, strict failure at all earlier indices, genuine log/count L1. | source-implicit | Finite attainment precedes the choice; no default integral values or unproved stopping measurability are used. |
| The source counts gradient queries for reference preparation. | N+1 evaluates the base gradient once per visited point, reusing it for the update and charging the final check. | source-implicit | The exact regularized gradient makes its quadratic contribution algebraic. This cost model is not a verified evaluator/compiler trace. |
| Section6.3 derives stage-specific initial gradient moments and then sums reference costs. | The local expected-cost component accepts actual initial gradient-square L1 and Eg<=M for an arbitrary probability starting law. | source-implicit | This exposes the input to the descent-cost argument; it does not prove the random-history moment or total C*kappa0*Lq claim. |
| The constructed reference feeds the terminal sampling call inside the recursion. | The actual stopped point satisfies the terminal residual for fixed A,u. | same | The combined joint probability program, random-parameter kernel and cross-module cache saving remain separate obligations; no full-paper closure follows. |
This constructs an actual fixed-parameter terminal reference point and its specified gradient-query count. It does not assume a minimizer, successful stopping or the desired residual. The same source GD is analyzed using a stronger adjacent-iterate rate without the source display's extra condition-number prefactor. The finite-dimensional coordinate-free formulation and nonnegative base Hessian modulus extend the source setting; positive finite A and positive dimension remain explicit. The dimension equality stays in the public contract even though the underlying threshold proof does not use its numeric value. N+1 is a mathematical count model, not a compiler/evaluator trace. The expectation clause requires the actual starting gradient-square moment; the recursive-history moment, retained-reference invariant and summed stage cost C*kappa0*Lq remain unproved here. Parameters A,u are fixed for the measurable map: no jointly measurable random-parameter kernel is claimed. The output has the residual needed by the terminal sampler, but a combined sampling program and cross-module cache saving have not been proved. No TV transport of unbounded costs or complete-paper result is asserted.
Encoder–denoiser: accepted · domain-mismatch
Detected semantic differences
- domains: Coordinate-free extension; dimension equality remains genuine assumption. — Independent reviewer accepted: Coordinate-free extension; dimension equality remains genuine assumption.
- assumptions: Nonnegative base curvature; positive regularization preserves a,c>0. — Independent reviewer accepted: Nonnegative base curvature; positive regularization preserves a,c>0.
- domains: Finite positive A and d in selected terminal component; infinite initial parameter excluded. — Independent reviewer accepted: Finite positive A and d in selected terminal component; infinite initial parameter excluded.
- constant_dependencies: Stronger same-algorithm estimate and explicit sufficient constants disclosed. — Independent reviewer accepted: Stronger same-algorithm estimate and explicit sufficient constants disclosed.
- quantifiers: Finite attainment, first-hit minimality, measurability and count L1 proved. — Independent reviewer accepted: Finite attainment, first-hit minimality, measurability and count L1 proved.
- objects: One base gradient per visited point with reuse, including final check; no evaluator/compiler theorem. — Independent reviewer accepted: One base gradient per visited point with reuse, including final check; no evaluator/compiler theorem.
- scopes: Actual initial gradient moment explicit local input; no history-moment or total stage-cost completion. — Independent reviewer accepted: Actual initial gradient moment explicit local input; no history-moment or total stage-cost completion.
- scopes: Residual is terminal consumer interface; joint sampling and cache sharing separate. — Independent reviewer accepted: Residual is terminal consumer interface; joint sampling and cache sharing separate.
A generalization is not a source correction. Proposed missing conditions require separate independent repair review. No proposed repair silently changes the original theorem.
Scope and omitted-condition boundaries
- This constructs an actual fixed-parameter terminal reference point and its specified gradient-query count. It does not assume a minimizer, successful stopping or the desired residual. The same source GD is analyzed using a stronger adjacent-iterate rate without the source display's extra condition-number prefactor. The finite-dimensional coordinate-free formulation and nonnegative base Hessian modulus extend the source setting; positive finite A and positive dimension remain explicit. The dimension equality stays in the public contract even though the underlying threshold proof does not use its numeric value. N+1 is a mathematical count model, not a compiler/evaluator trace. The expectation clause requires the actual starting gradient-square moment; the recursive-history moment, retained-reference invariant and summed stage cost C*kappa0*Lq remain unproved here. Parameters A,u are fixed for the measurable map: no jointly measurable random-parameter kernel is claimed. The output has the residual needed by the terminal sampler, but a combined sampling program and cross-module cache saving have not been proved. No TV transport of unbounded costs or complete-paper result is asserted.
Sources, dependencies, and reuse
Source and reuse
Samplinglib parents called
AutoSamplingTheory.TechnicalLemmas.Analysis.GradientDescentContraction.gradient_step_contractionAutoSamplingTheory.TechnicalLemmas.Analysis.QuadraticRegularization.strongConvexOn_and_lipschitzWith_gradient_add_quadraticAutoSamplingTheory.TechnicalLemmas.Analysis.HessianStrongConvexity.strongConvexOn_univ_of_fderiv2_lowerAutoSamplingTheory.TechnicalLemmas.Analysis.StrongConvexFirstOrder.firstOrder_lower_bound_of_strongConvexOnAutoSamplingTheory.TechnicalLemmas.Analysis.Calculus.Gradient.continuous_gradient_of_contDiff_one
Mathlib API called (external library)
- Nat.le_ceil
- Nat.ceil_lt_add_one
- measurable_find
- Measurable.find
- Nat.find_spec
- Nat.find_min
- Real.log_le_sub_one_of_pos
- MeasureTheory.Integrable.mono'
- MeasureTheory.integral_mono
Mathematical sources
- SPHMC section6.3 terminal reference construction — Actual gradient-descent preparation and the local moment-to-query-cost proof component; history and stage summation remain separate.
Samplinglib prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.