apx_all_vectors
def
All seat vectors for four states with at most 8 seats each.
Statement
def apx_all_vectors : List (Fin 4 → ℕ)- Source
- step towards quota_population_monotone_incompatible_four_states_common_house (common-house-size variant left open by arXiv:2608.02759, Sec. 5; cf. arXiv:2202.11061, Sec. 3.1)
- Verified
- 06 Oct 2026
- Axioms
- none listed
- Used by 2
- apx_candidatesThe quota-compliant seat vectors of a four-state profile at house size 8.
- apx_mem_candidatesA seat vector satisfying quota at house size 8 for a positive profile is among its candidates.
Lean source view module on GitHub
/-- All seat vectors for four states with at most 8 seats each. -/ def apx_all_vectors : List (Fin 4 → ℕ) := (List.range 9).flatMap fun a => (List.range 9).flatMap fun b => (List.range 9).flatMap fun c => (List.range 9).map fun d => ![a, b, c, d]