Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2, pp. 16, 42 — random types, conditional score law and honest-committee success

Definition
CommitteeVoting_ExpConv_Supplement_RandomTypes

by mikedeng1 · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

approval-votingcommittee-electionp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1probability

There are mmm producers and nnn voters. Let p∈[0,1]p\in[0,1]p∈[0,1], and let fhf^hfh and fmf^mfm be probability mass functions on {0,…,n}\{0,\ldots,n\}{0,…,n}, the vote counts of honest and dishonest producers. Types are independent, each producer honest with probability ppp. Given the honest set AAA, the vote counts sjs_jsj​ are independent, with law fhf^hfh for j∈Aj\in Aj∈A and fmf^mfm otherwise. The joint mass is

w(A,s)=p∣A∣(1−p)m−∣A∣∏j∈Afh(sj)∏j∉Afm(sj).w(A,s)=p^{|A|}(1-p)^{m-|A|}\prod_{j\in A}f^h(s_j)\prod_{j\notin A}f^m(s_j).w(A,s)=p∣A∣(1−p)m−∣A∣j∈A∏​fh(sj​)j∈/A∏​fm(sj​).

For a committee size k≤mk\le mk≤m, the success probability is

S(m,k,p,fh,fm)=∑A⊆{1,…,m}∑s∈{0,…,n}mw(A,s) 1 ⁣[every admissible T has ∣T∩A∣≥⌈(1−p)k⌉].S(m,k,p,f^h,f^m)=\sum_{A\subseteq\{1,\ldots,m\}}\sum_{s\in\{0,\ldots,n\}^m}w(A,s)\,\mathbf1\!\left[\text{every admissible }T\text{ has }|T\cap A|\ge\lceil(1-p)k\rceil\right].S(m,k,p,fh,fm)=A⊆{1,…,m}∑​s∈{0,…,n}m∑​w(A,s)1[every admissible T has ∣T∩A∣≥⌈(1−p)k⌉].

Here TTT is admissible precisely when it has kkk 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 jjj is Lean index j−1j-1j−1. 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.

Definition code
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
Source
Benhaim, Falk, Tsoukalas, Scaling Blockchains: Can Committee-based Consensus Help?, arXiv:2110.08673v2, pp. 14, 16, 42–43, Remark 1; Theorem 2 and its proof; Definition 3, pp. 10–11

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me