Skip to content

Commit

Permalink
Added bitwuzla to pysmt frontend (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-melchert authored Mar 14, 2023
1 parent 68f82c5 commit f2d7d3d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions python/smt_switch/pysmt_frontend/pysmt_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,22 @@ def _reset_assertions(self):
SWITCH_SOLVERS['btor'] = SwitchBtor


if 'bitwuzla' in ss.solvers:
logics_params = dict(
quantifier_free=[True],
arrays=[True, False],
bit_vectors=[True],
uninterpreted=[True, False],
floating_point=[True, False],
)

class SwitchBitwuzla(_SwitchSolver):
LOGICS = _build_logics(logics_params)
_create_solver = ft.partial(ss.create_bitwuzla_solver, False)

SWITCH_SOLVERS['bitwuzla'] = SwitchBitwuzla


if 'msat' in ss.solvers:
logics_params = dict(
quantifier_free=[True],
Expand Down

0 comments on commit f2d7d3d

Please sign in to comment.