Commit graph

25 commits

Author SHA1 Message Date
nia
414fc7869d math: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
2021-10-26 10:55:21 +00:00
nia
3c576fbd23 math: Remove SHA1 hashes for distfiles 2021-10-07 14:27:43 +00:00
jaapb
397a3e0079 Recursive revbump associated with update of lang/ocaml 2021-03-08 08:12:45 +00:00
joerg
e7465fb09a Explicitly read files as unicode for Python 3. The content is converted
using the system locale with Python 3.6 otherwise, falling back to
ASCII.
2020-05-31 20:49:32 +00:00
maya
f34a8c24a3 PKGREVISION bump for anything using python without a PYPKGPREFIX.
This is a semi-manual PKGREVISION bump.
2019-04-25 07:32:34 +00:00
kamil
afc2dbe555 z3: Upgrade to 4.8.3
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-12-18 06:46:39 +00:00
jaapb
fd6ceb8a4c Revbumps associated with update of lang/ocaml. 2018-11-12 16:10:16 +00:00
jperkin
2824f9e78b z3: rlim_t fixes. 2018-10-01 11:21:03 +00:00
jaapb
05083dc708 Recursive revbump associated with the update of lang/ocaml to 4.07. 2018-07-19 15:15:20 +00:00
jperkin
d220344bb0 z3: Fix broken build system by pretending SunOS is Linux. 2018-06-15 15:11:34 +00:00
jaapb
56ed9d3f04 Revbump associated with the upgrade of lang/ocaml
(this is the upgrade from 4.06 to 4.06.1)
2018-04-13 13:55:27 +00:00
khorben
e93dd579a6 Re-introduce support for NetBSD in src/util/scoped_timer.cpp
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-13 21:20:34 +00:00
khorben
5b6c355231 Import a package for the Python bindings for math/z3 2018-03-13 00:36:04 +00:00
khorben
06f3bfef4e Remove the references to wip 2018-03-13 00:34:02 +00:00
khorben
ff87f525e7 Update math/z3 to version 4.5.0
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-13 00:31:16 +00:00
dholland
b2fe40b93b Requires ocaml-num with ocaml 4.06 2018-03-11 06:14:45 +00:00
wiz
2621957e4a z3: forbid python 3.x
First complains about indentation problems, then about reading
non-ASCII bytes.
2018-02-27 08:34:16 +00:00
khorben
ddf5c47752 Add support for DESTDIR
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-02-23 17:04:43 +00:00
jaapb
2db819ded7 Recursive revbump associated with the update to OCaml 4.06. 2018-01-10 16:53:07 +00:00
jaapb
410a1001fa Recursive revbump associated with update of ocaml to 4.05 2017-09-08 09:51:18 +00:00
jaapb
f70dd873bb Revbump associated with ocaml-4.04.2 2017-07-11 14:19:18 +00:00
jaapb
11a6e0d383 Recursive revbump associated with ocaml update to 4.04. 2016-12-30 11:16:56 +00:00
markd
8e971ec5da gcc6 build fix 2016-07-16 04:02:13 +00:00
jaapb
9718550454 Recursive revbump associated with ocaml update. 2016-05-05 11:45:36 +00:00
dholland
77920134c3 Package the Z3 theorem prover / SMT solver from Microsoft Research. 2015-11-24 05:45:58 +00:00