A Decision Method for Elementary Stream Calculus
Harald Ruess
TL;DR
The paper addresses the challenge of solving quantified constraints over streams, which are inherently second-order when expressed over sequences. It introduces a doubly exponential decision procedure for the first-order equality theory of real-valued streams by modeling streams as formal Laurent series and applying quantifier elimination in real-closed fields, with definitional extensions for shift, rational, and automatic stream constructs. Key contributions include a rigorous real-closedness and IVP framework for streams, a principled decision procedure, and a set of definitional encodings that enable reasoning about stream circuits, heads/tails, and bisimulations within a decidable theory. The work lays a foundation for automated analysis of elementary stream calculus and has potential implications for verifiable design of stream-based systems and controllers, though practical efficiency remains an area for further development.
Abstract
The main result is a doubly exponential decision procedure for the first-order equality theory of streams with both arithmetic and control-oriented stream operations. This stream logic is expressive for elementary problems of stream calculus.
