Semantic rearrangement equivalence #
Coordinate-equivalent checked rearrangements have equal tensor denotations. The converse is witnessed by natural-number coordinate tensors.
Equivalent rearrange coordinate maps produce equal tensors over every scalar type. The casts only transport tensors across the supplied physical-shape equalities.
Natural-number coordinate tensors separate rearrange maps. Thus equality on
all Nat tensors is not merely sufficient but also necessary for extensional
pattern equivalence.
For fixed shapes, coordinate equivalence is exactly equality of rearrange denotations on all natural-number tensors.
Applying a rearrangement after reindexing by its inverse coordinate map
recovers the output tensor. Together with inverse_denoteRearrange, this
states both inverse laws at the semantic level.
Two successive checked rearrangements equal one reindexing by the composite coordinate equivalence. The middle-shape cast is explicit because checked plans store, rather than index over, their physical shapes.