mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
parent
ca498e20d1
commit
4ce6b53d95
7 changed files with 190 additions and 150 deletions
|
@ -913,6 +913,11 @@ app* seq_decl_plugin::mk_string(zstring const& s) {
|
|||
}
|
||||
|
||||
|
||||
bool seq_decl_plugin::is_considered_uninterpreted(func_decl * f) {
|
||||
seq_util util(*m_manager);
|
||||
return util.str.is_nth_u(f);
|
||||
}
|
||||
|
||||
bool seq_decl_plugin::is_value(app* e) const {
|
||||
while (true) {
|
||||
if (is_app_of(e, m_family_id, OP_SEQ_EMPTY)) {
|
||||
|
|
|
@ -207,6 +207,7 @@ public:
|
|||
|
||||
bool has_re() const { return m_has_re; }
|
||||
|
||||
bool is_considered_uninterpreted(func_decl * f) override;
|
||||
};
|
||||
|
||||
class seq_util {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue