AFTD Auto-Formalizing Theoretical Domains

sampford_consecutive_house_coupling_loss_delta_unfold

theoremverified

Delta_n is the supremum, over all positive vote-share vectors p and all house sizes h >= 1, of the infimum over all valid couplings of the coupling loss, where validity and loss are given by the reified definitions sampfordIsCoupling and sampfordCouplingLoss.

Statement

theorem sampford_consecutive_house_coupling_loss_delta_unfold (n : ℕ) :
    sampfordConsecutiveHouseCouplingLossDelta n =
      sSup { v | ∃ (p : Fin n → ℝ) (h : ℕ),
        (∀ i, 0 < p i) ∧ ∑ i, p i = 1 ∧ 1 ≤ h ∧
        v = sInf { L | ∃ prob, sampfordIsCoupling p h prob ∧ L = sampfordCouplingLoss p h prob } }
Source
step towards sampford_consecutive_house_coupling_loss_delta_four
Verified
23 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 6
  • 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):…
  • sampfordTotalWeightThe total Sampford weight of all size-k subsets of the n parties, i.e. the normalizing constant (the probability of non-rejection) of…
  • sampfordProbSubsetThe Sampford sampling probability of a set S of parties given residues r with sum k: in the degenerate cases k = 0 and k = n it is the…
  • sampfordIsCouplingprob is a valid coupling of the Sampford apportionments at house sizes h and h+1 for the vote-share vector p: it is nonnegative and its…
  • sampfordCouplingLossThe coupling loss: the total probability, under the coupling prob, of those pairs (S,T) of seat-assignment subsets for which some party i…
  • sampfordConsecutiveHouseCouplingLossDeltaThe maximal consecutive-house coupling loss Delta_n for Sampford apportionment on n parties, defined as the supremum over all positive…
Used by 1

The proof, explained

The theorem establishes that the definition of $\Delta_n$ via local `let` bindings is identical to the formulation using standalone, modular definitions for Sampford sampling. The proof unfolds the definitions of $\Delta_n$, the coupling condition, the coupling loss, and the underlying Sampford probabilities and weights. Because the standalone definitions match the local bindings verbatim, the two sides are definitionally equal.

  1. The definition of `sampfordConsecutiveHouseCouplingLossDelta n` equals the expression written with the modular Sampford sampling definitions.

    Unfold the definition of `sampfordConsecutiveHouseCouplingLossDelta`, which expands its local `let` bindings for weights, probabilities, coupling conditions, and loss. Concurrently unfolding the top-level definitions `sampfordIsCoupling`, `sampfordCouplingLoss`, `sampfordProbSubset`, `sampfordTotalWeight`, and `sampfordWeight` shows that both sides of the equation are definitionally identical.

    lines 7–8

    uses sampfordConsecutiveHouseCouplingLossDelta, sampfordIsCoupling, sampfordCouplingLoss, sampfordProbSubset, sampfordTotalWeight, sampfordWeight

      simp only [sampfordConsecutiveHouseCouplingLossDelta, sampfordIsCoupling,
        sampfordCouplingLoss, sampfordProbSubset, sampfordTotalWeight, sampfordWeight]
sampfordConsecutiveHouseCouplingLossDelta
The maximum coupling loss $\Delta_n$ between consecutive house sizes $h$ and $h+1$ under Sampford sampling for an $n$-party system, defined using nested local `let` bindings.
sampfordIsCoupling
The condition that a joint distribution on subsets of parties constitutes a valid coupling between the Sampford marginal distributions at house sizes $h$ and $h+1$.
sampfordCouplingLoss
The expected monotonicity loss under a coupling of Sampford sampling at house sizes $h$ and $h+1$.
sampfordProbSubset
The probability of selecting a subset of size $k$ under Sampford sampling with fractional remainder vector $r$.
sampfordTotalWeight
The total unnormalized Sampford weight summed over all subsets of cardinality $k$.
sampfordWeight
The unnormalized Sampford weight assigned to a subset $S$ given fractional remainder vector $r$.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- Definitional unfolding of Delta_n in terms of the reified Sampford machinery. -/theorem sampford_consecutive_house_coupling_loss_delta_unfold (n : ℕ) :    sampfordConsecutiveHouseCouplingLossDelta n =      sSup { v | ∃ (p : Fin n → ℝ) (h : ℕ),        (∀ i, 0 < p i) ∧ ∑ i, p i = 1 ∧ 1 ≤ h ∧        v = sInf { L | ∃ prob, sampfordIsCoupling p h prob ∧ L = sampfordCouplingLoss p h prob } } := by  simp only [sampfordConsecutiveHouseCouplingLossDelta, sampfordIsCoupling,    sampfordCouplingLoss, sampfordProbSubset, sampfordTotalWeight, sampfordWeight]
See it in the graphDiscuss this resultChallenge it