mirror of
https://github.com/Z3Prover/z3
synced 2025-08-19 01:32:17 +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
|
@ -402,8 +402,8 @@ namespace sat {
|
|||
extension::scoped_drating _sd(*m_ext.get());
|
||||
if (j.get_kind() == justification::EXT_JUSTIFICATION)
|
||||
fill_ext_antecedents(lit, j, false);
|
||||
TRACE("sat", tout << "drat-unit\n");
|
||||
m_drat.add(lit, m_searching);
|
||||
else
|
||||
m_drat.add(lit, m_searching);
|
||||
}
|
||||
|
||||
void solver::drat_log_clause(unsigned num_lits, literal const* lits, sat::status st) {
|
||||
|
@ -2890,7 +2890,8 @@ namespace sat {
|
|||
SASSERT(m_ext);
|
||||
auto idx = js.get_ext_justification_idx();
|
||||
m_ext_antecedents.reset();
|
||||
m_ext->get_antecedents(consequent, idx, m_ext_antecedents, probing);
|
||||
proof_hint* ph = nullptr;
|
||||
m_ext->get_antecedents(consequent, idx, m_ext_antecedents, probing, ph);
|
||||
}
|
||||
|
||||
bool solver::is_two_phase() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue