mirror of
https://github.com/Z3Prover/z3
synced 2025-08-18 09:12:16 +00:00
parent
65b2037ba2
commit
c6b4641050
8 changed files with 36 additions and 22 deletions
|
@ -42,6 +42,16 @@ void rewriter_core::del_cache_stack() {
|
|||
}
|
||||
}
|
||||
|
||||
bool rewriter_core::rewrites_from(expr* t, proof* p) {
|
||||
return !p || (to_app(m().get_fact(p))->get_arg(0) == t);
|
||||
}
|
||||
|
||||
bool rewriter_core::rewrites_to(expr* t, proof* p) {
|
||||
return !p || (to_app(m().get_fact(p))->get_arg(1) == t);
|
||||
}
|
||||
|
||||
|
||||
|
||||
void rewriter_core::cache_shifted_result(expr * k, unsigned offset, expr * v) {
|
||||
#if 0
|
||||
// trace for tracking cache usage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue