Results 1  10
of
16
Unification and AntiUnification in the Calculus of Constructions
 In Sixth Annual IEEE Symposium on Logic in Computer Science
, 1991
"... We present algorithms for unification and antiunification in the Calculus of Constructions, where occurrences of free variables (the variables subject to instantiation) are restricted to higherorder patterns, a notion investigated for the simplytyped calculus by Miller. Most general unifiers and ..."
Abstract

Cited by 61 (15 self)
 Add to MetaCart
We present algorithms for unification and antiunification in the Calculus of Constructions, where occurrences of free variables (the variables subject to instantiation) are restricted to higherorder patterns, a notion investigated for the simplytyped calculus by Miller. Most general unifiers and least common antiinstances are shown to exist and are unique up to a simple equivalence. The unification algorithm is used for logic program execution and type and term reconstruction in the current implementation of Elf and has shown itself to be practical. The main application of the antiunification algorithm we have in mind is that of proof generalization. 1 Introduction Higherorder logic with an embedded simplytyped  calculus has been used as the basis for a number of theorem provers (for example [1, 19]) and the programming language Prolog [16]. Central to these systems is an implementation of Huet's preunification algorithm for the simplytyped calculus [12] which has shown it...
The Virtues of Etaexpansion
, 1993
"... Interpreting jconversion as an expansion rule in the simplytyped calculus maintains the confluence of reduction in a richer type structure. This use of expansions is supported by categorical models of reduction, where ficontraction, as the local counit, and jexpansion, as the local unit, are li ..."
Abstract

Cited by 36 (4 self)
 Add to MetaCart
Interpreting jconversion as an expansion rule in the simplytyped calculus maintains the confluence of reduction in a richer type structure. This use of expansions is supported by categorical models of reduction, where ficontraction, as the local counit, and jexpansion, as the local unit, are linked by local triangle laws. The latter form reduction loops, but strong normalisation (to the long fijnormal forms) can be recovered by "cutting" the loops.
A Framework for Type Inference with Subtyping
, 1998
"... This paper appeared at the International Conference on Functional Programming, Baltimore, September 1998. ..."
Abstract

Cited by 23 (0 self)
 Add to MetaCart
This paper appeared at the International Conference on Functional Programming, Baltimore, September 1998.
Higherorder Unification with Dependent Function Types
 3rd Int. Conf. Rewriting Techniques and Applications, LNCS 355
, 1989
"... Roughly fifteen years ago, Huet developed a complete semidecision algorithm for unification in the simply typed calculus ( ! ). In spite of the undecidability of this problem, his algorithm is quite usable in practice. Since then, many important applications have come about in such areas as theorem ..."
Abstract

Cited by 17 (0 self)
 Add to MetaCart
Roughly fifteen years ago, Huet developed a complete semidecision algorithm for unification in the simply typed calculus ( ! ). In spite of the undecidability of this problem, his algorithm is quite usable in practice. Since then, many important applications have come about in such areas as theorem proving, type inference, program transformation, and machine learning. Another development is the discovery that by enriching ! to include dependent function types, the resulting calculus ( \Pi ) forms the basis of a very elegant and expressive Logical Framework, encompassing the syntax, rules, and proofs for a wide class of logics. This paper presents an algorithm in the spirit of Huet's, for unification in \Pi . This algorithm gives us the best of both worlds: the automation previously possible in ! , and the greatly enriched expressive power of \Pi . It can be used to considerable advantage in many of the current applications of Huet's algorithm, and has important new applications as w...
EtaExpansions in Dependent Type Theory  The Calculus of Constructions
 Proceedings of the Third International Conference on Typed Lambda Calculus and Applications (TLCA'97
, 1997
"... . Although the use of expansionary jrewrite has become increasingly common in recent years, one area where jcontractions have until now remained the only possibility is in the more powerful type theories of the cube. This paper rectifies this situation by applying jexpansions to the Calculus of ..."
Abstract

Cited by 13 (0 self)
 Add to MetaCart
. Although the use of expansionary jrewrite has become increasingly common in recent years, one area where jcontractions have until now remained the only possibility is in the more powerful type theories of the cube. This paper rectifies this situation by applying jexpansions to the Calculus of Constructions  we discuss some of the difficulties posed by the presence of dependent types, prove that every term rewrites to a unique long fijnormal form and deduce the decidability of fijequality, typeability and type inhabitation as corollaries. 1 Introduction Extensional equality for the simply typed calculus requires jconversion, whose interpretation as a rewrite rule has traditionally been as a contraction x : T:fx ) f where x 6 2 FV(t). When combined with the usual fireduction, the resulting rewrite relation is strongly normalising and confluent, and thus reduction to normal form provides a decision procedure for the associated equational theory. However jcontractions beh...
Type Checking Meta Programs
 In Workshop on Logical Frameworks and MetaLanguages
, 1999
"... We report on preliminary experiments with inferring types for meta programs: programs that manipulate programs. For this purpose we provide a twolevel type system in a fragment of a higherorder system of dependent types. The system is formulated with automatic type inference in mind. In particular ..."
Abstract

Cited by 7 (0 self)
 Add to MetaCart
We report on preliminary experiments with inferring types for meta programs: programs that manipulate programs. For this purpose we provide a twolevel type system in a fragment of a higherorder system of dependent types. The system is formulated with automatic type inference in mind. In particular, we give a type system for dependent types and a constraint generation procedure which generates semiunification constraints from untyped terms that have a solution if and only if the terms have a type annotation in the type system. More interestingly, typability is preserved under reflection, i.e. when object level programs are reflected to the metalevel. 1 Introduction We would like to have a way to infer that the operations meta programs perform on their objects preserve typability of the objects. Here, we develop type rules and constraint solving techniques for inferring types of such programs. On the surface this may seem as an innocent exercise in extending for instance the Hindley...
On the Definition of the Etalong Normal Form in Type Systems of the Cube
 Informal Proceedings of the Workshop on Types for Proofs and Programs
, 1993
"... The smallest transitive relation ! on welltyped normal terms such that if t is a strict subterm of u then t ! u and if T is the normal form of the type of t and the term t is not a sort then T ! t is wellfounded in the type systems of the cube. Thus every term admits a jlong normal form. Introdu ..."
Abstract

Cited by 7 (0 self)
 Add to MetaCart
The smallest transitive relation ! on welltyped normal terms such that if t is a strict subterm of u then t ! u and if T is the normal form of the type of t and the term t is not a sort then T ! t is wellfounded in the type systems of the cube. Thus every term admits a jlong normal form. Introduction In this paper we prove that the smallest transitive relation ! on welltyped normal terms such that ffl if t is a strict subterm of u then t ! u, ffl if T is the normal form of the type of t and the term t is not a sort then T ! t is wellfounded in the type systems of the cube [1]. This result is proved using the notion of marked terms introduced by de Vrijer [6]. A motivation for this theorem is to define the jlong form of a normal term in these type systems. In simply typed calculus, to define the jlong form of a normal term we first define the jlong form of a variable x of type P 1 ! ::: ! P n ! P (P atomic) as the term [y 1 : P 1 ]:::[y n : P n ](x y 0 1 ::: y 0 n ) w...
Eta Expansions in System F
 LIENSDMI, Ecole Normale Superieure
, 1996
"... The use of expansionary jrewrite rules in various typed calculi has become increasingly common in recent years as their advantages over contractive jrewrite rules have become apparent. Not only does one obtain the decidability of fijequality, but rewrite relations based on expansions give a natu ..."
Abstract

Cited by 6 (0 self)
 Add to MetaCart
The use of expansionary jrewrite rules in various typed calculi has become increasingly common in recent years as their advantages over contractive jrewrite rules have become apparent. Not only does one obtain the decidability of fijequality, but rewrite relations based on expansions give a natural interpretation of long fijnormal forms, generalise more easily to other type constructors, retain key properties when combined with other rewrite relations, and are supported by a categorical theory of reduction. This paper extends the initial results concerning the simply typed calculus to System F, that is, we prove strong normalisation and confluence for a rewrite relation consisting of traditional fireductions and jexpansions satisfying certain restrictions. Further, we characterise the second order long fijnormal forms as precisely the normal forms of the restricted rewrite relation. These results are an important step towards showing that jexpansions are compatible with the m...
Reductionfree normalisation for system F
, 1996
"... We present a semantical proof of existence of normal forms for system F including jequality. A reductionfree normalisation function can be obtained from this. The proof uses the method of glueing (a variant of) the term model along the global sections functor, carried out in the internal language ..."
Abstract

Cited by 3 (1 self)
 Add to MetaCart
We present a semantical proof of existence of normal forms for system F including jequality. A reductionfree normalisation function can be obtained from this. The proof uses the method of glueing (a variant of) the term model along the global sections functor, carried out in the internal language of a category of presheaves. As a byproduct we obtain an semantical explanation of higherorder abstract syntax. The paper extends a previous one (Altenkirch, Hofmann, and Streicher 1996) in which a combinatory version of system F has been treated. 1 Introduction In this paper we give a semantical proof of reductionfree normalisation for F fij , a version of Girard's system F with full fijequality for both kinds of abstraction. This generalises the semantical normalisation algorithms for simplytyped systems (Berger and Schwichtenberg 1991; Coquand and Dybjer 1996; Altenkirch, Hofmann, and Streicher 1995) to polymorphism. As in those approaches we do not prove strong normalisation but co...