Learning SMT(LRA) Constraints Using SMT Solvers
Abstract
We introduce the problem of learning SMT(LRA) constraints from data. SMT(LRA) extends propositional logic with (in)equalities between numerical variables. Many relevant formal verification problems can be cast as SMT(LRA) instances and SMT(LRA) has supported recent developments in optimization and counting for hybrid Boolean and numerical domains. We introduce SMT(LRA) learning, the task of learning SMT(LRA) formulas from examples of feasible and infeasible instances, and we contribute INCAL, an exact non-greedy algorithm for this setting. Our approach encodes the learning task itself as an SMT(LRA) satisfiability problem that can be solved directly by SMT solvers. INCAL is an incremental algorithm that achieves exact learning by looking only at a small subset of the data, leading to significant speed-ups. We empirically evaluate our approach on both synthetic instances and benchmark problems taken from the SMT-LIB benchmarks repository.
Cite
Text
Kolb et al. "Learning SMT(LRA) Constraints Using SMT Solvers." International Joint Conference on Artificial Intelligence, 2018. doi:10.24963/IJCAI.2018/323Markdown
[Kolb et al. "Learning SMT(LRA) Constraints Using SMT Solvers." International Joint Conference on Artificial Intelligence, 2018.](https://mlanthology.org/ijcai/2018/kolb2018ijcai-learning/) doi:10.24963/IJCAI.2018/323BibTeX
@inproceedings{kolb2018ijcai-learning,
title = {{Learning SMT(LRA) Constraints Using SMT Solvers}},
author = {Kolb, Samuel and Teso, Stefano and Passerini, Andrea and De Raedt, Luc},
booktitle = {International Joint Conference on Artificial Intelligence},
year = {2018},
pages = {2333-2340},
doi = {10.24963/IJCAI.2018/323},
url = {https://mlanthology.org/ijcai/2018/kolb2018ijcai-learning/}
}