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 |
|
* The assumption proof generator class. |
14 |
|
*/ |
15 |
|
|
16 |
|
#include "proof/assumption_proof_generator.h" |
17 |
|
|
18 |
|
#include "proof/proof_node_manager.h" |
19 |
|
|
20 |
|
namespace cvc5 { |
21 |
|
|
22 |
13080 |
AssumptionProofGenerator::AssumptionProofGenerator(ProofNodeManager* pnm) |
23 |
13080 |
: d_pnm(pnm) |
24 |
|
{ |
25 |
13080 |
} |
26 |
|
|
27 |
853 |
std::shared_ptr<ProofNode> AssumptionProofGenerator::getProofFor(Node f) |
28 |
|
{ |
29 |
853 |
return d_pnm->mkAssume(f); |
30 |
|
} |
31 |
1706 |
std::string AssumptionProofGenerator::identify() const |
32 |
|
{ |
33 |
1706 |
return "AssumptionProofGenerator"; |
34 |
|
} |
35 |
|
|
36 |
29505 |
} // namespace cvc5 |