Space-aware Hoare specifications — proof internals #
This module supplies structural rules, sequential composition, and the bridge
from fresh-start contracts to TM.ComputesInSpace.
Internal monotonicity of the honest auxiliary-space predicate.
Internal phase-boundary bound: the standard input/work tape transition moves every head by at most one.
Internal reachability rule: after time concrete transitions, one extra
auxiliary-space cell per transition covers every input and work head.
Internal precondition weakening for all-reachable space contracts.
Internal numerical monotonicity for all-reachable space contracts.
Internal time-to-space bridge. Determinism bounds every reachable prefix by the terminating run supplied by the Hoare triple, and tape heads grow by at most one cell per step.
Internal consequence rule for time-and-space Hoare contracts.
Internal transducer closure under sequential composition.
Internal sequential composition rule. Both phases use one shared logical input length and auxiliary-space budget; the phase boundary is covered by the second contract at its reflexive initial configuration.
Internal bridge from fresh-start time-and-space contracts to function computation in space.