3 research outputs found

    Principal Typings for Explicit Substitutions Calculi ⋆

    No full text
    Abstract. Having principal typings (for short PT) is an important property of type systems. This property guarantees the possibility of type deduction which means it is possible to develop a complete and terminating type inference mechanism. It is well-known that the simply typed λ-calculus has this property, but recently, J. Wells has introduced a system-independent definition of PT which allows to prove that some type systems do not satisfy PT. The main computational drawback of the λ-calculus is the implicitness of the notion of substitution, a problem which in the last years gave rise to a number of extensions of the λ-calculus where the operation of substitution is treated explicitly. Unfortunately, some of these extensions do not necessarily preserve basic properties of the simply typed λ-calculus such as preservation of strong normalization. We consider two systems of explicit substitutions (λσ and λse) and we show that they can be accommodated with an adequate notion of PT. Specifically, our results can be summarized as follows: • We introduce PT notions for the simply typed versions of the λσ and the λse-calculus according to Wells ’ system-independent notion of PT. • We show that these versions of the λσ and the λse satisfy PT by revisiting previously introduced type inference algorithms.
    corecore