GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/bv/proof_checker.h Lines: 2 2 100.0 %
Date: 2021-03-23 Branches: 0 2 0.0 %

Line Exec Source
1
/*********************                                                        */
2
/*! \file proof_checker.h
3
 ** \verbatim
4
 ** Top contributors (to current version):
5
 **   Mathias Preiner
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 Bit-Vector proof checker utility
13
 **/
14
15
#include "cvc4_private.h"
16
17
#ifndef CVC4__THEORY__BV__PROOF_CHECKER_H
18
#define CVC4__THEORY__BV__PROOF_CHECKER_H
19
20
#include "expr/node.h"
21
#include "expr/proof_checker.h"
22
#include "expr/proof_node.h"
23
#include "theory/bv/bitblast/simple_bitblaster.h"
24
25
namespace CVC4 {
26
namespace theory {
27
namespace bv {
28
29
/** The proof checker for bit-vectors. */
30
class BVProofRuleChecker : public ProofRuleChecker
31
{
32
 public:
33
10
  BVProofRuleChecker() = default;
34
10
  ~BVProofRuleChecker() = default;
35
36
  /** Register all rules owned by this rule checker into pc. */
37
  void registerTo(ProofChecker* pc) override;
38
39
 protected:
40
  /** Return the conclusion of the given proof step, or null if it is invalid */
41
  Node checkInternal(PfRule id,
42
                     const std::vector<Node>& children,
43
                     const std::vector<Node>& args) override;
44
};
45
46
}  // namespace bv
47
}  // namespace theory
48
}  // namespace CVC4
49
50
#endif /* CVC4__THEORY__BV__PROOF_CHECKER_H */