GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/arith/nl/ext/proof_checker.h Lines: 2 2 100.0 %
Date: 2021-03-23 Branches: 2 10 20.0 %

Line Exec Source
1
/*********************                                                        */
2
/*! \file proof_checker.h
3
 ** \verbatim
4
 ** Top contributors (to current version):
5
 **   Gereon Kremer
6
 ** This file is part of the CVC4 project.
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.\endverbatim
11
 **
12
 ** \brief NlExt proof checker utility
13
 **/
14
15
#include "cvc4_private.h"
16
17
#ifndef CVC4__THEORY__ARITH__NL__EXT__PROOF_CHECKER_H
18
#define CVC4__THEORY__ARITH__NL__EXT__PROOF_CHECKER_H
19
20
#include "expr/node.h"
21
#include "expr/proof_checker.h"
22
#include "expr/proof_node.h"
23
24
namespace CVC4 {
25
namespace theory {
26
namespace arith {
27
namespace nl {
28
29
/**
30
 * A checker for NlExt proofs
31
 *
32
 * This proof checker takes care of all proofs for lemmas from the ext
33
 * subsolver.
34
 */
35
class ExtProofRuleChecker : public ProofRuleChecker
36
{
37
 public:
38
4391
  ExtProofRuleChecker() = default;
39
30394
  ~ExtProofRuleChecker() = default;
40
41
  /** Register all rules owned by this rule checker in pc. */
42
  void registerTo(ProofChecker* pc) override;
43
44
 protected:
45
  /** Return the conclusion of the given proof step, or null if it is invalid */
46
  Node checkInternal(PfRule id,
47
                     const std::vector<Node>& children,
48
                     const std::vector<Node>& args) override;
49
};
50
51
}  // namespace nl
52
}  // namespace arith
53
}  // namespace theory
54
}  // namespace CVC4
55
56
#endif /* CVC4__THEORY__STRINGS__PROOF_CHECKER_H */