-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEqp.h
74 lines (40 loc) · 1.73 KB
/
Eqp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/* File inherited from EQP0.9 and adapted for the */
/* MODIFIED CLAUSE DIFFUSION distributed prover Peers_mcd */
#ifndef TP_EQP_H
#define TP_EQP_H
/* function prototypes from eqp.c */
void init(void);
void flag_dep_init(void);
void read_preamble(void);
int subsumes(Clause_ptr c1, Clause_ptr c2);
Clause_ptr subsume_list(Clause_ptr c, List_ptr l);
Clause_ptr conflict_list(Clause_ptr c, List_ptr l);
Clause_ptr functional_subsume(Term_ptr alpha, Term_ptr beta,
Clause_ptr original, int depth);
Clause_ptr forward_subsume(Clause_ptr c);
void check_for_proof(Clause_ptr c);
void term_list_to_literal_list(Gen_ptr_ptr p, List_ptr l);
void read_lists(FILE *fp, List_ptr usable, List_ptr sos, List_ptr passive,
List_ptr demodulators);
void process_all_input(List_ptr usable, List_ptr sos, List_ptr passive,
List_ptr demodulators);
void demodulate_cl(Clause_ptr c);
void back_demodulate(Clause_ptr demod, int input);
void new_demodulator(Clause_ptr demod, int input);
Clause_ptr process_clause(Clause_ptr c, int input);
void store_clause(Clause_ptr c, List_ptr lst);
void process_and_store_clause(Clause_ptr c, int input, List_ptr lst);
void process_derived_clause(Clause_ptr c);
int inferences_to_make(void);
int sos_test(Clause_ptr c1, Clause_ptr c2);
void make_inferences(void);
List_ptr get_bd_clauses(Clause_ptr demod);
void index_for_bd(Clause_ptr c, int insert);
void index_bs_conflict(Clause_ptr c, int insert);
void index_for_sub(Clause_ptr c, int insert);
void index_demod(Clause_ptr c, int insert);
void index_for_paramod(Clause_ptr c, int insert);
void insert_clause_by_weight(Clause_ptr c, List_ptr l);
void disable_clause(Clause_ptr c);
int simplifiable_subst(Context_ptr subst);
#endif /* ! TP_EQP_H */