Lemma 15: attained maximal logarithmic second moment at fixed entropy
OpenQAlgorithms.Papers.Independent.Advance50.P21.fixedEntropy_secondMoment_maxLet and . For a probability vector , let and , with continuous zero-weight values. There exists such that, writing and , the vector has and , and
The maximum is over all normalized nonnegative -coordinate distributions and is attained. The variance term has value zero at . This reduces the fixed-entropy maximization to a one-variable family, including the uniform endpoint.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P21
noncomputable section
namespace QAlgorithms.Papers.Independent.Advance50.P21
open scoped BigOperators Matrix ComplexConjugate
attribute [local instance] Classical.propDecidable Classical.decEq
open QAlgorithms.Papers.Independent.Information100.P26 (Mat)
open QAlgorithms.Papers.Independent.Information100.P56 (entropy)
open QAlgorithms.Papers.Independent.Information100.P76 (swapMatrix)
open QAlgorithms.Papers.Independent.Dependency50.P16 (simplex orderedSpectrum majorizedBy)
open QAlgorithms.Papers.Independent.Information100.P08 (Ensemble)
open QAlgorithms.Papers.Independent.Information100.P49 (thermalEntropy)
open QAlgorithms.Papers.Independent.Claimed50.P11 (thermalEntropyInverse)
/-- PDF p.20, Lemma 15, (6.31)–(6.32), with endpoint repair justified pp.21–22.
Printed x<y is changed to x<=y: H0=ln d has the uniform maximizer x=y=1/d.
The maximum is attained, and the x=0 value uses the continuous variance extension. -/
theorem fixedEntropy_secondMoment_max {d : ℕ} (hd : 0 < d) (H0 : ℝ)
(hH0 : H0 ∈ Set.Icc (0 : ℝ) (Real.log (d : ℝ))) :
∃ x : ℝ, x ∈ Set.Icc (0 : ℝ) (1 / (d : ℝ)) ∧
x ≤ 1 - (d - 1 : ℕ) * x ∧
oneHeavy d x ∈ simplex d ∧ simplexShannonNats (oneHeavy d x) = H0 ∧
IsGreatest {v : ℝ | ∃ q ∈ simplex d, simplexShannonNats q = H0 ∧ v = logSecondMoment q}
(logSecondMoment (oneHeavy d x)) ∧
logSecondMoment (oneHeavy d x) = peakVariance d x + H0 ^ 2 := by sorry
end QAlgorithms.Papers.Independent.Advance50.P21
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number and every real , there exists a real with such that the vector , whose last coordinate is and whose other coordinates are , has nonnegative coordinates summing to and entropy , where
Moreover, is the greatest element of , and
Logarithms are natural, and zero coordinates contribute to the entropy and second-moment sums. The statement includes , when and the single coordinate of is , and includes both endpoints of the permitted entropy interval; it does not assert uniqueness of .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.