You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like the current approach with a warning and printing the clauses anyway because seeing what is being generated can help one see in which clause type the undeclared variable is being used. If it just printed "undeclared variable xyz" then the user would need to mentally perform the grounding to identify the offending rule.
Furthermore, some debugging techniques, like adding a debug literal, would be made heavier if the user also had to declare the debug variable each time.
The following program should not generate any unit clauses:
Bule grounds this to:
It's good that it notifies that clauses are generated of which no variables are introduced.
In my opinion it should not generate the clauses at all.
For example:
In my opinion it should not generate the clauses.
Alternative option: it generates the clauses with the atoms that have been introduced.
The text was updated successfully, but these errors were encountered: