Hostname: page-component-76fb5796d-45l2p Total loading time: 0 Render date: 2024-04-26T08:28:45.567Z Has data issue: false hasContentIssue false

Monotone (co)inductive types and positive fixed-point types

Published online by Cambridge University Press:  15 August 2002

Ralph Matthes*
Affiliation:
LFE für Theoretische Informatik, Institut für Informatik der Universität München, Oettingenstraße 67, 80538 München, Germany; matthes@informatik.uni-muenchen.de.
Get access

Abstract

We study five extensions of the polymorphically typed lambda-calculus (system F) by type constructs intended to model fixed-points of monotone operators. Building on work by Geuvers concerning the relation between term rewrite systems for least pre-fixed-points and greatest post-fixed-points of positive type schemes (i.e., non-nested positive inductive and coinductive types) and so-called retract types, we show that there are reduction-preserving embeddings even between systems of monotone (co)inductive types and non-inter leav ing positive fixed-point types (which are essentially those retract types). The reduction relation considered is β- and η-reduction for system FF plus either (full) primitive recursion on the inductive types or (full) primitive corecursion on the coinductive types or an extremely simple rule for the fixed-point types. Monotonicity is not confined to the syntactic restriction on type formation of having only positive occurrences of the type variable α in ρ for the inductive type µαρ or the coinductive type ναρ. Instead of that only a “monotonicity witness” which is a term of type ∀αβ.(αβ) → ρρ[α:=β] is required. This term may already use (co)recursion such that our monotone (co)inductive types may even be “interleaved” and not only nested.

Type
Research Article
Copyright
© EDP Sciences, 1999

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

Altenkirch, T., Logical relations and inductive/coinductive types, G. Gottlob, E. Grandjean and K. Seyr, Eds., Computer Science Logic, 12th International Workshop, Brno, Czech Republic, August 24-28, 1998, Proceedings, Springer Verlag, Lecture Notes in Comput. Sci. 1584 (1999) 343-354. CrossRef
Barendregt, H.P., Lambda calculi with types, S. Abramsky, D.M. Gabbay and T.S.E. Maibaum, Eds., Background: Computational Structures. Oxford University Press, Handb. Log. Comput. Sci. 2 (1993) 117-309.
H. Geuvers, Inductive and coinductive types with iteration and recursion, B. Nordström, K. Pettersson and G. Plotkin, Eds., Proceedings of the 1992 Workshop on Types for Proofs and Programs, Båstad, Sweden, June 1992, pages 193-217, 1992. Only published via ftp://ftp.cs.chalmers.se/pub/cs-reports/baastad.92/proc.dvi.Z
J.-Y. Girard, Interprétation fonctionnelle et élimination des coupures dans l'arithmétique d'ordre supérieur. Thèse de Doctorat d'État, Université de Paris VII (1972).
J.-Y. Girard, Y. Lafont and P. Taylor, Proofs and Types. Cambridge University Press, Cambridge Tracts Theoret. Comput. Sci. 7 (1989).
D. Leivant, Contracting proofs to programs, P. Odifreddi, Ed., Logic and Computer Science. Academic Press, APIC Studies in Data Processing 31 (1990) 279-327.
R. Matthes, Extensions of System F by Iteration and Primitive Recursion on Monotone Inductive Types. Doktorarbeit (PhD thesis), University of Munich (1998). Available via the homepage http://www.tcs.informatik.uni-muenchen.de/~matthes/
Matthes, R., Monotone fixed-point types and strong normalization, G. Gottlob, E. Grandjean and K. Seyr, Eds., Computer Science Logic, 12th International Workshop, Brno, Czech Republic, August 24-28, 1998, Proceedings, Springer Verlag, Lecture Notes in Comput. Sci. 1584 (1999) 298-312. CrossRef
R. Matthes and F. Joachimski, Short proofs of normalization for the simply-typed lambda-calculus, permutative conversions and Gödel's T. Arch. Math. Logic, submitted.
Reynolds, J.C., Towards a theory of type structure, B. Robinet, Ed., Programming Symposium, Springer-Verlag, Lecture Notes in Comput. Sci. 19 (1974) 408-425. CrossRef
Takahashi, M., Parallel reduction in λ-calculus. Inform. and Comput. 118 (1995) 120-127. CrossRef