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

Actual clipped-gradient Poisson retry program

ASTIS mathematical restatement and exposition of the actual clipped gradient-path program, a dependency used by Fan Chen, Sinho Chewi, Jianfeng Lu and Matthew S. Zhang, Smoothed Picard Hamiltonian Monte Carlo.

arXiv:2602.01338v1 · Appendix D.1 Eq18 and clipping mean comparison; consumed by SPHMC A.4(2), actual Poisson mechanism A.1 Lemma A.2 · faithful paraphrase

Complete source statement (Samplinglib restatement)

The actual nu and q are probability measures. W and Wc are jointly measurable in (x,r,z), and m is measurable. For every x, W(x,.) and Wc(x,.) and the excess max(abs(W(x,.))-B,0) are nu-integrable; abs(m(x))<=B and abs(m(x)-(<g,x>-f(x)+C))<=integral max(abs(W(x,a))-B,0) dnu(a). The function exp(m) is q-integrable and exp(-B)<=Z<=exp(B). The first-success output is measurable and its actual rho-pushforward equals q.tilted(m). The never-success event has rho-measure zero. With p_acc=Lambda(accepted), p_acc=ofReal(exp(-B)*Z)>=ofReal(exp(-2B)); the extended-nonnegative expectation of Q is p_acc^(-1)*ofReal(2B), and is at most ofReal(2B*exp(2B)).

  • E is a finite-dimensional real inner-product space with Borel sigma-algebra and explicit second countability. f:E->R is differentiable everywhere and its actual gradient is globally beta-Lipschitz. Fix eta>0, beta>=0, B>0 and x0,x_plus in E. No convexity, positive dimension, center residual or small-step condition is needed for this selected clipped-program result.
  • Set g=grad f(x_plus), h=x0-eta*g, P=(z->sqrt(eta) z)_*stdGaussian(E), U=Lebesgue restricted to (0,1], nu=U product P, and q=(z->h+sqrt(eta) z)_*stdGaussian(E). Before choosing x define C=integral f(h+z) dP(z)-<g,h>. The parent mean theorem proves integrability underlying this C.
  • For x in E, r in R and z in E, theta=pi*r/2, gamma=h+sin(theta)(x-h)+cos(theta)z, v=(pi/2)(cos(theta)(x-h)-sin(theta)z), W(x,(r,z))=<v,g-grad f(gamma)>. Define Wc=min(B,max(-B,W)), m(x)=integral Wc(x,a) dnu(a), and Z=integral exp(m(x)) dq(x).
  • An attempt is p=(x,N,(a_stream,u)), with law Lambda=q product [Poisson(2B) product (nu^N product Uniform[0,1])]; nu^N denotes the infinite iid auxiliary sequence indexed by natural numbers. All these factors are independent. Accept p when u<=product over i<N of (B+Wc(x,a_i))/(2B). The auxiliary time r inside a_i and acceptance uniform u are distinct random inputs.
  • Let rho=Lambda^N be the infinite iid sequence of attempts. Output the proposal of the first accepted attempt, using the least natural index; if no attempt succeeds return x0. Define Q(omega)=sum over n>=0 of N_n times the indicator that every i<n failed. This counts all estimator calls in the successful batch as well as failed batches.

Actual clipped law, mean error and full-batch count

\[\widehat q=q.\mathrm{tilted}(m),\quad e^{-B}\le Z\le e^B,\quad |m(x)-(\langle g,x\rangle-f(x)+C)|\le\mathbb E_\nu(|W_x|-B)_+,\quad\mathbb E_\rho Q=\frac{2B}{e^{-B}Z}\le2Be^{2B}.\]

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 clipped-gradient Poisson retry program

AutoSamplingTheory.ExampleCases.SmoothedPicardHMC.ClippedGradientProgram.clipped_gradient_program · theorem · Teaching coverage

Read this first

Mathematical statement

The actual nu and q are probability measures. W and Wc are jointly measurable in (x,r,z), and m is measurable. For every x, W(x,.) and Wc(x,.) and the excess max(abs(W(x,.))-B,0) are nu-integrable; abs(m(x))≤B and abs(m(x)-(<g,x>-f(x)+C))≤integral max(abs(W(x,a))-B,0) dnu(a). The function exp(m) is q-integrable and exp(-B)≤Z≤exp(B). The first-success output is measurable and its actual rho-pushforward equals q.tilted(m). The never-success event has rho-measure zero. With p_acc=Lambda(accepted), p_acc=ofReal(exp(-B)*Z)≥ofReal(exp(-2B)); the extended-nonnegative expectation of Q is p_acc^(-1)*ofReal(2B), and is at most ofReal(2B*exp(2B)).

\[\widehat q=q.\mathrm{tilted}(m),\quad e^{-B}\le Z\le e^B,\quad |m(x)-(\langle g,x\rangle-f(x)+C)|\le\mathbb E_\nu(|W_x|-B)_+,\quad\mathbb E_\rho Q=\frac{2B}{e^{-B}Z}\le2Be^{2B}.\]
Lean statement · clipped_gradient_program

Actual clipped-input measurability and L1, common-C mean loss, positive finite clipped normalization, exact first-success law and full-batch 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 clipped_gradient_program (f : E → ℝ) (hf : Differentiable ℝ f)
    (eta beta B : ℝ) (heta : 0 < eta) (hbeta : 0 ≤ beta) (hB : 0 < B)
    (hlip : LipschitzWith ⟨beta,hbeta⟩ (gradient f)) (x0 xp : E) :
    let h := x0 - eta • gradient f xp
    let P := (stdGaussian E).map (fun z => Real.sqrt eta • z)
    let U := volume.restrict (Set.Ioc (0 : ℝ) 1)
    let ν := U.prod P
    let q := (stdGaussian E).map (fun z => h + Real.sqrt eta • z)
    let C := (∫ z, f (h+z) ∂P) - inner ℝ (gradient f xp) h
    let W := estimator f h xp
    let Wc := fun p => clip B (W p)
    let m := fun x => ∫ z, Wc (x,z) ∂ν
    let Z := ∫ x, Real.exp (m x) ∂q
    let Λ := attempts q ν B hB
    let ρ := Measure.infinitePi (fun _ : ℕ => Λ)
    IsProbabilityMeasure ν ∧ IsProbabilityMeasure q ∧
      Measurable W ∧ Measurable Wc ∧ Measurable m ∧
      (∀ x, Integrable (fun z => W (x,z)) ν ∧
        Integrable (fun z => Wc (x,z)) ν ∧
        Integrable (fun z => max (|W (x,z)|-B) 0) ν ∧ |m x| ≤ B ∧
        |m x - (inner ℝ (gradient f xp) x - f x + C)| ≤
          ∫ z, max (|W (x,z)|-B) 0 ∂ν) ∧
      Integrable (fun x => Real.exp (m x)) q ∧
      Real.exp (-B) ≤ Z ∧ Z ≤ Real.exp B ∧
      Measurable (output Wc B x0) ∧ ρ.map (output Wc B x0) = q.tilted m ∧
      ρ {ω | ∀ n, ω n ∉ accepted Wc B} = 0 ∧
      Λ (accepted Wc B) = ENNReal.ofReal (Real.exp (-B)*Z) ∧
      ENNReal.ofReal (Real.exp (-2*B)) ≤ Λ (accepted Wc B) ∧
      (∫⁻ ω, queryCount Wc B ω ∂ρ) =
        (ENNReal.ofReal (Real.exp (-B)*Z))⁻¹ * ENNReal.ofReal (2*B) ∧
      (∫⁻ ω, queryCount Wc B ω ∂ρ) ≤ ENNReal.ofReal (2*B*Real.exp (2*B))

Exact module and namespace context

Proof roadmap

  1. 1Use the source center and actual independent inputs

    Substitute h=x0-eta grad f(x_plus) in the already proved path-mean theorem. Its constant C is fixed before every x. Continuity of the actual gradient and the explicit sine/cosine path proves measurability jointly in x and both auxiliary variables. Clipping is a continuous min/max operation. The scaled and translated Gaussian pushforwards and uniform-time product are genuine probability laws.

  2. 2Prove the exact clipping loss before integrating

    Split a real estimator value into the three regions below -B, within [-B,B], and above B. The resulting identities give both the everywhere bound on the clipped value and the exact positive-excess loss. These are pointwise real inequalities, independent of any probability approximation.

  3. 3Control the actual mean by an integrable excess

    Bound the measurable clipped estimator by the integrable constant B. The parent gives actual unclipped L1. Hence their difference and its absolute value are integrable, and the exact clipping identity proves excess integrability. Only then subtract their integrals and apply the absolute-integral inequality. Integrating -B≤Wc≤B proves the mean bound. Substituting the parent identity retains the same C.

  4. 4Normalize the clipped law with proved bounds

    Measurable parameter integration makes m measurable. Its bound implies exp(-B)≤exp(m(x))≤exp(B). The upper constant is integrable under actual probability q, so exp(m) is integrable. Integrating the two pointwise bounds establishes a strictly positive finite Z. This argument normalizes only the clipped target; it uses no unproved exponential-integrability assumption for the ideal potential.

  5. 5Identify the same actual first-success program

    Instantiate the established Poisson rejection theorem with the constant proposal kernel q and the actual clipped W. Expand the attempt, acceptance, first-output and cost definitions and check definitional equality with the parent program. Each attempt draws independent proposal, Poisson count, auxiliary stream and acceptance uniform. The first-success output uses the least accepted index and the explicit null-event default x0. The inherited law identifies the actual pushforward as the clipped exponential tilt, rather than merely constructing an abstract comparison law.

  6. 6Compute acceptance using the finite clipped normalizer

    The actual parent program gives acceptance mass as the integral of exp(m-B). Its integrability follows from that of exp(m). Nonnegativity justifies converting the real integral to the extended-nonnegative integral; constant factor extraction then gives exp(-B)Z. The same-program lower acceptance bound is exp(-2B).

  7. 7Charge the successful batch under the actual input law

    At index n, charge its full Poisson count whenever all earlier attempts failed; current acceptance is not assumed independent of that count. The parent theorem already proves the resulting stopped-sum expectation for these iid attempts. Substitute the actual acceptance mass. The bound uses its positive lower bound and remains attached to rho throughout. This is an estimator-call count; translating it into complete oracle accounting and a uniform constant bound requires later work.

Full assumptions and notation

All objects and hypotheses

  • E is a finite-dimensional real inner-product space with Borel sigma-algebra and explicit second countability. f:E→R is differentiable everywhere and its actual gradient is globally beta-Lipschitz. Fix eta>0, beta≥0, B>0 and x0,x_plus in E. No convexity, positive dimension, center residual or small-step condition is needed for this selected clipped-program result.
  • Set g=grad f(x_plus), h=x0-eta*g, P=(z→sqrt(eta) z)_*stdGaussian(E), U=Lebesgue restricted to (0,1], nu=U product P, and q=(z→h+sqrt(eta) z)_*stdGaussian(E). Before choosing x define C=integral f(h+z) dP(z)-<g,h>. The parent mean theorem proves integrability underlying this C.
  • For x in E, r in R and z in E, theta=pi*r/2, gamma=h+sin(theta)(x-h)+cos(theta)z, v=(pi/2)(cos(theta)(x-h)-sin(theta)z), W(x,(r,z))=<v,g-grad f(gamma)>. Define Wc=min(B,max(-B,W)), m(x)=integral Wc(x,a) dnu(a), and Z=integral exp(m(x)) dq(x).
  • An attempt is p=(x,N,(a_stream,u)), with law Lambda=q product [Poisson(2B) product (nu^N product Uniform[0,1])]; nu^N denotes the infinite iid auxiliary sequence indexed by natural numbers. All these factors are independent. Accept p when u≤product over i<N of (B+Wc(x,a_i))/(2B). The auxiliary time r inside a_i and acceptance uniform u are distinct random inputs.
  • Let rho=Lambda^N be the infinite iid sequence of attempts. Output the proposal of the first accepted attempt, using the least natural index; if no attempt succeeds return x0. Define Q(omega)=sum over n≥0 of N_n times the indicator that every i<n failed. This counts all estimator calls in the successful batch as well as failed batches.

Mathematical proof

1. Use the source center and actual independent inputs

Substitute h=x0-eta grad f(x_plus) in the already proved path-mean theorem. Its constant C is fixed before every x. Continuity of the actual gradient and the explicit sine/cosine path proves measurability jointly in x and both auxiliary variables. Clipping is a continuous min/max operation. The scaled and translated Gaussian pushforwards and uniform-time product are genuine probability laws.

\[h=x_0-\eta\nabla f(x_+),\qquad q=\mathcal N(h,\eta I),\qquad\nu=U\otimes\mathcal N(0,\eta I).\]
Corresponding Lean step

actual_clipped_input; GradientArcMean.gradient_arc_mean; MeasureTheory.Measure.isProbabilityMeasure_map

2. Prove the exact clipping loss before integrating

Split a real estimator value into the three regions below -B, within [-B,B], and above B. The resulting identities give both the everywhere bound on the clipped value and the exact positive-excess loss. These are pointwise real inequalities, independent of any probability approximation.

\[|\operatorname{clip}_{[-B,B]}(t)|\le B,\qquad|\operatorname{clip}_{[-B,B]}(t)-t|=(|t|-B)_+.\]
Corresponding Lean step

clip_bounds; clip_error

3. Control the actual mean by an integrable excess

Bound the measurable clipped estimator by the integrable constant B. The parent gives actual unclipped L1. Hence their difference and its absolute value are integrable, and the exact clipping identity proves excess integrability. Only then subtract their integrals and apply the absolute-integral inequality. Integrating -B≤Wc≤B proves the mean bound. Substituting the parent identity retains the same C.

\[|m(x)-\mathbb E_\nu W_x|\le\mathbb E_\nu|W_x^c-W_x|=\mathbb E_\nu(|W_x|-B)_+,\qquad |m(x)|\le B.\]
Corresponding Lean step

clipped_mean; actual_clipped_input; MeasureTheory.integral_sub; MeasureTheory.abs_integral_le_integral_abs; MeasureTheory.integral_mono

4. Normalize the clipped law with proved bounds

Measurable parameter integration makes m measurable. Its bound implies exp(-B)≤exp(m(x))≤exp(B). The upper constant is integrable under actual probability q, so exp(m) is integrable. Integrating the two pointwise bounds establishes a strictly positive finite Z. This argument normalizes only the clipped target; it uses no unproved exponential-integrability assumption for the ideal potential.

\[0<e^{-B}\le Z=\int e^{m(x)}q(dx)\le e^B<\infty.\]
Corresponding Lean step

clipped_normalizer; MeasureTheory.StronglyMeasurable.integral_prod_right'; MeasureTheory.Integrable.mono'; MeasureTheory.integral_mono

5. Identify the same actual first-success program

Instantiate the established Poisson rejection theorem with the constant proposal kernel q and the actual clipped W. Expand the attempt, acceptance, first-output and cost definitions and check definitional equality with the parent program. Each attempt draws independent proposal, Poisson count, auxiliary stream and acceptance uniform. The first-success output uses the least accepted index and the explicit null-event default x0. The inherited law identifies the actual pushforward as the clipped exponential tilt, rather than merely constructing an abstract comparison law.

\[\rho=\Lambda^{\mathbb N},\quad\rho\circ\mathrm{out}^{-1}=q.\mathrm{tilted}(m),\quad\rho(\text{no accepted attempt})=0.\]
Corresponding Lean step

actual_retry; PoissonRejection.poisson_rejection_output; attempts; accepted; output

6. Compute acceptance using the finite clipped normalizer

The actual parent program gives acceptance mass as the integral of exp(m-B). Its integrability follows from that of exp(m). Nonnegativity justifies converting the real integral to the extended-nonnegative integral; constant factor extraction then gives exp(-B)Z. The same-program lower acceptance bound is exp(-2B).

\[p_{\rm acc}=\int e^{m(x)-B}q(dx)=e^{-B}Z\ge e^{-2B}.\]
Corresponding Lean step

actual_retry; MeasureTheory.ofReal_integral_eq_lintegral_ofReal; MeasureTheory.integral_div; Real.exp_neg

7. Charge the successful batch under the actual input law

At index n, charge its full Poisson count whenever all earlier attempts failed; current acceptance is not assumed independent of that count. The parent theorem already proves the resulting stopped-sum expectation for these iid attempts. Substitute the actual acceptance mass. The bound uses its positive lower bound and remains attached to rho throughout. This is an estimator-call count; translating it into complete oracle accounting and a uniform constant bound requires later work.

\[Q=\sum_{n\ge0}N_n\mathbf1\{\text{all }i<n\text{ failed}\},\qquad\mathbb E_\rho Q=p_{\rm acc}^{-1}(2B)\le2Be^{2B}.\]
Corresponding Lean step

queryCount; actual_retry; PoissonRejection.poisson_rejection_output; clipped_gradient_program

Lean verification

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

Lean proof · clipped_gradient_program

Pointwise clipping identities, actual parent mean, integrable domination, measurable integration, normalization bounds, and definitional reuse of the true iid rejection program.

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 clipped_gradient_program (f : E → ℝ) (hf : Differentiable ℝ f)
    (eta beta B : ℝ) (heta : 0 < eta) (hbeta : 0 ≤ beta) (hB : 0 < B)
    (hlip : LipschitzWith ⟨beta,hbeta⟩ (gradient f)) (x0 xp : E) :
    let h := x0 - eta • gradient f xp
    let P := (stdGaussian E).map (fun z => Real.sqrt eta • z)
    let U := volume.restrict (Set.Ioc (0 : ℝ) 1)
    let ν := U.prod P
    let q := (stdGaussian E).map (fun z => h + Real.sqrt eta • z)
    let C := (∫ z, f (h+z) ∂P) - inner ℝ (gradient f xp) h
    let W := estimator f h xp
    let Wc := fun p => clip B (W p)
    let m := fun x => ∫ z, Wc (x,z) ∂ν
    let Z := ∫ x, Real.exp (m x) ∂q
    let Λ := attempts q ν B hB
    let ρ := Measure.infinitePi (fun _ : ℕ => Λ)
    IsProbabilityMeasure ν ∧ IsProbabilityMeasure q ∧
      Measurable W ∧ Measurable Wc ∧ Measurable m ∧
      (∀ x, Integrable (fun z => W (x,z)) ν ∧
        Integrable (fun z => Wc (x,z)) ν ∧
        Integrable (fun z => max (|W (x,z)|-B) 0) ν ∧ |m x| ≤ B ∧
        |m x - (inner ℝ (gradient f xp) x - f x + C)| ≤
          ∫ z, max (|W (x,z)|-B) 0 ∂ν) ∧
      Integrable (fun x => Real.exp (m x)) q ∧
      Real.exp (-B) ≤ Z ∧ Z ≤ Real.exp B ∧
      Measurable (output Wc B x0) ∧ ρ.map (output Wc B x0) = q.tilted m ∧
      ρ {ω | ∀ n, ω n ∉ accepted Wc B} = 0 ∧
      Λ (accepted Wc B) = ENNReal.ofReal (Real.exp (-B)*Z) ∧
      ENNReal.ofReal (Real.exp (-2*B)) ≤ Λ (accepted Wc B) ∧
      (∫⁻ ω, queryCount Wc B ω ∂ρ) =
        (ENNReal.ofReal (Real.exp (-B)*Z))⁻¹ * ENNReal.ofReal (2*B) ∧
      (∫⁻ ω, queryCount Wc B ω ∂ρ) ≤ ENNReal.ofReal (2*B*Real.exp (2*B)) := by
  dsimp only
  let h := x0 - eta • gradient f xp
  let P := (stdGaussian E).map (fun z => Real.sqrt eta • z)
  let ν := (volume.restrict (Set.Ioc (0 : ℝ) 1)).prod P
  let q := (stdGaussian E).map (fun z => h + Real.sqrt eta • z)
  let W := estimator f h xp
  let Wc := fun p => clip B (W p)
  obtain ⟨hν, hw, hc, hm, hx⟩ := actual_clipped_input f hf eta beta B heta hbeta hB hlip x0 xp
  let : IsProbabilityMeasure ν := hν
  have hq : Measurable (fun z : E => h + Real.sqrt eta • z) := by fun_prop
  let : IsProbabilityMeasure q := Measure.isProbabilityMeasure_map hq.aemeasurable
  obtain ⟨hi, hzlow, hzup⟩ := clipped_normalizer q _ hm B (fun x => (hx x).2.2.2.1)
  have hr := actual_retry q ν Wc hc B hB (fun x z => clip_bounds B (W (x,z)) hB.le) x0
  exact ⟨hν, inferInstance, hw, hc, hm, hx, hi, hzlow, hzup, hr⟩

end AutoSamplingTheory.ExampleCases.SmoothedPicardHMC.ClippedGradientProgram

Exact module and namespace context

Source assumptions versus formal assumptions

SourceActual LeanDifference kindWhy it matters
Euclidean smooth setting with positive dimension.Finite-dimensional real inner-product Borel space including zero dimension; explicit second countability.generalizationAll operations and Gaussian laws are coordinate-free. No division by dimension occurs; second countability is automatic here.
Smoothness coefficient is conventionally positive.beta>=0 and differentiable f with the actual beta-Lipschitz gradient.generalizationThe beta0 case satisfies the same proof; no division by beta is used.
Clipping is part of an accuracy theorem with step, residual and parameter conditions.eta>0 and B>0 suffice for this fixed actual clipped law, mean error and 2Bexp(2B) estimator-count bound.generalizationThese selected construction results do not need the additional conditions used to make excess small or obtain the source uniform constant cost. Those conclusions are not asserted.
Auxiliary time and acceptance uniform are separately sampled on [0,1].Auxiliary time uses Ioc(0,1); acceptance uniform uses Icc(0,1); they are independent factors.source-implicitLebesgue endpoints have zero mass. The variables remain distinct, and the acceptance product reads only the first Poisson-many auxiliary coordinates.
The clipped expectation determines a normalized output law, and the unclipped mean identifies the log weight up to a constant.Joint measurability including x, all needed auxiliary L1, measurable m, same C, integrable exp(m), and positive finite clipped Z are proved.source-implicitNo assumed mean or integrability replaces the actual estimator. Clipping yields its own normalization and does not establish ideal Gibbs normalization.
Repeat the actual independent attempts until success.First accepted index via Nat.find; default x0 on the never-hit event with probability zero.source-implicitThe explicit default makes the output total; exact parent definitions preserve the same almost-sure algorithm and actual law.
Full-batch Poisson estimation is used for the gradient implementation.Cost is the complete estimator-call count, including the successful batch, under the actual iid law.sameThe proved selected counter is not yet a full gradient-oracle accounting model. Cached reference-gradient preparation and accuracy-dependent uniform constants remain separate.
D.1 construction supports the terminal normalized approximation in SPHMC A.4(2).Fixed eta,beta,B,x0,x_plus; actual clipped tilt and mean error only, no global adaptive-parameter kernel or ideal/Renyi theorem.sameThis is the selected actual-program proof edge; the remaining downstream conditions are retained rather than claimed from this result.

This is a fixed-parameter actual clipped program, including its true-input estimator count. Coordinate-free spaces, zero dimension and beta=0 are disclosed extensions. The output law is the normalized clipped tilt; the ideal Gibbs/RGO law, positive finite ideal normalization, normalized Renyi accuracy, adaptive eta/x0/x_plus kernel and initialization remain separate. Potential L1 for C is supplied by the parent proof, not separately returned as a public conjunct here. No separate RN bound is asserted. Cost counts complete batches of estimator calls, including success; reference-gradient preparation, full gradient-oracle accounting and random-number cost are not proved. An arbitrary B>0 bound 2B exp(2B) is not a uniform constant-cost theorem; source parameter and accuracy conditions are still required. Neither companion paper is complete.

Encoder–denoiser: accepted · domain-mismatch

Detected semantic differences

  • domains: Coordinate-free/zero-dimensional extension valid; second countability automatic. — Independent formal reviewer accepted this disclosed difference: Coordinate-free/zero-dimensional extension valid; second countability automatic.
  • assumptions: Beta0 uses same proof without division. — Independent formal reviewer accepted this disclosed difference: Beta0 uses same proof without division.
  • assumptions: Residual/small-step assumptions not needed for selected construction; downstream accuracy/uniform-cost remain unclaimed. — Independent formal reviewer accepted this disclosed difference: Residual/small-step assumptions not needed for selected construction; downstream accuracy/uniform-cost remain unclaimed.
  • objects: Ioc/Icc differ by null endpoint; auxiliary time and acceptance uniform distinct independent coordinates, only first N auxiliaries read. — Independent formal reviewer accepted this disclosed difference: Ioc/Icc differ by null endpoint; auxiliary time and acceptance uniform distinct independent coordinates, only first N auxiliaries read.
  • conclusion: Actual L1/measurability justify same-C comparison and clipped normalization; potential L1 supporting C is parent result, not extra public conjunct. — Independent formal reviewer accepted this disclosed difference: Actual L1/measurability justify same-C comparison and clipped normalization; potential L1 supporting C is parent result, not extra public conjunct.
  • objects: Nat.find is first success; x0 default totalizes null never-hit branch. — Independent formal reviewer accepted this disclosed difference: Nat.find is first success; x0 default totalizes null never-hit branch.
  • scopes: Actual full-batch estimator counter, not separate gradient-oracle/wall-clock model. — Independent formal reviewer accepted this disclosed difference: Actual full-batch estimator counter, not separate gradient-oracle/wall-clock model.
  • scopes: Fixed-parameter clipped law/residual inequality only; ideal-target and global adaptive-kernel obligations retained. — Independent formal reviewer accepted this disclosed difference: Fixed-parameter clipped law/residual inequality only; ideal-target and global adaptive-kernel obligations retained.

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 is a fixed-parameter actual clipped program, including its true-input estimator count. Coordinate-free spaces, zero dimension and beta=0 are disclosed extensions. The output law is the normalized clipped tilt; the ideal Gibbs/RGO law, positive finite ideal normalization, normalized Renyi accuracy, adaptive eta/x0/x_plus kernel and initialization remain separate. Potential L1 for C is supplied by the parent proof, not separately returned as a public conjunct here. No separate RN bound is asserted. Cost counts complete batches of estimator calls, including success; reference-gradient preparation, full gradient-oracle accounting and random-number cost are not proved. An arbitrary B>0 bound 2B exp(2B) is not a uniform constant-cost theorem; source parameter and accuracy conditions are still required. Neither companion paper is complete.
Sources, dependencies, and reuse

Source and reuse

Samplinglib parents called

Mathlib API called (external library)

  • MeasureTheory.Measure.isProbabilityMeasure_map
  • MeasureTheory.integral_sub
  • MeasureTheory.abs_integral_le_integral_abs
  • MeasureTheory.integral_mono
  • MeasureTheory.StronglyMeasurable.integral_prod_right'
  • MeasureTheory.ofReal_integral_eq_lintegral_ofReal
  • MeasureTheory.integral_div

Mathematical sources

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 Actual clipped estimator input, normalized retry output and true-input mean/cost bounds