java-smt icon indicating copy to clipboard operation
java-smt copied to clipboard

Should we allow to create several symbols with identical name but different sort?

Open kfriedberger opened this issue 4 years ago • 2 comments

Some solvers allow to create symbols (and UFs) with identical names and different sorts. We should discuss whether we want to avoid such inconsistencies and how to react when creating such a symbol. Currently, we support as much as each solver itself allows, if there is no conflict in our corresponding wrapper. This leaves a large gap between some solvers, which might be a problem when switching a solver in some user application.

This issue might be related to #171.

kfriedberger avatar Nov 02 '19 14:11 kfriedberger

Should formulas could never be exported to SmtLib, right?

PhilippWendler avatar Nov 04 '19 07:11 PhilippWendler

Exporting is not the problem, because that is just a String representation. However, parsing such a query will (hopefully) always result in a crash.

kfriedberger avatar Nov 04 '19 07:11 kfriedberger