计算机科学 > 程序设计语言
[提交于 2022年10月20日]
标题:Execution Time Program Verification With Tight Bounds
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper presents a proof system for reasoning about execution time bounds for a core imperative programming language. Proof systems are defined for three different scenarios: approximations of the worst-case execution time, exact time reasoning, and less pessimistic execution time estimation using amortized analysis. We define a Hoare logic for the three cases and prove its soundness with respect to an annotated cost-aware operational semantics. Finally, we define a verification conditions (VC) generator that generates the goals needed to prove program correctness, cost, and termination. Those goals are then sent to the Easycrypt toolset for validation. The practicality of the proof system is demonstrated with an implementation in OCaml of the different modules needed to apply it to example programs. Our case studies are motivated by real-time and cryptographic software.
提交历史
来自:Carolina Silva[v1] 2022年10月20日 星期四 09:02:13 UTC