DeepSEA: A Language for Certified System Software. Sjöberg, V., Sang, Y., Weng, S., & Shao, Z. Proc. ACM Program. Lang., 3(OOPSLA):136:1–136:27, October, 2019. ZSCC: 0000000
Paper doi abstract bibtex Writing certifiably correct system software is still very labor-intensive, and current programming languages are not well suited for the task. Proof assistants work best on programs written in a high-level functional style, while operating systems need low-level control over the hardware. We present DeepSEA, a language which provides support for layered specification and abstraction refinement, effect encapsulation and composition, and full equational reasoning. A single DeepSEA program is automatically compiled into a certified ``layer'' consisting of a C program (which is then compiled into assembly by CompCert), a low-level functional Coq specification, and a formal (Coq) proof that the C program satisfies the specification. Multiple layers can be composed and interleaved with manual proofs to ascribe a high-level specification to a program by stepwise refinement. We evaluate the language by using it to reimplement two existing verified programs: a SHA-256 hash function and an OS kernel page table manager. This new style of programming language design can directly support the development of correct-by-construction system software.
@article{sjoberg_deepsea:_2019,
title = {{DeepSEA}: {A} {Language} for {Certified} {System} {Software}},
volume = {3},
issn = {2475-1421},
shorttitle = {{DeepSEA}},
url = {http://doi.acm.org/10.1145/3360562},
doi = {10/gf9rxv},
abstract = {Writing certifiably correct system software is still very labor-intensive, and current programming languages are not well suited for the task. Proof assistants work best on programs written in a high-level functional style, while operating systems need low-level control over the hardware. We present DeepSEA, a language which provides support for layered specification and abstraction refinement, effect encapsulation and composition, and full equational reasoning. A single DeepSEA program is automatically compiled into a certified ``layer'' consisting of a C program (which is then compiled into assembly by CompCert), a low-level functional Coq specification, and a formal (Coq) proof that the C program satisfies the specification. Multiple layers can be composed and interleaved with manual proofs to ascribe a high-level specification to a program by stepwise refinement. We evaluate the language by using it to reimplement two existing verified programs: a SHA-256 hash function and an OS kernel page table manager. This new style of programming language design can directly support the development of correct-by-construction system software.},
number = {OOPSLA},
urldate = {2019-10-11},
journal = {Proc. ACM Program. Lang.},
author = {Sjöberg, Vilhelm and Sang, Yuyang and Weng, Shu-chun and Shao, Zhong},
month = oct,
year = {2019},
note = {ZSCC: 0000000},
keywords = {certified software, layered specification, refinement, verification},
pages = {136:1--136:27}
}
Downloads: 0
{"_id":"26AYLx9DdgukNuMJ8","bibbaseid":"sjberg-sang-weng-shao-deepseaalanguageforcertifiedsystemsoftware-2019","authorIDs":[],"author_short":["Sjöberg, V.","Sang, Y.","Weng, S.","Shao, Z."],"bibdata":{"bibtype":"article","type":"article","title":"DeepSEA: A Language for Certified System Software","volume":"3","issn":"2475-1421","shorttitle":"DeepSEA","url":"http://doi.acm.org/10.1145/3360562","doi":"10/gf9rxv","abstract":"Writing certifiably correct system software is still very labor-intensive, and current programming languages are not well suited for the task. Proof assistants work best on programs written in a high-level functional style, while operating systems need low-level control over the hardware. We present DeepSEA, a language which provides support for layered specification and abstraction refinement, effect encapsulation and composition, and full equational reasoning. A single DeepSEA program is automatically compiled into a certified ``layer'' consisting of a C program (which is then compiled into assembly by CompCert), a low-level functional Coq specification, and a formal (Coq) proof that the C program satisfies the specification. Multiple layers can be composed and interleaved with manual proofs to ascribe a high-level specification to a program by stepwise refinement. We evaluate the language by using it to reimplement two existing verified programs: a SHA-256 hash function and an OS kernel page table manager. This new style of programming language design can directly support the development of correct-by-construction system software.","number":"OOPSLA","urldate":"2019-10-11","journal":"Proc. ACM Program. Lang.","author":[{"propositions":[],"lastnames":["Sjöberg"],"firstnames":["Vilhelm"],"suffixes":[]},{"propositions":[],"lastnames":["Sang"],"firstnames":["Yuyang"],"suffixes":[]},{"propositions":[],"lastnames":["Weng"],"firstnames":["Shu-chun"],"suffixes":[]},{"propositions":[],"lastnames":["Shao"],"firstnames":["Zhong"],"suffixes":[]}],"month":"October","year":"2019","note":"ZSCC: 0000000","keywords":"certified software, layered specification, refinement, verification","pages":"136:1–136:27","bibtex":"@article{sjoberg_deepsea:_2019,\n\ttitle = {{DeepSEA}: {A} {Language} for {Certified} {System} {Software}},\n\tvolume = {3},\n\tissn = {2475-1421},\n\tshorttitle = {{DeepSEA}},\n\turl = {http://doi.acm.org/10.1145/3360562},\n\tdoi = {10/gf9rxv},\n\tabstract = {Writing certifiably correct system software is still very labor-intensive, and current programming languages are not well suited for the task. Proof assistants work best on programs written in a high-level functional style, while operating systems need low-level control over the hardware. We present DeepSEA, a language which provides support for layered specification and abstraction refinement, effect encapsulation and composition, and full equational reasoning. A single DeepSEA program is automatically compiled into a certified ``layer'' consisting of a C program (which is then compiled into assembly by CompCert), a low-level functional Coq specification, and a formal (Coq) proof that the C program satisfies the specification. Multiple layers can be composed and interleaved with manual proofs to ascribe a high-level specification to a program by stepwise refinement. We evaluate the language by using it to reimplement two existing verified programs: a SHA-256 hash function and an OS kernel page table manager. This new style of programming language design can directly support the development of correct-by-construction system software.},\n\tnumber = {OOPSLA},\n\turldate = {2019-10-11},\n\tjournal = {Proc. ACM Program. Lang.},\n\tauthor = {Sjöberg, Vilhelm and Sang, Yuyang and Weng, Shu-chun and Shao, Zhong},\n\tmonth = oct,\n\tyear = {2019},\n\tnote = {ZSCC: 0000000},\n\tkeywords = {certified software, layered specification, refinement, verification},\n\tpages = {136:1--136:27}\n}\n\n","author_short":["Sjöberg, V.","Sang, Y.","Weng, S.","Shao, Z."],"key":"sjoberg_deepsea:_2019","id":"sjoberg_deepsea:_2019","bibbaseid":"sjberg-sang-weng-shao-deepseaalanguageforcertifiedsystemsoftware-2019","role":"author","urls":{"Paper":"http://doi.acm.org/10.1145/3360562"},"keyword":["certified software","layered specification","refinement","verification"],"downloads":0},"bibtype":"article","biburl":"https://bibbase.org/zotero/k4rtik","creationDate":"2020-05-31T17:07:22.693Z","downloads":0,"keywords":["certified software","layered specification","refinement","verification"],"search_terms":["deepsea","language","certified","system","software","sjöberg","sang","weng","shao"],"title":"DeepSEA: A Language for Certified System Software","year":2019,"dataSources":["Z5Dp3qAJiMzxtvKMq"]}