blob: 649f0bf404dc1206b874f28724d2c8d39971475f (
plain)
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
|
/********************* */
/*! \file skolemization_manager.h
**/
#include "cvc4_private.h"
#ifndef __CVC4__SKOLEMIZATION_MANAGER_H
#define __CVC4__SKOLEMIZATION_MANAGER_H
#include <iostream>
#include <map>
#include "proof/proof.h"
#include "util/proof.h"
#include "expr/node.h"
#include "theory/logic_info.h"
#include "theory/substitutions.h"
namespace CVC4 {
class SkolemizationManager {
public:
void registerSkolem(Node disequality, Node skolem);
bool hasSkolem(Node disequality);
Node getSkolem(Node disequality);
Node getDisequality(Node skolem);
bool isSkolem(Node skolem);
void clear();
std::hash_map<Node, Node, NodeHashFunction>::const_iterator begin();
std::hash_map<Node, Node, NodeHashFunction>::const_iterator end();
private:
std::hash_map<Node, Node, NodeHashFunction> d_disequalityToSkolem;
std::hash_map<Node, Node, NodeHashFunction> d_skolemToDisequality;
};
}/* CVC4 namespace */
#endif /* __CVC4__SKOLEMIZATION_MANAGER_H */
|