Literal occurrence positions in fixed-gadget replacement #
Every local occurrence in a source constraint's template has exactly its actual prefix offset in the existing flat-mapped replacement body. The intervals are disjoint and exhaustive; repeated source constraints, repeated names and empty templates do not change their identity. No enumeration up to a variable name or supplied certificate entry is involved.
The replacement's variable word retains every instantiated template position in order.
Instantiating the preceding templates preserves their exact occurrence-prefix length.
Local template positions shift into the actual replacement's bounded occurrence word.
The actual target getter reads the selected original template occurrence after renaming. The equation is positional, so coincident source variables and duplicate rows remain distinct.
Different source or local positions remain different literal target occurrences.
Every actual target occurrence comes from exactly one source copy and local position. In particular no auxiliary padding or unused template port creates a target occurrence.