diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-10-28 15:17:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-28 15:17:05 -0500 |
commit | eb812afac2884131b21948aee3da9d8c1e92ba98 (patch) | |
tree | 86833576ff15aeafb135a0f186fa4333e160d2fb /test | |
parent | 3ed42d7aba07db5801cf8245890035192aa06b15 (diff) |
Fixes for unconstrained variables in nonlinear model (#5351)
This ensures that we explicitly mark x -> 0 as part of the arithmetic model coming from nonlinear for unconstrained variables x that nonlinear extension assumes to be 0.
This fixes #5348.
Diffstat (limited to 'test')
-rw-r--r-- | test/regress/CMakeLists.txt | 4 | ||||
-rw-r--r-- | test/regress/regress0/nl/iand-no-init.smt2 | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/test/regress/CMakeLists.txt b/test/regress/CMakeLists.txt index a6bf46cad..cd99823f1 100644 --- a/test/regress/CMakeLists.txt +++ b/test/regress/CMakeLists.txt @@ -608,6 +608,7 @@ set(regress_0_tests regress0/model-core.smt2 regress0/nl/coeff-sat.smt2 regress0/nl/ext-rew-aggr-test.smt2 + regress0/nl/iand-no-init.smt2 regress0/nl/issue3003.smt2 regress0/nl/issue3407.smt2 regress0/nl/issue3411.smt2 @@ -1643,7 +1644,6 @@ set(regress_1_tests regress1/quantifiers/quant-wf-int-ind.smt2 regress1/quantifiers/quaternion_ds1_symm_0428.fof.smt2 regress1/quantifiers/recfact.cvc - regress1/quantifiers/rel-trigger-unusable.smt2 regress1/quantifiers/repair-const-nterm.smt2 regress1/quantifiers/rew-to-0211-dd.smt2 regress1/quantifiers/ricart-agrawala6.smt2 @@ -2534,6 +2534,8 @@ set(regression_disabled_tests regress1/quantifiers/macro-subtype-param.smt2 # times out with competition build: regress1/quantifiers/model_6_1_bv.smt2 + # timeout after changes to nonlinear on PR #5351 + regress1/quantifiers/rel-trigger-unusable.smt2 # ajreynol: different error messages on production and debug: regress1/quantifiers/subtype-param-unk.smt2 regress1/quantifiers/subtype-param.smt2 diff --git a/test/regress/regress0/nl/iand-no-init.smt2 b/test/regress/regress0/nl/iand-no-init.smt2 new file mode 100644 index 000000000..f73703693 --- /dev/null +++ b/test/regress/regress0/nl/iand-no-init.smt2 @@ -0,0 +1,5 @@ +(set-logic ALL) +(set-info :status sat) +(declare-fun y () Int) +(assert (= 0 ((_ iand 5) y 1))) +(check-sat) |