Nikolaj Bjorner
cb041c1b6d
fix #6689
2023-04-17 12:05:08 -07:00
Nikolaj Bjorner
1a70ac75df
fix #6687
2023-04-13 09:01:17 -07:00
Nikolaj Bjorner
7cd8edce1f
perf and memory smash fixes to internal node count routine
2023-04-12 21:01:05 -07:00
Nikolaj Bjorner
eba0732629
fix #6675
...
disable remove_unused_defs from pb-solver until it is integrated with model reconstruction.
2023-04-12 19:50:13 -07:00
Nikolaj Bjorner
e8222433c3
count internal nodes, use to block expanding use of hoist, #6683
2023-04-12 19:40:31 -07:00
Nikolaj Bjorner
444238bc53
formatting updates
2023-04-12 19:40:31 -07:00
Nikolaj Bjorner
0b5c38dea5
fix #6676 get rid of rem0 declare it to be mod0 semantics to simplify code paths
2023-04-11 16:46:43 -07:00
Nikolaj Bjorner
368d60f553
add branch / cut selection heuristic from solver=2
...
disabled for testing.
2023-04-10 22:14:16 -07:00
Nikolaj Bjorner
e6ea81546e
fix #6662
2023-04-08 17:14:39 -07:00
Nikolaj Bjorner
84b9204616
inherit and reset rlimit counter on children limits
...
addresses rlimit leak reported by @mtzguido
2023-04-05 16:39:21 -07:00
Nikolaj Bjorner
479f844200
fix #6661
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-04-02 11:14:20 -07:00
Nikolaj Bjorner
def83ed26e
fix #6661
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-04-02 11:13:37 -07:00
Hari Govind V K
6324db207b
Only print func-decl names for indexed parameters ( #6663 )
2023-04-02 10:39:13 -07:00
Nikolaj Bjorner
7664429fda
remove cast expression
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-03-31 12:51:23 -07:00
Nikolaj Bjorner
a62e4b2893
extract multi-patterns when pattern can be decomposed
...
deals with fluke regression for F* reported by Guido Martinez
Background:
The automatic pattern inference facility looks for terms that contains all bound variables of a quantifier. It may end up with a term that contains all bound variables but the extracted term can be simplified.
Example. The pattern
(ApplyTT (ApplyTT @x3!1 (ApplyTT @x4!0 (:var 1))) (ApplyTT @x4!0 (:var 0)))
can be decomposed into a multi-pattern
(ApplyTT @x4!0 (:var 1))) (ApplyTT @x4!0 (:var 0))
The multi-pattern may enable a quantifier instantiation while the original pattern does not. The multi-pattern should be preferred.
The regression showed up based on a change that should not be considered harmful but turned out to be noticeable.
The change was a simplification of and-or expressions based on sorting. This played with the case split queue used by F* (smt.case_split = 3) that uses a top-level case split of clauses to avoid redundant branches. The net effect was that without sorting, the benchmarks would always choose the opportune branch that enabled matching against the larger term. With sorting it would mostly choose inopportune branches.
2023-03-31 12:45:51 -07:00
Nikolaj Bjorner
a849a29b4f
fix #6659
2023-03-31 10:31:18 -07:00
Nikolaj Bjorner
53ca65a62e
fix unsound rewrite
2023-03-20 18:55:40 +01:00
Nikolaj Bjorner
f075dc2882
remove experimental files
2023-03-20 17:07:48 +01:00
Nikolaj Bjorner
48de7c2da8
missing updates
2023-03-20 17:07:04 +01:00
Nikolaj Bjorner
c6e3fb446a
print lemmas2console faster
...
- add option pp.no_lets (default = false) to print formulas without let (used by the low-level SMT2 printer).
- print lemmas2console faster by using the low level printer
2023-03-20 17:07:04 +01:00
Nikolaj Bjorner
d1c7ff1a36
add unconstrained elimination for sequences
2023-03-20 17:07:04 +01:00
Nikolaj Bjorner
42076a3c13
bug fixes to new core, elim_predicates and elim_unconstrained
2023-03-05 22:26:37 -08:00
Nuno Lopes
b9a87e493b
minor code simplifications
2023-03-05 19:08:41 +00:00
Nikolaj Bjorner
b82d177276
fix build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-03-03 11:26:13 -08:00
Nikolaj Bjorner
aa75ba8a6b
remove parenthesis
2023-03-01 21:03:41 -08:00
Nikolaj Bjorner
94b79eefea
add back max_occs parameter dependency to solve-eqs
2023-03-01 20:40:22 -08:00
Nikolaj Bjorner
acd2eaa390
add (disabled) code path to enable nested conjunctions
...
for experiments with disabling flat-and-or dependency
2023-03-01 20:39:39 -08:00
Nikolaj Bjorner
46d37b6e30
fix #6615
...
make rewriting exception safe (for cancelation).
The state during restart in smt_context is not exception safe.
2023-03-01 17:30:07 -08:00
Nikolaj Bjorner
027770930e
fix bug in quasi macro identification: require quantifiers
2023-03-01 17:03:15 -08:00
Nikolaj Bjorner
755b517001
fix #6600
...
ensure that semantics of last-indexof(t,"") = len(t)
2023-02-19 14:02:37 -08:00
Nikolaj Bjorner
6454e7fa3f
apply rewriting if result of destructive equality resolution is simplified
2023-02-19 11:03:04 -08:00
Nikolaj Bjorner
cb81473260
add destructive equality resolution to the main simplifier.
2023-02-18 17:54:26 -08:00
Nikolaj Bjorner
c0f80f92ba
deal with compiler warnings (unused variables etc)
2023-02-18 17:53:37 -08:00
Nikolaj Bjorner
f66a082de9
fix #6595
2023-02-18 14:11:48 -08:00
Ding Fei
828ff98c77
fix tpl instantiation issue for mingw ( #6597 )
2023-02-17 09:26:45 -08:00
Nikolaj Bjorner
ac068888e7
add trichotomy for sequence comparison. #6586
2023-02-16 08:59:55 -08:00
Nikolaj Bjorner
c2fe76569f
remove dependency on bool-rewriter in hoist rewriter
...
deal with regression reported in
cac5052685 (commitcomment-100606067)
and unit tests doc.cpp
2023-02-14 17:48:02 -08:00
Nikolaj Bjorner
102eee77dc
patch regressions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-12 20:12:01 -08:00
Nikolaj Bjorner
cac5052685
fixes related to #6577
...
- enforce elim-and in bool-rewriter when invoking hoisting.
- make cnf tactic more resilient to non-normalized input.
- enable eliminate predicates on ground formulas
2023-02-12 13:43:44 -08:00
Nikolaj Bjorner
46c8d78ece
fixes for #6577
...
- the literal false should not appear in clauses
- the literal true forces a tautology
- fix early return in is_cnf check. It should check all clauses for nested Booleans.
2023-02-11 09:33:42 -08:00
Nikolaj Bjorner
1b0c76e3f0
fixes to mbqi in the new core based on #6575
2023-02-10 16:56:06 -08:00
Nikolaj Bjorner
02d48adae5
fix #6573
2023-02-08 08:24:52 -08:00
Nikolaj Bjorner
0d05104d8c
remove unused field
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-02 19:33:23 -08:00
Nikolaj Bjorner
2e068e3f56
add simplifiers to .net API
2023-02-02 17:41:00 -08:00
Nikolaj Bjorner
30fa37e393
fix warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-01 10:31:34 -08:00
Nikolaj Bjorner
38d526ee45
fix warning
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-01 10:18:14 -08:00
Nikolaj Bjorner
ebc2cd572b
fix build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-31 14:53:04 -08:00
Nikolaj Bjorner
88bf3c6e51
check if trail is empty to avoid collecting variables
2023-01-31 13:35:43 -08:00
Nikolaj Bjorner
8495be11f9
add shortcut filter to avoid traversing model reconstruction trail if there are no intersections with model
2023-01-31 13:34:52 -08:00
Nikolaj Bjorner
d263b373ed
update release notes
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-31 12:19:33 -08:00