demod1 | demod_rewrites | demodulator_type | |
demod_attempts | demodulate | idx_demodulator |
void demod1(Clause c, Clause demodulator, int direction, Ilist *fpos, Ilist *ipos);Special purpose demodulation routine.
Given a clause and a demodulator that rewrites the clause, rewrite the innermost leftmost subterm to which the demodulator applies. Return the rewritten term and the position vectors of the from and into terms.
int demod_attempts();Return the number of rewrite attempts so far (for the whole process).
int demod_rewrites();Return the number of successful rewrites so far (for the whole process).
Term demodulate(Term t, Mindex demods, Ilist *just_head);This routine demodulates a term. ID numbers of demodulators are put on the front of just_head, so you'll probably want to reverse the list before putting it into the clause justification.
int demodulator_type(Clause c, int lex_dep_demod_lim, BOOL sane);Return NOT_DEMODULATOR, ORIENTED, LEX_DEP_LR, LEX_DEP_RL, or LEX_DEP_BOTH.
void idx_demodulator(Clause c, int type, Indexop operation, Mindex idx);
These activities are projects of the Mathematics and Computer Science Division of Argonne National Laboratory.