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

ProbDist

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)

  48structure ProbDist (n : ℕ) where
  49  /-- Probabilities for each outcome. -/
  50  probs : Fin n → ℝ
  51  /-- All probabilities are non-negative. -/
  52  nonneg : ∀ i, probs i ≥ 0
  53  /-- Probabilities sum to 1. -/
  54  normalized : (Finset.univ.sum probs) = 1
  55
  56/-- The uniform distribution. -/

used by (25)

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

depends on (4)

Lean names referenced from this declaration's body.