Mathematical postconditions for the actual splay access #
AccessResult packages successful execution of the sole source declaration,
its represented output tree and the exact cell-local frame. The mathematical
rotation certificate uses the depth of ordinary search in the original tree;
it is not a separate runtime evaluator or a resource premise for termination.
The elementary cases below stop at the current root or lift its matching child. Recursive cases compose the same postcondition at smaller mathematical trees.
Successful source execution, mathematical splay certificate and actual heap frame. No word-width, capacity or time-budget premise occurs here.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A terminal access keeps both its mathematical tree and its actual heap.
The empty input terminates without reading any buffer.
A matching root needs no rotation.
A missing left child makes the current root the last visited node.
The symmetric missing-child branch also retains the current root.
A matching left child becomes the root through the actual right rotation.
The symmetric immediate-child case uses the actual left rotation.