Using Certifying Constraint Solvers for Generating Step-wise Explanations

Authors

  • Ignace Bleukx KU Leuven
  • Maarten Flippo Delft University of Technology
  • Bart Bogaerts KU Leuven Vrije Universiteit Brussel
  • Emir Demirović Delft University of Technology
  • Tias Guns KU Leuven

DOI:

https://doi.org/10.1609/aaai.v40i17.38432

Abstract

In the field of Explainable Constraint Solving, it is common to explain to a user why a problem is unsatisfiable. A recently proposed method for this is to compute a sequence of explanation steps. Such a step-wise explanation shows individual reasoning steps involving constraints from the original specification, that in the end explain a conflict. However, computing a step-wise explanation is computationally expensive, limiting the scope of problems for which it can be used. We investigate how we can use proofs generated by a constraint solver as a starting point for computing step-wise explanations, instead of computing them step-by-step. More specifically, we define a framework of abstract proofs, in which \textit{both} proofs and step-wise explanations can be represented. We then propose several methods for converting a proof to a step-wise explanation sequence, with special attention to trimming and simplification techniques to keep the sequence and its individual steps small. Our results show our method significantly speeds up the generation of step-wise explanation sequences, while the resulting step-wise explanation has a quality similar to the current state-of-the-art.

Downloads

Published

2026-03-14

How to Cite

Bleukx, I., Flippo, M., Bogaerts, B., Demirović, E., & Guns, T. (2026). Using Certifying Constraint Solvers for Generating Step-wise Explanations. Proceedings of the AAAI Conference on Artificial Intelligence, 40(17), 14192–14200. https://doi.org/10.1609/aaai.v40i17.38432

Issue

Section

AAAI Technical Track on Constraint Satisfaction and Optimization