GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/arith/nl/transcendental/proof_checker.h Lines: 2 2 100.0 %
Date: 2021-08-14 Branches: 0 0 0.0 %

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