A Sound and Complete Calculus for Finite Stream Circuits

Stream circuits are a convenient graphical way to represent streams (or stream functions) computed by finite dimensional linear systems. We present a sound and complete expression calculus that allows us to reason about the semantic equivalence of finite closed stream circuits. For our proof of the soundness and completeness we build on recent ideas of Bonsangue, Rutten and Silva. They have provided a "Kleene theorem'' and a sound and complete expression calculus for coalgebras for endofunctors of the category of sets. The key ingredient of the soundness and completeness proof is a syntactic characterization of the final locally finite coalgebra. In the present paper we extend this approach to the category of real vector spaces. We also prove that a final locally finite (dimensional) coalgebra is, equivalently, an initial iterative algebra. This makes the connection to existing work on the semantics of recursive specifications.

[1]  C. C. Elgot Monadic Computation And Iterative Algebraic Theories , 1982 .

[2]  Z. Ésik,et al.  Iteration Theories: The Equational Logic of Iterative Processes , 1993 .

[3]  Alexandra Silva,et al.  An Algebra for Kripke Polynomial Coalgebras , 2009, 2009 24th Annual IEEE Symposium on Logic In Computer Science.

[4]  Jan J. M. M. Rutten Rational Streams Coalgebraically , 2008, Log. Methods Comput. Sci..

[5]  Susanna Ginali,et al.  Regular Trees and the Free Iterative Theory , 1979, J. Comput. Syst. Sci..

[6]  Bart Jacobs,et al.  A Bialgebraic Review of Deterministic Automata, Regular Expressions and Languages , 2006, Essays Dedicated to Joseph A. Goguen.

[7]  Lawrence S. Moss,et al.  Recursion and Corecursion Have the Same Equational Logic , 2003, MFPS.

[8]  Jirí Adámek,et al.  Free iterative theories: a coalgebraic view , 2003, Mathematical Structures in Computer Science.

[9]  Jirí Adámek,et al.  Iterative algebras at work , 2006, Mathematical Structures in Computer Science.

[10]  Jirí Adámek,et al.  Semantics of Higher-Order Recursion Schemes , 2009, CALCO.

[11]  Yiannis N. Moschovakis,et al.  The Logic of Recursive Equations , 1998, J. Symb. Log..

[12]  Alexandra Silva,et al.  Coalgebraic Logic and Synthesis of Mealy Machines , 2008, FoSSaCS.

[13]  Marcello M. Bonsangue,et al.  Presenting Functors by Operations and Equations , 2006, FoSSaCS.

[14]  Peter Aczel,et al.  A Final Coalgebra Theorem , 1989, Category Theory and Computer Science.

[15]  Alexandra Silva,et al.  Deriving Syntax and Axioms for Quantitative Regular Behaviours , 2009, CONCUR.

[16]  Dexter Kozen A Completeness Theorem for Kleene Algebras and the Algebra of Regular Events , 1994, Inf. Comput..

[17]  Jan J. M. M. Rutten,et al.  Universal coalgebra: a theory of systems , 2000, Theor. Comput. Sci..

[18]  Jan J. M. M. Rutten,et al.  A coinductive calculus of streams , 2005, Mathematical Structures in Computer Science.

[19]  J. Lambek A fixpoint theorem for complete categories , 1968 .

[20]  Alexandra Silva,et al.  A Kleene Theorem for Polynomial Coalgebras , 2009, FoSSaCS.

[21]  S C Kleene,et al.  Representation of Events in Nerve Nets and Finite Automata , 1951 .