Cosette icon indicating copy to clipboard operation
Cosette copied to clipboard

Better proof search for query with union

Open stechu opened this issue 7 years ago • 0 comments

We should be able to find the Coq proof for the following query. Essentially A UNION ALL EMPTY = A. There are various ways of implementing that, though.

schema s1(x:int);

table a(s1);            -- define table a using schema s1

query q1                -- define query q1 on tables a and b
`select * from a x UNION ALL
 select * from a x where false`;

query q2                -- define query q2 likewise
`select * from a x`;

verify q1 q2;           -- does q1 equal to q2? 

stechu avatar Jul 23 '17 07:07 stechu