We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.LO

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Logic in Computer Science

Title: Practical Subtyping for System F with Sized (Co-)Induction

Authors: Rodolphe Lepigre (1), Christophe Raffalli (1) ((1) LAMA)
Abstract: We present a rich type system with subtyping for an extension of System F. Our type constructors include sum and product types, universal and existential quantifiers, inductive and coinductive types. The latter two size annotations allowing the preservation of size invariants. For example it is possible to derive the termination of the quicksort by showing that partitioning a list does not increase its size. The system deals with complex programs involving mixed induction and coinduction, or even mixed (co-)induction and polymorphism (as for Scott-encoded datatypes). One of the key ideas is to completely separate the induction on sizes from the notion of recursive programs. We use the size change principle to check that the proof is well-founded, not that the program terminates. Termination is obtained by a strong normalization proof. Another key idea is the use symbolic witnesses to handle quantifiers of all sorts. To demonstrate the practicality of our system, we provide an implementation that accepts all the examples discussed in the paper and much more.
Subjects: Logic in Computer Science (cs.LO); Programming Languages (cs.PL); Logic (math.LO)
Cite as: arXiv:1604.01990 [cs.LO]
  (or arXiv:1604.01990v3 [cs.LO] for this version)

Submission history

From: Christophe Raffalli [view email]
[v1] Thu, 7 Apr 2016 13:32:13 GMT (43kb)
[v2] Wed, 8 Mar 2017 13:23:40 GMT (65kb)
[v3] Tue, 11 Jul 2017 07:41:46 GMT (135kb)

Link back to: arXiv, form interface, contact.