Merge branch '1.3.x'
[cvc5.git] / src / proof / proof.h
1 /********************* */
2 /*! \file proof.h
3 ** \verbatim
4 ** Original author: Liana Hadarean
5 ** Major contributors: Morgan Deters
6 ** Minor contributors (to current version): none
7 ** This file is part of the CVC4 project.
8 ** Copyright (c) 2009-2013 New York University and The University of Iowa
9 ** See the file COPYING in the top-level source directory for licensing
10 ** information.\endverbatim
11 **
12 ** \brief Proof manager
13 **
14 ** Proof manager
15 **/
16
17 #include "cvc4_private.h"
18
19 #ifndef __CVC4__PROOF__PROOF_H
20 #define __CVC4__PROOF__PROOF_H
21
22 #include "smt/options.h"
23
24 #ifdef CVC4_PROOF
25 # define PROOF(x) if(options::proof()) { x; }
26 # define NULLPROOF(x) (options::proof()) ? x : NULL
27 # define PROOF_ON() options::proof()
28 #else /* CVC4_PROOF */
29 # define PROOF(x)
30 # define NULLPROOF(x) NULL
31 # define PROOF_ON() false
32 #endif /* CVC4_PROOF */
33
34 #endif /* __CVC4__PROOF__PROOF_H */