Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Polarization of the 2×22\times22×2 determinant: det⁡(X+Y)=det⁡X+det⁡Y+tr⁡Xtr⁡Y−tr⁡(XY)\det(X+Y)=\det X+\det Y+\operatorname{tr}X\operatorname{tr}Y-\operatorname{tr}(XY)det(X+Y)=detX+detY+trXtrY−tr(XY)

Proved
Diaz.det_add_two

by carlok · Sep 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

diaz-modulus-leannumber-theory

The polarization identity for the 2×22 \times 22×2 determinant.

For X,YX, YX,Y two 2×22 \times 22×2 matrices over a commutative ring,

det⁡(X+Y)=det⁡X+det⁡Y+tr⁡Xtr⁡Y−tr⁡(XY).\det(X+Y) = \det X + \det Y + \operatorname{tr} X \operatorname{tr} Y - \operatorname{tr}(XY).det(X+Y)=detX+detY+trXtrY−tr(XY).

Why. Expand both sides on the four entries of each matrix.

Role. In Carlo Perassi's proof that the 2×22\times22×2 obstruction is unique, this identity is what turns the determinant of the three-term pencil x0A+x1B+x2Cx_0 A + x_1 B + x_2 Cx0​A+x1​B+x2​C into an explicit ternary quadratic form, whose coefficients can then be matched against c Qρ=c(x1x2−ρx02)c\,\mathcal{Q}_\rho = c(x_1x_2 - \rho x_0^2)cQρ​=c(x1​x2​−ρx02​). That comparison is the mechanism of his uniqueness theorem: it forces tr⁡B=tr⁡C=det⁡B=det⁡C=0\operatorname{tr} B = \operatorname{tr} C = \det B = \det C = 0trB=trC=detB=detC=0 and tr⁡(BC)=1/ρ\operatorname{tr}(BC) = 1/\rhotr(BC)=1/ρ, from which the candidate matrix HuH_uHu​ is recovered up to algebraic equivalence.

Source: Carlo Perassi, the displayed identity inside his proof that the 2×22\times22×2 obstruction is unique; the proof is unpublished, and the form c Qρc\,\mathcal{Q}_\rhocQρ​ 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.

Preamble
import Mathlib

open ComplexConjugate
Formal statement
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

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me