Mathlib Map

Theorems · Definition · probability

PMF.ofFinset

{α : Type u_1} → (f : α → ENNReal) → (s : Finset α) → ∑ a ∈ s, f a = 1 → (∀ a ∉ s, f a = 0) → PMF α

Given a finset s and a function f : α → ℝ≥0∞ with sum 1 on s, such that f a = 0 for a ∉ s, we get a PMF.

Defined in
Mathlib.Probability.ProbabilityMassFunction.Constructions
Cited by
7 results in Mathlib
Foundations
Depth 120 from the axioms · uses propext, Classical.choice, Quot.sound

Around this declaration

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

Cites4

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

  • Finsetstatement and proof · cited by 13,712
  • ENNRealstatement and proof · cited by 9,879
  • Finset.sumstatement and proof · cited by 5,195
  • PMFstatement · cited by 127

Cited by9

Results whose statement or proof uses this declaration.