Datatype-Generic Termination Proofs
- First Online:
- Cite this article as:
- Backhouse, R. & Doornbos, H. Theory Comput Syst (2008) 43: 362. doi:10.1007/s00224-007-9056-z
- 42 Downloads
Datatype-generic programs are programs that are parameterised by a datatype. We review the allegorical foundations of a methodology of designing datatype-generic programs. The notion of F-reductivity, where F parametrises a datatype, is reviewed and a number of its properties are presented. The properties are used to give concise, effective proofs of termination of a number of datatype-generic programming schemas. The paper concludes with a concise proof of the well-foundedness of a datatype-generic occurs-in relation.