✦ For everyone, free.

Practical knowledge for real and everyday life

Home

13.17.2 Tensor Contraction Sequence Intermediate Tensor

The Tensor Contraction Sequence Intermediate Tensor arises in algebraic operations, facilitating the reduction of tensor rank through systematic contraction steps.

Tensor Contraction Sequence Intermediate Tensor is the tensor object that exists at any stage strictly between the beginning and the end of a multi-step contraction sequence procedure, produced by applying some but not all of the sequence's steps, and serving as both the output of the preceding step and the input to the following step.


Definition

Within a sequence T0T1Tk, every tensor Ti with 0<i<k is an intermediate tensor of the sequence: it is neither the original input T0 nor the final residual Tk, but a fully valid tensor in its own right at the moment it exists.


Role of Intermediate Tensors

Dual Function

Each intermediate tensor Ti serves two roles simultaneously: it is the result of contracting Ti-1 according to step Ci, and it is simultaneously the tensor to which step Ci+1 will next be applied.

Type Progression

Each intermediate tensor has a determined type based on how many steps precede it. If the original tensor has type (p0,q0), then:

type(Ti) = (p0-i,q0-i)

Independent Validity

An intermediate tensor is a genuine, well-formed tensor, obeying the standard transformation law for its own type, independent of whether further contraction steps are later applied to it. Its status as merely "intermediate" reflects only its position within a particular sequence, not any structural incompleteness.


Existence and Availability

Availability Constraint

An intermediate tensor Ti only exists, and only has meaning, after all steps C1,,Ci have actually been carried out in order. It cannot be referenced or computed before its preceding steps are complete.

Discardability

Once step Ci+1 has been applied to produce Ti+1, the intermediate tensor Ti is no longer needed to continue the sequence, though it may still be retained separately if its value is of independent interest.


Diagram of Intermediate Stages

T0 T1 T2 T3=Tk intermediate intermediate

Significance in Analysis

Intermediate tensors are essential when examining or validating a contraction sequence step by step, since properties such as symmetry, type consistency, or the correctness of index bookkeeping can be checked at each intermediate stage individually, rather than only at the final residual tensor, making errors introduced by any single step localizable to that step's specific intermediate output.