A Verified Efficient Implementation of the Weighted Path Order
René Thiemann, Elias WenningerArchive of Formal Proofs 2023.
Abstract
The Weighted Path Order (WPO) of Yamada is a powerful technique for proving termination. In a previous AFP entry, the WPO was defined and properties of WPO have been formally verified. However, the implementation of WPO was naive, leading to an exponential runtime in the worst case.
Therefore, in this AFP entry we provide a poly-time implementation of WPO. The implementation is based on memoization. Since WPO generalizes the recursive path order (RPO), we also easily derive an efficient implementation of RPO.
BibTeX
@article{Efficient_Weighted_Path_Order-AFP, author = {René Thiemann and Elias Wenninger}, title = {A Verified Efficient Implementation of the Weighted Path Order}, journal = {Archive of Formal Proofs}, month = {June}, year = {2023}, note = {\url{https://isa-afp.org/entries/Efficient_Weighted_Path_Order.html}, Formal proof development}, ISSN = {2150-914x}, }