The Software Specification Equivalence Principle: The Price and Limits of Behavioral Specification
Year: 2026
Type: preprint
Abstract: The Software Specification Equivalence Principle (SSEP) asks what a specification fixes about the system it describes, and what that costs. Every description — a requirement, a model, a test, or code — is read at a frame: a choice of what counts as observable, rarely written down. What it leaves undecided there is licensed variation, and someone else decides it: the implementer, the toolchain, or the running system. A specification is complete at a frame exactly when it licenses none, so that no two compliant implementations can be told apart there. Completeness has a price: in any admissible language $L$, fixed independently of the target, $$K(\Sigma_\pi) \;\geq\; K(f_\pi \mid \pi) - c_L .$$ The price leaves exactly two ways to make a description short without leaving decisions to others: see less, by a coarser frame, or share more, by a language that already carries what the description would otherwise state. A coarser frame is safe only where what it discards cannot return; in software, that closure must be built. Part I — specification in general. Completeness as indistinguishability; the price theorem and the semantic package (the split between text and interpreter is free, the total is not); when specification and code coincide; bounds as coarse frames; transfer and correspondences between frames; requirement sets and decomposition; inconsistency and unrealizability. For closed systems the core questions are decidable but intractable in the worst case. Part II — open systems. For systems with unbounded input, the price stays finite but every claim "for all inputs" changes logical kind: failures have finite witnesses, success has none. Failure-free testing yields only a statistical bound under a stated operational distribution. With the Computational Holographic Principle (CHP) and Causally Complete Interfaces (CCI), the results compose into a triple bind — choice, arbitration, partition — that binds as cost in closed systems and as logic in open ones. Practice. In software, the what is the how: a requirement and its code describe the same running behavior at different frames. The paper reads familiar pathologies of requirement-first processes as consequences rather than lapses of discipline; orders the qualities asked of requirements by how hard they are to have; separates what the two motivations for specifying first — dividing work and assuring important properties — need from what they assume; examines procurement, where supplier and integrator each hold half of what settles the open behavior; and shows why integration of an open system is an activity that lasts as long as the system runs. It closes with what is worth keeping as a system matures: purpose, correspondences, the line between deliberate and incidental behavior, and acceptance criteria — kept close to execution. Version 3.0 (October 2026) is a substantial revision. The earlier bound on the execution transcript is replaced by a bound on the behavior function; the equivalence of specification and code becomes a conditional result; the theory is reorganized into specification in general and open systems; and the engineering chapters are rewritten around the triple bind, licensed variation, and frames. Earlier versions- v2.1 (August 2026): bibliographic; adds Smith's "The Limits of Correctness" to the prior art.- v2.0 (August 2026): admissible specification languages and the language constant $c_L$; the semantic package and interpreter amortization.- v1.1 (May 2026): frame-relative reformulation.- v1.0 (April 2026): initial release. Keywords: software specification · requirements engineering · licensed variation · frame relativity · Kolmogorov complexity · observation maps · specification completeness · semantic package · refinement · verification and validation · testing · software architecture · system integration · software procurement · safety-critical software · computational holographic principle · causally complete interfaces
Author: Albrecht, Oliver
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7154149346
