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

Can't verify queries with const expr #52

Open
zedware opened this issue Oct 11, 2017 · 3 comments
Open

Can't verify queries with const expr #52

zedware opened this issue Oct 11, 2017 · 3 comments

Comments

@zedware
Copy link

zedware commented Oct 11, 2017

/* define schema s1,
here s1 can contain any number of attributes,
but it has to at least contain integer attributes
x and y */
schema s1(x:int, y:int, ??);

table a(s1); -- table a of schema s1

query q1 -- query 1
select x.x as ax from a x where 1=1;

query q2 -- query 2
select x.x as ax from a x where 0=0;

verify q1 q2; -- verify the equivalence

@stechu
Copy link
Contributor

stechu commented Oct 11, 2017

@zedware which result did you get? I assume it is UNKNOWN?

@zedware
Copy link
Author

zedware commented Nov 17, 2017

Result
Two queries' equivalence is unknown.
Solver runs out of time.

@stechu
Copy link
Contributor

stechu commented Nov 17, 2017

@zedware thank you! this is a known issue. currently we don't interpret predicate. We are working on Cosette 2.0 that will fix this issue.

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

2 participants