On the complexity of stream equality
- 20 January 2014
- journal article
- research article
- Published by Cambridge University Press (CUP) in Journal of Functional Programming
- Vol. 24 (2-3) , 166-217
Abstract
We study the complexity of deciding the equality of streams specified by systems of equations. There are several notions of stream models in the literature, each generating a different semantics of stream equality. We pinpoint the complexity of each of these notions in the arithmetical or analytical hierarchy. Their complexity ranges from low levels of the arithmetical hierarchy such as Π 0 2 for the most relaxed stream models, to levels of the analytical hierarchy such as Π 1 1 and up to subsuming the entire analytical hierarchy for more restrictive but natural stream models. Since all these classes properly include both the semi-decidable and co-semi-decidable classes, it follows that regardless of the stream semantics employed, there is no complete proof system or algorithm for determining equality or inequality of streams. We also discuss several related problems, such as the existence and uniqueness of stream solutions for systems of equations, as well as the equality of such solutions.Keywords
This publication has 33 references indexed in Scilit:
- Beating the Productivity Checker Using Embedded LanguagesElectronic Proceedings in Theoretical Computer Science, 2010
- Infinitary Combinatory Reduction Systems: Normalising Reduction StrategiesLogical Methods in Computer Science, 2010
- A coinductive calculus of streamsMathematical Structures in Computer Science, 2005
- Universal coalgebra: a theory of systemsTheoretical Computer Science, 2000
- Infinitary lambda calculusTheoretical Computer Science, 1997
- On the productivity of recursive list definitionsACM Transactions on Programming Languages and Systems, 1989
- Nondeterministic Ω-Computations and the Analytical HierarchyMathematical Logic Quarterly, 1989
- An overview of MirandaACM SIGPLAN Notices, 1986
- Initial Algebra Semantics and Continuous AlgebrasJournal of the ACM, 1977
- Correspondence between ALGOL 60 and Church's Lambda-notationCommunications of the ACM, 1965