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

Grouding: Avoid generating identical clauses from unnamed variables. #15

Open
AbdallahS opened this issue May 22, 2021 · 0 comments
Open

Comments

@AbdallahS
Copy link
Collaborator

Consider the following program.

bar[a]. bar[b].
bar[X], bar[Y] :: foo[X,Y].

foo[X,_] :: var(X).

Bule grounds it to

var(a). var(a). var(b). var(b).

Whereas

var(a). var(b).

would be preferable.

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