### Abstract

Matrix interpretations are useful as measure functions in termination proving. In order to use these interpretations also for complexity analysis, the growth rate of matrix powers has to examined. Here, we formalized a central result of spectral radius theory, namely that the growth rate is polynomially bounded if and only if the spectral radius of a matrix is at most one.

To formally prove this result we first studied the growth rates of matrices in Jordan normal form, and prove the result that every complex matrix has a Jordan normal form using a constructive prove via Schur decomposition.

The whole development is based on a new abstract type for matrices, which is also executable by a suitable setup of the code generator. It completely subsumes our former AFP-entry on executable matrices, and its main advantage is its close connection to the HMA-representation which allowed us to easily adapt existing proofs on determinants.

All the results have been applied to improve CeTA, our certifier to validate termination and complexity proof certificates.

### Change history

[2016-01-07] Added Schur-decomposition, Gram-Schmidt orthogonalization, uniqueness of Jordan normal forms

[2018-04-17] Integrated lemmas from deep-learning AFP-entry of Alexander Bentkamp

### Depends On

### Used by

- Modular_arithmetic_LLL_and_HNF_algorithms
- Isabelle_Marries_Dirac
- Linear_Programming
- QHLProver
- Farkas
- Stochastic_Matrices
- Subresultants
- Deep_Learning
- Perron_Frobenius
- Groebner_Bases

### Topics

### Related Entries

### Theories

- Missing_Ring
- Missing_Permutations
- Conjugate
- Matrix
- Matrix_IArray_Impl
- Gauss_Jordan_Elimination
- Gauss_Jordan_IArray_Impl
- Column_Operations
- Determinant
- Determinant_Impl
- Show_Matrix
- Char_Poly
- Jordan_Normal_Form
- Missing_VectorSpace
- VS_Connect
- Gram_Schmidt
- Schur_Decomposition
- Jordan_Normal_Form_Existence
- Matrix_Impl
- Strassen_Algorithm
- Strassen_Algorithm_Code
- Matrix_Comparison
- Ring_Hom_Matrix
- Derivation_Bound
- Complexity_Carrier
- Show_Arctic
- Matrix_Complexity
- Matrix_Kernel
- Jordan_Normal_Form_Uniqueness
- Spectral_Radius
- DL_Missing_List
- DL_Rank
- DL_Missing_Sublist
- DL_Submatrix
- DL_Rank_Submatrix