Branch data Line data Source code
1 : : /****************************************************************************** 2 : : * This file is part of the cvc5 project. 3 : : * 4 : : * Copyright (c) 2009-2026 by the authors listed in the file AUTHORS 5 : : * in the top-level source directory and their institutional affiliations. 6 : : * All rights reserved. See the file COPYING in the top-level source 7 : : * directory for licensing information. 8 : : * **************************************************************************** 9 : : * 10 : : * Implementation of skolem manager class. 11 : : */ 12 : : 13 : : #include "expr/internal_skolem_id.h" 14 : : 15 : : #include <sstream> 16 : : 17 : : namespace cvc5::internal { 18 : : 19 : 7816 : const char* toString(InternalSkolemId id) 20 : : { 21 [ + + ][ + + ]: 7816 : switch (id) [ + + ][ + + ] [ + + ][ + - ] 22 : : { 23 : 8 : case InternalSkolemId::SEQ_MODEL_BASE_ELEMENT: 24 : 8 : return "SEQ_MODEL_BASE_ELEMENT"; 25 : 2477 : case InternalSkolemId::IEVAL_NONE: return "IEVAL_NONE"; 26 : 2477 : case InternalSkolemId::IEVAL_SOME: return "IEVAL_SOME"; 27 : 124 : case InternalSkolemId::SYGUS_ANY_CONSTANT: return "SYGUS_ANY_CONSTANT"; 28 : 1713 : case InternalSkolemId::QUANTIFIERS_SYNTH_FUN_EMBED: 29 : 1713 : return "QUANTIFIERS_SYNTH_FUN_EMBED"; 30 : 95 : case InternalSkolemId::HO_TYPE_MATCH_PRED: return "HO_TYPE_MATCH_PRED"; 31 : 175 : case InternalSkolemId::MBQI_INPUT: return "MBQI_INPUT"; 32 : 6 : case InternalSkolemId::ABSTRACT_VALUE: return "ABSTRACT_VALUE"; 33 : 376 : case InternalSkolemId::QE_CLOSED_INPUT: return "QE_CLOSED_INPUT"; 34 : 361 : case InternalSkolemId::QUANTIFIERS_ATTRIBUTE_INTERNAL: 35 : 361 : return "QUANTIFIERS_ATTRIBUTE_INTERNAL"; 36 : 4 : case InternalSkolemId::GET_VALUE_PURIFY: return "GET_VALUE_PURIFY"; 37 : 0 : default: return "?"; 38 : : } 39 : : } 40 : : 41 : 7816 : std::ostream& operator<<(std::ostream& out, InternalSkolemId id) 42 : : { 43 : 7816 : out << toString(id); 44 : 7816 : return out; 45 : : } 46 : : 47 : : } // namespace cvc5::internal