Documentation

LeanPool.MatrixMultiplicationAllFields.LinearAlgebra.MatrixMultiplication.AuxiliarySeparation.Tensor.Scalar

Natural numbers and rank in the tensor semiring #

The natural number r is the class of the diagonal scalar tensor with r terms. Consequently, comparison with r in the restriction order is exactly the existence of a rank decomposition with r terms.

A diagonal scalar tensor has its evident decomposition into simple terms.

@[simp]

The diagonal flattening also gives the matching lower bound.

@[simp]

Natural numbers in the quotient semiring have their intended tensor meaning.

Exact rank decompositions are precisely restrictions of diagonal tensors.

The restriction order below a natural number is exactly the usual rank bound.

@[simp]

Rank takes its usual value on natural numbers in the tensor semiring.

The rank is a natural-number upper bound in the restriction order.

@[simp]

The tensor restriction order induces the usual order on natural numbers.

A natural multiple of any nonzero tensor contains any prescribed tensor by restriction.