The tree sampler has multinomial loads
ProvedPlinko.sampler_multinomialcryptographyprivate-information-retrieval
Let , let be a nonempty finite set and let be an exact binomial sampler for , . If is a uniformly random function from tree nodes to , then for every vector ,
that is, the load vector of the tree sampler with ideal randomness has exactly the multinomial distribution .
Preamble
import Definitions.Def_Plinko
Formal statement
namespace Plinko
/-- With an ideal random function and an exact binomial sampler, the load vector
`(|S⁻¹(κ, 0)|, …, |S⁻¹(κ, m-1)|)` of the tree sampler has exactly the multinomial distribution
`MN(n, m)`, i.e. the law of the load vector of a uniformly random `f : [n] → [m]`. -/
theorem sampler_multinomial {n m : ℕ} [NeZero m] {R : Type*} [Fintype R] [Nonempty R]
(binom : ℕ → ℕ → ℕ → R → ℕ) (hb : ExactBinomial R binom n m) (l : Fin m → ℕ) :
prob (fun F : NodeIdx n m → R =>
(fun y : Fin m => (sampleInv (idealSplits binom F) y : Finset (Fin n)).card) = l) =
prob (fun f : Fin n → Fin m => loads f = l) := by
sorry
end Plinko