commit_heads(+ClauseRefs, -Commits) is det[private]
Commits is an assoc that maps each clause in ClauseRefs to the heads of the clauses of its predicate before it that commit unconditionally to their clause. A call that is an instance of one of these heads never reaches the clause. Clauses commit unconditionally if their body starts with a cut or, for predicates defined using single sided unification (=>), if they have no guard.