#include "paramod.h"

This page has information from files paramod.h and paramod.c.

Contents


Public Routines in File paramod.c

Index

para_from_intopara_pos
basic_paramodulation_prunespara_instance_prunesparamodulate

Details



void paramodulation_options(BOOL ordered_para,
			    BOOL check_para_instances,
			    BOOL basic_paramodulation);

int basic_paramodulation_prunes(void);
How many paramodulants were killed because they failed the "basic" test.
void para_from_into(Topform from, Context cf,
		    Topform into, Context ci,
		    BOOL top_check,
		    void (*proc_proc) (Topform));
Paramodulate from one clause into another (non-backtrack unification version).

For oriented equality atoms, we go from left sides only and into both sides. For nonoriented equality atoms, we go from and into both sides.

"top_check" is used to prevent redundancy. If paramodulating C->D and then D->C, use top_check for the second call.


int para_instance_prunes();

Topform para_pos(Topform from, Ilist from_pos, Topform into, Ilist into_pos);
Construct a paramodulant from the given data. A fatal error occurs if it does not exist. In building the justification, the position vectors are copied.
Topform paramodulate(Literals from_lit,
		    Term alpha, Context from_subst,
		    Term into,  Context into_subst);

Public Definitions in File paramod.h

/* where to paramodulate into */

typedef enum { PARA_ALL,
	       PARA_ALL_EXCEPT_TOP,
	       PARA_TOP_ONLY } Para_loc;


Introduction

This package has a paramodulation inference rule.