Affiliation:
1. University of Oxford, Oxford, United Kingdom
Abstract
Say you want to prove something about an infinite data-structure, such as a stream or an infinite tree, but you would rather not subject yourself to coinduction. The unique fixed-point principle is an easy-to-use, calculational alternative. The proof technique rests on the fact that certain recursion equations have unique solutions; if two elements of a coinductive type satisfy the same equation of this kind, then they are equal. In this paper we precisely characterize the conditions that guarantee a unique solution. Significantly, we do so not with a syntactic criterion, but with a semantic one that stems from the categorical notion of naturality. Our development is based on distributive laws and bialgebras, and draws heavily on Turi and Plotkin's pioneering work on mathematical operational semantics. Along the way, we break down the design space in two dimensions, leading to a total of nine points. Each gives rise to varying degrees of expressiveness, and we will discuss three in depth. Furthermore, our development is generic in the syntax of equations and in the behaviour they encode - we are not caged in the world of streams.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Foundational extensible corecursion: a proof assistant perspective;ACM SIGPLAN Notices;2015-12-18
2. Foundational extensible corecursion: a proof assistant perspective;Proceedings of the 20th ACM SIGPLAN International Conference on Functional Programming;2015-08-29
3. Unifying structured recursion schemes;ACM SIGPLAN Notices;2013-11-12
4. GSOS Formalized in Coq;2013 International Symposium on Theoretical Aspects of Software Engineering;2013-07