Theorem 2, pp. 16, 42 — random types, conditional score law and honest-committee success
DefinitionCommitteeVoting_ExpConv_Supplement_RandomTypesThere are producers and voters. Let , and let and be probability mass functions on , the vote counts of honest and dishonest producers. Types are independent, each producer honest with probability . Given the honest set , the vote counts are independent, with law for and otherwise. The joint mass is
For a committee size , the success probability is
Here is admissible precisely when it has members and no outsider scores above a member. This reuses the published event of Definition 3, including adversarial ties and zero-score filling, without defining success through the formula it is meant to equal.
Formalization Note Generic distributions use Mathlib's PMF, with carrier Fin (n+1); their finite masses cannot be infinite. Candidates are indexed by Fin m, so paper index is Lean index . The one pair of type-specific laws implements Remark 1. Independence is encoded by the joint product law rather than additional hypotheses. No Gaussian signal model or Poisson-binomial specialization is imposed.
import Mathlib
import Definitions.Def_CommitteeVoting_ExpConv_Committee
namespace CommitteeVoting.ExpConv.Supplement
/-- Theorem 2's type-conditional score law. A generic discrete distribution is Mathlib's
`PMF`; `Fin (n+1)` gives precisely scores 0,...,n. Types are iid Bernoulli(p),
and conditional on the honest set all score coordinates are independent. -/
noncomputable def jointWeight {m n : ℕ} (p : ℝ)
(fh fm : PMF (Fin (n + 1))) (Hon : Finset (Fin m))
(s : Fin m → Fin (n + 1)) : ℝ :=
p ^ Hon.card * (1 - p) ^ (m - Hon.card) *
∏ j : Fin m, if j ∈ Hon then (fh (s j)).toReal else (fm (s j)).toReal
/-- Success is the published adversarial event, averaged over every type and score vector.
The success event is defined independently of the formula in (12). -/
noncomputable def successProbability {m n : ℕ} (k : ℕ) (p : ℝ)
(fh fm : PMF (Fin (n + 1))) : ℝ := by
classical
exact ∑ Hon : Finset (Fin m), ∑ s : Fin m → Fin (n + 1),
if CommitteeVoting.ExpConv.IsHonestOutcome k p Hon (fun j => (s j : ℕ))
then jointWeight p fh fm Hon s else 0
end CommitteeVoting.ExpConv.Supplement