English

A Decision Procedure for a Theory of Finite Sets with Finite Integer Intervals

Logic in Computer Science 2026-05-05 v2 Software Engineering

Abstract

In this paper we extend a decision procedure for the Boolean algebra of finite sets with cardinality constraints (L\mathcal{L}_{\lvert\cdot\rvert}) to a decision procedure for L\mathcal{L}_{\lvert\cdot\rvert} extended with set terms denoting finite integer intervals (L[]\mathcal{L}_{[\,]}). In L[]\mathcal{L}_{[\,]} interval limits can be integer linear terms including \emph{unbounded variables}. These intervals are a useful extension because they allow to express non-trivial set operators such as the minimum and maximum of a set, still in a quantifier-free logic. Hence, by providing a decision procedure for L[]\mathcal{L}_{[\,]} it is possible to automatically reason about a new class of quantifier-free formulas. The decision procedure is implemented as part of the {log}\{log\} tool. The paper includes a case study based on the elevator algorithm showing that {log}\{log\} can automatically discharge all its invariance lemmas some of which involve intervals.

Keywords

Cite

@article{arxiv.2105.03005,
  title  = {A Decision Procedure for a Theory of Finite Sets with Finite Integer Intervals},
  author = {Maximiliano Cristiá and Gianfranco Rossi},
  journal= {arXiv preprint arXiv:2105.03005},
  year   = {2026}
}

Comments

arXiv admin note: text overlap with arXiv:2102.05422