TreeWidzard: An Engine for Width-Based Dynamic Programming and Automated Theorem Proving
Abstract
In this work, we introduce TreeWidzard, an engine for developing dynamic programming algorithms that decide graph-theoretic properties parameterized by treewidth and pathwidth. Besides providing a unified framework for algorithms deciding atomic graph-theoretic properties, our engine allows one to combine such algorithms for two purposes: to obtain dynamic programming algorithms for more complex graph properties, and to support treewidth-based automated theorem proving. Within this context, given the specification of a Boolean combination of graph properties , and a positive integer , our engine can be used to determine whether all graphs of treewidth at most satisfy . The main goal of the present work is to provide a system description of TreeWidzard. In particular, we provide a step-by-step account of how to implement dynamic programming algorithms in our framework and how to combine these algorithms for model checking and automated theorem proving.
Cite
@article{arxiv.2605.09732,
title = {TreeWidzard: An Engine for Width-Based Dynamic Programming and Automated Theorem Proving},
author = {Mateus de Oliveira Oliveria and Sam Urmian},
journal= {arXiv preprint arXiv:2605.09732},
year = {2026}
}
Comments
Full version, 36 pages, 6 figures