summaryrefslogtreecommitdiff
path: root/math/z3
AgeCommit message (Collapse)AuthorFilesLines
2022-09-25math/z3: make this build on NetBSD/macppc 9.99.99.he5-3/+144
Fixes two issues: * <immintrin.h> is only available on amd64 and i386 (I think...) * The scanner depends on signed chars a number of places. Sprinkle "signed" a minimal set of places to make this explicit, to deal with powerpc where "char" == "unsigned char". Bump PKGREVISION.
2022-05-24Recursive revbump associated with update of ocaml.jaapb1-2/+2
Also change of mk/ocaml.mk to lang/ocaml/ocaml.mk.
2022-05-13z3: Portability fixes.jperkin8-9/+86
2021-10-26math: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes
2021-10-07math: Remove SHA1 hashes for distfilesnia1-2/+1
2021-03-08Recursive revbump associated with update of lang/ocamljaapb1-2/+2
2020-05-31Explicitly read files as unicode for Python 3. The content is convertedjoerg3-7/+62
using the system locale with Python 3.6 otherwise, falling back to ASCII.
2019-04-25PKGREVISION bump for anything using python without a PYPKGPREFIX.maya1-2/+2
This is a semi-manual PKGREVISION bump.
2018-12-18z3: Upgrade to 4.8.3kamil11-352/+48
Eliminate merged patches. Improve java support. Patch by Michal Gorny. Upstream changelog ================== z3-4.8.3 This release covers bug fixes since 4.8.1 .NET bindings for dotnet standard 1.4 on windows and 64 bit Linux systems and MacOs z3-4.8.1 New requirements: A breaking change to the API is that parsers for SMT-LIB2 formulas return a vector of formulas as opposed to a conjunction of formulas. The vector of formulas correspond to the set of "assert" instructions in the SMT-LIB input. New features A parallel mode is available for select theories, including QF_BV. By setting parallel.enable=true Z3 will spawn a number of worker threads proportional to the number of available CPU cores to apply cube and conquer solving on the goal. The SAT solver by default handle cardinality and PB constraints using a custom plugin that operates directly on cardinality and PB constraints. A "cube" interface is exposed over the solver API. Model conversion is first class over the textual API, such that subgoals created from running a solver can be passed in text files and a model for the original formula can be recreated from the result. This has also led to changes in how models are tracked over tactic subgoals. The API for extracting models from apply_result have been replaced. An optional mode handles xor constraints using a custom xor propagator. It is off by default and its value not demonstrated. The SAT solver includes new inprocessing techniques that are available during simplification. It performs asymmetric tautology elimination by default, and one can turn on more powerful inprocessing techniques (known as ACCE, ABCE, CCE). Asymmetric branching also uses features introduced in Lingeling by exploiting binary implication graphs. Use sat.acce=true to enable the full repertoire of inprocessing methods. By default, clauses that are "eliminated" by acce are tagged as lemmas (redundant) and are garbage collected if their glue level is high. Substantial overhaul of the spacer horn clause engine. Added basic features to support Lambda bindings. Added model compression to eliminate local function definitions in models when inlining them does not incur substantial overhead. The old behavior, where models are left uncompressed can be replayed by setting the top-level parameter model_compress=false. Integration of a new solver for linear integer arithmetic and mixed linear integer arithmetic by Lev Nachmanson. It incorporates several improvements to QF_LIA solving based on . using a better LP engine, which is already the foundation for QF_LRA . including cuts based on Hermite Normal Form (thanks to approaches described in "cuts from proofs" and "cutting the mix"). . extracting integer solutions from LP solutions by tightening bounds selectively. We use a generalization of Bromberger and Weidenbach that allows avoiding selected bounds tighthenings (https://easychair.org/publications/paper/qGfG). It solves significantly more problems in the QF_LIA category and may at this point also be the best solver for your problem as well. The new solver is enabled only for select SMT-LIB logics. These include QF_LIA, QF_IDL, and QF_UFLIA. Other theories (still) use the legacy solver for arithmetic. You can enable the new solver by setting the parameter smt.arith.solver=6 to give it a spin. Removed features: interpolation API duality engine for constrained Horn clauses. pdr engine for constrained Horn clauses. The engine's functionality has been folded into spacer as one of optional strategies. long deprecated API functions have been removed from z3_api.h Z3 4.7.1. official release cumulative bug fix since 4.6.0 minor version incremented as API now uses stdbool and stdint: bool and int64_t, uint64_t Official release Z3 4.6.0.
2018-11-12Revbumps associated with update of lang/ocaml.jaapb1-2/+2
2018-10-01z3: rlim_t fixes.jperkin2-1/+17
2018-07-19Recursive revbump associated with the update of lang/ocaml to 4.07.jaapb1-2/+2
2018-06-15z3: Fix broken build system by pretending SunOS is Linux.jperkin2-6/+27
2018-04-13Revbump associated with the upgrade of lang/ocamljaapb1-2/+2
(this is the upgrade from 4.06 to 4.06.1)
2018-03-13Re-introduce support for NetBSD in src/util/scoped_timer.cppkhorben3-2/+63
I forgot to patch this part in the latest update; sorry. This has now been submitted upstream as well. Originally from dholland@. Compile-tested on NetBSD/amd64. Bump PKGREVISION.
2018-03-13Import a package for the Python bindings for math/z3khorben1-1/+2
2018-03-13Remove the references to wipkhorben2-7/+6
2018-03-13Update math/z3 to version 4.5.0khorben11-113/+304
From the release notes: New features: - New theories of strings and sequences. - Incremental consequence finder for finite domains. - CMake build system (thanks @delcypher). - Updated and improved OCaml API (thanks @martin-neuhaeusser). - Updated and improved Java API (thanks @cheshire). - New resource limit facilities to avoid non-deterministic timeout behaviour. - New bit-vector simplification and ackermannization tactics (thanks @MikolasJanota, @nunoplopes). - QSAT: a new solver for quantified arithmetic problems. See: Bjorner, Janota: Playing with Quantified Satisfaction, LPAR 2016. A multitude of bugs has been fixed. I am about to commit a separate package for the Python bindings. Coordinated with dholland@
2018-03-11Requires ocaml-num with ocaml 4.06dholland1-1/+2
2018-02-27z3: forbid python 3.xwiz1-1/+3
First complains about indentation problems, then about reading non-ASCII bytes.
2018-02-23Add support for DESTDIRkhorben2-6/+18
Fix building math/z3 in privileged mode when not building as root: ocamlfind: Cannot mkdir /usr/pkg/lib/ocaml/site-lib/Z3: Permission denied This now uses the option -destdir when calling ocamlfind(1). It also includes a workaround for what might be a bug in ocamlfind(1), where it also wants to update ld.conf in spite of specifying -destdir. Tested on NetBSD/amd64. ok dholland@
2018-01-10Recursive revbump associated with the update to OCaml 4.06.jaapb1-2/+2
2017-09-08Recursive revbump associated with update of ocaml to 4.05jaapb1-2/+2
2017-07-11Revbump associated with ocaml-4.04.2jaapb1-2/+2
2016-12-30Recursive revbump associated with ocaml update to 4.04.jaapb1-2/+2
2016-07-16gcc6 build fixmarkd3-1/+33
2016-05-05Recursive revbump associated with ocaml update.jaapb1-1/+2
2015-11-24Package the Z3 theorem prover / SMT solver from Microsoft Research.dholland6-0/+112