Branch data Line data Source code
1 : : /****************************************************************************** 2 : : * This file is part of the cvc5 project. 3 : : * 4 : : * Copyright (c) 2009-2026 by the authors listed in the file AUTHORS 5 : : * in the top-level source directory and their institutional affiliations. 6 : : * All rights reserved. See the file COPYING in the top-level source 7 : : * directory for licensing information. 8 : : * **************************************************************************** 9 : : * 10 : : * The assumption proof generator class. 11 : : */ 12 : : 13 : : #include "proof/assumption_proof_generator.h" 14 : : 15 : : #include "proof/proof_node_manager.h" 16 : : 17 : : namespace cvc5::internal { 18 : : 19 : 110191 : AssumptionProofGenerator::AssumptionProofGenerator(ProofNodeManager* pnm) 20 : 110191 : : d_pnm(pnm) 21 : : { 22 : 110191 : } 23 : : 24 : 1917 : std::shared_ptr<ProofNode> AssumptionProofGenerator::getProofFor(Node f) 25 : : { 26 : 1917 : return d_pnm->mkAssume(f); 27 : : } 28 : 0 : std::string AssumptionProofGenerator::identify() const 29 : : { 30 : 0 : return "AssumptionProofGenerator"; 31 : : } 32 : : 33 : : } // namespace cvc5::internal