blob: dfb3ddad800d9737959dcbefcf81da372c668374 (
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
|
/********************* */
/*! \file proof_macros.h
** \verbatim
** Top contributors (to current version):
** Alex Ozdemir, Andrew Reynolds
** This file is part of the CVC4 project.
** Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
** in the top-level source directory and their institutional affiliations.
** All rights reserved. See the file COPYING in the top-level source
** directory for licensing information.\endverbatim
**
** \brief Macros which run code when the old or new proof system is enabled,
** or unsat cores are enabled.
**/
#include "cvc4_private.h"
#ifndef CVC4__THEORY__ARITH__PROOF_MACROS_H
#define CVC4__THEORY__ARITH__PROOF_MACROS_H
#include "options/smt_options.h"
#define ARITH_PROOF(x) \
if (CVC4::options::proof()) \
{ \
x; \
}
#define ARITH_NULLPROOF(x) (CVC4::options::proof()) ? x : NULL
#define ARITH_PROOF_ON() CVC4::options::proof()
#endif // CVC4__THEORY__ARITH__PROOF_MACROS_H
|