AFTD Auto-Formalizing Theoretical Domains

picking_turn_set

def

The set T_i of turns at which agent i acts in a picking sequence of length m: the positions t : Fin m whose actor is i.

Statement

def picking_turn_set {n m : ℕ} (seq : List (Fin n)) (hlen : seq.length = m) (i : Fin n) : Finset (Fin m)
Source
step towards independent_rank_trajectories_sequential_draft
Verified
11 Nov 2026
Axioms
none listed

Lean source view module on GitHub

/-- The turn set of agent i: the positions t < m at which agent i acts. -/
def picking_turn_set {n m : ℕ} (seq : List (Fin n)) (hlen : seq.length = m) (i : Fin n) : Finset (Fin m) := Finset.univ.filter (fun t : Fin m => seq.get (Fin.cast hlen.symm t) = i)
See it in the graphDiscuss this resultChallenge it