AFTD Auto-Formalizing Theoretical Domains

circleViewOfSage

def

Given an implicit natural number S, a hypothesis hS : 3 ≤ S, a permutation π : Equiv.Perm (Fin S), and a sage x : Fin S, circleViewOfSage hS π x is circleView hS π (π.symm x).

Statement

def circleViewOfSage {S : ℕ} (hS : 3 ≤ S) (π : Equiv.Perm (Fin S)) (x : Fin S) : CircleLocalView (Fin S)
Defined in
arXiv:2610.33032, Section 2
Verified
30 Oct 2026
Axioms
none listed
Built on 2
  • CircleLocalViewFor sages of type α, a local view in an unlabeled circle consists of the sage's own identity together with their left neighbor and right…
  • circleViewGiven an implicit natural number S, a hypothesis hS : 3 ≤ S, a permutation π : Equiv.Perm (Fin S), and a seat index i : Fin S, circleView…
Used by 1
  • CircleProtocolSolvesGiven a natural number S, an implicit type α, a hypothesis hS : 3 ≤ S, and a protocol p : CircleLocalView (Fin S) → α,…

Read back from the Lean

Given a natural number $S$ (implicit), a proof $hS$ that $3 \le S$, a permutation $\pi$ of $\text{Fin } S$, and an element $x \in \text{Fin } S$, circleViewOfSage defines a CircleLocalView (Fin S) by evaluating circleView hS π (π.symm 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

/-- The local view of a given sage x in a circular seating π. -/
def circleViewOfSage {S : ℕ} (hS : 3 ≤ S) (π : Equiv.Perm (Fin S)) (x : Fin S) : CircleLocalView (Fin S) := circleView hS π (π.symm x)
See it in the graphDiscuss this resultChallenge it