#include "just.h"

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

Contents


Public Routines in File just.c

Index

append_justfactor_justmerge_justunit_del_just
back_demod_justflip_justp_just_memxx_just
binary_res_justfprint_justpara_justzap_just
cd_justfprint_just_memproof_length
demod_justget_clause_ancestorsresolve_just

Details


Just append_just(Just j1, Just j2);

Just back_demod_just(Clause c);
This routine builds and returns a justification list for back_demod.
Just 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.)
Just cd_just(Clause major, Clause minor);
This routine builds and returns a justification list for a factorization.
Just demod_just(Ilist g);
This routine builds and returns a justification list for demodulation.
Just factor_just(Clause c, int lit1, int lit2);
This routine builds and returns a justification list for a factorization.
Just flip_just(int n);
This routine builds and returns a justification equality flipping.
void fprint_just(FILE *fp, Just just);
This routine prints (to FILE *fp) a clause justification. No whitespace is printed before or after.
void fprint_just_mem(FILE *fp, int heading);
This routine prints (to FILE *fp) memory usage statistics for data types associated with ??. The Boolean argument heading tells whether to print a heading on the table.
Plist get_clause_ancestors(Clause c);
This routine returns the Plist of clauses that are ancestors of Clause c, including clause c. The result is sorted (increasing) by ID.
Just merge_just(int n);
This routine builds and returns a justification for the merging a literal. The n-th literal has been removed because it is identical to another literal.
void p_just_mem();
This routine prints (to stdout) memory usage statistics for data types associated with ??.
Just para_just(Just_type rule,
		Clause from, Ilist from_vec,
		Clause into, Ilist into_vec);
This routine builds and returns a justification list for a paramodulation inference. The position vectors are copied and reversed.
int proof_length(Plist proof);

Just resolve_just(Ilist g, Just_type type);
This routine builds and returns a justification resolution rules.
Just unit_del_just(Clause deleter, int literal_num);
This routine builds and returns a justification list for a factorization.
Just xx_just(int n);
This routine builds and returns a justification for the XX rule, which removes literals that are instances of x!=x.
void zap_just(Just just);
This routine frees a justification list, including any sublists.

Public Definitions in File just.h

typedef struct just * Just;

typedef enum {
  INPUT,             /*          Primary */
  BACK_DEMOD_JUST,   /* int      Primary  */
  FLIP_JUST,         /* int      Secondary */
  XX_JUST,           /* int      Secondary */
  MERGE_JUST,        /* int      Secondary */
 
  BINARY_RES_JUST,   /* Ilist    Primary */
  HYPER_RES_JUST,    /* Ilist    Primary */
  UR_RES_JUST,       /* Ilist    Primary */
  CD_JUST,           /* Ilist    Primary */
  FACTOR_JUST,       /* Ilist    Primary */
  DEMOD_JUST,        /* Ilist    Secondary */
  UNIT_DEL_JUST,     /* Ilist    Secondary */

  PARA_JUST,         /* Parajust Primary */
  PARA_FX_JUST,      /* Parajust Primary */
  PARA_IX_JUST,      /* Parajust Primary */
  PARA_FX_IX_JUST    /* Parajust Primary */

} Just_type;


Introduction


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