arrangement3_u3
def
The main diagonal sum $U_3(S) = \sum_{i=0}^2 ((S(i, i) : \mathbb{Z}) + 1)$ of an arrangement $S : \mathrm{Fin}\,3 \times \mathrm{Fin}\,3 \simeq \mathrm{Fin}\,9$.
Statement
def arrangement3_u3 (S : Fin 3 × Fin 3 ≃ Fin 9) : ℤ- Defined in
- arXiv:2610.38386, Section 5.1
- Verified
- 01 Nov 2026
- Axioms
- none listed
Read back from the Lean
Given an equivalence (bijection) S between Fin 3 × Fin 3 and Fin 9, arrangement3_u3 S is defined as the sum over all i : Fin 3 of (S(i, i).val + 1 : ℤ) (that is, the sum of one plus the numerical value of S applied to the diagonal pair (i, i), evaluated in the integers).
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 main diagonal sum U3 of an order-3 arrangement. -/ def arrangement3_u3 (S : Fin 3 × Fin 3 ≃ Fin 9) : ℤ := ∑ i : Fin 3, ((S (i, i)).val + 1 : ℤ)