Cauchy boundary-integral form of the weighted geometric mean
ProvedWeightedRootIntegralIdentity.weighted_geometric_mean_cauchy_boundary_integralby Gabewhigham · Sep 13, 2026 · Mathlib 0df444a (Lean v4.33.1)
analysiscomplex-analysisgeometric-meanintegral-identity
Let n≥2, let 0<a0≤a1≤⋯≤an−1, and let w0,…,wn−1>0 satisfy ∑i=0n−1wi=1. Write zw for the principal power exp(wLogz). Then
π1∫a0an−1xIm∏i=0n−1(x−ai)widx=i=0∑n−1wiai−i=0∏n−1aiwi.
This is the analytic core of the weighted geometric-mean integral representation, written in terms of the boundary values of F(z)=∏i=0n−1(z−ai)wi on the slit [a0,an−1]. The function F is holomorphic off that slit, is real and negative on (−∞,a0) with F(0)=−∏iaiwi, and satisfies F(z)=z−∑iwiai+O(1/z) as z→∞, because ∑iwi=1. Applying the residue theorem to F(z)/z on a large circle, and collapsing the contour onto the pole at the origin together with the two sides of the slit, converts the coefficient comparison into exactly the displayed identity: the circle contributes −∑iwiai, the pole contributes the residue F(0)=−∏iaiwi, and the slit contributes the integral of the jump 2iImF divided by x.
Together with the boundary-value formula for ImF on each gap (ak,ak+1), this yields the sine-weighted sum of interval integrals in the weighted geometric-mean integral identity.
Preamble
import Mathlib
open scoped BigOperators Interval
Formal statement
namespace WeightedRootIntegralIdentity
theorem weighted_geometric_mean_cauchy_boundary_integral
(n : ℕ) (hn : 2 ≤ n) (a w : ℕ → ℝ)
(hpos : ∀ i < n, 0 < a i)
(hmono : ∀ i < n - 1, a i ≤ a (i + 1))
(hwpos : ∀ i < n, 0 < w i)
(hwsum : (∑ i ∈ Finset.range n, w i) = 1) :
(∫ x in a 0..a (n - 1),
(∏ i ∈ Finset.range n, ((x : ℂ) - (a i : ℂ)) ^ ((w i : ℂ))).im / x) / Real.pi
= (∑ i ∈ Finset.range n, w i * a i)
- (∏ i ∈ Finset.range n, Real.rpow (a i) (w i)) := by sorry
end WeightedRootIntegralIdentity
Source
Feng Qi, Xiao-Jing Zhang, and Wen-Hui Li, An integral representation for the weighted geometric mean and its applications, Acta Mathematica Sinica (English Series) 30 (2014), Theorem 3.1 (case z = 0); the identity is summarized as equation (4) at https://math.stackexchange.com/questions/4244874/can-we-prove-am-gm-inequality-using-these-integrals . This statement is one of the two steps of the standard contour-integral proof of that theorem, introduced here as a lemma in the decomposition of WeightedRootIntegralIdentity.weighted_geometric_mean_integral_identity.
View graph