CBMC
resolution_proof.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module:
4 
5 Author: Daniel Kroening, kroening@kroening.com
6 
7 \*******************************************************************/
8 
9 
10 #ifndef CPROVER_SOLVERS_SAT_RESOLUTION_PROOF_H
11 #define CPROVER_SOLVERS_SAT_RESOLUTION_PROOF_H
12 
13 #include <vector>
14 
15 #include <solvers/prop/literal.h>
16 
17 class clauset
18 {
19 public:
20  bool is_root;
21 
22  // if root, what clause
24 
25  unsigned first_clause_id;
26 
27  struct stept
28  {
29  unsigned pivot_var_no;
30  unsigned clause_id;
31  };
32 
33  typedef std::vector<stept> stepst;
35 };
36 
37 template<class T=clauset>
39 {
40 public:
41  typedef std::vector<T> clausest;
43 
44  void build_core(std::vector<bool> &in_core);
45 };
46 
48 
49 #endif // CPROVER_SOLVERS_SAT_RESOLUTION_PROOF_H
stepst steps
std::vector< stept > stepst
unsigned first_clause_id
void build_core(std::vector< bool > &in_core)
std::vector< T > clausest
std::vector< literalt > bvt
Definition: literal.h:201
resolution_prooft< clauset > simple_prooft
unsigned pivot_var_no