Scalar updates in linked trees #
A scalar store updates the represented node's field without changing any links or registers. The ghost tree records the same update at every occurrence of that address; no separation hypothesis is needed. Updating a non-key field preserves the entire key tree. This supplies payload and cached-metadata writes for a mutable dictionary, not AVL rebalancing.
Update one scalar field at a ghost address, retaining all addresses and links.
Scalar-field updates preserve the root pointer.
Payload or metadata writes leave the key tree unchanged.
A heap scalar write implements the corresponding ghost-tree update.
A store followed by halt takes two instructions, preserves all registers and links, and updates exactly the selected field in the represented tree. The base register may designate a node anywhere in the tree (or an unrelated record).
A scalar write outside a tree leaves that ghost tree unchanged.
Scalar-field writes preserve the complete node-address footprint.
Scalar-field updates preserve the separation of node addresses.