3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 17:45:32 +00:00

resort to only supporting ground non-linear division for nra_tactic/nra_probe #2372 #2376

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-07-04 07:04:35 +07:00
parent 8e2ad4e461
commit c744b19bce
2 changed files with 11 additions and 26 deletions

View file

@ -484,6 +484,8 @@ struct is_non_nira_functor {
case OP_IDIV: case OP_DIV: case OP_REM: case OP_MOD:
if (m_linear && !u.is_numeral(n->get_arg(1)))
throw_found(n);
if (!is_ground(n->get_arg(0)) || !is_ground(n->get_arg(1)))
throw_found(n);
return;
case OP_IS_INT:
if (m_real)