Rational logarithm enclosures bound entropy
Provedmme_rational_entropy_log_boundsmatrix-multiplicationtensor-extraction
Certified atom logarithms give sharp rational entropy intervals without a normalization hypothesis. Zero atoms require no logarithm certificate. The root exponent bound remains a separate obligation.
Preamble
import Theorems.Thm_mme_entropy_dyadic_bounds open scoped BigOperators open MME.RegionRate
Formal statement
theorem mme_rational_entropy_log_bounds
{W : Type*} [Fintype W] (p : W → ℚ) (hp : ∀ w, 0 ≤ p w)
(lower upper : W → ℚ)
(hlog : ∀ w, 0 < p w →
(lower w : ℝ) ≤ Real.log (p w : ℝ) ∧
Real.log (p w : ℝ) ≤ (upper w : ℝ)) :
((-(∑ w, p w * upper w) : ℚ) : ℝ) ≤ entropy (fun w => (p w : ℝ)) ∧
entropy (fun w => (p w : ℝ)) ≤ ((-(∑ w, p w * lower w) : ℚ) : ℝ) := by sorrySource
Checked tensor restrictions and released global histogram extraction.