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 : : * Test for project issue #429. 11 : : */ 12 : : 13 : : #include <cvc5/cvc5.h> 14 : : 15 : : using namespace cvc5; 16 : : 17 : 1 : int main(void) 18 : : { 19 : 1 : TermManager tm; 20 : 1 : Solver solver(tm); 21 : 1 : Sort s1 = tm.getRealSort(); 22 : 1 : Term t6 = tm.mkConst(s1, "_x5"); 23 : : Term t16 = 24 : 2 : tm.mkReal(std::stoll("1696223.9473797265702297792792306581323741")); 25 : 3 : Term t111 = tm.mkTerm(Kind::SEQ_UNIT, {t16}); 26 : 3 : Term t119 = tm.mkTerm(tm.mkOp(Kind::SEQ_UNIT), {t6}); 27 : 4 : Term t126 = tm.mkTerm(Kind::SEQ_PREFIX, {t111, t119}); 28 : 1 : solver.checkSatAssuming({t126.notTerm()}); 29 : 1 : }