Samplinglib
Lean gate not recorded for this source state main · 9bb7a7394ab0

Actual Gibbs covariance lower

Fan Chen, Sinho Chewi, Jianfeng Lu, Matthew S. Zhang; ASTIS original restatement of the Cramer-Rao half, with explicit alpha/beta and eta generalizations. Auxiliary author book Theorem3.5.8/Cor3.5.9, pinned 20261006 SHA2568818e8fb40c07bd70651bafe10e8ec4500197c836928330b90025ca47da52fae.

arXiv:2609.06906v1 · SPHMC arXiv:2609.06906v1 Section4.1 Lemma4.1 Cramer-Rao half; equation4.1; Chewi auxiliary 20261006 main.pdf Theorem3.5.8/Corollary3.5.9 zero-based pages124-125 · faithful paraphrase

Complete source statement (Samplinglib restatement)

The actual Gibbs mu=volume.tilted(-U) is probability and id belongs to L2(mu). For every direction v, covarianceBilin(mu)(v,v)>=norm(v)^2/beta. This is the linear-observable covariance corollary of Cramer-Rao, not the full nonlinear-observable theorem or a matrix-inverse result.

  • E is a complete finite-dimensional real inner-product space with its Borel measurable space and canonical volume, including dimension zero. alpha,beta are NNReal, 0<alpha<=beta. U or V is genuinely C2; actual Hessian at every point and direction lies between alpha*norm(v)^2 and beta*norm(v)^2.
  • Every Gibbs law is the actual volume.tilted(-potential). Probability, finite second moments, score integrability, centered score pairing and covariance bounds are derived. No minimizer, finite input moments, partition constant, derivative/score/covariance or well-behaved certificate is supplied.

Actual Gibbs covariance lower

\[\mu(dx)=Z_U^{-1}e^{-U(x)}dx,\quad X\in L^2(\mu),\quad \forall v,\ \operatorname{Cov}_{\mu}(\langle v,X\rangle,\langle v,X\rangle)\ge\beta^{-1}\|v\|^2.\]

Read the formalized proofs

Each statement and proof below has its own closed Lean disclosure. Samplinglib parents, Mathlib calls and external mathematical sources are distinguished in each proof.

Samplinglib mathematical lesson

Actual Gibbs covariance lower

AutoSamplingTheory.TechnicalLemmas.Analysis.GibbsGradientMoment.gibbs_covariance_lower · theorem · Teaching coverage

Read this first

Mathematical statement

The actual Gibbs mu=volume.tilted(-U) is probability and id belongs to L2(mu). For every direction v, covarianceBilin(mu)(v,v)≥norm(v)^2/beta. This is the linear-observable covariance corollary of Cramer-Rao, not the full nonlinear-observable theorem or a matrix-inverse result.

\[\mu(dx)=Z_U^{-1}e^{-U(x)}dx,\quad X\in L^2(\mu),\quad \forall v,\ \operatorname{Cov}_{\mu}(\langle v,X\rangle,\langle v,X\rangle)\ge\beta^{-1}\|v\|^2.\]
Lean statement · gibbs_covariance_lower

The actual Gibbs mu=volume.tilted(-U) is probability and id belongs to L2(mu). For every direction v, covarianceBilin(mu)(v,v)>=norm(v)^2/beta. This is the linear-observable covariance corollary of Cramer-Rao, not the full nonlinear-observable theorem or a matrix-inverse result.

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 gibbs_covariance_lower [CompleteSpace E] {U : E → ℝ} {α β : ℝ≥0}
    (hα : 0 < α) (hαβ : α ≤ β) (hU : ContDiff ℝ 2 U)
    (hH : ∀ x v : E, (α : ℝ)*‖v‖^2 ≤ fderiv ℝ (fderiv ℝ U) x v v ∧
      fderiv ℝ (fderiv ℝ U) x v v ≤ (β : ℝ)*‖v‖^2) :
    let μ := (volume : Measure E).tilted (fun x => -U x)
    IsProbabilityMeasure μ ∧ MemLp id 2 μ ∧
      ∀ v : E, ‖v‖^2/(β:ℝ) ≤ ProbabilityTheory.covarianceBilin μ v v

Exact module and namespace context

Proof roadmap

  1. 1Derive actual Gibbs probability and score second moment

    The existing canonical Gibbs gradient theorem derives the positive integrable exponential weight and actual score-square integrability from C2 Hessian bounds, using genuine weighted domination and full-space score integration by parts. Reuse that producer, without supplying a probability or moment certificate.

  2. 2Derive position L2 without a minimizer

    Strong gradient monotonicity between zero and x gives alpha norm(x)≤norm(gradient U(x))+norm(gradient U(0)). Square this and dominate by the integrable score square plus a constant under the actual probability law. Thus id is genuinely L2 and its Bochner mean exists. Zero norm is handled separately.

  3. 3Prove centered linear-score pairing with all IBP products integrable

    For a unit direction v put p=E_mu X, q(x)=inner(x-p,v), a(x)=DU(x)[v]. Actual position and score L2 imply q, a, qa are integrable as required. The full-space integration-by-parts API is applied only after deriving the weighted q, weight times derivative q, and derivative weight times q integrability. Since Dq[v]=1 and D(exp(-U))[v]=-exp(-U)a, normalize by the true positive Z_U to obtain E_mu qa=1. No mean-score-zero hypothesis is needed.

  4. 4Bound the actual directional score second moment

    The existing genuine score IBP identifies the weighted score square with the actual Hessian directional integral. The upper Hessian beta bound and probability normalization give E_mu a^2≤beta. All score-square, Hessian and product integrability are proved before integral algebra.

  5. 5Integrate an actual nonnegative square

    Expand the integrable nonnegative square (a-beta q)^2. Combining E qa=1 with E a^2≤beta yields beta^2 E q^2≥beta. Positivity of beta follows from 0<alpha≤beta, so divide to get variance≥1/beta. Actual covarianceBilin is identified with the centered q square using proved id L2.

  6. 6Scale every direction and include dimension zero

    Handle v=0 directly. For v nonzero use u=v/norm(v), apply the unit-direction result and use the true covariance bilinear map scaling. This quantifies all v without assuming a unit vector exists, so dimension zero is included. This does not establish general nonlinear Cramer-Rao or any Brascamp-Lieb upper covariance.

Full assumptions and notation

All objects and hypotheses

  • E is a complete finite-dimensional real inner-product space with its Borel measurable space and canonical volume, including dimension zero. alpha,beta are NNReal, 0<alpha≤beta. U or V is genuinely C2; actual Hessian at every point and direction lies between alpha*norm(v)^2 and beta*norm(v)^2.
  • Every Gibbs law is the actual volume.tilted(-potential). Probability, finite second moments, score integrability, centered score pairing and covariance bounds are derived. No minimizer, finite input moments, partition constant, derivative/score/covariance or well-behaved certificate is supplied.

Mathematical proof

1. Derive actual Gibbs probability and score second moment

The existing canonical Gibbs gradient theorem derives the positive integrable exponential weight and actual score-square integrability from C2 Hessian bounds, using genuine weighted domination and full-space score integration by parts. Reuse that producer, without supplying a probability or moment certificate.

\[0<Z_U<\infty,\quad \mu\text{ probability},\quad\mathbb E_\mu\|\nabla U\|^2\le\beta d.\]
Corresponding Lean step

gibbs_gradient_moment; weighted_gradient; directional_ibp

2. Derive position L2 without a minimizer

Strong gradient monotonicity between zero and x gives alpha norm(x)≤norm(gradient U(x))+norm(gradient U(0)). Square this and dominate by the integrable score square plus a constant under the actual probability law. Thus id is genuinely L2 and its Bochner mean exists. Zero norm is handled separately.

\[\|x\|^2\le\frac{2}{\alpha^2}(\|\nabla U(x)\|^2+\|\nabla U(0)\|^2),\quad X\in L^2(\mu).\]
Corresponding Lean step

gibbs_position_l2; StrongConvexFirstOrder.gradient_inner_lower_bound_of_strongConvexOn; memLp_two_iff_integrable_sq_norm

3. Prove centered linear-score pairing with all IBP products integrable

For a unit direction v put p=E_mu X, q(x)=inner(x-p,v), a(x)=DU(x)[v]. Actual position and score L2 imply q, a, qa are integrable as required. The full-space integration-by-parts API is applied only after deriving the weighted q, weight times derivative q, and derivative weight times q integrability. Since Dq[v]=1 and D(exp(-U))[v]=-exp(-U)a, normalize by the true positive Z_U to obtain E_mu qa=1. No mean-score-zero hypothesis is needed.

\[\mathbb E_\mu[q a]=1,\quad q=\langle X-\mathbb EX,v\rangle,\quad a=DU(X)[v],\quad\|v\|=1.\]
Corresponding Lean step

coordinate_position_ibp; integral_mul_fderiv_eq_neg_fderiv_mul_of_integrable; integrable_tilted_iff; integral_tilted

4. Bound the actual directional score second moment

The existing genuine score IBP identifies the weighted score square with the actual Hessian directional integral. The upper Hessian beta bound and probability normalization give E_mu a^2≤beta. All score-square, Hessian and product integrability are proved before integral algebra.

\[\mathbb E_\mu a^2=\mathbb E_\mu D^2U(X)[v,v]\le\beta.\]
Corresponding Lean step

directional_ibp; integral_mono; integral_tilted; gibbs_covariance_unit

5. Integrate an actual nonnegative square

Expand the integrable nonnegative square (a-beta q)^2. Combining E qa=1 with E a^2≤beta yields beta^2 E q^2≥beta. Positivity of beta follows from 0<alpha≤beta, so divide to get variance≥1/beta. Actual covarianceBilin is identified with the centered q square using proved id L2.

\[0\le\mathbb E(a-\beta q)^2=\mathbb Ea^2-2\beta+\beta^2\mathbb Eq^2\le-\beta+\beta^2\mathbb Eq^2\ \Longrightarrow\ \operatorname{Cov}_\mu(v,v)\ge\beta^{-1}.\]
Corresponding Lean step

gibbs_covariance_unit; integral_add; integral_sub; covarianceBilin_apply

6. Scale every direction and include dimension zero

Handle v=0 directly. For v nonzero use u=v/norm(v), apply the unit-direction result and use the true covariance bilinear map scaling. This quantifies all v without assuming a unit vector exists, so dimension zero is included. This does not establish general nonlinear Cramer-Rao or any Brascamp-Lieb upper covariance.

\[\operatorname{Cov}_\mu(v,v)=\|v\|^2\operatorname{Cov}_\mu(v/\|v\|,v/\|v\|)\ge\|v\|^2/\beta.\]
Corresponding Lean step

gibbs_covariance_lower; map_smul; smul_apply

Lean verification

The exact proof begins folded immediately after the mathematical argument; the statement is folded beside the claim above.

Lean proof · gibbs_covariance_lower

Actual Gibbs integrability and score L2, position L2 via gradient monotonicity, centered-linear and score IBP, nonnegative scalar square, bilinear scaling; actual quadratic posterior and exact source potential Hessian adapter.

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.

Download module (.lean)
theorem gibbs_covariance_lower [CompleteSpace E] {U : E → ℝ} {α β : ℝ≥0}
    (hα : 0 < α) (hαβ : α ≤ β) (hU : ContDiff ℝ 2 U)
    (hH : ∀ x v : E, (α : ℝ)*‖v‖^2 ≤ fderiv ℝ (fderiv ℝ U) x v v ∧
      fderiv ℝ (fderiv ℝ U) x v v ≤ (β : ℝ)*‖v‖^2) :
    let μ := (volume : Measure E).tilted (fun x => -U x)
    IsProbabilityMeasure μ ∧ MemLp id 2 μ ∧
      ∀ v : E, ‖v‖^2/(β:ℝ) ≤ ProbabilityTheory.covarianceBilin μ v v := by
  let μ := (volume : Measure E).tilted (fun x => -U x)
  have hp := gibbs_position_l2 hα hαβ hU hH
  refine ⟨hp.1,hp.2,?_⟩
  intro v
  by_cases hvzero : v=0
  · subst v
    simp
  · have hn : ‖v‖≠0 := norm_ne_zero_iff.mpr hvzero
    let u := ‖v‖⁻¹ • v
    have hu : ‖u‖=1 := by
      dsimp only [u]
      rw [norm_smul,Real.norm_eq_abs,abs_inv,abs_of_nonneg (norm_nonneg v),inv_mul_cancel₀ hn]
    have hv : ‖v‖ • u = v := by
      dsimp only [u]
      rw [smul_smul,mul_inv_cancel₀ hn,one_smul]
    have hc := gibbs_covariance_unit hα hαβ hU hH u hu
    have hscale : ProbabilityTheory.covarianceBilin μ v v =
        ‖v‖^2*ProbabilityTheory.covarianceBilin μ u u := by
      calc
        ProbabilityTheory.covarianceBilin μ v v =
            ProbabilityTheory.covarianceBilin μ (‖v‖ • u) (‖v‖ • u) := by rw [hv]
        _ = _ := by
          simp only [map_smul,smul_apply,smul_eq_mul]
          ring
    rw [hscale,div_eq_mul_inv]
    exact mul_le_mul_of_nonneg_left hc (sq_nonneg _)


end AutoSamplingTheory.TechnicalLemmas.Analysis.GibbsGradientMoment

Exact module and namespace context

Source assumptions versus formal assumptions

SourceActual LeanDifference kindWhy it matters
Source V has kappa^-1 I<=Hess V<=I, 0<eta<=1; Euclidean space.E is a complete finite-dimensional real inner-product space with its Borel measurable space and canonical volume, including dimension zero. alpha,beta are NNReal, 0<alpha<=beta. U or V is genuinely C2; actual Hessian at every point and direction lies between alpha*norm(v)^2 and beta*norm(v)^2. Every Gibbs law is the actual volume.tilted(-potential). Probability, finite second moments, score integrability, centered score pairing and covariance bounds are derived. No minimizer, finite input moments, partition constant, derivative/score/covariance or well-behaved certificate is supplied.generalizationActual arbitrary positive alpha<=beta and eta>0 yield the exact source upper constant for beta=1. Finite-dimensional Borel Hilbert incl dimension zero. All hidden IBP/moment/normalization conditions proved, no source assumption added.
Cramer-Rao covariance lower is invoked in the upper-Hessian half of Lemma4.1. Author book Theorem3.5.8 proves an arbitrary smooth-observable inequality under well-behaved regularity.The actual Gibbs mu=volume.tilted(-U) is probability and id belongs to L2(mu). For every direction v, covarianceBilin(mu)(v,v)>=norm(v)^2/beta. This is the linear-observable covariance corollary of Cramer-Rao, not the full nonlinear-observable theorem or a matrix-inverse result.sameProve only the linear-observable covariance corollary and its real source consumer. Direct centered-linear score pairing plus nonnegative scalar square avoids a matrix inverse and mean-score assumption; all integrability derived. Full nonlinear Cramer-Rao and BL are separate.
Lemma4.1 has two-sided curvature.Actual Gibbs all-direction covariance lower bound and its actual RGO/source V_eta Hessian upper consumer only. No Brascamp-Lieb covariance upper/Hessian lower, full Lemma4.1, general nonlinear Cramer-Rao, higher regularity, exact stationarity, approximate/stochastic/history work, PBPS process or either complete main/composition. TV never transfers unbounded expected cost.unresolvedOnly covariance lower/Hessian upper is established; other half requires a genuine BL producer.

Actual Gibbs all-direction covariance lower bound and its actual RGO/source V_eta Hessian upper consumer only. No Brascamp-Lieb covariance upper/Hessian lower, full Lemma4.1, general nonlinear Cramer-Rao, higher regularity, exact stationarity, approximate/stochastic/history work, PBPS process or either complete main/composition. TV never transfers unbounded expected cost.

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.

Scope and omitted-condition boundaries
  • Actual Gibbs all-direction covariance lower bound and its actual RGO/source V_eta Hessian upper consumer only. No Brascamp-Lieb covariance upper/Hessian lower, full Lemma4.1, general nonlinear Cramer-Rao, higher regularity, exact stationarity, approximate/stochastic/history work, PBPS process or either complete main/composition. TV never transfers unbounded expected cost.
Sources, dependencies, and reuse

Source and reuse

Samplinglib parents called

Mathlib API called (external library)

  • integral_mul_fderiv_eq_neg_fderiv_mul_of_integrable
  • integrable_tilted_iff
  • integral_tilted
  • memLp_two_iff_integrable_sq_norm
  • memLp_two_iff_integrable_sq
  • covarianceBilin_apply
  • integral_add
  • integral_sub
  • integral_const_mul
  • map_smul
  • smul_apply

Mathematical sources

  • SPHMC Lemma4.1 Cramer-Rao half — Actual Gibbs all-direction covariance lower bound and its actual RGO/source V_eta Hessian upper consumer only. No Brascamp-Lieb covariance upper/Hessian lower, full Lemma4.1, general nonlinear Cramer-Rao, higher regularity, exact stationarity, approximate/stochastic/history work, PBPS process or either complete main/composition. TV never transfers unbounded expected cost.
  • Auxiliary pinned author book Theorem3.5.8 / Corollary3.5.9 — Linear-observable corollary only; genuine hidden regularity proved; not a Lean dependency.

Samplinglib prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.

Which proof obligations and prerequisites are covered?

  • Formalized proof edge; source adapter/review separate Cramer-Rao actual covariance lower and source Hessian upper
  • TODO — not closed by these contributions Brascamp-Lieb covariance upper/Hessian lower (remaining)
  • TODO — not closed by these contributions Higher regularity, stationarity/errors/work and both complete main/composition (remaining)