mirror of
https://github.com/Z3Prover/z3
synced 2025-11-05 05:49:13 +00:00
Refine is_fully_interp implementation with SASSERT
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
f7a8260356
commit
c1665a5cad
1 changed files with 2 additions and 5 deletions
|
|
@ -183,12 +183,9 @@ expr * finite_set_decl_plugin::get_some_value(sort * s) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool finite_set_decl_plugin::is_fully_interp(sort * s) const {
|
bool finite_set_decl_plugin::is_fully_interp(sort * s) const {
|
||||||
if (!is_finite_set(s))
|
SASSERT(is_finite_set(s));
|
||||||
return false;
|
|
||||||
sort* element_sort = get_element_sort(s);
|
sort* element_sort = get_element_sort(s);
|
||||||
if (!element_sort)
|
return element_sort && m_manager->is_fully_interp(element_sort);
|
||||||
return false;
|
|
||||||
return m_manager->is_fully_interp(element_sort);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool finite_set_decl_plugin::is_value(app * e) const {
|
bool finite_set_decl_plugin::is_value(app * e) const {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue