Kernel dimensions of the powers determine the block counts
ProvedHefferonLinAlg.jordanBlock_count_from_kernel_dimsLet be a square complex matrix with a Jordan form given by block sizes and eigenvalues , fix a scalar , and write . Then the number of Jordan blocks of size exactly carrying the eigenvalue satisfies
Read as , this is the classical formula recovering the block structure from the kernel dimensions of the powers of ; it is stated additively here because truncated subtraction on the naturals would silently weaken the claim. Because the right-hand side depends only on and , every Jordan form of must have the same number of blocks of each size and eigenvalue — which is exactly why the Jordan block multiset is an invariant.
import Mathlib import Definitions.Def_HefferonLinAlg_jordan open Matrix
namespace HefferonLinAlg
theorem jordanBlock_count_from_kernel_dims
{n k : ℕ} {A : Matrix (Fin n) (Fin n) ℂ} {sz : Fin k → ℕ} {lam : Fin k → ℂ}
(h : IsJordanFormOf A sz lam) (mu : ℂ) (r : ℕ) :
(Finset.univ.filter fun i => sz i = r + 1 ∧ lam i = mu).card
+ kerDim A mu r + kerDim A mu (r + 2)
= 2 * kerDim A mu (r + 1) := by
sorry
end HefferonLinAlgRead-back
What the Lean code literally says, in plain math · claude-opus-5
Read-back: HefferonLinAlg.jordanBlock_count_from_kernel_dims
What the statement asserts
Fix two natural numbers and (both implicit, both allowed to be ), a square complex matrix
indexed by , a function assigning a natural number size to each of indices, and a function assigning a complex number to each of those same indices. Assume the hypothesis , spelled out below, that is a Jordan form of . Then the claim is: for every complex number and every natural number ,
where abbreviates the quantity defined below. Both and are quantified inside the statement (they are explicit arguments), so a single instance of the theorem covers all of them; , , , , are quantified outside as implicit arguments.
Unfolding every notion the statement depends on
The kernel dimension
For a matrix over a field (here ), a scalar , and a natural number ,
i.e. the -dimension (as a natural number, via Module.finrank) of the kernel of the linear map on the coordinate space given by left multiplication by the matrix power . Here is the scalar acting on the identity matrix, and the power is matrix power with the standard convention ; consequently for every .
The hypothesis : " is a Jordan form of "
This is the conjunction of two conditions.
-
Every block is nonempty: for all .
-
There exists a re-indexing bijection
(a bijection between the index set of and the disjoint union of the block index sets — its mere existence forces ), such that is similar to the matrix obtained by transporting the block-diagonal Jordan matrix along , i.e. the matrix with entries .
Here:
-
The Jordan matrix is the block-diagonal matrix, indexed by pairs with and , whose -th diagonal block is the Jordan block with eigenvalue , and whose off-diagonal blocks are zero: whenever .
-
The Jordan block is the matrix whose entry is
so the ones sit on the subdiagonal (below the diagonal), not the superdiagonal.
- Similarity of two square matrices over a commutative ring means: there exists a matrix of the same shape whose determinant is a unit (over : ) with
where is the standard total inverse operation (well-behaved here because is assumed invertible). Note the direction: the hypothesis says , i.e. is conjugated into the Jordan matrix.
Arithmetic and typing notes
- The counted quantity is the cardinality of a subset of the finite index set — a count of block indices, not of blocks weighted by size. The condition is an exact equality of natural numbers together with an exact equality of complex numbers.
- Every quantity in the displayed equation is a natural number, and the equation is an equality in : the block count, the three kernel dimensions, the two additions, and the multiplication by . No subtraction occurs anywhere in the statement, so no truncated-natural-subtraction behaviour is in play. The equation is written in the "all terms on the correct side" form
rather than as a difference.
- The indices , , are all natural numbers; the smallest instance is , which reads
since as noted above.
- ranges over all of ; nothing requires to be an eigenvalue of or to appear among the values . For such a all three kernel dimensions and the count are .
Degenerate cases silently included
- : the index set of blocks is empty, so the nonemptiness condition holds vacuously, the disjoint union is empty, and the existence of the bijection forces . Then is the empty matrix, the count is , all kernel dimensions are , and the equation reads .
- : the underlying space is the zero space, so every kernel dimension is .
- The hypothesis is not satisfiable for arbitrary combinations of the implicit data — for instance, whenever , or whenever is not similar to the indicated block-diagonal matrix, no such and exist, and the theorem says nothing about those instances.
- The conclusion is stated about kernel dimensions of itself, not of the Jordan matrix ; the link between them is carried entirely by the hypothesis .
- Nothing in the statement requires the eigenvalues to be distinct across blocks, nor the sizes to be sorted or distinct; repeated pairs are allowed and each contributes separately to the count.
Proof status
The declaration's proof body is sorry: no proof is supplied.
Confirmed by the mission captain (proposal self-audit).