Nikolaj Bjorner
ab9aee189b
perf #6100
2022-06-21 13:49:52 -07:00
Nuno Lopes
25e915fe95
fix #5990 : deadlock in the scoped_timer
...
Thanks to Felix Kohlgrueber for reporting the bug and for the analysis
2022-06-21 16:29:09 +01:00
Nuno Lopes
d9fcfdab34
fix debug build
2022-06-17 14:35:33 +01:00
Nuno Lopes
73a24ca0a9
remove '#include <iostream>' from headers and from unneeded places
...
It's harmful to have iostream everywhere as it injects functions in the compiled files
2022-06-17 14:10:19 +01:00
Nikolaj Bjorner
55421afd61
fix regression in top-sort fix #6060
2022-06-14 09:51:06 -07:00
Nikolaj Bjorner
c5847504ff
contains-partition
2022-06-08 12:20:45 -07:00
Nikolaj Bjorner
80604c7bc5
na
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-06-08 07:00:59 -07:00
Nikolaj Bjorner
51ed13f96a
update topological sort to use arrays instead of hash tables, expose Context over Z3Object for programmability
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-06-08 06:28:24 -07:00
Nikolaj Bjorner
cc045debac
again
2022-06-06 11:23:18 -07:00
Nikolaj Bjorner
bb6c274ad3
fix #6085
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-06-06 10:00:08 -07:00
Christoph M. Wintersteiger
d722c73d4c
Fix corner case in MPF FMA ( #6075 )
2022-06-04 15:55:26 +01:00
Nikolaj Bjorner
dd46224a1d
use structured proof hints
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-28 09:37:41 -07:00
Nikolaj Bjorner
7da9f12521
expose description of global parameters #6048
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-27 08:50:40 -04:00
Nikolaj Bjorner
1028c80851
update pretty printer for recursive function filtering
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-15 11:59:41 -07:00
Nikolaj Bjorner
5a2c92f4af
format
2022-04-22 17:25:37 +01:00
Nikolaj Bjorner
09b0c4bc9d
fix #5988
2022-04-19 07:17:24 +02:00
Nikolaj Bjorner
807121aa03
wip
2022-04-16 14:55:43 +02:00
Nikolaj Bjorner
c33611e9e0
include map for non vs builds
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-04-15 19:23:48 +02:00
Nikolaj Bjorner
cc36dd1e0d
include map for non vs builds
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-04-15 19:18:17 +02:00
Nikolaj Bjorner
3cc9d7f443
improve pre-processing
2022-04-15 12:55:26 +02:00
Nikolaj Bjorner
8c2909f52b
working on python make for arm
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-04-07 13:36:23 +02:00
Nuno Lopes
43f7636826
remove some copies/moves
2022-03-09 12:46:41 +00:00
Nikolaj Bjorner
3293aeb7c7
na
2022-03-08 08:36:19 -08:00
Nuno Lopes
689e2d41de
remove a bunch of unneeded memory allocations
2022-02-25 16:08:23 +00:00
Nikolaj Bjorner
f66b4f0880
fir #5856
2022-02-20 15:32:41 +02:00
Nikolaj Bjorner
ca18150c23
bypass append when src is empty
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-12-31 16:43:07 -08:00
Nikolaj Bjorner
fc77345bec
breaking change. Enforce append semantics everywhere for parameter updates #5744
...
Replace semantics doesn't work with assumptions made elsewhere in code.
The remedy is to apply append (override) semantics for parameter changes.
2021-12-30 19:11:14 -08:00
zhouzhenghui
9d82c1d8a9
fix deadlock in scoped_timer destructor ( #5371 )
2021-12-21 18:47:13 +00:00
Margus Veanes
a7b1db611c
State graph dgml update and fixes in condition simplifier ( #5721 )
...
* improved generated dgml graph
* fixed simplification of negated ranges and did some code cleanup
* do not make loops with lower=upper=0, this is epsilon
* do not add loops with lower=upper=1
* bug fix in normalization: forgotten eps case
2021-12-19 11:09:55 -08:00
Nikolaj Bjorner
8ca023d541
expose propagate created
2021-12-17 16:12:47 -08:00
Nikolaj Bjorner
3036b88f09
support threading for TRACE mode
2021-10-25 13:35:32 +02:00
Nikolaj Bjorner
de20bffafe
import goodies from ps
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-21 11:13:03 -07:00
Nikolaj Bjorner
50375df8dc
enforce idempotency
...
bug reported by Clemens
2021-09-15 15:36:20 +01:00
Nikolaj Bjorner
f13ccf8969
bv2char and char2bv with Clemens
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-13 16:09:03 +02:00
CEisenhofer
47fdd6c060
Added 16 bit string-encoding ( #5540 )
2021-09-09 11:35:16 +02:00
Nikolaj Bjorner
20a259cfaa
throw less #5519
2021-09-03 10:40:08 -07:00
Nuno Lopes
9b5ec6d004
logging cleanup
...
move everything out-of-line as common path doesn't log
fix some race conditions on file ptr vs enable_logging vars
2021-08-29 12:24:19 +01:00
Nikolaj Bjorner
23b995d3b5
#5499
...
throw exception when dividing by a small 0
2021-08-24 08:52:20 -07:00
Margus Veanes
225204e2f4
updates related to issue #5140 ( #5463 )
...
* updates related to issue #5140
* updated/simplified some cases
* fixing feedback comments
* fixed comments and added missing case for get_re_head_tail_reversed
* two bug fixes and some other code improvements
2021-08-09 10:48:56 -07:00
Nikolaj Bjorner
202ed79a24
#5445
2021-08-03 11:17:23 -07:00
Nikolaj Bjorner
123c446395
fix #5449
2021-08-01 13:03:40 -07:00
Nikolaj Bjorner
4a0a678e3f
#5336
2021-06-19 22:21:45 -07:00
Nikolaj Bjorner
3da9d91866
#5333
2021-06-06 16:45:50 -07:00
Jakob Rath
46f8b15c14
ref/ref_vector minor convenience changes ( #5322 )
...
* Add ref_vector_core::push_back(ref<T>&&)
* Make operator bool() explicit
2021-05-31 10:27:46 -07:00
Nuno Lopes
f1545b04d2
optimize symbol table for single-threaded mode
...
remotes a bunch of mem allocs + unnecessary computations on every string lookup
2021-05-23 16:35:44 +01:00
Nuno Lopes
aef38099bf
vector.h: add assert to fail compilation if alignment isn't ok
...
let's see if all buildbots are happy with this..
2021-05-23 15:57:56 +01:00
Nuno Lopes
8fd7226b6f
typo
2021-05-23 14:28:42 +01:00
Nuno Lopes
f1e0d5dc8a
remove a hundred implicit constructors/destructors
2021-05-23 14:25:01 +01:00
Nuno Lopes
9eb566b401
simplify some constructors/destructors
2021-05-23 12:39:49 +01:00
Nuno Lopes
79201e5ce6
buffer.h c++17 improvements
...
1) ensure data is properly aligned
2) add move constructor (useful for zstrings)
2021-05-23 12:11:12 +01:00
Nuno Lopes
34e8a2f0f6
simplify
2021-05-23 12:01:04 +01:00
Nikolaj Bjorner
20a67e47ca
remove symbol -> zstring -> symbol round-trips
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-05-22 13:12:49 -07:00
Nikolaj Bjorner
5cb0bac41d
patch
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-05-22 12:26:54 -07:00
Nikolaj Bjorner
a10de2e975
#5140
2021-05-22 10:15:06 -07:00
Jakob Rath
089015b250
Minor fix in sat::literal ( #5293 )
2021-05-21 13:50:01 -07:00
Nikolaj Bjorner
03d2c5f3d0
consolidate literals
2021-05-20 12:58:27 -07:00
Nikolaj Bjorner
ec034679ce
#5215
...
memory leaks
2021-05-19 12:42:38 -07:00
Nikolaj Bjorner
decbf4be11
fix undo record for lblset
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-04-29 14:06:18 -07:00
Nikolaj Bjorner
e5892e5e97
#5215
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-04-27 15:26:56 -07:00
Nikolaj Bjorner
c03fac8390
Investigating std::vector and #5178
2021-04-24 14:50:59 -07:00
Nikolaj Bjorner
770c79a939
prepare for std::vector
2021-04-20 09:24:24 -07:00
Nuno Lopes
e67b9ebcf7
try to fix ARM32 build ( #2776 )
2021-04-17 16:14:05 +01:00
Rolf Eike Beer
7f8e2a9f75
clean up CMake code ( #5182 )
...
* CMake: simplify FindGMP.cmake
Remove printing of all the different variables, and let FPHSA output the library
name. Add an imported target, which bundles the library and the include
directories for easier usage.
* fix build: vector::c_ptr() now is vector::data()
* CMake: use Threads::Threads imported module
Otherwise the setting of THREADS_PREFER_PTHREAD_FLAG has no effect.
* CMake: remove needless policy setting
The minimum required version is CMake 3.4, where these policies are already set
to new because they were introduced earlier.
* CMake: remove needless variable expansion
2021-04-14 10:29:15 -07:00
Nikolaj Bjorner
4a6083836a
call it data instead of c_ptr for approaching C++11 std::vector convention.
2021-04-13 18:17:35 -07:00
Nikolaj Bjorner
e89071d366
#5125
2021-03-26 14:58:24 -07:00
Luca Bruno
b918f121ef
zstring: fix encode rountrip for '\' as printable ASCII ( #5120 )
...
This fixes encode roundtripping for all printable ASCII characters.
In particular, this now leaves a plain '\' untouched by the
encoding logic, instead of converting it to escaped hex-digits.
It also adds unit testing covering this specific zstring encoding
property, in order to avoid future regressions.
2021-03-23 11:25:59 -07:00
Nikolaj Bjorner
2fef6dc502
more scaffolding
2021-03-21 11:31:14 -07:00
Nikolaj Bjorner
a1f484fa35
na
2021-03-19 16:42:45 -07:00
Nikolaj Bjorner
15a7621e27
remove template dependency for trail objects
2021-03-19 11:15:05 -07:00
Nikolaj Bjorner
857557ad93
deal with compiler warnings
2021-03-08 20:39:19 -08:00
Nikolaj Bjorner
f29a596070
deal with compiler warnings, from MacOS CI build
2021-03-08 17:14:09 -08:00
Nikolaj Bjorner
38737db802
fixes and more porting seq_eq_solver to self-contained module
2021-03-04 16:23:22 -08:00
Nuno Lopes
db04ccb137
scoped_timer: skip extra unneded heap allocation
2021-03-01 14:36:22 +00:00
Nikolaj Bjorner
830f314a3f
fixes to dt_solver and related
2021-02-27 11:03:20 -08:00
Nikolaj Bjorner
c3b7fa941a
fix #5048
2021-02-22 10:56:19 -08:00
Nikolaj Bjorner
9ae3339c33
fixes
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-02-18 12:33:17 -08:00
Nuno Lopes
d396d46bd1
let's test if all the buildbots are happy with C++17
...
it's stil a bit too early for C++20
2021-02-18 18:13:10 +00:00
Nikolaj Bjorner
e63dc7efc2
more rewrite rules
2021-02-17 17:32:00 -08:00
Nikolaj Bjorner
96e7b811f9
fix #5029
2021-02-15 14:17:05 -08:00
Nikolaj Bjorner
6bd02e122b
parse according to http://smtlib.cs.uiowa.edu/theories-UnicodeStrings.shtml
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-02-15 09:32:31 -08:00
Nikolaj Bjorner
c808f74591
fix multiplier base for #5022
...
add also some C++ API shorthands for retrieving numerals
2021-02-12 11:53:40 -08:00
Nikolaj Bjorner
a152bb1e80
remove template Context dependency in every trail object
2021-02-08 15:41:57 -08:00
Nikolaj Bjorner
4dfdabc80f
na
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-01-31 16:36:55 -08:00
Nikolaj Bjorner
6d99a8f0cc
fixes for unicode
2021-01-31 14:55:52 -08:00
Nikolaj Bjorner
8fde6c207d
set unicode to default
2021-01-31 07:22:51 -08:00
Nikolaj Bjorner
657ed4db7a
fix relevancy bug for recfun
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-01-30 07:19:57 -08:00
Nikolaj Bjorner
520b24aab4
string escaping
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-01-30 04:58:58 -08:00
Nikolaj Bjorner
c99b805c14
mld
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-01-29 18:37:38 -08:00
Nikolaj Bjorner
ec1e3cc14a
encoding disaster
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-01-29 16:25:24 -08:00
Nikolaj Bjorner
4857446cf6
change handling of escapes for #4708
2021-01-29 13:36:47 -08:00
Nikolaj Bjorner
5414030875
#4939 escape character
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-01-28 11:57:00 -08:00
Nikolaj Bjorner
20332c6d3e
adding char decl plugin for separate theory treatment
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-01-26 16:28:44 -08:00
Nikolaj Bjorner
4b6d7ca097
working on mam
2021-01-25 17:54:53 -08:00
Nikolaj Bjorner
7d60d8462d
patch for Sturm sequence bug #4961
2021-01-24 12:58:25 -08:00
Nikolaj Bjorner
680b185872
adding ematching engine, fixing seq_unicode
2021-01-22 17:10:45 -08:00
Nikolaj Bjorner
4d55f83654
misc
2020-12-04 16:59:13 -08:00
John Regehr
b7e1b1e118
get rid of threads in the scoped_timer thread pool prior to forking, on non-Windows ( #4833 )
...
* on POSIX systems, fork() is dangerous in the presence of a thread
pool, because the child process inherits only the thread from the
parent that actually called fork().
this patch winds down the scoped_timer thread pool in preparation for
forking; workers will get freshly created again following the fork
call.
2020-11-29 21:26:53 +00:00
Nikolaj Bjorner
797f50e699
DRAT debugging updates
2020-11-22 15:38:57 -08:00
Nikolaj Bjorner
1b768c9b3a
fix #4805
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-11-20 12:11:38 -08:00
Nikolaj Bjorner
6506d33b35
Add GCD test
2020-11-20 11:12:54 -08:00