Documentation

Mathlib.Probability.Distributions.Poisson.Basic

Poisson distributions over ℕ #

Define the Poisson measure over the natural numbers. For r : ℝ≥0, poissonMeasure r is the measure which to {n} associates exp (-r) * r ^ n / (n)!.

Main definition #

Main results #

The poisson measure with rate r : ℝ≥0 as a measure over .

Equations
Instances For

    The Poisson probability distribution with rate r.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      The Poisson probability distribution with rate r valued in the AddMonoidWithOne R.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem ProbabilityTheory.hasSum_one_poissonMeasure (r : NNReal) :
        HasSum (fun (n : ) => Real.exp (-r) * r ^ n / n.factorial) 1

        If a function is integrable with respect to poissonMeasure r, then its integral against this measure is given by its sum weighted by exp (-r) * r ^ n / n!.

        See integral_poissonMeasure for a version where the codomain is finite-dimensional and does not require the integrability hypothesis.

        theorem ProbabilityTheory.integral_poissonMeasure {E : Type u_1} [NormedAddCommGroup E] [NormedSpace E] [FiniteDimensional E] (r : NNReal) (f : E) :
        (n : ), f n poissonMeasure r = ∑' (n : ), (Real.exp (-r) * r ^ n / n.factorial) f n

        The integral of a function taking values in a finite-dimensional space against poissonMeasure r is given by its sum weighted by exp (-r) * r ^ n / n!. This version does not require integrability, as the integral exists if and only if the sum exists, and otherwise they are both defined to be zero.

        See integral_poissonMeasure' with a general codomain which assumes integrability.

        The characteristic function of the Poisson distribution with rate r is t ↦ exp(r(exp(it) - 1)).

        Convolution of Poisson measures #

        theorem ProbabilityTheory.IndepFun.hasLaw_add_poissonMeasure {Ω : Type u_2} { : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {r₁ r₂ : NNReal} {X Y : Ω} (hXY : IndepFun X Y P) (hX : HasLaw X (poissonMeasure r₁) P) (hY : HasLaw Y (poissonMeasure r₂) P) :
        HasLaw (X + Y) (poissonMeasure (r₁ + r₂)) P

        The sum of two independent Poisson random variables with rates r₁, r₂ is a Poisson random variable with rate r₁ + r₂.

        The sum of two independent Poisson random variables with rates r₁, r₂ taking values in R is a Poisson random variable with rate r₁ + r₂.

        @[deprecated ProbabilityTheory.poissonMeasure (since := "2026-03-08")]
        noncomputable def ProbabilityTheory.poissonPMFReal (r : NNReal) (n : ) :

        The pmf of the Poisson distribution depending on its rate, as a function to ℝ

        Equations
        Instances For
          @[deprecated ProbabilityTheory.hasSum_one_poissonMeasure (since := "2026-03-08")]
          theorem ProbabilityTheory.poissonPMFRealSum (r : NNReal) :
          HasSum (fun (n : ) => Real.exp (-r) * r ^ n / n.factorial) 1

          Alias of ProbabilityTheory.hasSum_one_poissonMeasure.

          @[deprecated ProbabilityTheory.poissonMeasure_real_singleton_pos (since := "2026-03-08")]
          theorem ProbabilityTheory.poissonPMFReal_pos {r : NNReal} {n : } (hr : 0 < r) :
          @[deprecated MeasureTheory.measureReal_nonneg (since := "2026-03-08")]
          @[deprecated ProbabilityTheory.poissonMeasure (since := "2026-03-08")]
          noncomputable def ProbabilityTheory.poissonPMF (r : NNReal) :

          The pmf of the Poisson distribution depending on its rate, as a PMF.

          Equations
          Instances For
            @[deprecated ProbabilityTheory.poissonMeasure (since := "2026-03-08")]
            @[deprecated Measurable.of_discrete (since := "2026-03-08")]
            @[deprecated MeasureTheory.StronglyMeasurable.of_discrete (since := "2026-03-08")]