mirror of
https://github.com/Z3Prover/z3
synced 2025-08-05 02:40:24 +00:00
parent
b066f562c6
commit
98ff388c4e
3 changed files with 4 additions and 6 deletions
|
@ -973,7 +973,7 @@ namespace smt {
|
|||
/**
|
||||
\brief A monomial is 'pure' if does not have a numeric coefficient.
|
||||
*/
|
||||
bool is_pure_monomial(expr * m) const { return m_util.is_mul(m) && !m_util.is_numeral(to_app(m)->get_arg(0)); }
|
||||
bool is_pure_monomial(expr * m) const { return m_util.is_mul(m) && (to_app(m)->get_num_args() > 2 || !m_util.is_numeral(to_app(m)->get_arg(0))); }
|
||||
bool is_pure_monomial(theory_var v) const { return is_pure_monomial(get_enode(v)->get_owner()); }
|
||||
void mark_var(theory_var v, svector<theory_var> & vars, var_set & already_found);
|
||||
void mark_dependents(theory_var v, svector<theory_var> & vars, var_set & already_found, row_set & already_visited_rows);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue