Basic stuff about matrices #
This file provides a specific API about matrices for the purposes of our project.
Basic lemmas #
Computing the determinant of a square integer matrix and then converting it to a general field gives the same result as converting all elements to given field and computing the determinant afterwards.
Computing the determinant of a square rational matrix and then converting it to a CharZero
field gives the same result as
converting all elements to given field and computing the determinant afterwards.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Conversion between set-indexed block-like matrices and type-indexed block matrices #
Convert a block matrix to a matrix over set unions.
Equations
- A.toMatrixUnionUnion x✝ = (A ∘ Subtype.toSum) x✝ ∘ Subtype.toSum
Instances For
Convert a matrix over set unions to a block matrix.
Equations
- A.toMatrixSumSum x✝ = (A ∘ Sum.toUnion) x✝ ∘ Sum.toUnion
Instances For
Converting a block matrix to a matrix over set unions and back to a block matrix gives the original matrix, assuming that both said unions are disjoint.
Converting a matrix over set unions to a block matrix and back to a matrix over set unions gives the original matrix.
A totally unimodular block matrix stays totally unimodular after converting to a matrix over set unions.
Convert a block matrix to a matrix over set unions named as single indexing sets.
Equations
- A.toMatrixElemElem hT hS = ⋯ ▸ ⋯ ▸ A.toMatrixUnionUnion
Instances For
Direct characterization of Matrix.toMatrixElemElem
entries.
A totally unimodular block matrix stays totally unimodular after converting to a matrix over set unions named as single indexing sets.