AFTD Auto-Formalizing Theoretical Domains

is_tef1

def

An 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 every round t : Fin m and all distinct agents i j : Fin n with i ≠ j, the additive valuation of agent i's prefix bundle chore_prefix_bundle π t i under d i is at most that of agent j's prefix bundle chore_prefix_bundle π t j, or there exists some chore c ∈ chore_prefix_bundle π t i such that subtracting d i c from the additive valuation of i's prefix bundle makes it at most the additive valuation of j's prefix bundle.

Statement

def is_tef1 (n m : ℕ) (d : Fin n → Fin m → ℝ) (π : Fin m → Fin n) : Prop
Defined in
arXiv:2611.25892 Def. 2.1
Verified
20 Nov 2026
Axioms
none listed
Built on 2
  • chore_prefix_bundleFor 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…
  • additive_valuationThe additive valuation with item values u: a bundle is worth the sum of its items' values.
Used by 4

Read back from the Lean

Given the number of agents n, the number of items m, a disutility matrix d : Fin n → Fin m → ℝ, and an allocation function π : Fin m → Fin n, is_tef1 n m d π asserts that: For every item t : Fin m and every pair of distinct agents i, j : Fin n (with i ≠ j), at least one of the following holds: 1. Agent i's additive valuation of their chore prefix bundle up to t (the items c ≤ t assigned to i) is less than or equal to agent i's valuation of agent j's chore prefix bundle up to t (the items c ≤ t assigned to j); OR 2. There exists an item c in agent i's chore prefix bundle up to t such that agent i's additive valuation of their chore prefix bundle up to t, minus d(i, c), is less than or equal to agent i's additive valuation of agent j's chore prefix bundle up to t.

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

/-- Temporal EF1 (TEF1) for indivisible chores with additive costs. -/
def is_tef1 (n m : ℕ) (d : Fin n → Fin m → ℝ) (π : Fin m → Fin n) : Prop := ∀ (t : Fin m) (i j : Fin n), i ≠ j →
    additive_valuation (d i) (chore_prefix_bundle π t i) ≤ additive_valuation (d i) (chore_prefix_bundle π t j) ∨
    ∃ c ∈ chore_prefix_bundle π t i,
      additive_valuation (d i) (chore_prefix_bundle π t i) - d i c ≤ additive_valuation (d i) (chore_prefix_bundle π t j)
See it in the graphDiscuss this resultChallenge it