The end of history? Using a proof assistant to replace language design with library design
Name
LIPIcs-SNAPL-2017-3.pdf
Description
Published version
Size
536.02 KB
Format
Unknown
Checksum (MD5)
6bcf8f7b4c965b2e9891521267c40386
Author(s) • • • • • •
Chlipala, Adam
Delaware, Benjamin
Duchovni, Samuel
Gross, Jason S.
Pit-Claudel, Clément
Suriyakarn, Sorawit
Wang, Peng
Date Issued
May 2017
Journal
2nd Summit on Advances in Programming Languages
Publisher
Dagstuhl Research
Citation
Chlipala, Adam et al. "The end of history? Using a proof assistant to replace language design with library design." 2nd Summit on Advances in Programming Languages, May 2017, Asilomar, California, Dagstuhl Research, May 2017. © 2017 The Authors
Version
Final published version
Abstract
Functionality of software systems has exploded in part because of advances in programming language support for packaging reusable functionality as libraries. Developers benefit from the uniformity that comes of exposing many interfaces in the same language, as opposed to stringing together hodgepodges of command-line tools. Domain-specific languages may be viewed as an evolution of the power of reusable interfaces, when those interfaces become so flexible as to deserve to be called programming languages. However, common approaches to domain-specific languages give up many of the hard-won advantages of library-building in a rich common language, and even the traditional approach poses significant challenges in learning new APIs. We suggest that instead of continuing to develop new domain-specific languages, our community should embrace library-based ecosystems within very expressive languages that mix programming and theorem proving. Our prototype framework Fiat, a library for the Coq proof assistant, turns languages into easily comprehensible libraries via the key idea of modularizing functionality and performance away from each other, the former via macros that desugar into higher-order logic and the latter via optimization scripts that derive efficient code from logical programs.
MIT Department
Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory
Terms of Use
Creative Commons Attribution 4.0 International license
Persistent DSpace Link
DOI of Published Version
https://doi.org/10.4230/LIPIcs.SNAPL.2017.3