Skip to content

Clean out opensmt #3158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 6, 2018
Merged

Clean out opensmt #3158

merged 1 commit into from
Nov 6, 2018

Conversation

kroening
Copy link
Member

@kroening kroening commented Oct 14, 2018

  • Each commit message has a non-empty body, explaining why the change was made.
  • My contribution is formatted in line with CODING_STANDARD.md.
  • Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • White-space or formatting changes outside the feature-related changed lines are in commits of their own.

Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passed Diffblue compatibility checks (cbmc commit: 014eea4).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/87877503

@kroening kroening requested a review from pkesseli as a code owner October 14, 2018 13:27
Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passed Diffblue compatibility checks (cbmc commit: 54cfd56).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/87881419

Copy link
Contributor

@smowton smowton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How hard would it be to add tests for the other solvers? That would enable testing the change to arith_tools.cpp for example?

@kroening
Copy link
Member Author

The idea is that one day you can run all the tests in regression/cbmc with --cprover-smt2! We don't really need separate tests.

Copy link
Collaborator

@tautschnig tautschnig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we please not do "to_integer now converts uninterpreted bitvectors"? That completely contradicts what the comments say what a bv_typet is. I believe any interpretation of a bv_typet as a signed or unsigned bitvector should go via a type cast, bit- or byte extract operation. Or we just kill bv_typet completely and use unsignedbv_typet instead.

@@ -46,7 +46,8 @@ class optionst;
OPT_GOTO_CHECK \
"(no-assertions)(no-assumptions)" \
"(xml-ui)(xml-interface)(json-ui)" \
"(smt1)(smt2)(fpa)(cvc3)(cvc4)(boolector)(yices)(z3)(opensmt)(mathsat)" \
"(smt1)(smt2)(fpa)" \
"(cprover-smt2)(cvc3)(cvc4)(boolector)(yices)(z3)(mathsat)" \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenSMT is still being developed by Hana and Natasha's teams; do we really want to remove support?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes; it does not support any theories that we use.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.

@martin-cs
Copy link
Collaborator

@smowton : systematic testing of the SMT solvers would be good but I think it might have to be as part of a larger campaign of "let's make SMT solvers the first choice for back-ends" and each time we've done the benchmarking on this ... it hasn't (yet) justified the effort.

Support was dropped in April 2018.
@kroening kroening changed the title add support for CPROVER SMT2 solver Clean out opensmt Nov 6, 2018
@kroening kroening assigned tautschnig and unassigned kroening Nov 6, 2018
Copy link
Collaborator

@martin-cs martin-cs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given the claim that it no longer supports the necessary theories; remove seems sensible.

@martin-cs
Copy link
Collaborator

@tautschnig : This PR no longer includes the changes you objected to.

Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✔️
Passed Diffblue compatibility checks (cbmc commit: 145c895).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/90441669

@tautschnig tautschnig merged commit ff6ec5a into develop Nov 6, 2018
@tautschnig tautschnig deleted the cprover-smt2 branch November 6, 2018 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants