GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/quantifiers/quantifiers_inference_manager.cpp Lines: 15 15 100.0 %
Date: 2021-09-15 Branches: 8 16 50.0 %

Line Exec Source
1
/******************************************************************************
2
 * Top contributors (to current version):
3
 *   Andrew Reynolds
4
 *
5
 * This file is part of the cvc5 project.
6
 *
7
 * Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
8
 * in the top-level source directory and their institutional affiliations.
9
 * All rights reserved.  See the file COPYING in the top-level source
10
 * directory for licensing information.
11
 * ****************************************************************************
12
 *
13
 * Utility for quantifiers inference manager.
14
 */
15
16
#include "theory/quantifiers/quantifiers_inference_manager.h"
17
18
#include "theory/quantifiers/instantiate.h"
19
#include "theory/quantifiers/skolemize.h"
20
21
namespace cvc5 {
22
namespace theory {
23
namespace quantifiers {
24
25
9942
QuantifiersInferenceManager::QuantifiersInferenceManager(
26
    Env& env,
27
    Theory& t,
28
    QuantifiersState& state,
29
    QuantifiersRegistry& qr,
30
    TermRegistry& tr,
31
9942
    ProofNodeManager* pnm)
32
    : InferenceManagerBuffered(env, t, state, pnm, "theory::quantifiers::"),
33
9942
      d_instantiate(new Instantiate(env, state, *this, qr, tr, pnm)),
34
19884
      d_skolemize(new Skolemize(env, state, tr, pnm))
35
{
36
9942
}
37
38
9939
QuantifiersInferenceManager::~QuantifiersInferenceManager() {}
39
40
384618
Instantiate* QuantifiersInferenceManager::getInstantiate()
41
{
42
384618
  return d_instantiate.get();
43
}
44
45
10731
Skolemize* QuantifiersInferenceManager::getSkolemize()
46
{
47
10731
  return d_skolemize.get();
48
}
49
50
174241
void QuantifiersInferenceManager::doPending()
51
{
52
174241
  doPendingLemmas();
53
174240
  doPendingPhaseRequirements();
54
174240
}
55
56
}  // namespace quantifiers
57
}  // namespace theory
58
29577
}  // namespace cvc5