AFTD Auto-Formalizing Theoretical Domains

sampfordTotalWeight

def

The total Sampford weight of all size-k subsets of the n parties, i.e. the normalizing constant (the probability of non-rejection) of Sampford's rejective sampling law.

Statement

open Classical in
noncomputable def sampfordTotalWeight {n : ℕ} (r : Fin n → ℝ) (k : ℕ) : ℝ
Source
step towards sampford_consecutive_house_coupling_loss_delta_four
Verified
18 Nov 2026
Axioms
none listed
Built on 1
  • sampfordWeightThe Sampford (unnormalized) weight of a set S of parties for a residue vector r, matching Eq. (2) of Correa et al. (arXiv:2405.03687):…
Used by 3

Lean source view module on GitHub

open Classical in
/-- Normalizing constant of Sampford sampling: total weight of all k-subsets. -/
noncomputable def sampfordTotalWeight {n : ℕ} (r : Fin n → ℝ) (k : ℕ) : ℝ :=
  ∑ S ∈ Finset.powersetCard k Finset.univ, sampfordWeight r S
See it in the graphDiscuss this resultChallenge it