ChrobELIAS is an smt-solver for the existential Exponential-Linear Integer Arithmetic with regular constraints
To build the project you need the following dependencies to be installed:
- opam - OCaml package manager.
- OCaml >5.0.
The dependencies can be installed using the bash commands
# Installing the OCaml package manager
bash -c "sh <(curl -fsSL https://opam.ocaml.org/install.sh)"
# Initializing the package manager. It might ask you to install other common dependencies (e.g. unzip)
opam init --bare
# Installing OCaml 5.3.
opam switch create 5.3.0+flambda --packages=ocaml-variants.5.3.0+options,ocaml-option-flambda --yesChrobELIAS is built as follows:
# Clone the Chrobelias repository.
git clone https://github.com/Chrobelias/Chrobelias.git
# Change directory to Chrobelias.
cd Chrobelias
# Initialize submodules, including the smtml library and the benchmarks.
git submodule update --init --recursive
# Installing smtml dependencies.
opam install vendor/smtml --deps-only --with-test --with-dev-setup
# Installing ChrobELIAS dependencies.
opam install . --deps-only --with-test
# Building the project and its tests.
opam exec -- dune build @check @allThe executable binary is available in the _build dir.
Supports .smt2 files with
-
QF_EIAwith the binaryexpexponentiation function from Satisfiability Modulo Exponential Integer Arithmetic. Use(set-logic ALL)for files with exponentiation. -
QF_SLIAsubclass corresponding to the logic$T_{\mathit{REln}}$ from Semënov Arithmetic, Affine VASS, and String Constraints.
./_build/default/bin/chro.exe <path-to-smt2-file>Simple .smt2 files for ChrobELIAS can be found in benchmarks and examples.
satproblem from TPDB_ITS_Termination
./_build/default/bin/chro.exe benchmarks/QF_LIA/LoAT/TPDB_ITS_Termination/PastaC1.jar-obl-8.smt2_9.smt2-
unsatproblem$x\in\mathtt{16}\cdot(\mathtt{000}\cup\mathtt{999})^{\ast}\land y\in\mathtt{9}\cdot(\mathtt{9})^{\ast}\land |x| =$ to_int$(y) + 1$
./_build/default/bin/chro.exe examples/lnr-unsat.smt2-
satproblem$x\in\mathtt{16}\cdot(\mathtt{000}\cup\mathtt{999})^{\ast}\land y\in\mathtt{9}\cdot(\mathtt{9})^{\ast}\land 9|x| =$ to_int$(y)$
./_build/default/bin/chro.exe examples/lnr-sat.smt2- M. R. Starchak. Quantifier Elimination for Regular Integer Linear-Exponential Programming, In Proc. of LICS'25, Singapore, 2025, pp. 44-56.
For evaluation of ChrobELIAS on several QF_EIA and QF_SLIA benchmarks, see Docker evaluation image available on DockerHub. More information at BENCHES.md.
Benchmark sets can be accessed and cloned as Git submodules using the following command:
# Clone submodules including the benchmarks
git submodule update --init --recursiveWe use custom SMT-lib v2.6 exp syntax and examples from SwInE by Florian Frohn licensed under LGPL v2.1.