End-to-End Verification for Subgraph Solving
Stephan Gocht, Ciaran McCreesh, Magnus O. Myreen, Jakob Nordström, Andy Oertel, Yong Kiam Tan
Abstract
Modern subgraph-finding algorithm implementations consist of thousands of lines of highly optimized code, and this complexity raises questions about their trustworthiness. Recently, some state-of-the-art subgraph solvers have been enhanced to output machine-verifiable proofs that their results are correct. While this significantly improves reliability, it is not a fully satisfactory solution, since end-users have to trust both the proof checking algorithms and the translation of the high-level graph problem into a low-level 0-1 integer linear program (ILP) used for the proofs.
In this work, we present the first formally verified toolchain capable of full end-to-end verification for subgraph solving, which closes both of these trust gaps. We have built encoder frontends for various graph problems together with a 0-1 ILP (a.k.a. pseudo-Boolean) proof checker, all implemented and formally verified in the CakeML ecosystem. This toolchain is flexible and extensible, and we use it to build verified proof checkers for both decision and optimization graph problems, namely, subgraph isomorphism, maximum clique, and maximum common (connected) induced subgraph. Our experimental evaluation shows that end-to-end formal verification is now feasible for a wide range of hard graph problems.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f5571bfd-a91d-4dbd-a897-0f2482cf4c41Cited by top-tier papers2
- Formally Certified Approximate Model CountingYong Kiam Tan, Jiong Yang, Mate Soos, Magnus O. Myreen et al.CAV 2024 · 1 citation
- Faster Certified Symmetry Breaking Using Orders with Auxiliary VariablesMarkus Anders, Bart Bogaerts, Benjamin Bogø, Arthur Gontier et al.AAAI 2026
Builds on3
- Certifying Parity Reasoning Efficiently Using Pseudo-Boolean ProofsStephan Gocht, Jakob NordströmAAAI 2021 · 37 citations
- Justifying All Differences Using Pseudo-Boolean ReasoningJan Elffers, Stephan Gocht, Ciaran McCreesh, Jakob NordströmAAAI 2020 · 30 citations
- CoqQFBV: A Scalable Certified SMT Quantifier-Free Bit-Vector SolverXiaomu Shi, Yu-Fu Fu, Jiaxiang Liu, Ming-Hsien Tsai et al.CAV 2021 · 10 citations
Related papers
- Towards Trustworthy Automated Program Verifiers: Formally Validating Translations into an Intermediate Verification LanguageGaurav Parthasarathy, Thibault Dardinier, Benjamin Bonneau, Peter Müller et al.PLDI 2024 · 6 citations
- Formally Verified Approximate Policy IterationMaximilian Schäffeler, Mohammad AbdulazizAAAI 2025 · 2 citations
- Certified Symmetry and Dominance Breaking for Combinatorial OptimisationBart Bogaerts, Stephan Gocht, Ciaran McCreesh, Jakob NordströmAAAI 2022 · 21 citations
- Cakes That Bake Cakes: Dynamic Computation in CakeMLThomas Sewell, Magnus O. Myreen, Yong Kiam Tan, Ramana Kumar et al.PLDI 2023 · 16 citations
- GSI: GPU-friendly Subgraph IsomorphismLi Zeng, Lei Zou, M. Tamer Özsu, Lin Hu et al.ICDE 2020 · 62 citations
