Verified Memoization and Dynamic Programming
Authors: Simon Wimmer, Shuwei Hu and Tobias Nipkow
Paper Information
Title: | Verified Memoization and Dynamic Programming |
Authors: | Simon Wimmer, Shuwei Hu and Tobias Nipkow |
Proceedings: | ITP Papers |
Editors: | Jeremy Avigad and Assia Mahboubi |
Keywords: | Isabelle/HOL, Dynamic Programming, Interactive Theorem Proving, Memoization |
Abstract: | ABSTRACT. We present a lightweight framework in Isabelle/HOL for the automatic verified (functional or imperative) memoization of recursive functions. Our tool constructs a memoized version of the recursive function and proves a correspondence theorem between the two functions. A number of simple techniques allow us to achieve bottom-up computation and space-efficient memoization. The frameworkâs utility is demonstrated on a number of classic dynamic programming problems. |
Pages: | 18 |
Talk: | Jul 12 11:00 (Session 74C) |
Paper: |