Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Entropy-difference certificates preserve physical scale

Proved
mme_rational_scaled_weighted_entropy_difference_certificate

by Robertboy18 · Sep 23, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)

matrix-multiplicationtensor-extraction

Rational bounds for weighted parent entropies minus homogeneous compatibility entropies remain valid under any nonnegative common physical scale. The root exponent bound remains a separate obligation.

Preamble
import Theorems.Thm_mme_rational_weighted_entropy_difference_log_certificate
open scoped BigOperators
open MME.RegionRate
Formal statement
theorem mme_rational_scaled_weighted_entropy_difference_certificate
    {A W C V : Type*} [Fintype A] [Fintype W] [Fintype C] [Fintype V]
    (weight : A → ℚ) (hweight : ∀ a, 0 ≤ weight a)
    (p : A → W → ℚ) (hp : ∀ a w, 0 ≤ p a w)
    (x : C → V → ℚ) (hx : ∀ c v, 0 ≤ x c v)
    (pLower pUpper : A → W → ℚ) (xLower xUpper : C → V → ℚ)
    (hpLog : ∀ a w, 0 < p a w →
      (pLower a w : ℝ) ≤ Real.log (p a w : ℝ) ∧
        Real.log (p a w : ℝ) ≤ (pUpper a w : ℝ))
    (hxLog : ∀ c v, 0 < x c v / ∑ u, x c u →
      (xLower c v : ℝ) ≤ Real.log ((x c v / ∑ u, x c u : ℚ) : ℝ) ∧
        Real.log ((x c v / ∑ u, x c u : ℚ) : ℝ) ≤ (xUpper c v : ℝ))
    (scale : ℝ) (hscale : 0 ≤ scale) (bound : ℚ)
    (hcert : bound ≤ (∑ a, weight a * (-(∑ w, p a w * pUpper a w))) -
      ∑ c, (∑ v, x c v) * (-(∑ v, (x c v / ∑ u, x c u) * xLower c v))) :
    scale * (bound : ℝ) ≤
      (∑ a, (scale * (weight a : ℝ)) * entropy (fun w => (p a w : ℝ))) -
        ∑ c, massEntropy (fun v => scale * (x c v : ℝ)) := by sorry
Source
Checked tensor restrictions and released global histogram extraction.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me