arrangement3_entry
def
The entry $s_{ij}$ at cell $(i, j)$ of an arrangement $S : \mathrm{Fin}\,3 \times \mathrm{Fin}\,3 \simeq \mathrm{Fin}\,9$, defined by adding $1$ to the natural number value of $S(i, j)$, yielding an integer in $\{1, \dots, 9\}$.
Statement
def arrangement3_entry (S : Fin 3 × Fin 3 ≃ Fin 9) (i j : Fin 3) : ℤ- Defined in
- arXiv:2610.38386, Section 2.1
- Verified
- 01 Nov 2026
- Axioms
- none listed
Read back from the Lean
Defines arrangement3_entry, which takes an equivalence (bijection) $S : \mathrm{Fin}\ 3 \times \mathrm{Fin}\ 3 \simeq \mathrm{Fin}\ 9$ and indices $i, j : \mathrm{Fin}\ 3$, and produces the integer $(S(i, j)).\mathrm{val} + 1$, i.e., the underlying natural number value of $S(i, j) \in \mathrm{Fin}\ 9$ plus 1, cast to $\mathbb{Z}$.
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 integer entry in {1, ..., 9} at cell (i, j) of an order-3 arrangement. -/ def arrangement3_entry (S : Fin 3 × Fin 3 ≃ Fin 9) (i j : Fin 3) : ℤ := (S (i, j)).val + 1