Products and contractions #
Left contractions. #
An equivalence needed to perform contraction. For specified n
and n1
this reduces to an identity.
Instances For
An equivalence needed to perform contraction. For specified n
and n1
this reduces to an identity.
Equations
Instances For
The new fst index of a contraction obtained on moving a contraction in the LHS of a product through the product.
Equations
Instances For
The new snd index of a contraction obtained on moving a contraction in the LHS of a product through the product.
Equations
- q.leftContrJ n1 = TensorTree.ContrPair.leftContrEquivSucc (Fin.castAdd n1 q.j)
Instances For
The pair of contraction indices obtained on moving a contraction in the LHS of a product through the product.
Equations
- q.leftContr = { i := q.leftContrI n1, j := q.leftContrJ n1, h := ⋯ }
Instances For
Right contractions. #
The new fst index of a contraction obtained on moving a contraction in the RHS of a product through the product.
Equations
- q.rightContrI n1 = Fin.natAdd n1 q.i
Instances For
The new snd index of a contraction obtained on moving a contraction in the RHS of a product through the product.
Equations
- q.rightContrJ n1 = Fin.natAdd n1 q.j
Instances For
The new pair of indices obtained on moving a contraction in the RHS of a product through the product.
Equations
- q.rightContr = { i := q.rightContrI n1, j := q.rightContrJ n1, h := ⋯ }
Instances For
Contraction in the LHS of a product can be moved out of that product.
Contraction in the RHS of a product can be moved out of that product.