Proof methods for structured corecursive programs
Jeremy Gibbons, Graham Hutton · Nottingham ePrints (University of Nottingham) · 1999
Corecursive programs produce values of greatest fixpoint types, in contrast to recursive programs, which consume values of least fixpoint types. There are a number of widely used methods for proving properties of corecursive programs, including fixpoint induction, the take lemma, and coinduction. However, these methods are all rather low-level, in that they do not exploit the common structure that is often present in corecursive definitions. We argue for a more structured approach to proving properties of corecursive programs. In particular, we show that by writing corecursive programs using a simple operator that encapsulates a common pattern of corecursive definition, we can then use high-level algebraic properties of this operator to conduct proofs in a purely calculational style that avoids the use of inductive or coinductive methods. 1 INTRODUCTION Recursion is a central concept in computing, with applications ranging from the theoretical foundations of computation [22] to pract...
Cited by 15 works. Open-access PDF
Authors
References
- Communication and Concurrency
- Introduction to Lattices and Order
- Recursive Programming Techniques
- Introduction to functional programming
- Denotational Semantics: A Methodology for Language Development
- Mathematical Theory of Program Correctness
- Non-well-founded sets
- Denotational Semantics
- Functional programming with bananas, lenses, envelopes and barbed wire
- Introduction to Functional Programming using Haskell