New Foundations for Fixpoint Computations: FIX-Hyperdoctrines and the FIX-Logic

Abstract This paper introduces a new higher-order typed constructive predicate logic for fixpoint computations, which exploits the categorical semantics of computations introduced by Moggi (in “Proceedings, 4th Annual Symposium on Logic in Computer Science,” pp. 14–23, IEEE Comput. Soc. Press, Washington, 1989) and contains a version of Martin-Lof's “iteration type” (in “Proceedings, Workshop on Semantics in Programming Laguages,” Chalmers University, 1983) . The type system enforces a separation of computations from values. The logic contains a novel form of fixpoint induction and can express partial and total correctness statements about evaluation of computations to values. The constructive nature of the logic is witnessed by strong metalogical properties which are proved using a category-theoretic version of the “logical relations” method ( Plotkin, unpublished lecture notes from CSLI Summer School, 1985 ).

[1]  Roy L. Crole,et al.  New foundations for fixpoint computations , 1990, [1990] Proceedings. Fifth Annual IEEE Symposium on Logic in Computer Science.

[2]  Thierry Coquand,et al.  The Calculus of Constructions , 1988, Inf. Comput..

[3]  G.D. Plotkin,et al.  LCF Considered as a Programming Language , 1977, Theor. Comput. Sci..

[4]  J. Girard,et al.  Proofs and types , 1989 .

[5]  Eugenio Moggi,et al.  Notions of Computation and Monads , 1991, Inf. Comput..

[6]  Bengt Nordström,et al.  Programming in Martin-Löf's Type Theory , 1990 .

[7]  Robert A. G. Seely,et al.  Hyperdoctrines, Natural Deduction and the Beck Condition , 1983, Math. Log. Q..

[8]  Pierre-Louis Curien Categorical Combinators, Sequential Algorithms, and Functional Programming , 1993, Progress in Theoretical Computer Science.

[9]  J. Lambek,et al.  Introduction to higher order categorical logic , 1986 .

[10]  Gordon D. Plotkin,et al.  The category-theoretic solution of recursive domain equations , 1977, 18th Annual Symposium on Foundations of Computer Science (sfcs 1977).

[11]  Graham Birtwistle IV Higher Order Workshop, Banff 1990 , 1991, Workshops in Computing.

[12]  Roy L. Crole,et al.  Programming metalogics with a fixpoint type , 1991 .

[13]  P. Freyd Algebraically complete categories , 1991 .

[14]  Lawrence C. Paulson,et al.  Logic And Computation , 1987 .

[15]  Eugenio Moggi,et al.  Computational lambda-calculus and monads , 1989, [1989] Proceedings. Fourth Annual Symposium on Logic in Computer Science.

[16]  S. Maclane,et al.  Categories for the Working Mathematician , 1971 .