This commit is contained in:
4fury-c3440d8
2022-09-08 19:26:33 +03:00
parent 3edf9f84ee
commit f4a300eb3b
3 changed files with 36 additions and 3 deletions
+1 -1
View File
@@ -31,5 +31,5 @@ def build():
def install():
shelltools.system("DESTDIR=%s ninja -C build install" % get.installDIR())
pisitools.dodoc("LICENSE.txt", "README*", "RELEASE_NOTES")
pisitools.dodoc("RELEASE_NOTES.md")
@@ -0,0 +1,23 @@
From 616fc2cbd5522137b78097c247feb04e266ff780 Mon Sep 17 00:00:00 2001
From: Nikolaj Bjorner <nbjorner@microsoft.com>
Date: Sun, 4 Sep 2022 16:22:11 -0700
Subject: [PATCH] fix #6314
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
---
src/solver/assertions/asserted_formulas.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/solver/assertions/asserted_formulas.cpp b/src/solver/assertions/asserted_formulas.cpp
index 5780ef227e..5dec90ba7a 100644
--- a/src/solver/assertions/asserted_formulas.cpp
+++ b/src/solver/assertions/asserted_formulas.cpp
@@ -732,7 +732,7 @@ void asserted_formulas::bv_size_reduce_fn::simplify(justified_expr const& j, exp
auto check_reduce = [&](expr* a, expr* b) {
if (bv.is_extract(a, lo, hi, x) && lo > 0 && hi + 1 == bv.get_bv_size(x) && bv.is_numeral(b, r) && r == 0) {
// insert x -> x[0,lo-1] ++ n into sub
- new_term = bv.mk_concat(bv.mk_extract(lo - 1, 0, x), b);
+ new_term = bv.mk_concat(b, bv.mk_extract(lo - 1, 0, x));
m_sub.insert(x, new_term);
n = j.get_fml();
return true;
+12 -2
View File
@@ -13,8 +13,8 @@
<PartOf>programming.library</PartOf>
<Summary>The Z3 Theorem Prover.</Summary>
<Description>Z3 is a theorem prover from Microsoft Research.</Description>
<Archive sha1sum="376d377d1e1c4e0d7be112987a1b65ff6b21563c" type="targz">
https://github.com/Z3Prover/z3/archive/refs/tags/z3-4.8.17.tar.gz
<Archive sha1sum="e70730f338cd392d26136b03e92385b37f3447ec" type="targz">
https://github.com/Z3Prover/z3/archive/refs/tags/z3-4.11.2.tar.gz
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
@@ -23,6 +23,9 @@
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">616fc2cbd5522137b78097c247feb04e266ff780.patch</Patch>
</Patches>
</Source>
<Package>
@@ -64,6 +67,13 @@
</Package>
<History>
<Update release="6">
<Date>2022-09-05</Date>
<Version>4.11.2</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="5">
<Date>2022-05-28</Date>
<Version>4.8.17</Version>