Compatible mass functions #
Three mass functions π₁, π₂ and π₃ on ℕ are compatible at level N if they are the
marginals of a nonnegative function on the triples (a, b, c) of natural numbers with
a + b + c = N. For probability distributions, this says that there are random variables X₁, X₂
and X₃ with distributions π₁, π₂ and π₃ such that X₁ + X₂ + X₃ = N.
Main definitions #
ArithmeticTriangleRemovalInVectorSpaces.sumTriples N: the triples of natural numbers with sumN.ArithmeticTriangleRemovalInVectorSpaces.marginal N J g: the push-forward ofJalongg.ArithmeticTriangleRemovalInVectorSpaces.Compatible N π₁ π₂ π₃:π₁,π₂andπ₃are compatible at levelN.
Main statements #
ArithmeticTriangleRemovalInVectorSpaces.Compatible.addandArithmeticTriangleRemovalInVectorSpaces.Compatible.smul: compatible triples form a convex cone.ArithmeticTriangleRemovalInVectorSpaces.Compatible.comm₁₂andArithmeticTriangleRemovalInVectorSpaces.Compatible.comm₂₃: compatibility does not depend on the order of the mass functions.ArithmeticTriangleRemovalInVectorSpaces.Compatible.shift: addingdto the third variable raises the level byd.ArithmeticTriangleRemovalInVectorSpaces.compatible_layer: the triples(0, b, N - b)with weightsf b.
The triples (a, b, c) of natural numbers with a + b + c = N.
Equations
- ArithmeticTriangleRemovalInVectorSpaces.sumTriples N = {x ∈ Finset.range (N + 1) ×ˢ Finset.range (N + 1) ×ˢ Finset.range (N + 1) | match x with | (a, b, c) => a + b + c = N}
Instances For
def
ArithmeticTriangleRemovalInVectorSpaces.marginal
(N : ℕ)
(J : ℕ × ℕ × ℕ → ℝ)
(g : ℕ × ℕ × ℕ → ℕ)
(k : ℕ)
:
The push-forward of J, restricted to the triples with sum N, along g.
Equations
- ArithmeticTriangleRemovalInVectorSpaces.marginal N J g k = ∑ x ∈ ArithmeticTriangleRemovalInVectorSpaces.sumTriples N with g x = k, J x
Instances For
Three mass functions on ℕ are compatible at level N if they are the marginals of a
nonnegative function on the triples with sum N.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
ArithmeticTriangleRemovalInVectorSpaces.Compatible.add
{N : ℕ}
{π₁ π₂ π₃ π₁' π₂' π₃' : ℕ → ℝ}
(h : Compatible N π₁ π₂ π₃)
(h' : Compatible N π₁' π₂' π₃')
:
Compatible N (π₁ + π₁') (π₂ + π₂') (π₃ + π₃')
theorem
ArithmeticTriangleRemovalInVectorSpaces.Compatible.smul
{N : ℕ}
{π₁ π₂ π₃ : ℕ → ℝ}
(h : Compatible N π₁ π₂ π₃)
{r : ℝ}
(hr : 0 ≤ r)
:
Compatible N (r • π₁) (r • π₂) (r • π₃)
theorem
ArithmeticTriangleRemovalInVectorSpaces.Compatible.comm₁₂
{N : ℕ}
{π₁ π₂ π₃ : ℕ → ℝ}
(h : Compatible N π₁ π₂ π₃)
:
Compatible N π₂ π₁ π₃
theorem
ArithmeticTriangleRemovalInVectorSpaces.Compatible.comm₂₃
{N : ℕ}
{π₁ π₂ π₃ : ℕ → ℝ}
(h : Compatible N π₁ π₂ π₃)
:
Compatible N π₁ π₃ π₂
theorem
ArithmeticTriangleRemovalInVectorSpaces.Compatible.comm₁₃
{N : ℕ}
{π₁ π₂ π₃ : ℕ → ℝ}
(h : Compatible N π₁ π₂ π₃)
:
Compatible N π₃ π₂ π₁