Correctness and successful termination of the in-place splay access #
One induction on the original mathematical tree verifies the actual recursive source program. The representation supplies all successful buffer accesses; shared subtree frames reconnect each recursive result without extra stores. No proposed running-time bound or backend capacity is needed for this proof.
The output keeps its exact inorder node sequence, hence also uniqueness and BST order, and its root is the matching or last-visited node of ordinary search. The rotation certificate refers to that same execution and is available for the separate compiler-cost and amortized proofs.
Every uniquely represented finite tree admits a successful splay access. The recursive hypotheses range over strictly smaller original subtrees, not fuel, available stack space or a proposed cost.
The ordinary source contract: a legal represented input terminates without
fault and satisfies the shared mathematical and storage postcondition.
Post.access exposes inorder/search correctness; Access.ordered, Access.nodup
and Post.keys_contents give the usual BST, identity and key-array consequences.
The same Input/Post contract is callable by source and compiler rules.
The generated declaration handles argument packing; this proof transports the
native triple without repeating the tree proof or its mathematical predicates.