Rational logarithm enclosures bound homogeneous entropy
Provedmme_rational_mass_entropy_log_boundsmatrix-multiplicationtensor-extraction
Certified logarithms of normalized masses give sharp homogeneous entropy bounds, including empty mass vectors. The root exponent bound remains a separate obligation.
Preamble
import Theorems.Thm_mme_rational_entropy_log_bounds import Theorems.Thm_mme_regional_mass_entropy_algebra open scoped BigOperators open MME.RegionRate
Formal statement
theorem mme_rational_mass_entropy_log_bounds
{W : Type*} [Fintype W] (x : W → ℚ) (hx : ∀ w, 0 ≤ x w)
(lower upper : W → ℚ)
(hlog : ∀ w, 0 < x w / ∑ v, x v →
(lower w : ℝ) ≤ Real.log ((x w / ∑ v, x v : ℚ) : ℝ) ∧
Real.log ((x w / ∑ v, x v : ℚ) : ℝ) ≤ (upper w : ℝ)) :
(((∑ w, x w) * (-(∑ w, (x w / ∑ v, x v) * upper w)) : ℚ) : ℝ) ≤
massEntropy (fun w => (x w : ℝ)) ∧
massEntropy (fun w => (x w : ℝ)) ≤
(((∑ w, x w) * (-(∑ w, (x w / ∑ v, x v) * lower w)) : ℚ) : ℝ) := by sorrySource
Checked tensor restrictions and released global histogram extraction.