Uniform distributions and their mixtures #
Every decreasing mass function on [0, N] is a nonnegative combination of the uniform distributions
unif k on [0, k], k ≤ N. This file proves that unif k₁, unif k₂ and a mixture of unif y
and unif z are compatible when their means sum to N, assuming Pebody's theorem at lower levels.
This is the case analysis of Section 5 of Pebody.
Main definitions #
ArithmeticTriangleRemovalInVectorSpaces.unif k: the uniform distribution on[0, k].ArithmeticTriangleRemovalInVectorSpaces.hat N w: the combination∑ k ∈ range (N + 1), w k • unif k.
Main statements #
ArithmeticTriangleRemovalInVectorSpaces.IsDecreasingOn.eq_hat: a decreasing mass function is a nonnegative combination of uniform distributions.ArithmeticTriangleRemovalInVectorSpaces.compatible_lastcase: Corollary 5.2 of Pebody.ArithmeticTriangleRemovalInVectorSpaces.compatible_unif_mix:unif k₁,unif k₂andα • unif y + (1 - α) • unif zare compatible when their means sum toN.
The combination ∑ k ∈ range (N + 1), w k • unif k of uniform distributions.
Equations
- ArithmeticTriangleRemovalInVectorSpaces.hat N w j = ∑ k ∈ Finset.range (N + 1), w k * ArithmeticTriangleRemovalInVectorSpaces.unif k j
Instances For
theorem
ArithmeticTriangleRemovalInVectorSpaces.IsDecreasingOn.add
{N : ℕ}
{π π' : ℕ → ℝ}
(h : IsDecreasingOn N π)
(h' : IsDecreasingOn N π')
:
IsDecreasingOn N (π + π')
theorem
ArithmeticTriangleRemovalInVectorSpaces.IsDecreasingOn.smul
{N : ℕ}
{π : ℕ → ℝ}
(h : IsDecreasingOn N π)
{r : ℝ}
(hr : 0 ≤ r)
:
IsDecreasingOn N (r • π)
theorem
ArithmeticTriangleRemovalInVectorSpaces.IsDecreasingOn.eq_hat
{N : ℕ}
{π : ℕ → ℝ}
(h : IsDecreasingOn N π)
:
A decreasing mass function is a combination of uniform distributions, with the nonnegative
weights (k + 1) * (π k - π (k + 1)).
theorem
ArithmeticTriangleRemovalInVectorSpaces.compatible_unif_mix
{N : ℕ}
(ih : ∀ m < N, DecreasingCompatible m)
{k₁ k₂ y z : ℕ}
(hk₁ : k₁ ≤ N)
(hk₂ : k₂ ≤ N)
(hy : y ≤ N)
(hz : z ≤ N)
{α : ℝ}
(hα₀ : 0 ≤ α)
(hα₁ : α ≤ 1)
(hsum : ↑k₁ + ↑k₂ + α * ↑y + (1 - α) * ↑z = 2 * ↑N)
:
unif k₁, unif k₂ and α • unif y + (1 - α) • unif z are compatible at level N when their
means sum to N, given Pebody's theorem at lower levels.