1 /********************* */
2 /*! \file proof_checker.h
4 ** Top contributors (to current version):
6 ** This file is part of the CVC4 project.
7 ** Copyright (c) 2009-2020 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
12 ** \brief Strings proof checker utility
15 #include "cvc4_private.h"
17 #ifndef CVC4__THEORY__STRINGS__PROOF_CHECKER_H
18 #define CVC4__THEORY__STRINGS__PROOF_CHECKER_H
20 #include "expr/node.h"
21 #include "expr/proof_checker.h"
22 #include "expr/proof_node.h"
28 /** A checker for strings proofs */
29 class StringProofRuleChecker
: public ProofRuleChecker
32 StringProofRuleChecker() {}
33 ~StringProofRuleChecker() {}
35 /** Register all rules owned by this rule checker in pc. */
36 void registerTo(ProofChecker
* pc
) override
;
39 /** Return the conclusion of the given proof step, or null if it is invalid */
40 Node
checkInternal(PfRule id
,
41 const std::vector
<Node
>& children
,
42 const std::vector
<Node
>& args
) override
;
45 } // namespace strings
49 #endif /* CVC4__THEORY__STRINGS__PROOF_CHECKER_H */