rowViewOfSage
def
The local view of sage x in a row seating π is the local view at the position π.symm x occupied by x.
Statement
def rowViewOfSage {S : ℕ} (hS : 2 ≤ S) (π : Equiv.Perm (Fin S)) (x : Fin S) : RowLocalView (Fin S)- Defined in
- arXiv:2610.33032:178
- Verified
- 27 Oct 2026
- Axioms
- none listed
- Built on 2
- RowLocalViewFor sages of type α, a local view in an unlabeled row consists of the sage's own identity together with an optional left neighbor and an…
- rowViewGiven a row seating of S sages represented as a permutation π with 2 ≤ S, the local view at position i is the sage π i along with their…
- Used by 4
- row_solvable_monoIf the anonymous-slip puzzle for S sages in a row with unlabeled seats is solvable with n symbols (RowProblemSolvable S n hS), then it is…
- row_protocol_solves_of_injectiveIf a protocol with announcements in α solves the row puzzle, then composing it with any injective map α → β gives a protocol with…
- sages_row_upper_bound_binomialFor every integer S ≥ 3, the anonymous-slip puzzle for S sages in a row with unlabeled seats can be solved using Nat.choose S 2 symbols.
- RowProtocolSolvesA protocol p : RowLocalView (Fin S) → α solves the anonymous-slip puzzle for S sages in a row with 2 ≤ S without seat labels if for every…
Read back from the Lean
Given a natural number $S$, a proof $hS : 2 \le S$, a permutation $\pi$ of $\text{Fin } S$, and an element $x : \text{Fin } S$, rowViewOfSage hS π x defines a RowLocalView (Fin S) by evaluating rowView hS π at the pre-image index $\pi^{-1}(x)$ (written π.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 sage `x` in row seating `π`. -/ def rowViewOfSage {S : ℕ} (hS : 2 ≤ S) (π : Equiv.Perm (Fin S)) (x : Fin S) : RowLocalView (Fin S) := rowView hS π (π.symm x)