An AND was constructed from a vector that may only hold a single or no element.
This PR uses mkAnd instead.
Fixes #5550 .
}
}
Node cl = getCardinalityLiteral( d_maxNegCard );
- Node lem = NodeManager::currentNM()->mkNode( OR, cl, NodeManager::currentNM()->mkNode( AND, force_cl ) );
+ Node lem = NodeManager::currentNM()->mkNode(
+ OR, cl, NodeManager::currentNM()->mkAnd(force_cl));
Trace("uf-ss-lemma") << "*** Enforce negative cardinality constraint lemma : " << lem << std::endl;
d_im.lemma(lem, LemmaProperty::NONE, false);
return false;
regress0/issue5144-resetAssertions.smt2
regress0/issue5540-2-dump-model.smt2
regress0/issue5540-model-decls.smt2
+ regress0/issue5550-num-children.smt2
regress0/ite.cvc
regress0/ite2.smt2
regress0/ite3.smt2
--- /dev/null
+; EXPECT: sat
+(set-logic UFC)
+(declare-sort a 0)
+(declare-fun b () a)
+(assert (not (fmf.card b 1)))
+(check-sat)
\ No newline at end of file