summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/instantiation_list.h
blob: 91d2e284c42c640dcdce05a8859c749c3f25f2e5 (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
/*********************                                                        */
/*! \file instantiation_list.h
 ** \verbatim
 ** Top contributors (to current version):
 **   Andrew Reynolds
 ** 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 list of instantiations
 **/

#include "cvc4_private.h"

#ifndef CVC4__THEORY__QUANTIFIERS__INSTANTIATION_LIST_H
#define CVC4__THEORY__QUANTIFIERS__INSTANTIATION_LIST_H

#include <iosfwd>
#include <vector>

#include "expr/node.h"

namespace CVC4 {

/** A list of instantiations for a quantified formula */
struct InstantiationList
{
  InstantiationList(Node q, const std::vector<std::vector<Node> >& inst)
      : d_quant(q), d_inst(inst)
  {
  }
  /** The quantified formula */
  Node d_quant;
  /** The instantiation list */
  std::vector<std::vector<Node> > d_inst;
};

/** Print the instantiation list to stream out */
std::ostream& operator<<(std::ostream& out, const InstantiationList& ilist);

/** The list of skolemization for a quantified formula */
struct SkolemList
{
  SkolemList(Node q, const std::vector<Node>& sks) : d_quant(q), d_sks(sks) {}
  /** The quantified formula */
  Node d_quant;
  /** The list of skolems for the quantified formula */
  std::vector<Node> d_sks;
};

/** Print the skolem list to stream out */
std::ostream& operator<<(std::ostream& out, const SkolemList& skl);

}  // namespace CVC4

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