Rational logarithms certify physically scaled entropy sums
Provedmme_rational_scaled_mass_entropy_sum_certificatematrix-multiplicationtensor-extraction
Certified logarithm intervals give a rational lower bound for sums of homogeneous entropies under any nonnegative common physical scale. Zero rows and zero atoms are allowed. The root exponent bound remains a separate obligation.
Preamble
import Theorems.Thm_mme_rational_mass_entropy_log_bounds open scoped BigOperators open MME.RegionRate
Formal statement
theorem mme_rational_scaled_mass_entropy_sum_certificate
{A W : Type*} [Fintype A] [Fintype W]
(x : A → W → ℚ) (hx : ∀ a w, 0 ≤ x a w)
(lower upper : A → W → ℚ)
(hlog : ∀ a w, 0 < x a w / ∑ v, x a v →
(lower a w : ℝ) ≤ Real.log ((x a w / ∑ v, x a v : ℚ) : ℝ) ∧
Real.log ((x a w / ∑ v, x a v : ℚ) : ℝ) ≤ (upper a w : ℝ))
(scale : ℝ) (hscale : 0 ≤ scale) (bound : ℚ)
(hcert : bound ≤ ∑ a, (∑ w, x a w) *
(-(∑ w, (x a w / ∑ v, x a v) * upper a w))) :
scale * (bound : ℝ) ≤
∑ a, massEntropy (fun w => scale * (x a w : ℝ)) := by sorrySource
Checked tensor restrictions and released global histogram extraction.