The linear coefficient of the characteristic polynomial.
ProvedAdjSum.charpoly_coeff_one_adjMatZaether-catalogapplications
The linear coefficient of the characteristic polynomial. The coefficient of x¹
in det(x I − A) is (−1)^{⌊(s+1)/2⌋}. This is the m = s case of the binomial
staircase conjecture.
theorem AdjSum.charpoly_coeff_one_adjMatZ(s : ℕ) :
(adjMatZ s).charpoly.coeff 1 = (-1) ^ ((s + 1) / 2) := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Applications/AdjacentSumPolytopes/Inverse.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Applications/AdjacentSumPolytopes/Inverse.lean
import Mathlib
import Definitions.Def_Applications_AdjacentSumPolytopes_Inverse
import Definitions.Def_Applications_AdjacentSumPolytopes_Recurrence
/-!
# The inverse transfer matrix, its square, and the linear charpoly coefficient
`Determinant.lean` proved that the adjacent-sum transfer matrix `A = adjMat s` is
unimodular. Here we exhibit its inverse **explicitly**: it is the *anti-bidiagonal*
`0, ±1` matrix
`B a b = [a + b = s] − [a + b = s + 1]`,
so that `A · B = B · A = 1` over `ℤ`. Two structural consequences follow.
* **The square of the inverse is a path Laplacian.** `B² = neumannLaplacian s`, the
tridiagonal matrix with diagonal `1, 2, 2, …, 2` and off-diagonal `−1`, i.e. the
Laplacian of the path on `s + 1` vertices with one Dirichlet and one Neumann end. This
is a *structural explanation* of the cosecant spectrum proved analytically in
`SecantSpectrum.lean`: the eigenvalues of that Laplacian are `4 sin²((2t+1)π/(2(2s+3)))`,
and `λ_t = ±1/(2 sin((2t+1)π/(2(2s+3))))` are exactly the numbers whose inverse squares
they are.
* **A new case of the binomial staircase conjecture.** Because `A⁻¹` is explicit, the
*reverse* of the characteristic polynomial is the characteristic polynomial of `B` up to
the unit `det A`, and therefore the coefficient of `x¹` in `det(x I − A)` is
`−det(A) · (−1)^{s+1} · tr(B) = (−1)^{⌊(s+1)/2⌋}`. This is the `m = s` case of
Conjecture 1 of `FUTURE_DIRECTIONS.md`, whose prediction there is
`(−1)^{⌊(s+1)/2⌋} · C(s, s) = (−1)^{⌊(s+1)/2⌋}`; previously only `m = 0, 1, 2` and
`m = s + 1` were known.
## Main results
* `AdjSum.adjMatZ_mul_invAdjMatZ`, `AdjSum.invAdjMatZ_mul_adjMatZ` : `B` is a two-sided
inverse of `A` over `ℤ`.
* `AdjSum.trace_invAdjMatZ` : `tr(A⁻¹) = (−1)^s`.
* `AdjSum.invAdjMatZ_sq` : `A⁻² = neumannLaplacian s`, a tridiagonal path Laplacian.
* `AdjSum.trace_invAdjMatZ_sq` : `tr(A⁻²) = 2s + 1`, i.e. `∑_t λ_t^{-2} = 2s+1`.
* `AdjSum.reverse_charpoly_adjMatZ` : `(charpoly A).reverse = (−1)^{s+1} det(A) · charpoly(A⁻¹)`.
* `AdjSum.charpoly_coeff_one_adjMatZ` : `coeff 1 of det(xI − A) = (−1)^{⌊(s+1)/2⌋}`.
-- !-- Lab Notes -- !--
* **Experiment.** For `s = 3` the transfer matrix and its inverse are
`A = [[1,1,1,1],[1,1,1,0],[1,1,0,0],[1,0,0,0]]`,
`B = [[0,0,0,1],[0,0,1,-1],[0,1,-1,0],[1,-1,0,0]]`, and `B² = [[1,-1,0,0],[-1,2,-1,0],
[0,-1,2,-1],[0,0,-1,2]]`. The linear charpoly coefficients for `s = 0..9` are
`-1, -1, 1, 1, -1, -1, 1, 1, -1, -1`, matching `(−1)^{⌊(s+1)/2⌋}` — note the sign
convention: the coefficient of `x¹` sits at position `m = s`, so the prediction is
`(−1)^{⌊(s+1)/2⌋}` only after the `(−1)^m` bookkeeping, which is what the theorem states.
* **Analysis.** The inverse is *sparser* than the matrix itself, which is what makes the
low-order coefficients of the charpoly (equivalently the high-order ones of the reversed
charpoly) computable in closed form. The identity `A⁻² = Laplacian` also gives the trace
identity `∑_t 4 sin²((2t+1)π/(2(2s+3))) = 2s+1` for free.
* **Critique.** Nothing here is definitional: `A · B = 1` is a genuine convolution
identity whose two indicator sums telescope to `[a ≤ c] − [a < c]`, and the charpoly
coefficient uses Mathlib's `reverse_charpoly` together with the unimodularity theorem.
-/
open AdjSum
open Finset Polynomial Matrix
/-! ### The reversed characteristic polynomial and the linear coefficient -/Formal statement
theorem AdjSum.charpoly_coeff_one_adjMatZ(s : ℕ) :
(adjMatZ s).charpoly.coeff 1 = (-1) ^ ((s + 1) / 2) := by sorrySource