mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 03:15:50 +00:00
wip - updates to proof logging and self-checking
move self-checking functionality to inside sat/smt so it can be used on-line and not just off-line. when self-validation fails, use vs, not clause, to check. It allows self-validation without checking and maintaining RUP validation. new options sat.smt.proof.check_rup, sat.smt.proof.check for online validation. z3 sat.smt.proof.check=true sat.euf=true /v:1 sat.smt.proof.check_rup=true /st file.smt2 sat.smt.proof=p.smt2
This commit is contained in:
parent
993ff40826
commit
ac1552d194
40 changed files with 539 additions and 419 deletions
|
@ -571,6 +571,7 @@ namespace euf {
|
|||
m_updates.push_back(update_record(false, update_record::inconsistent()));
|
||||
m_n1 = n1;
|
||||
m_n2 = n2;
|
||||
TRACE("euf", tout << "conflict " << bpp(n1) << " " << bpp(n2) << " " << j << "\n");
|
||||
m_justification = j;
|
||||
}
|
||||
|
||||
|
@ -723,7 +724,7 @@ namespace euf {
|
|||
else if (j.is_congruence())
|
||||
push_congruence(a, b, j.is_commutative());
|
||||
if (cc && j.is_congruence())
|
||||
cc->push_back(std::tuple(a, b, j.timestamp(), j.is_commutative()));
|
||||
cc->push_back(std::tuple(a->get_app(), b->get_app(), j.timestamp(), j.is_commutative()));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ namespace euf {
|
|||
// It is the only information collected from justifications in order to
|
||||
// reconstruct EUF proofs. Transitivity, Symmetry of equality are not
|
||||
// tracked.
|
||||
typedef std::tuple<enode*,enode*,uint64_t, bool> cc_justification_record;
|
||||
typedef std::tuple<app*,app*,uint64_t, bool> cc_justification_record;
|
||||
typedef svector<cc_justification_record> cc_justification;
|
||||
|
||||
class egraph {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue