Nonneg Matrix Powers and Positivity #
Proves that nonneg matrices have nonneg powers, and that the truncated matrix exponential of a nonneg matrix is nonneg. These are the building blocks for the Metzler matrix exponential theorem (in MetzlerExp.lean).
Main results (all PROVED) #
Matrix.Nonneg.pow— M ≥ 0 ⟹ M^k ≥ 0Matrix.Nonneg.sum— sum of nonneg matrices is nonnegMatrix.Nonneg.smul— c ≥ 0 and M ≥ 0 ⟹ cM ≥ 0truncated_exp_nonneg— Σ_{k≤N} (tM)^k/k! ≥ 0 for M ≥ 0, t ≥ 0markov_generator_nonneg_offdiag— M ≥ 0 ⟹ (M-I) nonneg off-diagonal
References #
- Berman and Plemmons, Nonnegative Matrices, SIAM, 1994
A matrix has nonneg off-diagonal entries (Metzler condition).
Equations
- L.NonnegOffDiag = ∀ (i j : n), i ≠ j → 0 ≤ L i j
Instances For
theorem
truncated_exp_nonneg
{n : Type u_1}
[Fintype n]
[DecidableEq n]
{M : Matrix n n ℝ}
(hM : M.Nonneg)
{t : ℝ}
(ht : 0 ≤ t)
(N : ℕ)
:
The truncated matrix exponential Σ_{k=0}^{N} (tM)^k / k! is nonneg when M is nonneg and t ≥ 0.
theorem
markov_generator_nonneg_offdiag
{m : Type u_2}
[DecidableEq m]
(M : Matrix m m ℝ)
(hM : M.Nonneg)
:
(M - 1).NonnegOffDiag
For a Markov operator M (nonneg entries), the generator L = M - I has nonneg off-diagonal entries: L_{xy} = M_{xy} ≥ 0 for x ≠ y.