mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
fix #6807
This commit is contained in:
parent
3e58f0cff1
commit
d0d434e4f1
4 changed files with 29 additions and 24 deletions
|
@ -633,6 +633,12 @@ bool array_decl_plugin::is_value(app * _e) const {
|
|||
}
|
||||
}
|
||||
|
||||
bool array_decl_plugin::is_unique_value(app* _e) const {
|
||||
array_util u(*m_manager);
|
||||
expr* e = _e;
|
||||
return u.is_const(e, e) && m_manager->is_unique_value(e);
|
||||
}
|
||||
|
||||
|
||||
func_decl * array_recognizers::get_as_array_func_decl(expr * n) const {
|
||||
SASSERT(is_as_array(n));
|
||||
|
|
|
@ -137,6 +137,8 @@ class array_decl_plugin : public decl_plugin {
|
|||
|
||||
bool is_value(app * e) const override;
|
||||
|
||||
bool is_unique_value(app* e) const override;
|
||||
|
||||
};
|
||||
|
||||
class array_recognizers {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue