Appendix B, Lemma 6: tilted Bernoulli variational identity
OpenQAlgorithms.Papers.Independent.Intake100.P31.lemma6For and , define and . Let , , and . For , let on nondegenerate support, with if and if , also at . Then
At , no nonnegative rate meets the strict capacity condition; the other parameters give nonvacuous instances. The proof's incorrect convexity wording is not an assumption.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P31
noncomputable section
namespace QAlgorithms.Papers.Independent.Intake100.P31
open scoped BigOperators Matrix ComplexConjugate
open QAlgorithms
local instance {n : ℕ} (C : BinaryLinearCode n) : Fintype C := Fintype.ofFinite C
/-- PDF pp.17--18, Lemma 6: the tiltedBernoulli law preserves support, including theta=0.
The printed convexity claim in the proof is a sign error, not an assumption. -/
theorem lemma6 (R p : ℝ) (hR : R ∈ Set.Icc 0 1) (hp : p ∈ Set.Icc 0 1)
(hcap : R < 1 - binEntropy2 p) :
tiltedExponent R p = (gallagerExponent R p : EReal) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P31
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every pair of real numbers satisfying , , and the strict inequality , the following equality holds in the extended real numbers:
The subscript on the right means that the real supremum is embedded into the extended reals. Here , , and
The quantity is if and , or if and ; otherwise it is the real number
embedded into the extended reals. In these formulas real division by zero and evaluate to zero, so zero-log contributions vanish. The endpoint choices and are included, subject to the stated strict hypothesis on .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.