2002
DOI: 10.1007/3-540-45465-9_78
|View full text |Cite
|
Sign up to set email alerts
|

The Essence of Principal Typings

Abstract: Let S be some type system. A typing in S for a typable term M is the collection of all of the information other than M which appears in the final judgement of a proof derivation showing that M is typable. For example, suppose there is a derivation in S ending with the judgement A M : τ meaning that M has result type τ when assuming the types of free variables are given by A. Then (A, τ) is a typing for M. A principal typing in S for a term M is a typing for M which somehow represents all other possible typings… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
69
0

Year Published

2004
2004
2020
2020

Publication Types

Select...
6

Relationship

2
4

Authors

Journals

citations
Cited by 66 publications
(69 citation statements)
references
References 28 publications
0
69
0
Order By: Relevance
“…In this section we show that every command does indeed have a principal Flow Core-pc typing in this sense. More formally, the most general definition of principal typing is due to Wells [Wel02]. We do not use Wells' definition in the current paper but it is a simple corollary of Theorem 2 (see below) that our principal typings are indeed principal according to that definition.…”
Section: Principal Typingsmentioning
confidence: 99%
“…In this section we show that every command does indeed have a principal Flow Core-pc typing in this sense. More formally, the most general definition of principal typing is due to Wells [Wel02]. We do not use Wells' definition in the current paper but it is a simple corollary of Theorem 2 (see below) that our principal typings are indeed principal according to that definition.…”
Section: Principal Typingsmentioning
confidence: 99%
“…This implies that the possible typings for M in ML and M β ML in shallow-polymorphic X are essentially the same. Since Wells proves in [12] that ML does not in general have principal typings (i.e. when the basis of assumptions is unspecified, there is no pair of basis and type which represents all other possible typings), this immediately implies that the same is the case of our shallow polymorphic version of X .…”
Section: Definition 23 (Shallow Polymorphic Type Assignment For X )mentioning
confidence: 90%
“…In [11] a notion of principal contexts (principal typings, in the language of [12]) is defined by providing an algorithm pC that, given an X -term P , returns a context Γ ; ∆ , with the following properties:…”
Section: Theorem 8 (Witness Reduction [10]) If P · · · γ ∆ and Pmentioning
confidence: 99%
See 1 more Smart Citation
“…Thus, we now define a syntactically restricted type system for which we do prove that principal types exist. Allowing only modest and discrete types yields principal typings (defined in [21]):…”
Section: Proposition 18 Every Term P Has a Type (Although The Type Mamentioning
confidence: 99%