chore_prefix_bundle
def
For an allocation π : Fin m → Fin n assigning m chores (identified with their arrival rounds in Fin m) to n agents in Fin n, agent i's prefix bundle at round t : Fin m is the Finset of chores c : Fin m such that c ≤ t and π c = i.
Statement
def chore_prefix_bundle {n m : ℕ} (π : Fin m → Fin n) (t : Fin m) (i : Fin n) : Finset (Fin m)- Defined in
- arXiv:2611.25892 Def. 2.1
- Verified
- 20 Nov 2026
- Axioms
- none listed
- Used by 4
- has_finite_tef1_factorAn allocation π has finite temporal EF1 factor if for every prefix round t and all distinct agents i and j, whenever agent i has strictly…
- is_tef1An allocation π : Fin m → Fin n of m chores to n agents is temporal EF1 (TEF1) with respect to additive costs d : Fin n → Fin m → ℝ if for…
- tef1_nonexistence_nine_chores_three_agentsThere exists a cost matrix d : Fin 3 → Fin 9 → ℝ with all costs nonnegative (∀ i c, 0 ≤ d i c) such that for every allocation π : Fin 9 →…
- tef1_exists_le_three_chores_three_agentsFor every natural number m ≤ 3 and every cost matrix d : Fin 3 → Fin m → ℝ with nonnegative entries (∀ i c, 0 ≤ d i c), there exists an…
Read back from the Lean
Given natural numbers n and m, a function π : Fin m → Fin n, an element t : Fin m, and an element i : Fin n, chore_prefix_bundle defines the finite set of all elements c : Fin m such that c ≤ t and π(c) = i.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- Prefix bundle of agent i at round t under allocation π. -/ def chore_prefix_bundle {n m : ℕ} (π : Fin m → Fin n) (t : Fin m) (i : Fin n) : Finset (Fin m) := Finset.univ.filter (fun c => c ≤ t ∧ π c = i)