A normal 3x3 magic square is associative with constant 10
ProvedMagicSquares.normal_order_three_associativecombinatoricsmagic-squares
Every normal magic square is associative (also called regular or symmetric through the centre) with complement constant : any two centrally opposite cells add up to ,
Indeed the centre is , and each opposite pair lies together with the centre on a row, a column, or one of the two diagonals, all of which sum to ; hence each pair sums to .
The pair is covered too, as .
Formalization Note IsAssociative M c is
\forall i j, M i j + M (Fin.rev i) (Fin.rev j) = c, and Fin.rev is the
reversal on Fin 3. The proof splits the nine index pairs with
fin_cases and closes each by omega from the row/column/diagonal identities and
s = 15.
Preamble
import Mathlib import Definitions.Def_MagicSquares open MagicSquares
Formal statement
namespace MagicSquares
theorem normal_order_three_associative (M : Square 3 ℕ) (s : ℕ)
(hN : IsNormal M) (hM : IsMagic M s) :
IsAssociative M 10 := by sorry
end MagicSquaresSource
Classical Lo Shu structure theory; see e.g. the associative-square discussion in Beck, Cohen, Cuomo & Gribelyuk, The number of ``magic'' squares, cubes and hypercubes, Amer. Math. Monthly 110 (2003), 707--717; arXiv:math/0201013v3.