PySMT 0.8.0__tar.gz → 0.9.1.dev161__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- opt/hostedtoolcache/Python/3.8.12/x64/bin/pysmt-install +33 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/PySMT-0.9.1.dev161-py3.8.egg-info}/PKG-INFO +1 -3
- {PySMT-0.8.0/PySMT.egg-info → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/PySMT-0.9.1.dev161-py3.8.egg-info}/SOURCES.txt +6 -4
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/PySMT-0.9.1.dev161-py3.8.egg-info/entry_points.txt +3 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/__init__.py +21 -24
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__main__.py +35 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/__init__.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/__main__.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/configuration.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/constants.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/decorators.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/environment.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/exceptions.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/factory.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/fnode.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/formula.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/logics.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/operators.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/oracles.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/parsing.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/printers.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/rewritings.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/shortcuts.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/simplifier.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/substituter.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/type_checker.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/typing.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/__pycache__/utils.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/cmd/__pycache__/__init__.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/cmd/__pycache__/check_version.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/cmd/__pycache__/install.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/cmd/__pycache__/shell.cpython-38.pyc +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/cmd/install.py +6 -14
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/cmd/installers/__pycache__/__init__.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/cmd/installers/__pycache__/base.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/cmd/installers/__pycache__/bdd.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/cmd/installers/__pycache__/btor.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/cmd/installers/__pycache__/cvc4.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/cmd/installers/__pycache__/msat.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/cmd/installers/__pycache__/pico.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/cmd/installers/__pycache__/yices.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/cmd/installers/__pycache__/z3.cpython-38.pyc +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/cmd/installers/base.py +5 -7
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/cmd/installers/bdd.py +9 -24
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/cmd/installers/btor.py +16 -10
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/cmd/installers/cvc4.py +16 -7
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/cmd/installers/pico.py +2 -2
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/cmd/installers/yices.py +9 -23
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/cmd/installers/z3.py +5 -2
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/cmd/shell.py +1 -1
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/configuration.py +1 -1
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/constants.py +5 -17
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/environment.py +11 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/exceptions.py +1 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/factory.py +8 -7
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/fnode.py +9 -3
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/formula.py +78 -36
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/logics.py +2 -2
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/operators.py +1 -2
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/oracles.py +17 -2
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/printers.py +3 -3
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/rewritings.py +11 -11
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/shortcuts.py +31 -32
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/simplifier.py +98 -46
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/smtlib/__pycache__/__init__.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/smtlib/__pycache__/annotations.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/smtlib/__pycache__/commands.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/smtlib/__pycache__/printers.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/smtlib/__pycache__/script.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/smtlib/__pycache__/solver.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/smtlib/__pycache__/utils.cpython-38.pyc +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/smtlib/annotations.py +4 -4
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/smtlib/parser/__init__.py +1 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/smtlib/parser/__pycache__/__init__.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/smtlib/parser/__pycache__/parser.cpython-38.pyc +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/smtlib/parser/parser.py +125 -51
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/smtlib/printers.py +87 -9
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/smtlib/script.py +23 -8
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/smtlib/solver.py +21 -18
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/smtlib/utils.py +56 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/solvers/__pycache__/__init__.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/solvers/__pycache__/bdd.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/solvers/__pycache__/btor.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/solvers/__pycache__/cvc4.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/solvers/__pycache__/eager.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/solvers/__pycache__/interpolation.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/solvers/__pycache__/msat.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/solvers/__pycache__/options.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/solvers/__pycache__/pico.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/solvers/__pycache__/portfolio.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/solvers/__pycache__/qelim.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/solvers/__pycache__/smtlib.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/solvers/__pycache__/solver.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/solvers/__pycache__/yices.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/solvers/__pycache__/z3.cpython-38.pyc +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/solvers/bdd.py +2 -4
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/solvers/btor.py +92 -75
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/solvers/cvc4.py +2 -4
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/solvers/msat.py +40 -44
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/solvers/pico.py +5 -8
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/solvers/portfolio.py +4 -4
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/solvers/solver.py +61 -23
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/solvers/yices.py +8 -8
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/solvers/z3.py +24 -12
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/substituter.py +138 -20
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/__init__.py +1 -1
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/__init__.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/examples.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_array.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_back.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_bdd.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_bv.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_bv_simplification.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_cnf.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_configuration.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_constants.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_cvc4_quantifiers.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_dwf.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_eager_model.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_env.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_euf.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_formula.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_hr_parsing.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_imports.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_int.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_interpolation.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_lira.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_logics.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_models.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_native_qe.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_nia.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_nlira.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_oracles.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_portfolio.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_printing.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_qe.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_regressions.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_rewritings.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_shannon_expansion.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_simplify.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_size.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_solving.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_sorts.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_string.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_typechecker.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_unsat_cores.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_walker_ext.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/__pycache__/test_walkers.cpython-38.pyc +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/examples.py +7 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/__init__.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/parser_utils.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_annotations.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_fuzzed.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_generic_wrapper.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_griggio.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_model_validation.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_parser_examples.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_parser_extensibility.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_parser_lra.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_parser_qf_arrays.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_parser_qf_lia.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_parser_qf_lira.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_parser_qf_lra.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_parser_qf_nia.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_parser_qf_nra.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_parser_qf_uf.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_parser_qf_ufbv.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_parser_type_error.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/__pycache__/test_smtlibscript.cpython-38.pyc +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/parser_utils.py +28 -8
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/test_annotations.py +2 -1
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/test_fuzzed.py +4 -3
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/test_generic_wrapper.py +41 -3
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/test_griggio.py +1 -1
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/test_model_validation.py +103 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/test_parser_examples.py +77 -13
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/test_parser_extensibility.py +5 -5
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/test_parser_lra.py +6 -8
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/test_parser_qf_arrays.py +24 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/test_parser_qf_lia.py +6 -7
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/test_parser_qf_lira.py +6 -7
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/test_parser_qf_lra.py +7 -7
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/test_parser_qf_nia.py +6 -7
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/test_parser_qf_nra.py +6 -7
- PySMT-0.8.0/pysmt/test/smtlib/test_parser_qf_arrays.py → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/smtlib/test_parser_qf_uf.py +7 -7
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/test_parser_qf_ufbv.py +6 -7
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/test_smtlibscript.py +15 -13
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_bv_simplification.py +4 -6
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_cnf.py +2 -2
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_constants.py +1 -6
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_eager_model.py +2 -4
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_formula.py +55 -12
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/test/test_nia.py +190 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_nlira.py +13 -2
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_oracles.py +10 -1
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_portfolio.py +3 -5
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_printing.py +31 -8
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_regressions.py +81 -23
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_rewritings.py +45 -3
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_simplify.py +90 -5
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_solving.py +51 -27
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_sorts.py +1 -1
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_unsat_cores.py +22 -3
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_walkers.py +1 -3
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/typing.py +0 -20
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/utils.py +0 -11
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/walkers/__pycache__/__init__.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/walkers/__pycache__/dag.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/walkers/__pycache__/generic.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/walkers/__pycache__/identitydag.cpython-38.pyc +0 -0
- opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/pysmt/walkers/__pycache__/tree.cpython-38.pyc +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/walkers/generic.py +8 -4
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/walkers/identitydag.py +3 -0
- PySMT-0.8.0/LICENSE +0 -202
- PySMT-0.8.0/MANIFEST.in +0 -2
- PySMT-0.8.0/PySMT.egg-info/PKG-INFO +0 -52
- PySMT-0.8.0/PySMT.egg-info/entry_points.txt +0 -5
- PySMT-0.8.0/PySMT.egg-info/requires.txt +0 -1
- PySMT-0.8.0/README.rst +0 -274
- PySMT-0.8.0/docs/CHANGES.rst +0 -1070
- PySMT-0.8.0/docs/api_ref.rst +0 -97
- PySMT-0.8.0/docs/development.rst +0 -421
- PySMT-0.8.0/docs/getting_started.rst +0 -234
- PySMT-0.8.0/docs/index.rst +0 -65
- PySMT-0.8.0/docs/tutorials/boolean_logic.rst +0 -135
- PySMT-0.8.0/docs/tutorials.rst +0 -67
- PySMT-0.8.0/pysmt/cmd/installers/cvc4gpl.py +0 -80
- PySMT-0.8.0/pysmt/solvers/z3_flymake.py +0 -1010
- PySMT-0.8.0/pysmt/test/smtlib/test_parser_invalid.py +0 -42
- PySMT-0.8.0/setup.cfg +0 -4
- PySMT-0.8.0/setup.py +0 -70
- {PySMT-0.8.0/PySMT.egg-info → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/PySMT-0.9.1.dev161-py3.8.egg-info}/dependency_links.txt +0 -0
- {PySMT-0.8.0/PySMT.egg-info → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/PySMT-0.9.1.dev161-py3.8.egg-info}/top_level.txt +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/cmd/__init__.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/cmd/check_version.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/cmd/installers/__init__.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/cmd/installers/msat.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/decorators.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/parsing.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/smtlib/__init__.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/smtlib/commands.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/solvers/__init__.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/solvers/eager.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/solvers/interpolation.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/solvers/options.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/solvers/qelim.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/solvers/smtlib.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/__init__.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/smtlib/test_parser_type_error.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_array.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_back.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_bdd.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_bv.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_configuration.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_cvc4_quantifiers.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_dwf.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_env.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_euf.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_hr_parsing.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_imports.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_int.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_interpolation.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_lira.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_logics.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_models.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_native_qe.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_qe.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_shannon_expansion.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_size.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_string.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_typechecker.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/test/test_walker_ext.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/type_checker.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/walkers/__init__.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/walkers/dag.py +0 -0
- {PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/walkers/tree.py +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
#!/opt/hostedtoolcache/Python/3.8.12/x64/bin/python
|
|
2
|
+
# EASY-INSTALL-ENTRY-SCRIPT: 'PySMT==0.9.1.dev161','console_scripts','pysmt-install'
|
|
3
|
+
import re
|
|
4
|
+
import sys
|
|
5
|
+
|
|
6
|
+
# for compatibility with easy_install; see #2198
|
|
7
|
+
__requires__ = 'PySMT==0.9.1.dev161'
|
|
8
|
+
|
|
9
|
+
try:
|
|
10
|
+
from importlib.metadata import distribution
|
|
11
|
+
except ImportError:
|
|
12
|
+
try:
|
|
13
|
+
from importlib_metadata import distribution
|
|
14
|
+
except ImportError:
|
|
15
|
+
from pkg_resources import load_entry_point
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def importlib_load_entry_point(spec, group, name):
|
|
19
|
+
dist_name, _, _ = spec.partition('==')
|
|
20
|
+
matches = (
|
|
21
|
+
entry_point
|
|
22
|
+
for entry_point in distribution(dist_name).entry_points
|
|
23
|
+
if entry_point.group == group and entry_point.name == name
|
|
24
|
+
)
|
|
25
|
+
return next(matches).load()
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
globals().setdefault('load_entry_point', importlib_load_entry_point)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
if __name__ == '__main__':
|
|
32
|
+
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
|
|
33
|
+
sys.exit(load_entry_point('PySMT==0.9.1.dev161', 'console_scripts', 'pysmt-install')())
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.0
|
|
2
2
|
Name: PySMT
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.9.1.dev161
|
|
4
4
|
Summary: A solver-agnostic library for SMT Formulae manipulation and solving
|
|
5
5
|
Home-page: http://www.pysmt.org
|
|
6
6
|
Author: PySMT Team
|
|
@@ -41,8 +41,6 @@ Description: ============================================================
|
|
|
41
41
|
PySMT assumes that the python bindings for the SMT Solver are installed and
|
|
42
42
|
accessible from your PYTHONPATH.
|
|
43
43
|
|
|
44
|
-
pySMT works on both Python 3 and Python 2.
|
|
45
|
-
|
|
46
44
|
|
|
47
45
|
Wanna know more?
|
|
48
46
|
================
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
LICENSE
|
|
2
2
|
MANIFEST.in
|
|
3
|
+
NOTICE
|
|
3
4
|
README.rst
|
|
4
5
|
setup.py
|
|
5
6
|
PySMT.egg-info/PKG-INFO
|
|
6
7
|
PySMT.egg-info/SOURCES.txt
|
|
7
8
|
PySMT.egg-info/dependency_links.txt
|
|
8
9
|
PySMT.egg-info/entry_points.txt
|
|
9
|
-
PySMT.egg-info/requires.txt
|
|
10
10
|
PySMT.egg-info/top_level.txt
|
|
11
11
|
docs/CHANGES.rst
|
|
12
12
|
docs/api_ref.rst
|
|
@@ -16,6 +16,7 @@ docs/index.rst
|
|
|
16
16
|
docs/tutorials.rst
|
|
17
17
|
docs/tutorials/boolean_logic.rst
|
|
18
18
|
pysmt/__init__.py
|
|
19
|
+
pysmt/__main__.py
|
|
19
20
|
pysmt/configuration.py
|
|
20
21
|
pysmt/constants.py
|
|
21
22
|
pysmt/decorators.py
|
|
@@ -45,7 +46,6 @@ pysmt/cmd/installers/base.py
|
|
|
45
46
|
pysmt/cmd/installers/bdd.py
|
|
46
47
|
pysmt/cmd/installers/btor.py
|
|
47
48
|
pysmt/cmd/installers/cvc4.py
|
|
48
|
-
pysmt/cmd/installers/cvc4gpl.py
|
|
49
49
|
pysmt/cmd/installers/msat.py
|
|
50
50
|
pysmt/cmd/installers/pico.py
|
|
51
51
|
pysmt/cmd/installers/yices.py
|
|
@@ -56,6 +56,7 @@ pysmt/smtlib/commands.py
|
|
|
56
56
|
pysmt/smtlib/printers.py
|
|
57
57
|
pysmt/smtlib/script.py
|
|
58
58
|
pysmt/smtlib/solver.py
|
|
59
|
+
pysmt/smtlib/utils.py
|
|
59
60
|
pysmt/smtlib/parser/__init__.py
|
|
60
61
|
pysmt/smtlib/parser/parser.py
|
|
61
62
|
pysmt/solvers/__init__.py
|
|
@@ -73,7 +74,6 @@ pysmt/solvers/smtlib.py
|
|
|
73
74
|
pysmt/solvers/solver.py
|
|
74
75
|
pysmt/solvers/yices.py
|
|
75
76
|
pysmt/solvers/z3.py
|
|
76
|
-
pysmt/solvers/z3_flymake.py
|
|
77
77
|
pysmt/test/__init__.py
|
|
78
78
|
pysmt/test/examples.py
|
|
79
79
|
pysmt/test/test_array.py
|
|
@@ -98,6 +98,7 @@ pysmt/test/test_lira.py
|
|
|
98
98
|
pysmt/test/test_logics.py
|
|
99
99
|
pysmt/test/test_models.py
|
|
100
100
|
pysmt/test/test_native_qe.py
|
|
101
|
+
pysmt/test/test_nia.py
|
|
101
102
|
pysmt/test/test_nlira.py
|
|
102
103
|
pysmt/test/test_oracles.py
|
|
103
104
|
pysmt/test/test_portfolio.py
|
|
@@ -121,9 +122,9 @@ pysmt/test/smtlib/test_annotations.py
|
|
|
121
122
|
pysmt/test/smtlib/test_fuzzed.py
|
|
122
123
|
pysmt/test/smtlib/test_generic_wrapper.py
|
|
123
124
|
pysmt/test/smtlib/test_griggio.py
|
|
125
|
+
pysmt/test/smtlib/test_model_validation.py
|
|
124
126
|
pysmt/test/smtlib/test_parser_examples.py
|
|
125
127
|
pysmt/test/smtlib/test_parser_extensibility.py
|
|
126
|
-
pysmt/test/smtlib/test_parser_invalid.py
|
|
127
128
|
pysmt/test/smtlib/test_parser_lra.py
|
|
128
129
|
pysmt/test/smtlib/test_parser_qf_arrays.py
|
|
129
130
|
pysmt/test/smtlib/test_parser_qf_lia.py
|
|
@@ -131,6 +132,7 @@ pysmt/test/smtlib/test_parser_qf_lira.py
|
|
|
131
132
|
pysmt/test/smtlib/test_parser_qf_lra.py
|
|
132
133
|
pysmt/test/smtlib/test_parser_qf_nia.py
|
|
133
134
|
pysmt/test/smtlib/test_parser_qf_nra.py
|
|
135
|
+
pysmt/test/smtlib/test_parser_qf_uf.py
|
|
134
136
|
pysmt/test/smtlib/test_parser_qf_ufbv.py
|
|
135
137
|
pysmt/test/smtlib/test_parser_type_error.py
|
|
136
138
|
pysmt/test/smtlib/test_smtlibscript.py
|
{PySMT-0.8.0 → opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages}/pysmt/__init__.py
RENAMED
|
@@ -16,30 +16,27 @@
|
|
|
16
16
|
# limitations under the License.
|
|
17
17
|
#
|
|
18
18
|
|
|
19
|
-
VERSION = (0,
|
|
19
|
+
VERSION = (0, 9, 1, "dev", 161)
|
|
20
20
|
|
|
21
|
-
#
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
E.g. v0.5.1-4-g49a49f2-wip
|
|
30
|
-
* 4 commits after tag v0.5.1
|
|
31
|
-
* Latest commit "49a49f2"
|
|
32
|
-
* -wip: Working tree is dirty (non committed stuff)
|
|
33
|
-
See: https://git-scm.com/docs/git-describe
|
|
34
|
-
|
|
35
|
-
If the command fails we return __version__
|
|
36
|
-
"""
|
|
21
|
+
# Try to provide human-readable version of latest commit for dev versions
|
|
22
|
+
# E.g. v0.5.1-4-g49a49f2-wip
|
|
23
|
+
# * 4 commits after tag v0.5.1
|
|
24
|
+
# * Latest commit "49a49f2"
|
|
25
|
+
# * -wip: Working tree is dirty (non committed stuff)
|
|
26
|
+
# See: https://git-scm.com/docs/git-describe
|
|
27
|
+
if len(VERSION) == 5:
|
|
28
|
+
import subprocess
|
|
37
29
|
try:
|
|
38
|
-
|
|
39
|
-
|
|
30
|
+
git_version = subprocess.check_output(["git", "describe",
|
|
31
|
+
"--dirty=-wip"],
|
|
40
32
|
stderr=subprocess.STDOUT)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
33
|
+
commits_from_tag = git_version.strip().decode('ascii')
|
|
34
|
+
commits_from_tag = commits_from_tag.split("-")[1]
|
|
35
|
+
commits_from_tag = int(commits_from_tag)
|
|
36
|
+
VERSION = VERSION[:4] + (commits_from_tag,)
|
|
37
|
+
except Exception as ex:
|
|
38
|
+
pass
|
|
39
|
+
|
|
40
|
+
# PEP440 Format
|
|
41
|
+
__version__ = "%d.%d.%d.%s%d" % VERSION if len(VERSION) == 5 else \
|
|
42
|
+
"%d.%d.%d" % VERSION
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
#
|
|
2
|
+
# This file is part of pySMT.
|
|
3
|
+
#
|
|
4
|
+
# Copyright 2014 Andrea Micheli and Marco Gario
|
|
5
|
+
#
|
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
# you may not use this file except in compliance with the License.
|
|
8
|
+
# You may obtain a copy of the License at
|
|
9
|
+
#
|
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
#
|
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
# See the License for the specific language governing permissions and
|
|
16
|
+
# limitations under the License.
|
|
17
|
+
#
|
|
18
|
+
|
|
19
|
+
def error():
|
|
20
|
+
print("Invalid option try 'install' or 'shell'")
|
|
21
|
+
exit(-1)
|
|
22
|
+
|
|
23
|
+
if __name__ == "__main__":
|
|
24
|
+
import sys
|
|
25
|
+
|
|
26
|
+
cmd = error
|
|
27
|
+
if len(sys.argv) >= 2:
|
|
28
|
+
sys.argv = sys.argv[1:]
|
|
29
|
+
if sys.argv[0] == 'install':
|
|
30
|
+
import pysmt.cmd.install
|
|
31
|
+
cmd = pysmt.cmd.install.main
|
|
32
|
+
elif sys.argv[0] == 'shell':
|
|
33
|
+
import pysmt.cmd.shell
|
|
34
|
+
cmd = pysmt.cmd.shell.main
|
|
35
|
+
cmd()
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -12,8 +12,6 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
|
-
from six.moves import input
|
|
16
|
-
|
|
17
15
|
import os
|
|
18
16
|
import argparse
|
|
19
17
|
import sys
|
|
@@ -28,21 +26,19 @@ from pysmt.cmd.installers.base import solver_install_site
|
|
|
28
26
|
|
|
29
27
|
from pysmt.environment import get_env
|
|
30
28
|
from pysmt.exceptions import PysmtException
|
|
31
|
-
from pysmt import
|
|
29
|
+
from pysmt import __version__ as pysmt_version
|
|
32
30
|
|
|
33
31
|
# Build a list of installers, one for each solver
|
|
34
32
|
Installer = namedtuple("Installer",
|
|
35
33
|
["InstallerClass", "version", "extra_params"])
|
|
36
34
|
INSTALLERS = [
|
|
37
|
-
Installer(MSatInstaller, "5.
|
|
35
|
+
Installer(MSatInstaller, "5.6.1", {}),
|
|
38
36
|
Installer(CVC4Installer, "1.7-prerelease",
|
|
39
37
|
{"git_version" : "391ab9df6c3fd9a3771864900c1718534c1e4666"}),
|
|
40
|
-
Installer(Z3Installer, "4.8.
|
|
41
|
-
|
|
42
|
-
Installer(YicesInstaller, "2.6.0",
|
|
38
|
+
Installer(Z3Installer, "4.8.7", {"osx": "10.14.6"}),
|
|
39
|
+
Installer(YicesInstaller, "2.6.2",
|
|
43
40
|
{"yicespy_version": "f0768ffeec15ea310f830d10878971c9998454ac"}),
|
|
44
|
-
Installer(BtorInstaller, "3.
|
|
45
|
-
{"git_version" : "8062caf14f797a3aa85bf310705973468874e127"}),
|
|
41
|
+
Installer(BtorInstaller, "3.2.1", {}),
|
|
46
42
|
Installer(PicoSATInstaller, "965",
|
|
47
43
|
{"pypicosat_minor_version" : "1708010052"}),
|
|
48
44
|
Installer(CuddInstaller, "2.0.3",
|
|
@@ -119,7 +115,7 @@ def parse_options():
|
|
|
119
115
|
' variable PYSMT_SOLVER if not already '
|
|
120
116
|
'instaled on the system.')
|
|
121
117
|
parser.add_argument('--version', action='version',
|
|
122
|
-
version='%(prog)s {version}'.format(version=
|
|
118
|
+
version='%(prog)s {version}'.format(version=pysmt_version))
|
|
123
119
|
|
|
124
120
|
for i in INSTALLERS:
|
|
125
121
|
name = i.InstallerClass.SOLVER
|
|
@@ -259,7 +255,3 @@ def main():
|
|
|
259
255
|
mirror_link=mirror_url,
|
|
260
256
|
**i.extra_params)
|
|
261
257
|
installer.install(force_redo=options.force_redo)
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
if __name__ == "__main__":
|
|
265
|
-
main()
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -17,17 +17,15 @@ import sys
|
|
|
17
17
|
import shutil
|
|
18
18
|
import zipfile
|
|
19
19
|
import tarfile
|
|
20
|
-
import six
|
|
21
20
|
import struct
|
|
22
21
|
import subprocess
|
|
22
|
+
import urllib.request
|
|
23
23
|
|
|
24
24
|
from contextlib import contextmanager
|
|
25
25
|
from distutils import spawn
|
|
26
26
|
from distutils.dist import Distribution
|
|
27
27
|
|
|
28
|
-
import
|
|
29
|
-
from six.moves import xrange
|
|
30
|
-
from six.moves.urllib.error import HTTPError, URLError
|
|
28
|
+
from urllib.error import HTTPError, URLError
|
|
31
29
|
|
|
32
30
|
|
|
33
31
|
@contextmanager
|
|
@@ -102,7 +100,7 @@ class SolverInstaller(object):
|
|
|
102
100
|
def download(self):
|
|
103
101
|
"""Downloads the archive from one of the mirrors"""
|
|
104
102
|
if not os.path.exists(self.archive_path):
|
|
105
|
-
for turn in
|
|
103
|
+
for turn in range(self.trials_404):
|
|
106
104
|
for i, link in enumerate(self.download_links()):
|
|
107
105
|
try:
|
|
108
106
|
return self.do_download(link, self.archive_path)
|
|
@@ -163,7 +161,7 @@ class SolverInstaller(object):
|
|
|
163
161
|
@staticmethod
|
|
164
162
|
def do_download(url, file_name):
|
|
165
163
|
"""Downloads the given url into the given file name"""
|
|
166
|
-
u =
|
|
164
|
+
u = urllib.request.urlopen(url)
|
|
167
165
|
f = open(file_name, 'wb')
|
|
168
166
|
meta = u.info()
|
|
169
167
|
if meta.get("Content-Length") and len(meta.get("Content-Length")) > 0:
|
|
@@ -210,7 +208,7 @@ class SolverInstaller(object):
|
|
|
210
208
|
"""Executes an arbitrary program"""
|
|
211
209
|
environment = os.environ.copy()
|
|
212
210
|
if env_variables is not None:
|
|
213
|
-
for k,v in
|
|
211
|
+
for k,v in env_variables.items():
|
|
214
212
|
environment[k] = v
|
|
215
213
|
|
|
216
214
|
stderr = None
|
|
@@ -12,9 +12,6 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
import os
|
|
15
|
-
import subprocess
|
|
16
|
-
|
|
17
|
-
from six import PY2
|
|
18
15
|
|
|
19
16
|
from pysmt.cmd.installers.base import SolverInstaller
|
|
20
17
|
|
|
@@ -42,28 +39,16 @@ class CuddInstaller(SolverInstaller):
|
|
|
42
39
|
if self.architecture == "x86_64":
|
|
43
40
|
makefile = "Makefile_64bit"
|
|
44
41
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
if
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
print("Found python-config in %s" % command)
|
|
51
|
-
|
|
52
|
-
# Build the pycudd
|
|
53
|
-
prefix = None
|
|
54
|
-
p = subprocess.Popen([command, '--includes'], stdout=subprocess.PIPE, stderr=None)
|
|
55
|
-
prefix = p.stdout.read()
|
|
56
|
-
if PY2:
|
|
57
|
-
pass # Prefix is already a string
|
|
58
|
-
else:
|
|
59
|
-
# > PY3 Prefix is binary data
|
|
60
|
-
prefix = prefix.decode()
|
|
61
|
-
|
|
62
|
-
if not prefix or len(prefix) == 0:
|
|
63
|
-
prefix = "/usr"
|
|
42
|
+
swig = "swig"
|
|
43
|
+
swig_version = SolverInstaller.run("swig -version", get_output=True)
|
|
44
|
+
if '4.0.1' in swig_version or '4.0.0' in swig_version:
|
|
45
|
+
print("WARNING: the BDD solver does not work with Swig4 < 4.0.2. Fallback to Swig3")
|
|
46
|
+
swig = "swig3.0" # This is the Ubuntu naming of the executable
|
|
64
47
|
|
|
65
|
-
|
|
66
|
-
|
|
48
|
+
import distutils.sysconfig as sysconfig
|
|
49
|
+
PYTHON_INCLUDE_DIR = sysconfig.get_python_inc()
|
|
50
|
+
SolverInstaller.run("make -C %s -f %s PYTHON_INCL=-I%s SWIG=%s" %
|
|
51
|
+
(self.extract_path, makefile, PYTHON_INCLUDE_DIR, swig))
|
|
67
52
|
|
|
68
53
|
|
|
69
54
|
def move(self):
|
|
@@ -40,6 +40,20 @@ class BtorInstaller(SolverInstaller):
|
|
|
40
40
|
mirror_link=mirror_link)
|
|
41
41
|
|
|
42
42
|
def compile(self):
|
|
43
|
+
# Override default Python library, include, and interpreter
|
|
44
|
+
# path into Boolector's CMake because CMake can get confused
|
|
45
|
+
# if multiple interpreters are available, especially python 2
|
|
46
|
+
# vs python 3.
|
|
47
|
+
import distutils.sysconfig as sysconfig
|
|
48
|
+
import sys
|
|
49
|
+
PYTHON_LIBRARY = os.environ.get('PYSMT_PYTHON_LIBDIR')
|
|
50
|
+
PYTHON_INCLUDE_DIR = sysconfig.get_python_inc()
|
|
51
|
+
PYTHON_EXECUTABLE = sys.executable
|
|
52
|
+
CMAKE_OPTS = ' -DPYTHON_INCLUDE_DIR=' + PYTHON_INCLUDE_DIR
|
|
53
|
+
CMAKE_OPTS += ' -DPYTHON_EXECUTABLE=' + PYTHON_EXECUTABLE
|
|
54
|
+
if PYTHON_LIBRARY:
|
|
55
|
+
CMAKE_OPTS += ' -DPYTHON_LIBRARY=' + PYTHON_LIBRARY
|
|
56
|
+
|
|
43
57
|
# Unpack
|
|
44
58
|
SolverInstaller.untar(os.path.join(self.base_dir, self.archive_name),
|
|
45
59
|
self.extract_path)
|
|
@@ -52,23 +66,15 @@ class BtorInstaller(SolverInstaller):
|
|
|
52
66
|
SolverInstaller.run("bash ./contrib/setup-btor2tools.sh",
|
|
53
67
|
directory=self.extract_path)
|
|
54
68
|
|
|
55
|
-
# Inject Python library and include paths into CMake because Boolector search
|
|
56
|
-
# system can be fooled in some systems
|
|
57
|
-
import distutils.sysconfig as sysconfig
|
|
58
|
-
PYTHON_LIBRARY = sysconfig.get_config_var('LIBDIR')
|
|
59
|
-
PYTHON_INCLUDE_DIR = sysconfig.get_python_inc()
|
|
60
|
-
SolverInstaller.run(['sed', '-i',
|
|
61
|
-
's|cmake_opts=""|cmake_opts="-DPYTHON_LIBRARY=' + PYTHON_LIBRARY + ' -DPYTHON_INCLUDE_DIR=' + PYTHON_INCLUDE_DIR + '"|g',
|
|
62
|
-
'./configure.sh'], directory=self.extract_path)
|
|
63
69
|
|
|
64
70
|
# Build Boolector Solver
|
|
65
71
|
SolverInstaller.run("bash ./configure.sh --python",
|
|
66
|
-
directory=self.extract_path
|
|
72
|
+
directory=self.extract_path,
|
|
73
|
+
env_variables={"CMAKE_OPTS": CMAKE_OPTS})
|
|
67
74
|
|
|
68
75
|
SolverInstaller.run("make -j2",
|
|
69
76
|
directory=os.path.join(self.extract_path, "build"))
|
|
70
77
|
|
|
71
|
-
|
|
72
78
|
def move(self):
|
|
73
79
|
libdir = os.path.join(self.extract_path, "build", "lib")
|
|
74
80
|
for f in os.listdir(libdir):
|
|
@@ -15,6 +15,7 @@ from __future__ import absolute_import
|
|
|
15
15
|
|
|
16
16
|
import os
|
|
17
17
|
import sys
|
|
18
|
+
import multiprocessing
|
|
18
19
|
|
|
19
20
|
from pysmt.cmd.installers.base import SolverInstaller
|
|
20
21
|
|
|
@@ -25,8 +26,8 @@ class CVC4Installer(SolverInstaller):
|
|
|
25
26
|
|
|
26
27
|
def __init__(self, install_dir, bindings_dir, solver_version,
|
|
27
28
|
mirror_link=None, git_version='HEAD'):
|
|
28
|
-
archive_name = "CVC4-%s.tar.gz" % git_version
|
|
29
|
-
native_link = "https://codeload.github.com/CVC4/CVC4/tar.gz/%s" % (git_version)
|
|
29
|
+
archive_name = "CVC4-archived-%s.tar.gz" % git_version
|
|
30
|
+
native_link = "https://codeload.github.com/CVC4/CVC4-archived/tar.gz/%s" % (git_version)
|
|
30
31
|
SolverInstaller.__init__(self, install_dir=install_dir,
|
|
31
32
|
bindings_dir=bindings_dir,
|
|
32
33
|
solver_version=solver_version,
|
|
@@ -45,8 +46,9 @@ class CVC4Installer(SolverInstaller):
|
|
|
45
46
|
|
|
46
47
|
def compile(self):
|
|
47
48
|
# Build ANTLR
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
|
|
50
|
+
SolverInstaller.run("bash %s" % os.path.join("contrib", "get-antlr-3.4"),
|
|
51
|
+
directory=self.extract_path)
|
|
50
52
|
|
|
51
53
|
# Build ABC
|
|
52
54
|
# SolverInstaller.run("bash get-abc",
|
|
@@ -57,10 +59,17 @@ class CVC4Installer(SolverInstaller):
|
|
|
57
59
|
# Inject Python library and include paths into CMake because CVC4 search
|
|
58
60
|
# system can be fooled in some systems
|
|
59
61
|
import distutils.sysconfig as sysconfig
|
|
60
|
-
PYTHON_LIBRARY =
|
|
62
|
+
PYTHON_LIBRARY = os.environ.get('PYSMT_PYTHON_LIBDIR')
|
|
61
63
|
PYTHON_INCLUDE_DIR = sysconfig.get_python_inc()
|
|
64
|
+
PYTHON_EXECUTABLE = sys.executable
|
|
65
|
+
|
|
66
|
+
CMAKE_OPTS = '-DPYTHON_INCLUDE_DIR=' + PYTHON_INCLUDE_DIR
|
|
67
|
+
CMAKE_OPTS += ' -DPYTHON_EXECUTABLE=' + PYTHON_EXECUTABLE
|
|
68
|
+
if PYTHON_LIBRARY:
|
|
69
|
+
CMAKE_OPTS += ' -DPYTHON_LIBRARY=' + PYTHON_LIBRARY
|
|
70
|
+
|
|
62
71
|
SolverInstaller.run(['sed', '-i',
|
|
63
|
-
's|cmake_opts=""|cmake_opts="
|
|
72
|
+
's|cmake_opts=""|cmake_opts="' + CMAKE_OPTS + '"|g',
|
|
64
73
|
'./configure.sh'], directory=self.extract_path)
|
|
65
74
|
|
|
66
75
|
# Configure and build CVC4
|
|
@@ -74,7 +83,7 @@ class CVC4Installer(SolverInstaller):
|
|
|
74
83
|
|
|
75
84
|
SolverInstaller.run(config_cmd, directory=self.extract_path,
|
|
76
85
|
env_variables=pyconfig)
|
|
77
|
-
SolverInstaller.run("make", directory=self.build_path,
|
|
86
|
+
SolverInstaller.run("make -j {}".format(multiprocessing.cpu_count()), directory=self.build_path,
|
|
78
87
|
env_variables=pyconfig)
|
|
79
88
|
# SolverInstaller.run("make install", directory=self.build_path,
|
|
80
89
|
# env_variables=pyconfig)
|
|
@@ -15,7 +15,7 @@ import sys, os
|
|
|
15
15
|
import json
|
|
16
16
|
import codecs
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
import urllib.request
|
|
19
19
|
|
|
20
20
|
from pysmt.cmd.installers.base import SolverInstaller, TemporaryPath
|
|
21
21
|
|
|
@@ -39,7 +39,7 @@ class PicoSATInstaller(SolverInstaller):
|
|
|
39
39
|
self.complete_version = "%s.%s" % (self.solver_version,
|
|
40
40
|
self.pypicosat_minor_version)
|
|
41
41
|
pypi_link = "https://pypi.python.org/pypi/pyPicoSAT/%s/json" % self.complete_version
|
|
42
|
-
response =
|
|
42
|
+
response = urllib.request.urlopen(pypi_link)
|
|
43
43
|
reader = codecs.getreader("utf-8")
|
|
44
44
|
pypi_json = json.load(reader(response))
|
|
45
45
|
|
|
@@ -25,20 +25,8 @@ class YicesInstaller(SolverInstaller):
|
|
|
25
25
|
def __init__(self, install_dir, bindings_dir, solver_version,
|
|
26
26
|
mirror_link=None, yicespy_version='HEAD'):
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
sysctl = self.run("sysctl -a", get_output=True, suppress_stderr=True)
|
|
31
|
-
if 'hw.optional.avx2_0: 1' in sysctl:
|
|
32
|
-
# No need to compile, see http://yices.csl.sri.com/faq.html
|
|
33
|
-
pack = "x86_64-apple-darwin16.7.0-static-gmp"
|
|
34
|
-
else:
|
|
35
|
-
self.needs_compilation = True
|
|
36
|
-
pack = "src"
|
|
37
|
-
else:
|
|
38
|
-
pack = "x86_64-pc-linux-gnu-static-gmp"
|
|
39
|
-
|
|
40
|
-
archive_name = "yices-%s-%s.tar.gz" % (solver_version, pack)
|
|
41
|
-
native_link = "http://yices.csl.sri.com/releases/{solver_version}/{archive_name}"
|
|
28
|
+
archive_name = "Yices-%s.tar.gz" % (solver_version)
|
|
29
|
+
native_link = "https://github.com/SRI-CSL/yices2/archive/{archive_name}"
|
|
42
30
|
SolverInstaller.__init__(self, install_dir=install_dir,
|
|
43
31
|
bindings_dir=bindings_dir,
|
|
44
32
|
solver_version=solver_version,
|
|
@@ -46,7 +34,7 @@ class YicesInstaller(SolverInstaller):
|
|
|
46
34
|
native_link=native_link,
|
|
47
35
|
mirror_link=mirror_link)
|
|
48
36
|
|
|
49
|
-
self.extract_path = os.path.join(self.base_dir, "
|
|
37
|
+
self.extract_path = os.path.join(self.base_dir, "yices2-Yices-%s" % self.solver_version)
|
|
50
38
|
self.yices_path = os.path.join(self.bindings_dir, "yices_bin")
|
|
51
39
|
self.yicespy_git_version = yicespy_version
|
|
52
40
|
|
|
@@ -74,14 +62,12 @@ class YicesInstaller(SolverInstaller):
|
|
|
74
62
|
# Prepare an empty folder for installing yices
|
|
75
63
|
SolverInstaller.clean_dir(self.yices_path)
|
|
76
64
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
SolverInstaller.run("bash ./install-yices %s" % self.yices_path,
|
|
84
|
-
directory=self.extract_path)
|
|
65
|
+
SolverInstaller.run("autoconf", directory=self.extract_path)
|
|
66
|
+
|
|
67
|
+
SolverInstaller.run("bash configure --prefix %s" % self.yices_path,
|
|
68
|
+
directory=self.extract_path)
|
|
69
|
+
SolverInstaller.run("make", directory=self.extract_path)
|
|
70
|
+
SolverInstaller.run("make install", directory=self.extract_path)
|
|
85
71
|
|
|
86
72
|
self.install_yicespy()
|
|
87
73
|
|