Polarization of the determinant:
ProvedDiaz.det_add_twoThe polarization identity for the determinant.
For two matrices over a commutative ring,
Why. Expand both sides on the four entries of each matrix.
Role. In Carlo Perassi's proof that the obstruction is unique, this identity is what turns the determinant of the three-term pencil into an explicit ternary quadratic form, whose coefficients can then be matched against . That comparison is the mechanism of his uniqueness theorem: it forces and , from which the candidate matrix is recovered up to algebraic equivalence.
Source: Carlo Perassi, the displayed identity inside his proof that the obstruction is unique; the proof is unpublished, and the form it is matched against is given by Theorem 4.2 of his companion note to https://github.com/carlok/diaz-modulus-lean (version 1.9, 25 September 2026, GitHub release note-v1.9). The identity itself is classical; no novelty is claimed for it.
import Mathlib open ComplexConjugate
theorem Diaz.det_add_two {R : Type*} [CommRing R] (X Y : Matrix (Fin 2) (Fin 2) R) :
(X + Y).det = X.det + Y.det + Matrix.trace X * Matrix.trace Y - Matrix.trace (X * Y) := by sorry