Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The rank-one matrix H(u,r)=(urruˉ)H(u,r) = \begin{pmatrix} u & r \\ r & \bar u\end{pmatrix}H(u,r)=(ur​ruˉ​)

Definition
Diaz_Rigidity

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

diaz-modulus-leannumber-theory

For complex numbers uuu and rrr, define the 2×22 \times 22×2 complex matrix

H(u,r)=(urruˉ),H(u,r) = \begin{pmatrix} u & r \\ r & \bar u \end{pmatrix},H(u,r)=(ur​ruˉ​),

where uˉ\bar uuˉ is the complex conjugate of uuu.

The intended input is a hypothetical counterexample uuu to Diaz's modulus conjecture together with r=ρr = \sqrt{\rho}r=ρ​, where ρ=uuˉ=∣u∣2\rho = u\bar u = |u|^{2}ρ=uuˉ=∣u∣2. In that case det⁡H=uuˉ−r2=0\det H = u\bar u - r^{2} = 0detH=uuˉ−r2=0, so the two rows are linearly dependent over C\mathbb{C}C yet no coefficient wTHvw^{\mathsf{T}} H vwTHv vanishes for non-zero vectors w,vw, vw,v with entries in the base field. Dependent over C\mathbb{C}C, independent over KKK — that gap is the four exponentials problem in miniature, and it places HHH exactly at the boundary of the Matrix Coefficient Conjecture.

Only the definition is given here the two properties just described are separate theorems.

Definition code
/-
# The rank-one matrix attached to a candidate

The rank-one matrix attached to a candidate: the concrete object at the
boundary of the Matrix Coefficient Conjecture.

For a candidate `u` with `ρ = u * conj u` and `r = √ρ`, the matrix

    H = ( u  r )
        ( r  ū )

has vanishing determinant — its rows are dependent over `ℂ` — and yet no
coefficient `wᵀ H v` vanishes for non-zero `w, v` over the base field.
Dependent over `ℂ`, independent over `K`. That gap is the four
exponentials problem in miniature, and it is why `H` sits exactly at the
boundary of the Matrix Coefficient Conjecture.

Note what is *not* needed: transcendence of `u`. Only `u ∉ K` is used.
-/
import Mathlib

open ComplexConjugate

namespace Diaz

variable {K : Subfield ℂ} {u r : ℂ}

/-- The matrix `H` attached to a candidate. -/
noncomputable def Hmat (u r : ℂ) : Matrix (Fin 2) (Fin 2) ℂ :=
  !![u, r; r, conj u]

/-! ## Linking the coefficient to the matrix

The statement above writes the coefficient out by hand.  This says it is
`wᵀ H v`, so that `det_Hmat` and `no_vanishing_coeff` are about the same
object. -/

/-! ## End to end

The one statement that starts from the arithmetic hypothesis rather than
from transcendence.  This is the only place where being a Diaz candidate,
rather than merely being outside the base field, is what is assumed. -/

end Diaz
Source
https://github.com/carlok/diaz-modulus-lean/blob/801802b8ac052dff50baf17ac4a7ceac3e994ca9/Diaz/Rigidity.lean#L29-L31

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