1 /********************* */
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-2014 New York University and The University of Iowa
9 ** See the file COPYING in the top-level source directory for licensing
10 ** information.\endverbatim
12 ** \brief Proof manager
17 #include "cvc4_private.h"
19 #ifndef __CVC4__PROOF__PROOF_H
20 #define __CVC4__PROOF__PROOF_H
22 #include "smt/options.h"
25 # define PROOF(x) if(options::proof() || options::unsatCores()) { x; }
26 # define NULLPROOF(x) (options::proof() || options::unsatCores()) ? x : NULL
27 # define PROOF_ON() (options::proof() || options::unsatCores())
28 #else /* CVC4_PROOF */
30 # define NULLPROOF(x) NULL
31 # define PROOF_ON() false
32 #endif /* CVC4_PROOF */
34 #endif /* __CVC4__PROOF__PROOF_H */