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];
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);
+/********************* */
+/*! \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 {
+/********************* */
+/*! \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
+/********************* */
+/*! \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