The centre of a normal 3x3 magic square is 5
ProvedMagicSquares.normal_order_three_center_fivecombinatoricsmagic-squares
The centre cell of every normal magic square is .
In any magic square of line sum the centre entry is (MacMahon): adding the middle row, the middle column and the two diagonals counts the centre four times and every other cell once, giving while . For a normal square , so .
Formalization Note This is an immediate consequence of the two children
MagicSquares.normal_order_three_constant () and
MagicSquares.center_of_order_three (); the natural-number
arithmetic is discharged by omega.
Preamble
import Mathlib import Definitions.Def_MagicSquares open MagicSquares
Formal statement
namespace MagicSquares
theorem normal_order_three_center_five (M : Square 3 ℕ) (s : ℕ)
(hN : IsNormal M) (hM : IsMagic M s) :
M 1 1 = 5 := by sorry
end MagicSquaresSource
MacMahon (1915) for the centre identity; normality fixes .