3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-22 05:43:39 +00:00

add logging of propagations to smt core

log theory propagations with annotation "smt".
It allows tracking theory propagations (when used in conflicts) in the clause logs similar to the new core.
This commit is contained in:
Nikolaj Bjorner 2022-11-23 08:01:15 +07:00
parent 5374142e3e
commit 6188c536ef
7 changed files with 95 additions and 17 deletions

View file

@ -1706,7 +1706,9 @@ namespace smt {
void get_units(expr_ref_vector& result);
bool on_clause_active() const { return m_clause_proof.on_clause_active(); }
bool clause_proof_active() const { return m_clause_proof.is_enabled(); }
clause_proof& get_clause_proof() { return m_clause_proof; }
void register_on_clause(void* ctx, user_propagator::on_clause_eh_t& on_clause) {
m_clause_proof.register_on_clause(ctx, on_clause);