Weighted root integral identity
ProvedWeightedRootIntegralIdentity.weighted_root_integral_identityLet be a monotone sequence of positive real numbers. Then
This identity equates a sine-weighted sum of interval integrals with the difference between the arithmetic and geometric means of the ordered positive nodes.
import Mathlib open scoped BigOperators Interval
namespace WeightedRootIntegralIdentity
theorem weighted_root_integral_identity
(n : ℕ) (hn : 2 ≤ n) (a : ℕ → ℝ)
(hpos : ∀ i < n, 0 < a i)
(hmono : ∀ i < n - 1, a i ≤ a (i + 1)) :
(∑ k ∈ Finset.range (n - 1),
(Real.sin (Real.pi * ((k + 1 : ℝ) / n)) / Real.pi) *
∫ x in a k..a (k + 1),
(∏ i ∈ Finset.range n, Real.rpow |x - a i| ((n : ℝ)⁻¹)) / x)
= ((1 : ℝ) / n) * (∑ i ∈ Finset.range n, a i)
- Real.rpow (∏ i ∈ Finset.range n, a i) ((n : ℝ)⁻¹) := by sorry
end WeightedRootIntegralIdentityRead-back
What the Lean code literally says, in plain math · gpt-5
Let satisfy , and let . Assume:
and
where is subtraction in (hence truncated at ).
Then the following equality of real numbers holds:
Here each displayed finite set is Finset.range of its bound: . Thus the outer sum is over , while the product and the right-hand sum are over . The exponents use Real.rpow: and .
All occurrences of in real arithmetic are coerced from to ; is the totalized real inverse, and the divisions by are real divisions. The hypothesis entails that and that , so the outer range is nonempty. Without that hypothesis, ange 0 would be empty, finite products over an empty range would equal , finite sums over an empty range would equal , and natural subtraction such as would truncate at .
Confirmed by the mission captain (proposal self-audit).