mirror of
https://github.com/Z3Prover/z3
synced 2025-08-15 15:25:26 +00:00
speeding up Generalize and adding Lazy Propagation
This commit is contained in:
parent
48e10a9e2d
commit
c98b853917
7 changed files with 491 additions and 51 deletions
|
@ -1393,6 +1393,18 @@ namespace std {
|
|||
};
|
||||
}
|
||||
|
||||
// to make Duality::ast usable in ordered collections
|
||||
namespace std {
|
||||
template <>
|
||||
class less<Duality::expr> {
|
||||
public:
|
||||
bool operator()(const Duality::expr &s, const Duality::expr &t) const {
|
||||
// return s.raw() < t.raw();
|
||||
return s.raw()->get_id() < t.raw()->get_id();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// to make Duality::func_decl hashable
|
||||
namespace hash_space {
|
||||
template <>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue