delete_clause | delete_clist | demod_clause |
void delete_clause(Clause c);This routine frees a clause and all of its subterms. If the clause has an ID, it is unassigned. If the clause has a justification list, it is freed.
This routine is not in the clause package, because (at this time) the clause package doesn't know about just.h or clauseid.h.
void delete_clist(Clist l);For each Clause in the Clist, remove it from the Clist, and call delete_clause(). Finally, free the Clist.
This routine is not in the clist package, because (at this time) the clist package doesn't know about just.h or clauseid.h.
void demod_clause(Clause c, Mindex idx);Demodulate Clause c, using demodulators in Mindex idx. If any rewriting occurs, the justification is appended to the clause's existing justification.
These activities are projects of the Mathematics and Computer Science Division of Argonne National Laboratory.