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
|
/********************* */
/*! \file quantifiers_inference_manager.cpp
** \verbatim
** Top contributors (to current version):
** Andrew Reynolds, Gereon Kremer
** This file is part of the CVC4 project.
** Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
** in the top-level source directory and their institutional affiliations.
** All rights reserved. See the file COPYING in the top-level source
** directory for licensing information.\endverbatim
**
** \brief Utility for quantifiers inference manager
**/
#include "theory/quantifiers/quantifiers_inference_manager.h"
#include "theory/quantifiers/instantiate.h"
#include "theory/quantifiers/skolemize.h"
namespace CVC5 {
namespace theory {
namespace quantifiers {
QuantifiersInferenceManager::QuantifiersInferenceManager(
Theory& t,
QuantifiersState& state,
QuantifiersRegistry& qr,
TermRegistry& tr,
ProofNodeManager* pnm)
: InferenceManagerBuffered(t, state, pnm, "theory::quantifiers"),
d_instantiate(new Instantiate(state, *this, qr, tr, pnm)),
d_skolemize(new Skolemize(state, pnm))
{
}
QuantifiersInferenceManager::~QuantifiersInferenceManager() {}
Instantiate* QuantifiersInferenceManager::getInstantiate()
{
return d_instantiate.get();
}
Skolemize* QuantifiersInferenceManager::getSkolemize()
{
return d_skolemize.get();
}
void QuantifiersInferenceManager::doPending()
{
doPendingLemmas();
doPendingPhaseRequirements();
}
} // namespace quantifiers
} // namespace theory
} // namespace CVC5
|