AFTD Auto-Formalizing Theoretical Domains

cycle_power_forward_slots

def

For natural numbers n and r and a finite subset I of ZMod n, cycle_power_forward_slots n r I is the finite subset of ZMod n formed by the union over all x in I of the forward slots cycle_power_forward_slot n r x.

Statement

def cycle_power_forward_slots (n r : ℕ) (I : Finset (ZMod n)) : Finset (ZMod n)
Defined in
arXiv:2611.34620, Section 3
Verified
28 Nov 2026
Axioms
none listed
Built on 1
  • cycle_power_forward_slotFor integers n and r and a vertex x in ZMod n, the forward slot of x is the set of r+1 consecutive vertices {x, x+1, ..., x+r}.

Read back from the Lean

Given natural numbers n and r, and a finite set I of elements in ZMod n, cycle_power_forward_slots n r I is defined as the union over all x ∈ I of the sets cycle_power_forward_slot n r x.

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

/-- Union of forward slots Q_r(I) for a finite subset I of ZMod n in the r-th cycle power. -/
def cycle_power_forward_slots (n r : ℕ) (I : Finset (ZMod n)) : Finset (ZMod n) := I.biUnion (cycle_power_forward_slot n r)
See it in the graphDiscuss this resultChallenge it