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 |
|
* List of instantiations. |
14 |
|
*/ |
15 |
|
|
16 |
|
#include "theory/quantifiers/instantiation_list.h" |
17 |
|
|
18 |
|
#include "options/base_options.h" |
19 |
|
#include "printer/printer.h" |
20 |
|
|
21 |
|
namespace cvc5 { |
22 |
|
|
23 |
39 |
InstantiationVec::InstantiationVec(const std::vector<Node>& vec, |
24 |
|
theory::InferenceId id, |
25 |
39 |
Node pfArg) |
26 |
39 |
: d_vec(vec), d_id(id), d_pfArg(pfArg) |
27 |
|
{ |
28 |
39 |
} |
29 |
|
|
30 |
21 |
void InstantiationList::initialize(Node q) { d_quant = q; } |
31 |
15 |
std::ostream& operator<<(std::ostream& out, const InstantiationList& ilist) |
32 |
|
{ |
33 |
15 |
Printer::getPrinter(options::outputLanguage())->toStream(out, ilist); |
34 |
15 |
return out; |
35 |
|
} |
36 |
|
|
37 |
9 |
std::ostream& operator<<(std::ostream& out, const SkolemList& skl) |
38 |
|
{ |
39 |
9 |
Printer::getPrinter(options::outputLanguage())->toStream(out, skl); |
40 |
9 |
return out; |
41 |
|
} |
42 |
|
|
43 |
29505 |
} // namespace cvc5 |