1 /********************* */
2 /*! \file proof_bitblaster.h
4 ** Top contributors (to current version):
5 ** Aina Niemetz, 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
12 ** \brief A bit-blaster wrapper around BBSimple for proof logging.
14 #include "cvc4_private.h"
16 #ifndef CVC4__THEORY__BV__BITBLAST__PROOF_BITBLASTER_H
17 #define CVC4__THEORY__BV__BITBLAST__PROOF_BITBLASTER_H
19 #include "theory/bv/bitblast/simple_bitblaster.h"
27 using Bits
= std::vector
<Node
>;
30 BBProof(TheoryState
* state
);
33 /** Bit-blast atom 'node'. */
34 void bbAtom(TNode node
);
35 /** Check if atom was already bit-blasted. */
36 bool hasBBAtom(TNode atom
) const;
37 /** Check if term was already bit-blasted. */
38 bool hasBBTerm(TNode node
) const;
39 /** Get bit-blasted node stored for atom. */
40 Node
getStoredBBAtom(TNode node
);
41 /** Collect model values for all relevant terms given in 'relevantTerms'. */
42 bool collectModelValues(TheoryModel
* m
, const std::set
<Node
>& relevantTerms
);
45 std::unique_ptr
<BBSimple
> d_bb
;