Fixes #8096.
size_t ii = (ncond - 1) - i;
Node v = odef->d_value[ii];
Trace("fmc-model-func") << "Value is : " << v << std::endl;
- Assert(v.isConst());
if (curr.isNull())
{
Trace("fmc-model-func") << "base : " << v << std::endl;
<< "Representative of " << v << " is " << nv << std::endl;
if( !nv.isConst() ){
Trace("fmc-warn") << "Warning : model for " << op << " has non-constant value in model " << nv << std::endl;
- Assert(false);
}
Node en = (useSimpleModels() && hasNonStar) ? n : NodeManager::currentNM()->mkNode( APPLY_UF, entry_children );
if( std::find(conds.begin(), conds.end(), n )==conds.end() ){
regress1/fmf/issue6690-re-enum.smt2
regress1/fmf/issue6744-2-unc-bool-var.smt2
regress1/fmf/issue6744-3-unc-bool-var.smt2
+ regress1/fmf/issue8096-non-const-rep.smt2
regress1/fmf/issue916-fmf-or.smt2
regress1/fmf/jasmin-cdt-crash.smt2
regress1/fmf/ko-bound-set.cvc.smt2
--- /dev/null
+; COMMAND-LINE: --strings-exp -q
+; EXPECT: unsat
+(set-logic ALL)
+(set-info :status unsat)
+(declare-fun a () String)
+(declare-fun b () String)
+(assert (= 1 (* (str.len (str.replace_all a a b)) (- (str.len (str.from_code (str.len b))) 1))))
+(check-sat)