pith. machine review for the scientific record. sign in
structure definition def or abbrev

ProbabilityDistribution

show as:
view Lean formalization →

No prose has been written for this declaration yet. The Lean source and graph data below render without it.

generate prose now

formal statement (Lean)

 120structure ProbabilityDistribution (Ω : Type*) [Fintype Ω] where
 121  p : Ω → ℝ
 122  nonneg : ∀ ω, 0 ≤ p ω
 123  sum_one : ∑ ω, p ω = 1
 124
 125/-! ## Entropy and Free Energy -/
 126
 127/-- Recognition Entropy S_R for a probability distribution p.
 128    S_R(p) = -∑_ω p(ω) ln(p(ω))
 129    Convention: 0 * ln(0) = 0 (handled via lim). -/

used by (31)

From the project-wide theorem graph. These declarations reference this one in their body.

… and 1 more

depends on (8)

Lean names referenced from this declaration's body.