summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-05-16Fix error in Windows buildAndres Noetzli
The Windows build was missing the `print_statistics()` function, this commit moves the function out of the `#ifndef __WIN32__` guard.
2017-05-15Merge pull request #156 from 4tXJ7f/fix_safe_printAndrew Reynolds
Minor fix in safe_print function
2017-05-15Minor fix in safe_print functionAndres Noetzli
This commit fixes two issues reported by Coverity: - Fixes the check whether the buffer is full in safe_print_hex - Removes dead code in safe_print for floating-point values Additionally, it fixes an issue reported by Andy where the names of the statistics were printed as "<unsupported>" due to calling the const char* version instead of the std::string version of safe_print. Finally, this fixes an issue where --segv-spin would not print the program name because it was a const char*. The program name is now stored as a string. NOTE: As a side effect, the last part also fixes Coverity issue 1362944, which has been in CVC4 for a long time.
2017-05-15Cleanup handling of division (possible fix for bugs 803, 804, 805).ajreynol
2017-05-15Merge pull request #159 from 4tXJ7f/fix_set_typesAndrew Reynolds
Fix type checks for relation operators
2017-05-15Fix type checks for relation operatorsAndres Noetzli
This commit fixes an assertion error when applying transpose or transitive closure to a set instead of a relation. Instead it now prints a parse error.
2017-05-15Merge pull request #158 from 4tXJ7f/fix_sets_rewriterAndrew Reynolds
Fix minor bug in sets rewriter
2017-05-15Fix minor bug in sets rewriterAndres Noetzli
As reported by Coverity, one of the switches in the sets rewriter had a missing break. This could lead to an assertion failure when rewriting the cardinality of a transpose as in the test case included in this commit.
2017-05-15Fix bug 806. Minor fixes to remove term formula pass.ajreynol
2017-05-15Merge pull request #157 from 4tXJ7f/fix_iteratorAndrew Reynolds
Fix condition in upwards closure check for sets
2017-05-15Fix condition in upwards closure check for setsAndres Noetzli
Coverity reported this mismatched iterator.
2017-05-15Fix issue in ceg_instantiator related to types and theoryOf, fixes bug 802.ajreynol
2017-05-15Make conflict-based instantiation abort if a ground conflict is found in the ↵ajreynol
master equality engine during term indexing, fixes bug 801.
2017-05-12Make signal handlers saferAndres Notzli
As reported in bug 769, the signal handlers currently use unsafe functions such as dynamic memory allocations and fprintf. This commit fixes the issue by introducing functions for printing statistics in signal handlers (functions with the `safe` prefix). It also avoids copying statistics, which further avoids dynamic memory allocation. The safe printing of statistics has some limitations (it does not support SExprStats or printing CVC4::Result), which should not matter much in practice. Printing statistics in a non-signal handler is not affected by these changes as that uses a separate code path (the functions without the `safe` prefix). Additional changes: - Remove ListStat as it is not used anywhere - Add unit test for safe printing statistics
2017-05-10Do not split on cardinality for string equivalence classes with non-constant ↵ajreynol
lengths if disequalities already imply sufficient lower bound. Fixes bug 799.
2017-05-09Change str.replace for empty string.ajreynol
2017-05-05Do not eliminate extended arithmetic symbols when finite model finding is ↵ajreynol
on, add regression.
2017-05-05Fix error message.ajreynol
2017-05-04skolemization manager may be called also when just unsatCores are on ↵guykatzz
(related to bug 717)
2017-05-04fixing bug 790: track dependencies when the unsatCores() option is onguykatzz
2017-04-28Partial fix for bug 717.experimentClark Barrett
2017-04-28Minor fixesajreynol
2017-04-28Fix bug for real division.ajreynol
2017-04-28Do not eliminate non-standard arithmetic operators in recursive function ↵ajreynol
definitions, add regression.
2017-04-24Fixes and simplifications for fmf mbqi.ajreynol
2017-04-24Fix parsing selectors for nullary constructors in smtlib 2.6 format.ajreynol
2017-04-22Updating TheoryArithPrivate::getDeltaValue() to eagerly use the partial ↵Tim King
model value if exists.
2017-04-21Merge pull request #151 from 4tXJ7f/fix_debugClark Barrett
Move assertion out of loop for better performance
2017-04-21Fix for bug 681 (now gives reasonable error message about using constantClark Barrett
arrays).
2017-04-21Move assertion out of loop for better performanceAndres Noetzli
This is related to bug 508. The debug build was taking much longer than the production build to compute the result. The issue was an assertion in a loop in nonClausalSimplify(). By moving the assertion outside of the loop, the debug build is now roughly an order of magnitude slower than the production build (instead of two orders of magnitude), which seems to be roughly in line with the difference for other benchmarks: Debug version before change: - Bug (minified version): 1065.6s - regress3/friedman_n6_i4.smt: 6.9s - regress2/uflia-error0.smt2: 6.3s - regress2/fuzz_2.smt: 2.3s Debug version after change: - Bug (minified version): 131.4s - regress3/friedman_n6_i4.smt: 6.7s - regress2/uflia-error0.smt2: 6.2s - regress2/fuzz_2.smt: 1.9s Production version: - Bug (minified version): 18.8s - regress3/friedman_n6_i4.smt: 0.8s - regress2/uflia-error0.smt2: 0.8s - regress2/fuzz_2.smt: 0.2s
2017-04-21Handle subtypes in sets. Bug fixes for tuples with subtypes.ajreynol
2017-04-20Merge pull request #149 from PaulMeng/masterAndrew Reynolds
Support for relational operators identity and join image
2017-04-20Minor fixes.ajreynol
2017-04-20Support for relational operators identity and join imagePaul Meng
2017-04-19Fix mktheoryrewriter and mktheorytraits for nullaryoperator.ajreynol
2017-04-19Fixes for handling set universe: restrict upwards rule for universe to ↵ajreynol
memberships into variable sets, do not variable eliminate sets during ppAssert.
2017-04-18Merge pull request #147 from makaimann/coverage_fixClark Barrett
Coverage fix
2017-04-18Fix for bug 639.Clark Barrett
2017-04-18Coverage fixmakaimann
Forcing some make variables to be absolute paths lcov does not (officially) support relative paths src/expr and src/options in particular were breaking it
2017-04-14Actively split for upwards closusure intersection. Minor clean up, add ↵ajreynol
regressions.
2017-04-14Fix bug related to portfolio with nullary operators.ajreynol
2017-04-14Fix nullary operator printers, minor.ajreynol
2017-04-14Fix for fmf-fun when the option is set by user command.ajreynol
2017-04-13Fix for some compilersClark Barrett
2017-04-12Add nullary operator metakind.ajreynol
2017-04-11Bug fix in conjecture generation for --quant-ind.ajreynol
2017-04-07Change option names for nl.ajreynol
2017-04-05Merge pull request #143 from FabianWolff/masterClark Barrett
Fix several spelling errors
2017-04-05Fix bug 698.ajreynol
2017-04-05Fixes for nlAlgSolveSubs.ajreynol
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback