/****************************************************************************** * Top contributors (to current version): * Andrew Reynolds, Mathias Preiner * * This file is part of the cvc5 project. * * Copyright (c) 2009-2022 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. * **************************************************************************** * * Test for project issue #421 * */ #include #include using namespace cvc5; int main(void) { Solver slv; slv.setLogic("QF_ALL"); Sort s1 = slv.mkBitVectorSort(4); Sort s4 = slv.getRealSort(); Sort s5 = slv.mkSequenceSort(s1); Term t8 = slv.mkConst(s5, "_x49"); Term t10 = slv.mkConst(s4, "_x51"); Term t65 = slv.mkTerm(Kind::SEQ_REV, {t8}); Term t69 = slv.mkTerm(Kind::TANGENT, {t10}); Term t77 = slv.mkTerm(Kind::LEQ, {t69, t10}); Term t128 = slv.mkTerm(Kind::SEQ_PREFIX, {t65, t8}); slv.assertFormula({t77}); slv.checkSatAssuming(t128.notTerm()); }