Special matrix structure can determine a diagonalization or an exact identity. These results describe the structure itself; exploiting it in a numerical program is a separate algorithmic step.
Results
Theorem (Cauchy's determinant).
For families \mathbf{x}, \mathbf{y} indexed by \{0, \dots, n - 1\} with \mathbf{x}_i + \mathbf{y}_j \ne 0 for all i, j, the Cauchy matrix \mathbf{C} has \det \mathbf{C} = \frac{\prod_{i < j} (\mathbf{x}_j - \mathbf{x}_i)(\mathbf{y}_j - \mathbf{y}_i)} {\prod_{i, j} (\mathbf{x}_i + \mathbf{y}_j)}\,. [HornJohnson2013, §0.9.12].
Lean statement and details
NLAlib.det_cauchyMatrix.{u_1} {K : Type u_1} [Field K] {n : ℕ} (x y : Fin n → K)
(h : ∀ (i j : Fin n), x i + y j ≠ 0) :
(cauchyMatrix x y).det = (∏ i, ∏ j > i, (x j - x i) * (y j - y i)) / ∏ i, ∏ j, (x i + y j)
Theorem (Fourier diagonalisation of a circulant matrix).
The circulant matrix \mathbf{C} of \mathbf{v} \in \mathbb{C}^n is \mathbf{C} = \mathbf{F} \operatorname{diag}(\hat{\mathbf{v}}) \mathbf{F}^{\mathsf{H}}, with \mathbf{F} the Fourier matrix and \hat{\mathbf{v}} = \sqrt{n}\,\mathbf{F}^{\mathsf{H}}\mathbf{v} the discrete Fourier transform of \mathbf{v}. [HornJohnson2013, §2.2.P10]; [GolubVanLoan2013, §4.8.2].
Lean statement and details
NLAlib.circulant_eq_fourierMatrix_mul_diagonal_mul_conjTranspose {n : ℕ} (v : Fin n → ℂ) :
circulant v = fourierMatrix n * diagonal (↑√↑n • (fourierMatrix n)ᴴ *ᵥ v) * (fourierMatrix n)ᴴ
For a vector \mathbf{v} of any length n over a type with zero, the circulant with entry \mathbf{v}_{i-j} modulo n admits integer-indexed diagonal parameters t_d giving entries t_{j-i}. The empty matrix is included. [HornJohnson2013, §0.9.7]. Adapted from tchen-research/NLAlib at 77514ce42a0e437d837797a063ac161f41022730.
Lean statement and details
NLAlib.exists_toeplitzMatrix_eq_circulant.{u_1} {n : ℕ} {R : Type u_1} [Zero R] (v : Fin n → R) :
∃ t, toeplitzMatrix t = circulant v
For a finite pairwise commuting Hermitian family, \sqrt{\lambda_0(\mathbf{C})} = \sqrt{\|\sum_i \mathbf{A}_i^2\|_2}. [BandeiraKuniskyNizicNikolacPesentiWang2026, discussion preceding Proposition 1.3].
Lean statement and details
NLAlib.coefficientBlockKappa_eq_sqrt_specNorm_coefficientVariance_of_pairwise_commute.{u_1, u_2,
u_3}
{𝕜 : Type u_1} [RCLike 𝕜] {ι : Type u_2} {d : Type u_3} [Fintype ι] [Fintype d]
(A : ι → Matrix d d 𝕜) (hA : ∀ (i : ι), (A i).IsHermitian)
(hcomm : Pairwise fun i j ↦ Commute (A i) (A j)) :
coefficientBlockKappa A = √(specNorm (coefficientVariance A))
For a finite graph with nonnegative weights the sum of the weighted edge resistances equals the rank of the weighted Laplacian. [SpielmanSrivastava2011, Lemma 3], allowing zero weights and disconnected graphs.
Lean statement and details
NLAlib.GraphEdgeOrientation.sum_mul_edgeResistance.{u_1, u_2} {V : Type u_1} {E : Type u_2}
{G : SimpleGraph V} (o : GraphEdgeOrientation G E) [DecidableEq V] [Fintype V] [Fintype E]
{w : E → ℝ} (hw : ∀ (e : E), 0 ≤ w e) :
∑ e, w e * o.edgeResistance w e = ↑(o.weightedLaplacian w).rank
Let \mathbf{H} be Hermitian and let \mathbf{B} have full row rank. For any basis \mathbf{Z} of its kernel, every linear term and every constraint right-hand side admit exactly one feasible minimizer if and only if \mathbf{Z}^{\mathsf{H}}\mathbf{H}\mathbf{Z} is positive definite. For a square invertible constraint matrix the feasible set is a singleton and the reduced matrix has size zero. [BenziGolubLiesen2005, §1 and §6], with the converse obtained from the homogeneous problem.
Lean statement and details
Matrix.IsHermitian.forall_existsUnique_isMinOn_quadraticObjective_iff.{u_1, u_2, u_3, u_4}
{𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2} {n : Type u_3} {r : Type u_4} [Fintype m] [Fintype n]
[Fintype r] {B : Matrix m n 𝕜} {Z : Matrix n r 𝕜} {H : Matrix n n 𝕜} (hH : H.IsHermitian)
(h : Function.Exact Z.mulVec B.mulVec) (hB : Function.Injective Bᴴ.mulVec)
(hZ : Function.Injective Z.mulVec) :
(∀ (f : n → 𝕜) (g : m → 𝕜),
∃! x, B *ᵥ x = g ∧ IsMinOn (quadraticObjective H f) {v | B *ᵥ v = g} x) ↔
(Zᴴ * H * Z).PosDef
For a nonnegatively weighted edge, its weight times its effective resistance equals the leverage score of its row of the weighted incidence matrix. [SpielmanSrivastava2011, Lemma 3], allowing disconnected graphs.
Lean statement and details
NLAlib.GraphEdgeOrientation.mul_edgeResistance_eq_leverageScore.{u_1, u_2} {V : Type u_1}
{E : Type u_2} {G : SimpleGraph V} (o : GraphEdgeOrientation G E) [DecidableEq V] [Fintype V]
[Fintype E] (w : E → ℝ) (e : E) (he : 0 ≤ w e) :
w e * o.edgeResistance w e = leverageScore (o.weightedIncidence w) e
For positive weights the rank plus the number of connected components equals the number of vertices, including isolated vertices. [SpielmanSrivastava2011, §2], extended componentwise.
General form: sizes are index types
Lean statement and details
NLAlib.GraphEdgeOrientation.rank_weightedLaplacian_add.{u_1, u_2} {V : Type u_1} {E : Type u_2}
{G : SimpleGraph V} (o : GraphEdgeOrientation G E) [DecidableEq V] [Fintype V] [Fintype E]
{w : E → ℝ} (hw : ∀ (e : E), 0 < w e) :
(o.weightedLaplacian w).rank + Nat.card G.ConnectedComponent = Fintype.card V