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
A problem about ungrounded variable #2318
Comments
Sorry for that this reduced example may not represent the bug very well, because in this example I This is the original test case which is same with that in my first edit version:
And I re-reduce it:
Remove the |
@langston-barrett Good advice, I'll try it out, thank you very much! |
Maybe this test case more useful:
There must be two symbols in |
When the clause of a `no_inline` relation contains an atom of an `inline` relation, the atom is not inlined. Hence the `inline` relation should appear as a normal relation to support non inlined atoms. The interpretation is as follows: - do not inline any atom in clauses of relations marked `no_inline`. - inline atoms of relations marked `inline`, except in clauses of relations marked `no_inline`. The fix consists in removing the `inline` mark on every relations at the end of the InlineRelationsTransformer pass. fix souffle-lang#2318
Hi,
I read the document of Souffle, and find the definition of "ungrounded variable" as "All variables of a rule must be grounded, i.e., a variable must occur at least once as an argument of a positive predicate in the body of a rule."
But I get an assertion of ungrounded variable with this program:
Run the interpreter and get an assertion failure:
I guess the problem in the
no_inline
oficpa
is conflict with theinline
ofrlqm
. The program can execute correctly if I remove one of them.I use the latest release version of Souffle.
The text was updated successfully, but these errors were encountered: