GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/proof/assumption_proof_generator.cpp Lines: 8 8 100.0 %
Date: 2021-09-16 Branches: 4 8 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
 * 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
13110
AssumptionProofGenerator::AssumptionProofGenerator(ProofNodeManager* pnm)
23
13110
    : d_pnm(pnm)
24
{
25
13110
}
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
29577
}  // namespace cvc5