Mathlib Map

Theorems · Definition · information theory

Real.qaryEntropy

ℕ → ℝ → ℝ

Shannon q-ary Entropy function (measured in Nats, i.e., using natural logs). It's the Shannon entropy of a random variable with possible outcomes {1, ..., q} where outcome 1 has probability 1 - p and all other outcomes are equally likely. The usual domain of definition is p ∈ [0,1], i.e., input is a probability. This is a generalization of the binary entropy function binEntropy.

Defined in
Mathlib.Analysis.SpecialFunctions.BinaryEntropy
Cited by
18 results in Mathlib
Foundations
Depth 170 from the axioms · uses propext, Classical.choice, Quot.sound

Around this declaration

Dashed lines are statement dependencies; solid lines are citations in proofs.

Cites3

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

Cited by18

Results whose statement or proof uses this declaration.