Exact variance slack in the harmonic integral inequality
ProvedRybinAI2026.P01.harmonic_variance_identityintegral-inequalitymatrix-analysisvariance
Let be a finite Borel measure on a compact space, let and be continuous real functions, and assume everywhere. Then
For nonnegative , the right side is the exact nonnegative slack in the Cauchy--Schwarz step underlying harmonic-mean contraction. The identity is useful when a variance-free harmonic bound is too coarse, including in the denominator-addition analysis for Problem 1. No normalization of is assumed.
Preamble
import Mathlib.MeasureTheory.Integral.Bochner.Set import Mathlib.MeasureTheory.Integral.Prod open MeasureTheory
Formal statement
theorem RybinAI2026.P01.harmonic_variance_identity
{α : Type*} [MeasurableSpace α] [TopologicalSpace α] [BorelSpace α]
[CompactSpace α] (μ : Measure α) [IsFiniteMeasure μ]
(k r : α → ℝ) (hk : Continuous k) (hr : Continuous r)
(hrpos : ∀ x, 0 < r x) :
(∫ x, k x*r x ∂μ)*(∫ x, k x/r x ∂μ)-(∫ x, k x ∂μ)^2 =
(1/2 : ℝ) * ∫ z : α × α,
k z.1*k z.2*(r z.1-r z.2)^2/(r z.1*r z.2) ∂(μ.prod μ) := by
sorry
Source
Standard polarization/variance identity obtained by expanding the double integral; used here to retain the exact slack in the harmonic denominator estimate derived from https://rybindmitry.github.io/problems/1.html. Not a separately stated theorem in that source.