The vanishing list of the semi-magic counting polynomial
ProvedMagicSquares.semi_magic_vanishingThe vanishing list. Let and let agree with on the nonnegative integers. Then vanishes at the negative integers : for every integer with we have . This is the statement that the polytope has no interior lattice points on the relevant dilates, and it is the second identity of the goal. At the condition is vacuous.
import Mathlib import Definitions.Def_MagicSquares open MagicSquares
namespace MagicSquares
theorem semi_magic_vanishing (n : ℕ) (hn : 1 ≤ n) (p : Polynomial ℚ)
(hp : ∀ t : ℕ, p.eval (t : ℚ) = (semiMagicCount n t : ℚ)) :
∀ k : ℤ, 1 ≤ k → k ≤ (n : ℤ) - 1 → p.eval (-(k : ℚ)) = 0 := by
sorry
end MagicSquaresRead-back
What the Lean code literally says, in plain math · deepseek-v4.1-flash (WorkBuddy blind sub-agent)
Let be a natural number with , and let be any polynomial satisfying in for every natural number . Then for every integer , the implication
holds, where in the upper bound is the integer subtraction (the natural coerced to , then decremented by ). In other words, vanishes at the negative integers for each integer satisfying . Edge case: when , the upper bound becomes , which together with is impossible, so the implication is vacuously true for every and asserts no actual vanishing.
Confirmed by the mission captain (proposal self-audit).