cf9620a07b535c5973bdf792ff503823a08bdd20
1 /********************* */
2 /*! \file quantifiers_attributes.h
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
12 ** \brief Attributes for the theory quantifiers
14 ** Attributes for the theory quantifiers.
17 #include "cvc4_private.h"
19 #ifndef __CVC4__THEORY__QUANTIFIERS__QUANTIFIERS_REWRITER_H
20 #define __CVC4__THEORY__QUANTIFIERS__QUANTIFIERS_REWRITER_H
22 #include "theory/rewriter.h"
23 #include "theory/quantifiers_engine.h"
27 namespace quantifiers
{
29 /** Attribute true for quantifiers that are axioms */
30 struct AxiomAttributeId
{};
31 typedef expr::Attribute
< AxiomAttributeId
, bool > AxiomAttribute
;
33 /** Attribute true for quantifiers that are conjecture */
34 struct ConjectureAttributeId
{};
35 typedef expr::Attribute
< ConjectureAttributeId
, bool > ConjectureAttribute
;
37 /** Attribute priority for rewrite rules */
38 //struct RrPriorityAttributeId {};
39 //typedef expr::Attribute< RrPriorityAttributeId, uint64_t > RrPriorityAttribute;
41 struct QuantifiersAttributes
43 /** set user attribute
44 * This function will apply a custom set of attributes to all top-level universal
45 * quantifiers contained in n
47 static void setUserAttribute( const std::string
& attr
, Node n
);