/********************* */ /*! \file proof_rule.cpp ** \verbatim ** Top contributors (to current version): ** Andrew Reynolds ** This file is part of the CVC4 project. ** Copyright (c) 2009-2019 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.\endverbatim ** ** \brief Implementation of proof rule **/ #include "expr/proof_rule.h" #include namespace CVC4 { const char* toString(PfRule id) { switch (id) { //================================================= Core rules case PfRule::ASSUME: return "ASSUME"; //================================================= Unknown rule case PfRule::UNKNOWN: return "UNKNOWN"; default: return "?"; } } std::ostream& operator<<(std::ostream& out, PfRule id) { out << toString(id); return out; } } // namespace CVC4