arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.10127cs.LO
收藏

一种经形式化验证的、用于马尔可夫决策过程(MDP)区间迭代的IEEE 754浮点实现

A Formally Verified IEEE 754 Floating-Point Implementation of Interval Iteration for MDPs

University of Twente(特温特大学);Technical University of Munich(慕尼黑工业大学);King's College London(伦敦国王学院)

Bram Kohlen, Maximilian Schäffeler, Mohammad Abdulaziz, Arnd Hartmanns, Peter Lammich

AI总结:

本研究提出一种经形式化验证的MDP区间迭代浮点实现,通过Isabelle/HOL完成从抽象语义到LLVM代码的全链路正确性证明,扩展精化框架支持浮点推理,实验表明其性能与前沿工具相当且具备形式化正确性保证。

摘要:

我们提出了一种可高效执行、经形式化验证的马尔可夫决策过程(MDP)区间迭代实现。我们的正确性证明覆盖了从MDP高层抽象语义到基于浮点运算的LLVM低层实现的整个开发流程。我们使用Isabelle/HOL证明助手验证了区间迭代抽象定义的收敛性,并通过逐步精化推导得到高效的LLVM代码实现。为此,我们扩展了Isabelle Refinement Framework(Isabelle精化框架),使其支持对浮点运算和定向舍入模式的推理。我们通过实验证明,该经验证的实现与当前最先进的MDP工具性能相当,同时能为结果的正确性提供形式化保证。

英文摘要:

We present an efficiently executable, formally verified implementation of interval iteration for MDPs. Our correctness proofs span the entire development from the high-level abstract semantics of MDPs to a low-level implementation in LLVM that is based on floating-point arithmetic. We use the Isabelle/HOL proof assistant to verify convergence of our abstract definition of interval iteration and employ step-wise refinement to derive an efficient implementation in LLVM code. To that end, we extend the Isabelle Refinement Framework with support for reasoning about floating-point arithmetic and directed rounding modes. We experimentally demonstrate that the verified implementation is competitive with state-of-the-art tools for MDPs, while providing formal guarantees on the correctness of the results.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑