summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/quantifiers_inference_manager.h
blob: 5cb42e33c11a1ebb8a7dccef08d8cee9c50fa23c (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/******************************************************************************
 * Top contributors (to current version):
 *   Andrew Reynolds
 *
 * This file is part of the cvc5 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.
 * ****************************************************************************
 *
 * Utility for quantifiers inference manager.
 */

#include "cvc5_private.h"

#ifndef CVC5__THEORY__QUANTIFIERS__QUANTIFIERS_INFERENCE_MANAGER_H
#define CVC5__THEORY__QUANTIFIERS__QUANTIFIERS_INFERENCE_MANAGER_H

#include "theory/inference_manager_buffered.h"
#include "theory/quantifiers/quantifiers_state.h"

namespace cvc5 {
namespace theory {
namespace quantifiers {

class Instantiate;
class Skolemize;
class QuantifiersRegistry;
class TermRegistry;
class FirstOrderModel;
/**
 * The quantifiers inference manager.
 */
class QuantifiersInferenceManager : public InferenceManagerBuffered
{
 public:
  QuantifiersInferenceManager(Theory& t,
                              QuantifiersState& state,
                              QuantifiersRegistry& qr,
                              TermRegistry& tr,
                              ProofNodeManager* pnm);
  ~QuantifiersInferenceManager();
  /** get instantiate utility */
  Instantiate* getInstantiate();
  /** get skolemize utility */
  Skolemize* getSkolemize();
  /**
   * Do all pending lemmas, then do all pending phase requirements.
   */
  void doPending();

 private:
  /** instantiate utility */
  std::unique_ptr<Instantiate> d_instantiate;
  /** skolemize utility */
  std::unique_ptr<Skolemize> d_skolemize;
};

}  // namespace quantifiers
}  // namespace theory
}  // namespace cvc5

#endif /* CVC5__THEORY__QUANTIFIERS__QUANTIFIERS_INFERENCE_MANAGER_H */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback