RH Lean Explorer Sernau readable · Comparator passedChecked

Readable edition · 803 Lean files

Eigenvalues: traces of powers, common eigenvectors, Amitsur's theorem, Sylvester's law

Lib.General.LinearAlgebra.Eigenvalues.lean

Open interactive viewer Raw Lean source · Pinned source

Reading

Upstream documentation written by Claude

This file collects linear algebra on eigenvalues and characteristic polynomials. It expresses traces of powers and determinants such as det (1 - c N) through the roots of the characteristic polynomial.

Main definitions and results

  • New.exists_eigenvector_of_commute: common eigenvectors of endomorphisms that preserve a finite-dimensional subspace S and commute on it, over an algebraically closed field.
  • New.exists_eigenvector_of_trace_mul_eq: if twisted traces of a commuting family A' are proportional to traces of a commuting family A, a generalised eigensystem of A on which one operator has non-zero trace extends to an eigensystem of A' that is invariant under the twist.

Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.

Rest of upstream introduction

Rest of upstream introduction
  • New.amitsur_charpoly_mem_of_span (Amitsur): for an algebra map to matrices, it suffices to check on a spanning set that the coefficients of the characteristic polynomials lie in the base ring. The proof works with det (1 - t ρ(w)) modulo a power of t and factors 1 - t ρ(w) step by step.
  • New.isConj_diagonal_of_isRoot_charpoly: a complex square matrix whose characteristic polynomial vanishes at pairwise distinct numbers x_i, one for each index i, is conjugate to the diagonal matrix with entries x_i.
  • New.sylvester_law_of_inertia: Sylvester's law of inertia for sign matrices.

Relation to the literature

Known result: Amitsur's theorem that integral characteristic polynomials on a spanning set give them on the whole algebra. It is a consequence of Amitsur's formula for the characteristic polynomial of a sum of matrices. Source: S. A. Amitsur, On the characteristic polynomial of a sum of matrices, Linear and Multilinear Algebra 8 (1980), no. 3, 177-182; G. Chenevier, The p-adic analytic space of pseudocharacters of a profinite group and pseudorepresentations over arbitrary rings, LMS Lecture Note Ser. 414 (2014), (1.5).

Pinned source lines

Declarations

Import route to Main

Lib.General.LinearAlgebra.Eigenvalues → New.Congruences.FirstOrder.RibetMethod (pinned import) → New.Congruences.FirstOrder.RibetLemma (pinned import) → New.Congruences.FirstOrder.RibetElement (pinned import) → New.Congruences.FirstOrder.DenominatorBound (pinned import) → New.Congruences.FitTwistsExist (pinned import) → New.Determinant.Twist.LongForms (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)

X Reddit Email LinkedIn