usi-verification-and-security / opensmt

The opensmt solver
Other
78 stars 18 forks source link

`MainSolver` API for assertion levels of the assertion stack #785

Closed Tomaqa closed 4 weeks ago

Tomaqa commented 1 month ago

Consistently referring to "assertion stack" (from SMT-LIB 2.6) within the API of MainSolver instead of "frames" which is not known outside of OpenSMT community. I also added methods to access assertions of the assertion stack. The API offers both a copy of all the assertions and also just a view to the assertions, which is more suitable when one wants to just iterate over the assertions of get their count. However, the view is not implemented yet.