summaryrefslogtreecommitdiff
path: root/src/proof/proof.h
blob: 02f8f7684328fbd4113cc8b96335382a346e1e9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*********************                                                        */
/*! \file proof.h
 ** \verbatim
 ** Original author: Liana Hadarean
 ** Major contributors: Morgan Deters
 ** Minor contributors (to current version): none
 ** This file is part of the CVC4 project.
 ** Copyright (c) 2009-2013  New York University and The University of Iowa
 ** See the file COPYING in the top-level source directory for licensing
 ** information.\endverbatim
 **
 ** \brief Proof manager
 **
 ** Proof manager
 **/

#include "cvc4_private.h"

#ifndef __CVC4__PROOF__PROOF_H
#define __CVC4__PROOF__PROOF_H

#include "smt/options.h"

#ifdef CVC4_PROOF
#  define PROOF(x) if(options::proof()) { x; }
#  define NULLPROOF(x) (options::proof())? x : NULL
#  define PROOF_ON() options::proof()
#else /* CVC4_PROOF */
#  define PROOF(x)
#  define NULLPROOF(x) NULL
#  define PROOF_ON() false
#endif /* CVC4_PROOF */

#endif /* __CVC4__PROOF__PROOF_H */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback