Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1604.01990

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Logic in Computer Science

arXiv:1604.01990 (cs)
[Submitted on 7 Apr 2016 (v1), last revised 11 Jul 2017 (this version, v3)]

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

Authors:Rodolphe Lepigre (1), Christophe Raffalli (1) ((1) LAMA)
View a PDF of the paper titled Practical Subtyping for System F with Sized (Co-)Induction, by Rodolphe Lepigre (1) and 1 other authors
View PDF
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)
  https://doi.org/10.48550/arXiv.1604.01990
arXiv-issued DOI via DataCite

Submission history

From: Christophe Raffalli [view email] [via CCSD proxy]
[v1] Thu, 7 Apr 2016 13:32:13 UTC (43 KB)
[v2] Wed, 8 Mar 2017 13:23:40 UTC (65 KB)
[v3] Tue, 11 Jul 2017 07:41:46 UTC (135 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Practical Subtyping for System F with Sized (Co-)Induction, by Rodolphe Lepigre (1) and 1 other authors
  • View PDF
  • TeX Source
  • Other Formats
view license
Current browse context:
math.LO
< prev   |   next >
new | recent | 2016-04
Change to browse by:
cs
cs.LO
cs.PL
math

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Rodolphe Lepigre
Christophe Raffalli
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack