计算机科学 > 软件工程
[提交于 2018年12月11日]
标题:A Verified Timsort C Implementation in Isabelle/HOL
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Formal verification of traditional algorithms are of great significance due to their wide application in state-of-the-art software. Timsort is a complicated and hybrid stable sorting algorithm, derived from merge sort and insertion sort. Although Timsort implementation in OpenJDK has been formally verified, there is still not a standard and formally verified Timsort implementation in C programming language. This paper studies Timsort implementation and its formal verification using a generic imperative language - Simpl in Isabelle/HOL. Then, we manually generate an C implementation of Timsort from the verified Simpl specification. Due to the C-like concrete syntax of Simpl, the code generation is straightforward. The C implementation has also been tested by a set of random test cases.
提交历史
来自:Yongwang Zhao[v1] 2018年12月11日 星期二 00:00:00 UTC