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 : 8193 : const char* toString(InternalSkolemId id) 20 : : { 21 [ + + ][ + + ]: 8193 : switch (id) [ + + ][ + + ] [ + + ][ + + ] [ - ] 22 : : { 23 : 8 : case InternalSkolemId::SEQ_MODEL_BASE_ELEMENT: 24 : 8 : return "SEQ_MODEL_BASE_ELEMENT"; 25 : 2542 : case InternalSkolemId::IEVAL_NONE: return "IEVAL_NONE"; 26 : 2542 : case InternalSkolemId::IEVAL_SOME: return "IEVAL_SOME"; 27 : 124 : case InternalSkolemId::SYGUS_ANY_CONSTANT: return "SYGUS_ANY_CONSTANT"; 28 : 1714 : case InternalSkolemId::QUANTIFIERS_SYNTH_FUN_EMBED: 29 : 1714 : return "QUANTIFIERS_SYNTH_FUN_EMBED"; 30 : 107 : case InternalSkolemId::HO_TYPE_MATCH_PRED: return "HO_TYPE_MATCH_PRED"; 31 : 381 : case InternalSkolemId::MBQI_INPUT: return "MBQI_INPUT"; 32 : 28 : case InternalSkolemId::MBQI_CHOICE_FUN: return "MBQI_CHOICE_FUN"; 33 : 6 : case InternalSkolemId::ABSTRACT_VALUE: return "ABSTRACT_VALUE"; 34 : 376 : case InternalSkolemId::QE_CLOSED_INPUT: return "QE_CLOSED_INPUT"; 35 : 361 : case InternalSkolemId::QUANTIFIERS_ATTRIBUTE_INTERNAL: 36 : 361 : return "QUANTIFIERS_ATTRIBUTE_INTERNAL"; 37 : 4 : case InternalSkolemId::GET_VALUE_PURIFY: return "GET_VALUE_PURIFY"; 38 : 0 : default: return "?"; 39 : : } 40 : : } 41 : : 42 : 8193 : std::ostream& operator<<(std::ostream& out, InternalSkolemId id) 43 : : { 44 : 8193 : out << toString(id); 45 : 8193 : return out; 46 : : } 47 : : 48 : : } // namespace cvc5::internal