3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 13:28:47 +00:00

duality abort hack and debugging hacks

This commit is contained in:
Ken McMillan 2013-06-27 17:29:12 -07:00
parent 0eb46eef00
commit 41f77ab57c
2 changed files with 5 additions and 3 deletions

View file

@ -764,7 +764,7 @@ public:
#if 1
// std::cout << "lemma: " << ++lemma_count << "\n";
std::cout << "lemma: " << ++lemma_count << std::endl;
if(lemma_count == SHOW_LEMMA_COUNT){
for(unsigned i = 0; i < lits.size(); i++)
show_lit(lits[i]);
@ -786,6 +786,8 @@ public:
int sat = secondary->interpolate(preds,itps);
profiling::timer_stop("foci");
std::cout << "lemma done" << std::endl;
// if sat, lemma isn't valid, something is wrong
if(sat){
#if 1
@ -1337,7 +1339,7 @@ public:
return res;
}
// #define NEW_EXTRACT_TH_LEMMA
#define NEW_EXTRACT_TH_LEMMA
void get_local_hyps(const ast &proof, std::set<ast> &res){
std::set<ast> hyps = get_hyps(proof);

View file

@ -373,7 +373,7 @@ void dl_interface::cancel() {
#else
// HACK: duality can't cancel at all times, we just exit here
std::cout << "(error \"duality canceled\")\nunknown\n";
exit(0);
abort();
#endif
}