Step 1 of the proof of Theorem 2, p. 19 — under (14), (CS) at S makes λₖ₊₁ represent p at S (15)
ProvedProConChoice.Rational.step_1Let be a finite set with elements, a real function of an alternative and a set, and . Let be a signed weight function on the -prefixes that represents (on all with ), and let be a signed weight function on the -prefixes that refines by (14); in particular (RS) holds. Let be a set with , and write for the weight of the -prefix that lists the -th ordering of first and in position . If (CS) holds at ,
with the Möbius transform (9) of , then represents at :
where is the set of -prefixes along which is the top of .
Step 1 reduces the inductive construction of the representing weights to solving the row/column system (RS)–(CS) one set at a time.
Formalization Note Prefixes are injections Fin (k+1) ↪ X. The prefixes indexed by are those whose first entries avoid (hence are exactly , as ) and whose entry Fin.last k is . (RS) at is the instance of the refinement hypothesis (14) at the prefixes ordering , so it is not repeated. is written .
import Mathlib import Definitions.Def_ProConChoice_Rational_RandomChoice
namespace ProConChoice.Rational
/-- Step 1 of the proof of Theorem 2 (p. 19): let `1 ≤ k ≤ n - 1`, let `λₖ` represent `pₖ`, and let
`λₖ₊₁` refine `λₖ` by (14) (this contains (RS)). If `S` has `|S| = n - k` and (CS) holds at `S`
(for each `x ∈ S`, the weights of the `(k+1)`-prefixes that list `X \ S` first and then `x` sum to
`q(x, S)`), then `λₖ₊₁` represents `p` at `S` (15). -/
theorem step_1 {X : Type*} [Fintype X] [DecidableEq X]
(p : X → Finset X → ℝ) (k : ℕ) (hk : 1 ≤ k) (hkn : k < Fintype.card X)
(lam : (Fin k ↪ X) → ℝ) (lam' : (Fin (k + 1) ↪ X) → ℝ)
(hrep : Represents k lam p) (href : Refines k lam lam')
(S : Finset X) (hS : S.card + k = Fintype.card X)
(hCS : ∀ x ∈ S, ∑ π' ∈ (Finset.univ : Finset (Fin (k + 1) ↪ X)).filter
(fun π' => (∀ i : Fin k, π' (Fin.castSucc i) ∉ S) ∧ π' (Fin.last k) = x), lam' π'
= mobiusQ p x S) :
∀ x ∈ S, p x S =
∑ π' ∈ (Finset.univ : Finset (Fin (k + 1) ↪ X)).filter (fun π' => TopAlong π' S x),
lam' π' := by sorry
end ProConChoice.Rational
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.