#include "just.h"

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

Contents


Public Routines in File just.c

Index

back_demod_justdemod_justget_clause_ancestors
binary_res_justfactor_justpara_just
cd_justfprint_justzap_just

Details


Glist back_demod_just(Clause c);
This routine builds and returns a justification list for back_demod.
Glist binary_res_just(Clause c1, int n1, Clause c2, int n2);
This routine builds and returns a justification list for binary resolution. (Binary res justifications may also be constructed in resolve(), along with hyper and UR.)
Glist cd_just(Clause major, Clause minor);
This routine builds and returns a justification list for a factorization.
Glist demod_just(Glist g);
This routine builds and returns a justification list for demodulation.
Glist factor_just(Clause c, int literal_num);
This routine builds and returns a justification list for a factorization.
void fprint_just(FILE *fp, Glist just);
This routine prints (to FILE *fp) a clause justification that has been encoded into a Glist. No whitespace is printed before or after.
Glist get_clause_ancestors(Clause c);
This routine returns the Glist of clauses that are ancestors of Clause c, including clause c. The result is sorted (increasing) by ID.
Glist para_just(int rule,
		Clause from, Glist from_vec,
		Clause into, Glist into_vec);
This routine builds and returns a justification list for a paramodulation inference. The position vectors are copied and reversed.
void zap_just(Glist just);
This routine frees a justification list, including any sublists.

Public Definitions in File just.h

typedef enum {
  BINARY_RES_JUST, HYPER_RES_JUST, UR_RES_JUST, PARA_JUST,
  PARA_FX_JUST, PARA_IX_JUST, PARA_FX_IX_JUST, DEMOD_JUST,
  FACTOR_JUST, MERGE_JUST, FLIP_JUST, BACK_DEMOD_JUST, CD_JUST } Just;


Introduction

This package handles clause justifications, that is, lists that tell how a clause was derived.

(The justifications for some resolutions are constructed in clash().)


These activities are projects of the Mathematics and Computer Science Division of Argonne National Laboratory.