8.7.3 Tensor Dummy Index Local Scope
Tensor Dummy Index Local Scope defines local index binding in tensors, ensuring clarity and avoiding unintended interactions in algebraic operations.
Tensor Dummy Index Local Scope is the property that confines the meaning of a dummy index to the single term in which its paired upper and lower occurrences appear, so that the same index letter used as a dummy index in one term carries no relationship to, and does not need to match, an identically named dummy index used in any other, separately summed term of a larger expression.
Boundaries of the Scope
Confinement to a Single Term
The local scope of a dummy index extends only across the specific product of factors in which its two paired occurrences are found; once that term ends, typically at a plus or minus sign separating it from the next term, the dummy index's influence ends with it.
Although the letter (i) is used as a dummy index in both terms of this sum, each occurrence of (i) is scoped entirely to its own term; the summation over (i) in the first term is completely independent of the summation over (i) in the second term, and the two could be renamed independently without altering the meaning of (Z).
No Cross-Term Interaction
Because of local scope, a dummy index in one term of a sum never contracts against, links with, or otherwise interacts with a same-named index in a different term; only occurrences within the same term are subject to the paired-occurrence summation rule.
Consequences of Local Scope
Safe Reuse Across Unrelated Terms
Local scope permits the same dummy index letter to be reused freely across unrelated terms or unrelated expressions without any risk of unintended interaction, since each scope is self-contained.
The two expressions for (P) and (Q) each use (k) as a locally scoped dummy index; because the two expressions are never combined within a single term, no ambiguity arises even though the letter (k) is shared.
Danger When Scopes Are Merged
Local scope becomes a hazard only when two expressions, each already containing their own dummy index of the same name, are subsequently multiplied together or otherwise combined into a single term, since the previously separate scopes then overlap and the repeated letter no longer refers unambiguously to two independent sums.
Here the naive product merges what were two independent scopes into a single term where (k) now occurs four times, violating the paired-occurrence rule; one of the two dummy indices must be renamed before the product can be written correctly.
Relationship to Renaming
The local scope of a dummy index is precisely what makes renaming a safe and meaning-preserving operation: because the index has no significance beyond its own term, substituting a fresh, unused letter for it throughout that term alone cannot alter the value of the expression, provided the new letter does not already appear elsewhere within that same term.
Practical Illustration
Recognizing local scope is essential for correctly reading multi-term tensor expressions: it explains why the reuse of a dummy letter across separate terms of a sum is entirely harmless, while the same reuse within a single merged term after combining two expressions is a notational error requiring one of the indices to be renamed first.