Differentiable Satisfiability Modulo Theories (SMT) is an approach that makes the logical constraints of an SMT solver—a tool for checking the satisfiability of formulas under background theories like arithmetic or arrays—compatible with gradient-based optimization by relaxing them into continuous functions. This creates a differentiable logical layer that can be embedded within a neural network, allowing the system to learn from data while respecting hard symbolic rules. The core innovation is the relaxation of discrete logic into a continuous space where gradients can flow, enabling end-to-end training.
