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

序列的旋转:算法与证明

Rotation of Sequences: Algorithms and Proofs

Carlo A. Furia

摘要:

序列旋转由序列的元素循环移位给定的位置数组成。我们提出了四个经典的算法来旋转序列;循环不变量的正确性;详细的正确性证明;和完全注释的版本的验证Boogie,Dafny和ESC/Java 2。演示文稿详细说明了算法如何工作,以及如何进行机械化证明其正确性。

英文摘要:

Sequence rotation consists of a circular shift of the sequence's elements by a given number of positions. We present the four classic algorithms to rotate a sequence; the loop invariants underlying their correctness; detailed correctness proofs; and fully annotated versions for the verifiers Boogie, Dafny, and ESC/Java2. The presentation illustrates in detail both how the algorithms work and what it takes to carry out mechanized proofs of their correctness.

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

↑