GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/booleans/theory_bool.h Lines: 2 3 66.7 %
Date: 2021-03-22 Branches: 0 2 0.0 %

Line Exec Source
1
/*********************                                                        */
2
/*! \file theory_bool.h
3
 ** \verbatim
4
 ** Top contributors (to current version):
5
 **   Andrew Reynolds, Andres Noetzli, 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 The theory of booleans
13
 **
14
 ** The theory of booleans.
15
 **/
16
17
#include "cvc4_private.h"
18
19
#ifndef CVC4__THEORY__BOOLEANS__THEORY_BOOL_H
20
#define CVC4__THEORY__BOOLEANS__THEORY_BOOL_H
21
22
#include "context/context.h"
23
#include "theory/booleans/proof_checker.h"
24
#include "theory/booleans/theory_bool_rewriter.h"
25
#include "theory/theory.h"
26
27
namespace CVC4 {
28
namespace theory {
29
namespace booleans {
30
31
17984
class TheoryBool : public Theory {
32
 public:
33
  TheoryBool(context::Context* c,
34
             context::UserContext* u,
35
             OutputChannel& out,
36
             Valuation valuation,
37
             const LogicInfo& logicInfo,
38
             ProofNodeManager* pnm = nullptr);
39
40
8995
  TheoryRewriter* getTheoryRewriter() override { return &d_rewriter; }
41
42
  PPAssertStatus ppAssert(TrustNode tin,
43
                          TrustSubstitutionMap& outSubstitutions) override;
44
45
  std::string identify() const override { return std::string("TheoryBool"); }
46
47
 private:
48
  /** The theory rewriter for this theory. */
49
  TheoryBoolRewriter d_rewriter;
50
  /** Proof rule checker */
51
  BoolProofRuleChecker d_bProofChecker;
52
};/* class TheoryBool */
53
54
}/* CVC4::theory::booleans namespace */
55
}/* CVC4::theory namespace */
56
}/* CVC4 namespace */
57
58
#endif /* CVC4__THEORY__BOOLEANS__THEORY_BOOL_H */