AFTD Auto-Formalizing Theoretical Domains

six_circle_view

def

The local view (x, i, L, R) of the sage sitting at seat i in a circular seating π of six labeled seats consists of the sage's identity x = π i, the seat index i, the counterclockwise neighbor L = π (i - 1), and the clockwise neighbor R = π (i + 1).

Statement

def six_circle_view (π : Equiv.Perm (Fin 6)) (i : Fin 6) : Fin 6 × Fin 6 × Fin 6 × Fin 6
Defined in
arXiv:2610.33032, Section 2 and Section 7
Verified
27 Oct 2026
Axioms
none listed
Used by 1

Read back from the Lean

Given a permutation π of Fin 6 and an index i : Fin 6, six_circle_view π i is defined as the 4-tuple (π i, i, π (i - 1), π (i + 1)) in Fin 6 × Fin 6 × Fin 6 × Fin 6, where i - 1 and i + 1 are computed using arithmetic in Fin 6 (integers modulo 6).

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

/-- Local view (x, i, L, R) of the sage at seat i in a circular seating π with 6 labeled seats. -/
def six_circle_view (π : Equiv.Perm (Fin 6)) (i : Fin 6) : Fin 6 × Fin 6 × Fin 6 × Fin 6 := (π i, i, π (i - 1), π (i + 1))
See it in the graphDiscuss this resultChallenge it