Theorem 29: Exact entropy–distance locus: maximum entropy at TV=Delta is log M-min_m d(m/M+Delta/2||m/M); minimum TV at a fixed entropy in [h_(k-1),h_k) is 2(1-(k+theta)/M), with explicit attaining la
OpenQAlgorithms.Papers.Independent.Intakenext100.P28.entropy_distance_locusLet be an integer and uniform on symbols. For ,
For a minimizing , the maximizing law has masses and the remaining masses . Define , , and for , where is binary entropy. If , , then
Here is chosen so the attaining law has entropy : its masses are , then masses , then , then zeros. The statement includes existence of all optimizing parameters and attaining laws, covering (376)–(381). The excluded endpoint is realized by the uniform law with distance zero.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P28
noncomputable section
open MeasureTheory Set Filter
open scoped ENNReal NNReal Topology BigOperators ProbabilityTheory
namespace QAlgorithms.Papers.Independent.Intakenext100.P28
universe u
attribute [local instance] Classical.propDecidable
/-- Theorem 29: Exact shannonEntropyBase–distance locus: maximum shannonEntropyBase at TV=Delta is log M-min_m d(m/M+Delta/2||m/M); minimum TV at a fixed shannonEntropyBase in [h_(k-1),h_k) is 2(1-(k+theta)/M), with explicit attaining laws. Sason--Verdu, arXiv:1508.00335v7, PDF p.52. -/
theorem entropy_distance_locus
(b : LogBase) (n : ℕ) (hn : 1 < n) :
(∀ d : ℝ, 0 < d → d ≤ 2 * (1 - 1 / (n : ℝ)) →
∃ m : ℕ, 1 ≤ m ∧ m ≤ n - ⌈d * n / 2⌉₊ ∧
(∀ j : ℕ, 1 ≤ j → j ≤ n - ⌈d * n / 2⌉₊ →
binaryKL b ((m : ℝ) / n + d / 2) ((m : ℝ) / n) ≤
binaryKL b ((j : ℝ) / n + d / 2) ((j : ℝ) / n)) ∧
FiniteProbabilityLaw (entropyMaxLaw n m d) ∧ finiteTV (entropyMaxLaw n m d) (uniformLaw n) = d ∧
shannonEntropyBase b (entropyMaxLaw n m d) = logB b n - binaryKL b ((m : ℝ) / n + d / 2) ((m : ℝ) / n) ∧
(∀ p : Fin n → ℝ, FiniteProbabilityLaw p → finiteTV p (uniformLaw n) = d →
shannonEntropyBase b p ≤ shannonEntropyBase b (entropyMaxLaw n m d))) ∧
(∀ (k : ℕ) (H : ℝ), 1 ≤ k → k ≤ n - 1 →
uniformEntropyThreshold b n (k - 1) ≤ H → H < uniformEntropyThreshold b n k →
∃ t : ℝ, 0 ≤ t ∧ t < 1 ∧ FiniteProbabilityLaw (entropyMinLaw n k t) ∧
shannonEntropyBase b (entropyMinLaw n k t) = H ∧
finiteTV (entropyMinLaw n k t) (uniformLaw n) = 2 * (1 - ((k : ℝ) + t) / n) ∧
(∀ p : Fin n → ℝ, FiniteProbabilityLaw p → shannonEntropyBase b p = H →
2 * (1 - ((k : ℝ) + t) / n) ≤ finiteTV p (uniformLaw n))) := by sorry
end QAlgorithms.Papers.Independent.Intakenext100.P28
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let and let be a natural number. For real , put , using the total real logarithm, in particular ; real division by zero is also defined to be zero. For a real vector , call a probability vector when every coordinate is nonnegative and , and define
The declaration asserts two statements. First, for every real with , there exists a natural number with such that
Here is the natural-number ceiling, and subtraction between natural numbers is truncated at zero. For this , the vector
is a probability vector, satisfies and , and satisfies for every probability vector with . Second, define and, for a natural number , define
For every natural with and every real with , there exists a real with such that the vector
is a probability vector, satisfies and , and satisfies for every probability vector with . Neither of the asserted choices and is stated to be unique; the first assertion excludes , while its upper endpoint is included, and the second assertion includes but excludes .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.