Lune

PLDI2026顶会

Navigating AND-OR Graph Modifications to Debug Failing Proof Search

Justin Lubin, Marlena Preigh, Max Willsey, Sarah E. Chasins

摘要

Proof search powers our most advanced programming tools, from type systems, to search tactics for interactive theorem provers, to Datalog-backed program analyses. Although proof search tooling is powerful and now pervasive, debugging it is hard, even for experts. When proof search cannot prove the goal, the programmer's best source of information is a massive AND-OR graph representing the tool's internal state during the proof search process. The difficulty of understanding and debugging this vast trace of internal state locks programmers out of exactly the high-assurance automated reasoning tools we want them to adopt.

We propose a new formulation of proof search debugging, which: (i) views AND-OR graphs as a partial representations of the underlying proof system, (ii) treats debugging as a process of applying modifications to this proof system, and (iii) uses a debugging tool to solicit these modifications until the resulting proof system proves the original goal. This approach unifies decades of ad-hoc strategies in a single general-purpose framework and is applicable to the diverse range of programming tools that use proof search. Our framework can express existing "why-not" debugging strategies as well as new strategies, and we evaluate such strategies on 284 AND-OR graphs. We find that a strategy that enforces a property called Strong Soundness reduces the number of decisions by 1.4×-3.2× compared to an unsound baseline, and a new property we call Strong Completeness Modulo Observability enables pruning to further reduce decisions by 1.0×-2.8× for an overall reduction of 2.0×-3.8×.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper7

  1. Better Together: Unifying Datalog and Equality SaturationYihong Zhang, Yisu Remy Wang, Oliver Flatt, David Cao 等PLDI 2023 · 38 次引用
  2. Type error feedback via analytic program repairGeorgios Sakkas, Madeline Endres, Benjamin Cosman, Westley Weimer 等PLDI 2020 · 24 次引用
  3. Total Type Error Localization and Recovery with HolesEric Zhao, Raef Maroof, Anand Dukkipati, Andrew Blinn 等POPL 2024 · 15 次引用
  4. Engineering an Efficient Probabilistic Exact Model CounterMate Soos, Kuldeep S. MeelCAV 2025 · 4 次引用
  5. Interactive Debugging of Datalog ProgramsAndré Pacak, Sebastian ErdwegOOPSLA 2023 · 4 次引用

相关 Paper

  1. Online and Interactive Bayesian Inference DebuggingNathanael Nussbaumer, Markus Böck, Jürgen CitoICSE 2026
  2. Engineering a Formally Verified Automated Bug FinderArthur Correnson, Dominic SteinhöfelFSE 2023 · 6 次引用
  3. Diaframe: automated verification of fine-grained concurrent programs in IrisIke Mulder, Robbert Krebbers, Herman GeuversPLDI 2022 · 27 次引用
  4. A Grounded Theory of Debugging in Professional Software Engineering PracticeHaolin Li, Michael CoblenzFSE 2026
  5. Concise Outlines for a Complex Logic: A Proof Outline Checker for TaDAFelix A. Wolf, Malte Schwerhoff, Peter MüllerFM 2021 · 10 次引用
黄昏的海面,两侧是细线勾勒的悬崖