A Framework for Verifying Depth-First Search Algorithms
A Framework for Verifying Depth-First Search Algorithms
复制标题
验证深度优先搜索算法的框架
DOI:
10.1145/2676724.2693165
复制
发表时间:
2015
期刊:
影响因子:
--
通讯作者:
René Neumann
中科院分区:
文献类型:
--
作者:
Peter Lammich;René Neumann
Many graph algorithms are based on depth-first search (DFS). The formalizations of such algorithms typically share many common ideas. In this paper, we summarize these ideas into a framework in Isabelle/HOL.Building on the Isabelle Refinement Framework, we provide support for a refinement based development of DFS based algorithms, from phrasing and proving correct the abstract algorithm, over choosing an adequate implementation style (e.g., recursive, tail-recursive), to creating an executable algorithm that uses efficient data structures.As a case study, we verify DFS based algorithms of different complexity, from a simple cyclicity checker, over a safety property model checker, to complex algorithms like nested DFS and Tarjan's SCC algorithm.