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

eqrel doesn't work well with provenance #2385

Open
DerZc opened this issue Jan 5, 2023 · 0 comments
Open

eqrel doesn't work well with provenance #2385

DerZc opened this issue Jan 5, 2023 · 0 comments

Comments

@DerZc
Copy link

DerZc commented Jan 5, 2023

Hi,

Consider the following program:

.decl ytfh(A:float)
.decl bkbi(A:float, B:float) eqrel

ytfh(1).

bkbi(E, E+1) :- ytfh(E).
.output bkbi

I execute with the command souffle -D- --disable-transformers=ExpandEqrelsTransformer example.dl
and get the result

---------------
bkbi
A       B
===============
2       2
2       1
1       2
1       1
===============

But if I execute with provenance souffle -D- -t none --disable-transformers=ExpandEqrelsTransformer example.dl
I get empty result

---------------
bkbi
A       B
===============
1       2
===============

But provenance should not modify the result.

The version of Souffle is 3cd802d

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