Reference · Matrices
rainbow.math.linear.matrix.add-shape
Equivalence laws for matrix shape and shape preservation by addition. The structural matrix/same-shape relation is symmetric and transitive. Adding same-shaped matrices preserves the complete two-level shape of both inputs. These certificates are the shape infrastructure needed to transport addition through total transpose. Native and axiom-free on D63.
matrix/same-shape-symmetric
matrix/same-shape-symmetric : (left right : List (List ℚ)) (same : matrix/same-shape left right) → matrix/same-shape right left
List = data/Listℚ = signed/SignedRational
matrix/same-shape-transitive
matrix/same-shape-transitive : (left middle right : List (List ℚ)) (left-middle : matrix/same-shape left middle) (middle-right : matrix/same-shape middle right) → matrix/same-shape left right
List = data/Listℚ = signed/SignedRational
matrix/add-preserves-shape
matrix/add-preserves-shape : (left right : List (List ℚ)) (same : matrix/same-shape left right) → proposition/conjunction (shape₁) (shape) where shape := matrix/same-shape (matrix/add left right) right where shape₁ := matrix/same-shape (matrix/add left right) left
List = data/Listℚ = signed/SignedRational