cf9620a07b535c5973bdf792ff503823a08bdd20
[cvc5.git] / src / theory / quantifiers / quantifiers_attributes.h
1 /********************* */
2 /*! \file quantifiers_attributes.h
3 ** \verbatim
4 ** Original author: Andrew Reynolds
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
11 **
12 ** \brief Attributes for the theory quantifiers
13 **
14 ** Attributes for the theory quantifiers.
15 **/
16
17 #include "cvc4_private.h"
18
19 #ifndef __CVC4__THEORY__QUANTIFIERS__QUANTIFIERS_REWRITER_H
20 #define __CVC4__THEORY__QUANTIFIERS__QUANTIFIERS_REWRITER_H
21
22 #include "theory/rewriter.h"
23 #include "theory/quantifiers_engine.h"
24
25 namespace CVC4 {
26 namespace theory {
27 namespace quantifiers {
28
29 /** Attribute true for quantifiers that are axioms */
30 struct AxiomAttributeId {};
31 typedef expr::Attribute< AxiomAttributeId, bool > AxiomAttribute;
32
33 /** Attribute true for quantifiers that are conjecture */
34 struct ConjectureAttributeId {};
35 typedef expr::Attribute< ConjectureAttributeId, bool > ConjectureAttribute;
36
37 /** Attribute priority for rewrite rules */
38 //struct RrPriorityAttributeId {};
39 //typedef expr::Attribute< RrPriorityAttributeId, uint64_t > RrPriorityAttribute;
40
41 struct QuantifiersAttributes
42 {
43 /** set user attribute
44 * This function will apply a custom set of attributes to all top-level universal
45 * quantifiers contained in n
46 */
47 static void setUserAttribute( const std::string& attr, Node n );
48 };
49
50
51 }
52 }
53 }
54
55 #endif