Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

A 2×22\times22×2 matrix with vanishing trace and determinant squares to zero

Proved
Diaz.sq_eq_zero_of_trace_eq_zero

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

diaz-modulus-leannumber-theory

Cayley--Hamilton in dimension two: trace zero and determinant zero force M2=0M^2 = 0M2=0.

For a 2×22 \times 22×2 matrix MMM over a commutative ring with tr⁡M=0\operatorname{tr} M = 0trM=0 and det⁡M=0\det M = 0detM=0, one has M⋅M=0M \cdot M = 0M⋅M=0.

Why. The Cayley--Hamilton relation in size two reads M2−(tr⁡M)M+(det⁡M)I=0M^2 - (\operatorname{tr}M)M + (\det M)I = 0M2−(trM)M+(detM)I=0; under the two hypotheses it collapses to M2=0M^2 = 0M2=0. The Lean proof simply verifies the four entries directly from the two scalar hypotheses, so no Cayley--Hamilton machinery is invoked.

Role. In Carlo Perassi's proof of the uniqueness of the 2×22\times22×2 obstruction this converts the four vanishing identities produced by coefficient comparison into the square-zero conditions B2=C2=0B^2 = C^2 = 0B2=C2=0 that pin down the pencil I+Bu+CuˉI + Bu + C\bar uI+Bu+Cuˉ, and hence identify the singular matrix as PHuQP H_u QPHu​Q with P,QP,QP,Q algebraic. Together with tr⁡(BC)=1/ρ≠0\operatorname{tr}(BC) = 1/\rho \neq 0tr(BC)=1/ρ=0 it also shows B,C≠0B, C \neq 0B,C=0.

Source: Carlo Perassi, the Cayley--Hamilton step in his proof of the uniqueness of the 2×22\times22×2 obstruction, unpublished apart from this node; the nilpotent pencil it yields is stated after Theorem 4.2 (Uniqueness of the obstruction) of his companion note to https://github.com/carlok/diaz-modulus-lean (version 1.9, 25 September 2026, GitHub release note-v1.9). Classical; no novelty is claimed.

Preamble
import Mathlib

open ComplexConjugate
Formal statement
theorem Diaz.sq_eq_zero_of_trace_eq_zero {R : Type*} [CommRing R] (M : Matrix (Fin 2) (Fin 2) R)
    (htr : Matrix.trace M = 0) (hdet : M.det = 0) : M * M = 0 := 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