Show simple item record

Authordc.contributor.authorEvariste Dagand, Pierre 
Authordc.contributor.authorTabareau, Nicolás 
Authordc.contributor.authorTanter, Éric Pierre 
Admission datedc.date.accessioned2018-08-03T14:09:24Z
Available datedc.date.available2018-08-03T14:09:24Z
Publication datedc.date.issued2018
Cita de ítemdc.identifier.citationJournal of Functional Programming, 28: e9es_ES
Identifierdc.identifier.other10.1017/S0956796818000011
Identifierdc.identifier.urihttps://repositorio.uchile.cl/handle/2250/150640
Abstractdc.description.abstractFull-spectrum dependent types promise to enable the development of correct-by-construction software. However, even certified software needs to interact with simply-typed or untyped programs, be it to perform system calls, or to use legacy libraries. Trading static guarantees for runtime checks, the dependent interoperability framework provides a mechanism by which simply-typed values can safely be coerced to dependent types and, conversely, dependently-typed programs can defensively be exported to a simply-typed application. In this article, we give a semantic account of dependent interoperability. Our presentation relies on and is guided by a pervading notion of type equivalence, whose importance has been emphasized in recent work on homotopy type theory. Specifically, we develop the notions of type-theoretic partial Galois connections as a key foundation for dependent interoperability, which accounts for the partiality of the coercions between types. We explore the applicability of both type-theoretic Galois connections and anticonnections in the setting of dependent interoperability. A partial Galois connection enforces a translation of dependent types to runtime checks that are both sound and complete with respect to the invariants encoded by dependent types. Conversely, picking an anticonnection instead lets us induce weaker, sound conditions that can amount to more efficient runtime checks. Our framework is developed in Coq; it is thus constructive and verified in the strictest sense of the terms. Using our library, users can specify domain-specific partial connections between data structures. Our library then takes care of the (sometimes, heavy) lifting that leads to interoperable programs. It thus becomes possible, as we shall illustrate, to internalize and hand-tune the extraction of dependently-typed programs to interoperable OCaml programs within Coq itself.es_ES
Patrocinadordc.description.sponsorshipCoqHoTT ERC Grant 637339 FONDECYT 1150017 Emergence(s) program of Parises_ES
Lenguagedc.language.isoenes_ES
Publisherdc.publisherCambridge University Presses_ES
Type of licensedc.rightsAttribution-NonCommercial-NoDerivs 3.0 Chile*
Link to Licensedc.rights.urihttp://creativecommons.org/licenses/by-nc-nd/3.0/cl/*
Sourcedc.sourceJournal of Functional Programminges_ES
Títulodc.titleFoundations of dependent interoperabilityes_ES
Document typedc.typeArtículo de revista
Catalogueruchile.catalogadortjnes_ES
Indexationuchile.indexArtículo de publicación ISIes_ES


Files in this item

Icon

This item appears in the following Collection(s)

Show simple item record

Attribution-NonCommercial-NoDerivs 3.0 Chile
Except where otherwise noted, this item's license is described as Attribution-NonCommercial-NoDerivs 3.0 Chile