Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6.1: four entropy/small-ball comparisons

Open
QAlgorithms.Papers.Independent.Intake100.P89.entropy_smallBall_comparisons

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let WWW be a nonzero Borel centered Gaussian element of a real separable Banach space, H1H_1H1​ its embedded RKHS unit ball, L(r)=log⁡N(r,H1,∥⋅∥)L(r)=\log N(r,H_1,\|\cdot\|)L(r)=logN(r,H1​,∥⋅∥), and φ0(r)=−log⁡P(∥W∥<r)\varphi_0(r)=-\log P(\|W\|<r)φ0​(r)=−logP(∥W∥<r). For any measurable positive function fff regularly varying at zero, all comparisons as ε↓0\varepsilon\downarrow0ε↓0 hold:

L(ε/2φ0(ε))≳φ0(2ε),φ0≲f  ⟹  L(ε/f(ε))≲f(ε),L≳f  ⟹  φ0(ε)≳f(ε/φ0(ε)),L≲f  ⟹  φ0(2ε)≲f(ε/φ0(ε)).\begin{aligned}L(\varepsilon/\sqrt{2\varphi_0(\varepsilon)})&\gtrsim\varphi_0(2\varepsilon),\\ \varphi_0\lesssim f&\implies L(\varepsilon/\sqrt{f(\varepsilon)})\lesssim f(\varepsilon),\\ L\gtrsim f&\implies\varphi_0(\varepsilon)\gtrsim f(\varepsilon/\sqrt{\varphi_0(\varepsilon)}),\\ L\lesssim f&\implies\varphi_0(2\varepsilon)\lesssim f(\varepsilon/\sqrt{\varphi_0(\varepsilon)}).\end{aligned}L(ε/2φ0​(ε)​)φ0​≲fL≳fL≲f​≳φ0​(2ε),⟹L(ε/f(ε)​)≲f(ε),⟹φ0​(ε)≳f(ε/φ0​(ε)​),⟹φ0​(2ε)≲f(ε/φ0​(ε)​).​

Every comparison constant is independent of sufficiently small positive radii. Nonzero excludes the undefined zero-law rescalings.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P89
Formal statement
noncomputable section

open Set Filter MeasureTheory ProbabilityTheory

open scoped Topology BigOperators ENNReal

namespace QAlgorithms.Papers.Independent.Intake100.P89

universe u v w

variable {Omega : Type u} [MeasurableSpace Omega]

section BanachResults

variable {B : Type v} [NormedAddCommGroup B] [NormedSpace ℝ B]

variable [hComplete : CompleteSpace B] [hSeparable : TopologicalSpace.SeparableSpace B]

variable (P : Measure Omega) [hP : IsProbabilityMeasure P]

include hP hComplete hSeparable

/-- Lemma 6.1: four entropy/small-ball comparisons, arXiv:0805.3252v1, PDF p.17.
SOURCE CORRECTION: printed f(e) in (ii) is f(epsilon), fixed by surrounding formulas. The nonzero hypothesis makes explicit the implicit positive small-ball-exponent domain. PDF p.17 rendered and checked; independent moderation required. -/
theorem entropy_smallBall_comparisons
(W : Omega → B) (hW : BorelCenteredGaussianElement P W)
    (hnonzero : ¬ (∀ᵐ o ∂P, W o = 0)) (f : ℝ → ℝ) (hf : RegularAtZero f) :
    (∀ e : ℝ, 0 < e → ∃ n, HasCover (rkhsUnitBall P W) e n) ∧
    AtZeroLE (fun e => smallBall P W (2 * e))
      (fun e => logCover (rkhsUnitBall P W) (e / Real.sqrt (2 * smallBall P W e))) ∧
    (AtZeroLE (smallBall P W) f →
      AtZeroLE (fun e => logCover (rkhsUnitBall P W) (e / Real.sqrt (f e))) f) ∧
    (AtZeroLE f (logCover (rkhsUnitBall P W)) →
      AtZeroLE (fun e => f (e / Real.sqrt (smallBall P W e))) (smallBall P W)) ∧
    (AtZeroLE (logCover (rkhsUnitBall P W)) f →
      AtZeroLE (fun e => smallBall P W (2 * e))
        (fun e => f (e / Real.sqrt (smallBall P W e)))) := by sorry

end BanachResults

end QAlgorithms.Papers.Independent.Intake100.P89

end
Source
Reproducing kernel Hilbert spaces of Gaussian priors, arXiv:0805.3252v1, PDF p. 17, Lemma 6.1: four entropy/small-ball comparisons
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let Ω\OmegaΩ be a measurable space with measure PPP, let BBB be a real normed vector space, and let W:Ω→BW:\Omega\to BW:Ω→B be Borel measurable, with every scalar pushforward under ℓ∘W\ell\circ Wℓ∘W, for a continuous real linear functional ℓ\ellℓ, equal to a Gaussian measure of mean 000 and some nonnegative variance, possibly 000. Suppose that WWW is not 000 PPP-almost everywhere. Let HHH be the closed real linear span in L2(P;R)L^2(P;\mathbb R)L2(P;R) of the classes of these scalar functions, replacing any function not belonging to L2(P;R)L^2(P;\mathbb R)L2(P;R) by 000, and put

S(g)=∫Ωg(o) W(o) dP(o),K=S(H),U={h∈K:∥L(h)∥L2(P)≤1},S(g)=\int_\Omega g(o)\,W(o)\,dP(o),\qquad K=S(H),\qquad U=\{h\in K:\|L(h)\|_{L^2(P)}\le1\},S(g)=∫Ω​g(o)W(o)dP(o),K=S(H),U={h∈K:∥L(h)∥L2(P)​≤1},

where L(h)L(h)L(h) is the selected element of HHH with S(L(h))=hS(L(h))=hS(L(h))=h. Define

ϕ(e)=−log⁡((P{o:∥W(o)∥<e})R).\phi(e)=-\log\bigl((P\{o:\|W(o)\|<e\})_{\mathbb R}\bigr).ϕ(e)=−log((P{o:∥W(o)∥<e})R​).

For any real radius rrr, say that UUU has a cover with n∈Nn\in\mathbb Nn∈N centers at radius rrr if there are c0,…,cn−1∈Bc_0,\ldots,c_{n-1}\in Bc0​,…,cn−1​∈B such that every u∈Uu\in Uu∈U satisfies dist⁡(u,ci)<r\operatorname{dist}(u,c_i)<rdist(u,ci​)<r for some i<ni<ni<n. Define E(r)E(r)E(r) as the logarithm of the least such nnn if one exists, and as 000 otherwise; n=0n=0n=0 is allowed and covers precisely an empty UUU, with log⁡0=0\log0=0log0=0. For real functions F,GF,GF,G, write F⪯GF\preceq GF⪯G to mean that there exist real constants C>0C>0C>0 and δ>0\delta>0δ>0 such that F(e)≤CG(e)F(e)\le C G(e)F(e)≤CG(e) whenever 0<e<δ0<e<\delta0<e<δ. Let f:R→Rf:\mathbb R\to\mathbb Rf:R→R be measurable, satisfy f(x)>0f(x)>0f(x)>0 for every x>0x>0x>0, and admit a real ρ\rhoρ such that, for every real a>0a>0a>0,

lim⁡x→0+f(ax)f(x)=aρ.\lim_{x\to0^+}\frac{f(ax)}{f(x)}=a^\rho.x→0+lim​f(x)f(ax)​=aρ.

Then UUU has a cover with finitely many centers at every real radius e>0e>0e>0, and all the following assertions hold:

(e↦ϕ(2e))⪯(e↦E ⁣(e2ϕ(e))),ϕ⪯f ⟹ (e↦E ⁣(ef(e)))⪯f,f⪯E ⟹ (e↦f ⁣(eϕ(e)))⪯ϕ,E⪯f ⟹ (e↦ϕ(2e))⪯(e↦f ⁣(eϕ(e))).\begin{gathered} \bigl(e\mapsto\phi(2e)\bigr) \preceq \left(e\mapsto E\!\left(\frac{e}{\sqrt{2\phi(e)}}\right)\right),\\ \phi\preceq f \ \Longrightarrow\ \left(e\mapsto E\!\left(\frac{e}{\sqrt{f(e)}}\right)\right)\preceq f,\\ f\preceq E \ \Longrightarrow\ \left(e\mapsto f\!\left(\frac{e}{\sqrt{\phi(e)}}\right)\right)\preceq\phi,\\ E\preceq f \ \Longrightarrow\ \bigl(e\mapsto\phi(2e)\bigr) \preceq \left(e\mapsto f\!\left(\frac{e}{\sqrt{\phi(e)}}\right)\right). \end{gathered}(e↦ϕ(2e))⪯(e↦E(2ϕ(e)​e​)),ϕ⪯f ⟹ (e↦E(f(e)​e​))⪯f,f⪯E ⟹ (e↦f(ϕ(e)​e​))⪯ϕ,E⪯f ⟹ (e↦ϕ(2e))⪯(e↦f(ϕ(e)​e​)).​

Each occurrence of ⪯\preceq⪯ has its own existential constants. All expressions use total real operations: division by 000 gives 000, the real square root of a nonpositive number is 000, and log⁡0=0\log0=0log0=0; conversion (⋅)R(\cdot)_{\mathbb R}(⋅)R​ of measure values sends +∞+\infty+∞ to 000.

Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me