RpowOpt #
Ported from scottnarmstrong/CoarseGraining at c7ddd76c08ade64fed1b8d2ca51be14dfee8deb4. Module imports, support namespace and local option directives adapted for Lean Pool.
Corridor-width optimization (rpow algebra) #
This file isolates the pure real-analysis optimization that turns the two-error
bound
Var[F] ≤ C₀·(Θ³·(ℓ/L)^{d-2} + Θ/ℓ)·Msq² (4 ≤ ℓ ≤ L)
together with the deterministic bound Var[F] ≤ 4·Msq² into the min-form of
the scalar block variance estimate e.scalar.block.variance:
Var[F] ≤ C·Msq²·min{1, Θ²·L^{-(d-2)/(d-1)}}.
The optimal corridor width is ℓ₀ = (L^{d-2}/Θ²)^{1/(d-1)}, put here in the
resolved normal form ℓ₀ = L^β·Θ^{-2/(d-1)} with β = (d-2)/(d-1). The two
balancing identities and the bound Θ^{1+2/(d-1)} ≤ Θ² are the whole content.
The rpow algebra (exists_optimal_width) is separated from the numeric
regime combination (scalar_opt) so each declaration elaborates at default
heartbeats. No probability appears.
Corridor-width optimization. From the deterministic bound and the
two-error bound (free ℓ ∈ [4, L]), the scalar block variance obeys the
min-form with β = (d-2)/(d-1) and a Θ² upper factor.