pith. machine review for the scientific record. sign in

arxiv: 1711.04718 · v1 · submitted 2017-11-13 · 💻 cs.LO · cs.PL

Recognition: unknown

A Type Checking Algorithm for Higher-rank, Impredicative and Second-order Types

Authors on Pith no claims yet
classification 💻 cs.LO cs.PL
keywords typealgorithmcheckingcheckerfunctionalhigher-rankimpredicativemathbf
0
0 comments X
read the original abstract

We study a type checking algorithm that is able to type check a nontrivial subclass of functional programs that use features such as higher-rank, impredicative and second-order types. The only place the algorithm requires type annotation is before each function declaration. We prove the soundness of the type checking algorithm with respect to System $\mathbf{F}_{\omega}$, i.e. if the program is type checked, then the type checker will produce a well-typed annotated System $\mathbf{F}_{\omega}$ term. We extend the basic algorithm to handle pattern matching and let-bindings. We implement a prototype type checker and test it on a variety of functional programs.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.