summaryrefslogtreecommitdiff
path: root/src/proof/clause_id.h
blob: 20b74b1a7f99369fe32461c1ae7353d9a4387bd5 (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
35
36
37
38
39
40
41
/******************************************************************************
 * Top contributors (to current version):
 *   Paul Meng, Mathias Preiner, Liana Hadarean
 *
 * This file is part of the cvc5 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.
 * ****************************************************************************
 *
 * Definition of ClauseId.
 *
 * A ClauseId is a shared identifier between the proofs module and the sat
 * solver for a clause.
 */

#include "cvc4_private.h"

#ifndef CVC5__PROOF__CLAUSE_ID_H
#define CVC5__PROOF__CLAUSE_ID_H

namespace cvc5 {

/**
 * A ClauseId is a shared identifier between the proofs module and the sat
 * solver for a clause.
 */
typedef unsigned ClauseId;

/** Reserved clauseId values used in the resolution proof. The represent,
 * respectively, the empty clause, that adding the clause to the SAT solver was
 * a no-op, and that an error occurred when trying to add. */
const ClauseId ClauseIdEmpty(-1);
const ClauseId ClauseIdUndef(-2);
const ClauseId ClauseIdError(-3);

}  // namespace cvc5

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