§C.4, p. 42 — Balinski–Young: f is house-monotone and quota-compliant iff each seat H + 1 goes to a state of ℒ(p, H, f(p, H)) ∩ 𝒰(p, H, f(p, H))
ProvedMonoApport.Flow.balinski_youngLet assign to every instance (populations , positive house size ) a vector , and set . For a vector with let be the least with , and
Characterization (Balinski and Young, as summarized in §C.4). is a house-monotone and quota-compliant solution if and only if, for every and every house size , there is one state
with and for every .
The characterization describes every house-monotone, quota-compliant solution as a seat-by-seat construction; the network-flow characterization (Theorem 3) is proved by matching this construction with the extreme points of (1)–(4).
Formalization Note. The convention is ext f p 0 = 0, so the case is the assignment of the first seat. and are evaluated at the real cast of . "A solution" includes the requirement (IsSolution), which on the right-hand side follows from the construction.
Differences from the source:
- encoding: a solution is an apportionment method f with |f(p, H)| = 1, mapping each instance (p, H) ∈ ℕⁿ × ℕ to a vector of ℕ₀ⁿ with Σᵢ xᵢ = H → f : Solution, one function ∀ n, (Fin n → ℕ) → ℕ → (Fin n → ℕ) defined on vectors of every length, with IsSolution f asserting Σᵢ f(p, H)ᵢ = H on every instance; reason: single-valuedness is carried by the type; values of f off the instances (n = 0, a zero population, H = 0) are never used
- encoding: house monotonicity (c): for H₁ < H₂ < H₃ and every y ∈ f(p, H₂) there exist x ∈ f(p, H₁), z ∈ f(p, H₃) with x ≤ y ≤ z → HouseMonotone f: for all house sizes 0 < H₁ < H₂ < H₃, f(p, H₁) ≤ f(p, H₂) and f(p, H₂) ≤ f(p, H₃) componentwise; reason: for a solution every outcome is a singleton, so the existential quantifiers collapse to the unique values
- encoding: f(p, 0) = 0, and for every house size H the step from f(p, H) to f(p, H + 1) → ext f p H := if H = 0 then 0 else f p H, and the step from ext f p H to ext f p (H + 1) for every H : ℕ, H = 0 included; reason: the paper's convention f(p, 0) = 0 of the same sentence; methods are defined only on positive house sizes
- encoding: ℒ(p, H, y) and 𝒰(p, H, y) for an integer vector y with Σᵢ yᵢ = H, with k* a minimum → calL and calU applied to the real cast of ext f p H, with kStar an sInf on ℕ; reason: the cast is exact; on the vectors that occur the minimum exists, so sInf is the minimum
import Mathlib import Definitions.Def_MonoApport_Flow_Setting
namespace MonoApport.Flow
/-- The Balinski–Young characterization as summarized in §C.4 (p. 42): `f` is a house-monotone
and quota-compliant solution if and only if, with `f(p, 0) = 0`, for every house size `H ≥ 0`
the seat `H + 1` goes to one state `i ∈ ℒ(p, H, f(p, H)) ∩ 𝒰(p, H, f(p, H))` and every other
state keeps its seats. -/
theorem balinski_young (f : Solution) :
(IsSolution f ∧ HouseMonotone f ∧ QuotaCompliant f) ↔
∀ (n : ℕ) (p : Fin n → ℕ), IsPop p → ∀ H : ℕ,
∃ i ∈ calL p H (fun j => (ext f p H j : ℝ)) ∩ calU p H (fun j => (ext f p H j : ℝ)),
ext f p (H + 1) = ext f p H + Pi.single i 1 := by sorry
end MonoApport.Flow
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.