Arg2pUnificator
The unificator of the argumentation solvers: the default one, without the occurs check unless explicitly requested (as in unify_with_occurs_check/2), as in standard Prolog, computed in a single pass (see Unification).
The occurs check visits the whole term bound to a variable, and arguments (nested lists of rules, conclusions and premises) are bound to variables at almost every resolution step.
Functions
Link copied to clipboard
Theories look clauses up by matching Head :- _ against each stored clause: the body is a fresh variable, which matches any body, so only the heads are compared. Matching the bodies too would cost, with the default unificator, a pass over the stored body for every variable of the head.