summaryrefslogtreecommitdiff
path: root/src/theory/sets
diff options
context:
space:
mode:
authorKshitij Bansal <kshitij@cs.nyu.edu>2014-02-28 08:21:21 -0500
committerKshitij Bansal <kshitij@cs.nyu.edu>2014-02-28 08:21:21 -0500
commitc1cdecfd689abec13ec8546b265695f707e89434 (patch)
treee91e76130b9d11e30a7ad15d98994a645226ffd9 /src/theory/sets
parentdb6215dddeb90719a24793a50c87635125fd2817 (diff)
theory/sets: cleanup
Diffstat (limited to 'src/theory/sets')
-rw-r--r--src/theory/sets/theory_sets_private.cpp6
-rw-r--r--src/theory/sets/theory_sets_rewriter.cpp16
-rw-r--r--src/theory/sets/theory_sets_rewriter.h16
-rw-r--r--src/theory/sets/theory_sets_type_rules.h16
4 files changed, 51 insertions, 3 deletions
diff --git a/src/theory/sets/theory_sets_private.cpp b/src/theory/sets/theory_sets_private.cpp
index 0ff5f231d..940e8f2d2 100644
--- a/src/theory/sets/theory_sets_private.cpp
+++ b/src/theory/sets/theory_sets_private.cpp
@@ -89,8 +89,8 @@ void TheorySetsPrivate::check(Theory::Effort level) {
void TheorySetsPrivate::assertEquality(TNode fact, TNode reason, bool learnt)
{
Debug("sets-assert") << "\n[sets-assert] adding equality: " << fact
- << ", " << reason
- << ", " << learnt << std::endl;
+ << ", " << reason
+ << ", " << learnt << std::endl;
bool polarity = fact.getKind() != kind::NOT;
TNode atom = polarity ? fact : fact[0];
@@ -605,7 +605,7 @@ Node TheorySetsPrivate::explain(TNode literal)
std::vector<TNode> assumptions;
if(atom.getKind() == kind::EQUAL || atom.getKind() == kind::IFF) {
- d_equalityEngine.explainEquality(atom[0], atom[1], polarity, assumptions);
+ d_equalityEngine.explainEquality(atom[0], atom[1], polarity, assumptions);
} else if(atom.getKind() == kind::MEMBER) {
if( !d_equalityEngine.hasTerm(atom)) {
d_equalityEngine.addTerm(atom);
diff --git a/src/theory/sets/theory_sets_rewriter.cpp b/src/theory/sets/theory_sets_rewriter.cpp
index 76e60f535..db67576d8 100644
--- a/src/theory/sets/theory_sets_rewriter.cpp
+++ b/src/theory/sets/theory_sets_rewriter.cpp
@@ -1,3 +1,19 @@
+/********************* */
+/*! \file theory_sets_rewriter.cpp
+ ** \verbatim
+ ** Original author: Kshitij Bansal
+ ** Major contributors: none
+ ** Minor contributors (to current version): none
+ ** This file is part of the CVC4 project.
+ ** Copyright (c) 2013-2014 New York University and The University of Iowa
+ ** See the file COPYING in the top-level source directory for licensing
+ ** information.\endverbatim
+ **
+ ** \brief Sets theory rewriter.
+ **
+ ** Sets theory rewriter.
+ **/
+
#include "theory/sets/theory_sets_rewriter.h"
namespace CVC4 {
diff --git a/src/theory/sets/theory_sets_rewriter.h b/src/theory/sets/theory_sets_rewriter.h
index f01d198cf..715817508 100644
--- a/src/theory/sets/theory_sets_rewriter.h
+++ b/src/theory/sets/theory_sets_rewriter.h
@@ -1,3 +1,19 @@
+/********************* */
+/*! \file theory_sets_rewriter.h
+ ** \verbatim
+ ** Original author: Kshitij Bansal
+ ** Major contributors: none
+ ** Minor contributors (to current version): none
+ ** This file is part of the CVC4 project.
+ ** Copyright (c) 2013-2014 New York University and The University of Iowa
+ ** See the file COPYING in the top-level source directory for licensing
+ ** information.\endverbatim
+ **
+ ** \brief Sets theory rewriter.
+ **
+ ** Sets theory rewriter.
+ **/
+
#include "cvc4_private.h"
#ifndef __CVC4__THEORY__SETS__THEORY_SETS_REWRITER_H
diff --git a/src/theory/sets/theory_sets_type_rules.h b/src/theory/sets/theory_sets_type_rules.h
index 35534de30..aee2c92b5 100644
--- a/src/theory/sets/theory_sets_type_rules.h
+++ b/src/theory/sets/theory_sets_type_rules.h
@@ -1,3 +1,19 @@
+/********************* */
+/*! \file theory_sets_type_rules.h
+ ** \verbatim
+ ** Original author: Kshitij Bansal
+ ** Major contributors: none
+ ** Minor contributors (to current version): none
+ ** This file is part of the CVC4 project.
+ ** Copyright (c) 2013-2014 New York University and The University of Iowa
+ ** See the file COPYING in the top-level source directory for licensing
+ ** information.\endverbatim
+ **
+ ** \brief Sets theory type rules.
+ **
+ ** Sets theory type rules.
+ **/
+
#include "cvc4_private.h"
#ifndef __CVC4__THEORY__SETS__THEORY_SETS_TYPE_RULES_H
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback