GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/arith/nl/cad/proof_checker.h Lines: 0 1 0.0 %
Date: 2021-03-22 Branches: 0 0 0.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 CAD proof checker utility
13
 **/
14
15
#include "cvc4_private.h"
16
17
#ifndef CVC4__THEORY__ARITH__NL__CAD__PROOF_CHECKER_H
18
#define CVC4__THEORY__ARITH__NL__CAD__PROOF_CHECKER_H
19
20
#include "expr/node.h"
21
#include "expr/proof_checker.h"
22
23
namespace CVC4 {
24
namespace theory {
25
namespace arith {
26
namespace nl {
27
namespace cad {
28
29
/**
30
 * A checker for CAD proofs
31
 *
32
 * This proof checker takes care of the two CAD proof rules ARITH_NL_CAD_DIRECT
33
 * and ARITH_NL_CAD_RECURSIVE. It does not do any actual proof checking yet, but
34
 * considers them to be trusted rules.
35
 */
36
class CADProofRuleChecker : public ProofRuleChecker
37
{
38
 public:
39
  CADProofRuleChecker() {}
40
  ~CADProofRuleChecker() {}
41
42
  /** Register all rules owned by this rule checker in pc. */
43
  void registerTo(ProofChecker* pc) override;
44
45
 protected:
46
  /** Return the conclusion of the given proof step, or null if it is invalid */
47
  Node checkInternal(PfRule id,
48
                     const std::vector<Node>& children,
49
                     const std::vector<Node>& args) override;
50
};
51
52
}  // namespace cad
53
}  // namespace nl
54
}  // namespace arith
55
}  // namespace theory
56
}  // namespace CVC4
57
58
#endif /* CVC4__THEORY__STRINGS__PROOF_CHECKER_H */