mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 00:18:45 +00:00
add qed
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
25863d4682
commit
20958f1468
1 changed files with 6 additions and 0 deletions
|
@ -442,6 +442,8 @@ namespace euf {
|
||||||
log_verified(proof_hint, true);
|
log_verified(proof_hint, true);
|
||||||
add_clause(clause);
|
add_clause(clause);
|
||||||
}
|
}
|
||||||
|
if (clause.empty())
|
||||||
|
std::cout << "(qed)\n";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -471,6 +473,8 @@ namespace euf {
|
||||||
if (m_checker.vc(proof_hint, clause, vc)) {
|
if (m_checker.vc(proof_hint, clause, vc)) {
|
||||||
log_verified(proof_hint, true);
|
log_verified(proof_hint, true);
|
||||||
add_clause(clause);
|
add_clause(clause);
|
||||||
|
if (clause.empty())
|
||||||
|
std::cout << "(qed)\n";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -507,6 +511,8 @@ namespace euf {
|
||||||
diagnose_rup_failure(clause);
|
diagnose_rup_failure(clause);
|
||||||
|
|
||||||
add_clause(clause);
|
add_clause(clause);
|
||||||
|
if (clause.empty())
|
||||||
|
std::cout << "(qed)\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
void smt_proof_checker::diagnose_rup_failure(expr_ref_vector const& clause) {
|
void smt_proof_checker::diagnose_rup_failure(expr_ref_vector const& clause) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue