Matrix entries lying in an ideal #
A two-sided ideal containing every entry of a matrix contains every entry of any two-sided
product formed from it, and an ideal contains every entry of any linear combination of matrices
whose entries it contains: each such entry is an S-combination of entries of the original
matrices.
Nothing here needs invertibility, a square shape, or a diagonal target — only that the products
are conformable — so the statements are rectangular. Both hold over any Semiring; the
two-sided product statement asks the ideal to be two-sided (Ideal.IsTwoSided), which is
automatic over a commutative semiring. They are the membership computations a defining-ideal
closure proof performs when it propagates a relation through a matrix identity.
Main results #
Matrix.mul_mul_apply_mem: every entry ofP * A * Qlies in a two-sided ideal containing every entry ofA.Matrix.sum_smul_apply_mem: every entry of∑ a, c a • F alies in an ideal containing every entry of everyF a.
A two-sided ideal containing the entries of a matrix contains the entries of any two-sided
product formed from it. Each entry of P * A * Q is an S-combination of entries of A.
An ideal containing the entries of a family of matrices contains the entries of every linear combination of them.