Fixes #4370.
d_card_enabled = true;
// register it with the cardinality solver
d_cardSolver->registerTerm(n);
+ if (d_im.hasSent())
+ {
+ break;
+ }
// if we do not handle the kind, set incomplete
Kind nk0 = n[0].getKind();
// some kinds of cardinality we cannot handle
regress1/sets/issue2568.smt2
regress1/sets/issue2904.smt2
regress1/sets/issue4124-need-check.smt2
+ regress1/sets/issue4370-2-lemma-ee-iter.smt2
+ regress1/sets/issue4370-4-lemma-ee-iter.smt2
regress1/sets/issue4391-card-lasso.smt2
regress1/sets/issue5271.smt2
regress1/sets/issue5309.smt2
--- /dev/null
+(set-logic ALL)
+(set-info :status unsat)
+(declare-fun st1 () (Set Int))
+(declare-fun st7 () (Set Int))
+(assert (> 0 (card (intersection st1 (union st7 st1)))))
+(assert (subset st1 st7))
+(check-sat)
--- /dev/null
+(set-logic ALL)
+(set-info :status unsat)
+(declare-fun st3 () (Set String))
+(declare-fun st9 () (Set String))
+(assert (is_singleton (intersection st3 st9)))
+(assert (< 1 (card (intersection st3 st9))))
+(assert (is_singleton st9))
+(check-sat)