Deep Specifications and Certified Abstraction Layers

التفاصيل البيبلوغرافية
العنوان: Deep Specifications and Certified Abstraction Layers
المؤلفون: Yu Guo, Shu-Chun Weng, Jérémie Koenig, Zhong Shao, Tahina Ramananandro, Xiongnan (Newman) Wu, Haozhong Zhang, Ronghui Gu
المصدر: POPL
بيانات النشر: ACM, 2015.
سنة النشر: 2015
مصطلحات موضوعية: Data abstraction, Functional programming, Correctness, Interface (Java), Computer science, Programming language, Proof assistant, computer.software_genre, Abstraction layer, Compiler, Layer (object-oriented design), computer, Implementation, Abstraction inversion, Abstraction (linguistics)
الوصف: Modern computer systems consist of a multitude of abstraction layers (e.g., OS kernels, hypervisors, device drivers, network protocols), each of which defines an interface that hides the implementation details of a particular set of functionality. Client programs built on top of each layer can be understood solely based on the interface, independent of the layer implementation. Despite their obvious importance, abstraction layers have mostly been treated as a system concept; they have almost never been formally specified or verified. This makes it difficult to establish strong correctness properties, and to scale program verification across multiple layers. In this paper, we present a novel language-based account of abstraction layers and show that they correspond to a strong form of abstraction over a particularly rich class of specifications which we call deep specifications. Just as data abstraction in typed functional languages leads to the important representation independence property, abstraction over deep specification is characterized by an important implementation independence property: any two implementations of the same deep specification must have contextually equivalent behaviors. We present a new layer calculus showing how to formally specify, program, verify, and compose abstraction layers. We show how to instantiate the layer calculus in realistic programming languages such as C and assembly, and how to adapt the CompCert verified compiler to compile certified C layers such that they can be linked with assembly layers. Using these new languages and tools, we have successfully developed multiple certified OS kernels in the Coq proof assistant, the most realistic of which consists of 37 abstraction layers, took less than one person year to develop, and can boot a version of Linux as a guest.
الوصول الحر: https://explore.openaire.eu/search/publication?articleId=doi_________::8bc9af853deb44a62fc0b49c7e6474b1Test
https://doi.org/10.1145/2676726.2676975Test
حقوق: CLOSED
رقم الانضمام: edsair.doi...........8bc9af853deb44a62fc0b49c7e6474b1
قاعدة البيانات: OpenAIRE