Documentation

CslibFrontier.Foundations.LinearAlgebra.Matrix.NonnegMulVec

Entrywise nonnegative matrices acting on vectors #

Two bounds for an entrywise nonnegative matrix M acting by Matrix.mulVec: it maps nonnegative vectors to nonnegative vectors (Matrix.mulVec_nonneg), and when its rows sum to at most one it maps vectors bounded above by one to vectors bounded above by one (Matrix.mulVec_le_one). Substochastic transition matrices are the motivating case.

Main results #

theorem Matrix.mulVec_nonneg {R : Type u_1} {m : Type u_2} {n : Type u_3} [Fintype n] [Semiring R] [PartialOrder R] [IsOrderedRing R] {M : Matrix m n R} (hM : ∀ (i : m) (j : n), 0 ≤ M i j) {v : n → R} (hv : 0 ≤ v) :
0 ≤ M.mulVec v

An entrywise nonnegative matrix maps nonnegative vectors to nonnegative vectors.

theorem Matrix.mulVec_le_one {R : Type u_1} {m : Type u_2} {n : Type u_3} [Fintype n] [Semiring R] [PartialOrder R] [IsOrderedRing R] {M : Matrix m n R} (hM : ∀ (i : m) (j : n), 0 ≤ M i j) (hM1 : M.mulVec 1 ≤ 1) {v : n → R} (hv : v ≤ 1) :
M.mulVec v ≤ 1

An entrywise nonnegative matrix whose rows sum to at most one maps vectors with entries at most one to vectors with entries at most one.