Bordered form of a symmetric 4×4 matrix with identity lower-right block
Provedbordered_unit_blocklinear-algebramatrix
Let be a real symmetric matrix whose lower-right block is the identity, and let . Write for the block , and put
where is the upper-left block. Then
This holds because for the unimodular shear , and . It reduces a bordered form (the curvature of a level set) to data. This is the block-diagonal structure of the Hessian of a Hamiltonian , used for fiber elimination in Grisa's companion paper (Zenodo 21376299, §5).
Formalization note. The statement writes , , out in the entries of ; the hypotheses are , and .
Preamble
import Mathlib.Data.Real.Basic import Mathlib.LinearAlgebra.Matrix.Adjugate
Formal statement
/-- (a) Bordered form of a symmetric `4 × 4` matrix with identity lower-right block. -/
theorem bordered_unit_block (H : Matrix (Fin 4) (Fin 4) ℝ) (g : Fin 4 → ℝ)
(hS : H.transpose = H) (h22 : H 2 2 = 1) (h33 : H 3 3 = 1) (h23 : H 2 3 = 0) :
g ⬝ᵥ H.adjugate.mulVec g =
(g 2 ^ 2 + g 3 ^ 2) *
((H 0 0 - H 0 2 ^ 2 - H 0 3 ^ 2) * (H 1 1 - H 1 2 ^ 2 - H 1 3 ^ 2)
- (H 0 1 - H 0 2 * H 1 2 - H 0 3 * H 1 3) ^ 2) +
((H 1 1 - H 1 2 ^ 2 - H 1 3 ^ 2) * (g 0 - H 0 2 * g 2 - H 0 3 * g 3) ^ 2
- 2 * (H 0 1 - H 0 2 * H 1 2 - H 0 3 * H 1 3) *
(g 0 - H 0 2 * g 2 - H 0 3 * g 3) * (g 1 - H 1 2 * g 2 - H 1 3 * g 3)
+ (H 0 0 - H 0 2 ^ 2 - H 0 3 ^ 2) * (g 1 - H 1 2 * g 2 - H 1 3 * g 3) ^ 2) := by sorrySource
Elementary linear algebra (block shear J^T diag(L, I) J); cf. Grisa, companion paper, Zenodo 21376299 (2026), §5 (block-diagonal Hessian).