Skip to content
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

Z3/smt2_eval_STP inconsistency: QF_BV/sage/app7/bench_2935.smt2 #34

Open
hriener opened this issue Apr 25, 2015 · 1 comment
Open

Z3/smt2_eval_STP inconsistency: QF_BV/sage/app7/bench_2935.smt2 #34

hriener opened this issue Apr 25, 2015 · 1 comment

Comments

@hriener
Copy link
Contributor

hriener commented Apr 25, 2015

This is not necessarily an issue of metaSMT.

[metaSMT] Instance is UNSAT
[z3] Instance is SAT
@hriener
Copy link
Contributor Author

hriener commented Apr 25, 2015

BOOST_AUTO_TEST_CASE(STP_error)
{
  const unsigned w = 8u;
  bitvector v85 = new_bitvector( w );
  bitvector v88 = new_bitvector( w );
  assertion( ctx, equal( bvand( v88, bvuint(7,w) ), bvuint(3,w) ) );
  assertion( ctx, equal( bvand( v85, bvuint(7,w) ), bvuint(4,w) ) );
  assertion( ctx, bvsle( bvand( v88, bvuint(7,w)),
                         bvand( v85, bvuint(7,w)) ) );
  BOOST_REQUIRE( solve(ctx) );
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant