3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-20 10:10:21 +00:00

update on euf

This commit is contained in:
Nikolaj Bjorner 2025-08-17 16:48:41 -07:00
parent c75b8ec752
commit 4082e4e56a
2 changed files with 33 additions and 5 deletions

View file

@ -175,6 +175,10 @@ namespace euf {
void map_congruence(expr* t);
void add_consequence(expr* t);
bool is_congruences(expr* f) const {
return is_app(f) && to_app(f)->get_num_args() == 1 && symbol("congruences") == to_app(f)->get_decl()->get_name();
}
// Enable equality propagation inside of quantifiers
// add quantifier bodies as closure terms to the E-graph.
// use fresh variables for bound variables, but such that the fresh variables are