Entropy lies between zero and the logarithm of the order

Lax263307.EntropyBounds · concepts/Lax263307/EntropyBounds.lean · lax-263307

proven

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Natural Language Statement

    Lemma

    For every probability vector on nn vertices,

    0≤H(π)≤log⁡2n.0\le H(\pi)\le\log_2 n.

    The upper bound follows from concavity of −xlog⁡x-x\log x, with equality at the uniform distribution.

    Concept map
    2 concepts
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on ADescendants are omitted for concepts with more than 10 descendants.
    Evidence

    Each proof establishes this claim relative to its assumptions.

    Lean source view on GitHub

    1import Lax263307.Entropy
    2
    3/-!
    4---
    5title: Entropy lies between zero and the logarithm of the order
    6type: lemma
    7---
    8For every probability vector on nn vertices,
    90≤H(π)≤log⁡2n.0\le H(\pi)\le\log_2 n.
    10
    11The upper bound follows from concavity
    12of −xlog⁡x-x\log x, with equality at the uniform distribution.
    13-/
    14
    15namespace Lax263307.EntropyBounds
    16
    17open Entropy
    18
    19/-- The entropy bounds used to limit successive conditioning steps. -/
    20axiom entropy_bounds {n : ℕ} (π : Fin n → ℝ) (probability : IsProbability π) :
    21 0 ≤ entropy π ∧ entropy π ≤ Real.logb 2 n
    22
    23end Lax263307.EntropyBounds
    24
    Show Proof

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…