PySMT 0.9.7.dev129__py2.py3-none-any.whl → 0.9.7.dev135__py2.py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PySMT
3
- Version: 0.9.7.dev129
3
+ Version: 0.9.7.dev135
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
@@ -1,4 +1,4 @@
1
- pysmt/__init__.py,sha256=VlooMhA5oranwltuSSmGVfWSC_cU2b57cM2N4SkTAv4,1598
1
+ pysmt/__init__.py,sha256=_veWBWYzv1-e5QqjiXDFwVLL7GZNcpERLyTOHXaD0_E,1598
2
2
  pysmt/__main__.py,sha256=rR-MV1QtLYqtVoJyY3m5B5Iz-lua0-5o6YSB0W4lKy8,1085
3
3
  pysmt/configuration.py,sha256=q4Ncd6f2d0VZUpyQAOR8sTPlTodgDnYhUBeRgYYXqTE,4539
4
4
  pysmt/constants.py,sha256=QelM9r5fGWSq8UNjjYoEJK2FaLHRr4Z9NZxzjeajEWA,5249
@@ -13,7 +13,7 @@ pysmt/operators.py,sha256=RU4H9E5eVjPgAar_9hIoCexq-Yc5v0xdHAMM69FcYX8,8132
13
13
  pysmt/oracles.py,sha256=lfRbPoiX4SXuJZktwmKUqA1FJ-7lRyP49LRIH8C7VoQ,19461
14
14
  pysmt/parsing.py,sha256=cT2cEgm31_3au4xD-F3_QvXtvq5aVHaEBbLWB17OKZY,20729
15
15
  pysmt/printers.py,sha256=ZtV0j7jVcOGJxzKELtKJIJh1T6m_4xv1dc_3lwinHbs,13389
16
- pysmt/rewritings.py,sha256=00gTDbyF6sGoAKcVwRsQMKEXIt6iIrJnmrS5FRvfMCA,33290
16
+ pysmt/rewritings.py,sha256=liTs64F01Fg5Y6Diu_aBFMzamyX0UOLzm2ET7Id71-Y,33288
17
17
  pysmt/shortcuts.py,sha256=p-xDS69rMr_uDoBoVzXYJuXdyBWbMxb3JAeLjfcvY1U,39378
18
18
  pysmt/simplifier.py,sha256=igDczAkE5f3ctDxN_Hh2iP54ZFj_ezKRucPtgrodGzo,41464
19
19
  pysmt/substituter.py,sha256=rzdZos9zYNzq3DSKFkLR2Gu6ktwBCjdPEPM48tIzUwk,13811
@@ -22,7 +22,7 @@ pysmt/typing.py,sha256=GioU08mUxqsjFmmAYfBYj51mmJoBcFZDunc-t99QKng,17714
22
22
  pysmt/utils.py,sha256=t13jG-E8kQNxG_JmS79GDy3SnBohSobwjJTjZHFf3fE,2302
23
23
  pysmt/cmd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
24
  pysmt/cmd/check_version.py,sha256=yeY_USo11j60iLjpNcAvq5gAj2i43IiOWcP1dwJS3Rw,2352
25
- pysmt/cmd/install.py,sha256=kk0tTiyc7gv_4xzuudTe6bioNucHJdbZsu1xPbCsd34,10294
25
+ pysmt/cmd/install.py,sha256=DTo_ANANJwqz_uGla4fupOk_EHStyZxmLcOX1aRDDZQ,10294
26
26
  pysmt/cmd/shell.py,sha256=ww1juthvLnJQciVHWxYvTJaA5W3-Np0ORfESyePF0bI,4333
27
27
  pysmt/cmd/installers/__init__.py,sha256=nHJaEXfCpsEkzBy0NL91P9extUda6jb0u88nwPYTvGo,1170
28
28
  pysmt/cmd/installers/base.py,sha256=1usHiBHrIBam9BlbVKG-6F52KPsIkJBeghkd_ckh-8U,12811
@@ -42,7 +42,7 @@ pysmt/smtlib/script.py,sha256=4tATsRYDavjz1DVKXzfVVZxVXYOtBRhh4Ya0Ng4XxHY,13387
42
42
  pysmt/smtlib/solver.py,sha256=dWBzYBuYDVyCsQI1KlqndxpqX4xHQUDcHAuefwbHv24,7987
43
43
  pysmt/smtlib/utils.py,sha256=XNp7mW1DB6cZRtQhkAOTR-xrwYaGDBEcF3Q-edKDeU8,2043
44
44
  pysmt/smtlib/parser/__init__.py,sha256=Tgl8AAjZPmCrABGmKRSC4Yu634mn8r22qn18M3u-pfk,4771
45
- pysmt/smtlib/parser/parser.py,sha256=vublFYMDAucq85WVaoq882WJ6kgcrRwUWh31bdH2u6M,58453
45
+ pysmt/smtlib/parser/parser.py,sha256=r-MSGQAWvRLAH_kGm9SjWl1hpRh5N-7ziS8kUWUJR-A,58534
46
46
  pysmt/solvers/__init__.py,sha256=JXBHtcb4Lv-Sb8whc9JuGbRH2EBLWwtLUh3PL9HhNE8,650
47
47
  pysmt/solvers/bdd.py,sha256=my3398_-8Rkqy1pluzZa7_12qsA43ARbs8-YAPqdMWs,15938
48
48
  pysmt/solvers/btor.py,sha256=2oT1PfXSGTSTPaXQUwVy0M799slSH2FJ-3QNb3YQmGw,25953
@@ -66,7 +66,7 @@ pysmt/test/test_back.py,sha256=3O7XTx4WfuizjT7-yueZq6oGG-uqovkie7R3A5GklTk,3372
66
66
  pysmt/test/test_bdd.py,sha256=GsFiq0YQd3exbN9k2fCurKZlvDl3H2VAucYc9tKGKEc,6195
67
67
  pysmt/test/test_bv.py,sha256=-pnOgslpMAeK9US4f_z4CU8LK0ZmDr-yceS1u1kwgps,12284
68
68
  pysmt/test/test_bv_simplification.py,sha256=gbXcSyjM9I9Zxlu5n43a66fW3RomarP2_DEj6IzYQTc,14637
69
- pysmt/test/test_cnf.py,sha256=_pYNU9y06o5dJNK3zg7TINDHjI6FMduSayn7fyyxVp0,3363
69
+ pysmt/test/test_cnf.py,sha256=ENS-SAi_Q2V0gbvdd-kRaTldIXUO-k4NlSAtSgrO_ro,3510
70
70
  pysmt/test/test_configuration.py,sha256=uyCmS8-cdeI844TGqmzHBlFPtHBJhT_mKrrWJUF0AN0,3757
71
71
  pysmt/test/test_constants.py,sha256=wdqc9duJ8Ykt1LCxy2CL3Mt_7Gal5-bCVL7QT5GHS3s,4618
72
72
  pysmt/test/test_cvc_quantifiers.py,sha256=a40NDyPKNynVpqq9M5pDTR8qFL_EumR8whw8escxP4I,1850
@@ -128,10 +128,10 @@ pysmt/walkers/dag.py,sha256=pUdVTZx7CQyjrAb6jMfmsqS07J4kiDqHU8R4_9UvwkQ,5352
128
128
  pysmt/walkers/generic.py,sha256=q1j1T2RvCeJn1PM0H5d8vNV4FTYAEQgT7h8X5DJhDf8,4534
129
129
  pysmt/walkers/identitydag.py,sha256=f_D5qA198ayd3QO4u59fBX1RS_UiSBnPeV9O3ULvQv0,8737
130
130
  pysmt/walkers/tree.py,sha256=WIWN9IM0riWkaD40iP4Tt3BCN21iSdE1S7gRZqy56SU,2846
131
- PySMT-0.9.7.dev129.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
132
- PySMT-0.9.7.dev129.dist-info/METADATA,sha256=R2RMcBG8AfOdQ3QlgdfMrTtjMbGv4t3lY-SMtBns3X4,1617
133
- PySMT-0.9.7.dev129.dist-info/NOTICE,sha256=Ns-Jsa6nbqZUiTEEAM6HqioSZIxQ2RCJzxoBlWQaUfc,601
134
- PySMT-0.9.7.dev129.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110
135
- PySMT-0.9.7.dev129.dist-info/entry_points.txt,sha256=si0hIk-v3V35G3p8QGINoQ4QW-v4RYDRqj-asgyCgeM,58
136
- PySMT-0.9.7.dev129.dist-info/top_level.txt,sha256=NwHQbpTaZMEvjIUdC0bvvj-WUyULe-nt-opK3YQNRMk,6
137
- PySMT-0.9.7.dev129.dist-info/RECORD,,
131
+ PySMT-0.9.7.dev135.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
132
+ PySMT-0.9.7.dev135.dist-info/METADATA,sha256=6u90140wP_aZhugrnBtHvokhmt9NYb-ZmvrQpLk_Pxk,1617
133
+ PySMT-0.9.7.dev135.dist-info/NOTICE,sha256=Ns-Jsa6nbqZUiTEEAM6HqioSZIxQ2RCJzxoBlWQaUfc,601
134
+ PySMT-0.9.7.dev135.dist-info/WHEEL,sha256=Kh9pAotZVRFj97E15yTA4iADqXdQfIVTHcNaZTjxeGM,110
135
+ PySMT-0.9.7.dev135.dist-info/entry_points.txt,sha256=si0hIk-v3V35G3p8QGINoQ4QW-v4RYDRqj-asgyCgeM,58
136
+ PySMT-0.9.7.dev135.dist-info/top_level.txt,sha256=NwHQbpTaZMEvjIUdC0bvvj-WUyULe-nt-opK3YQNRMk,6
137
+ PySMT-0.9.7.dev135.dist-info/RECORD,,
pysmt/__init__.py CHANGED
@@ -16,7 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
- VERSION = (0, 9, 7, "dev", 129)
19
+ VERSION = (0, 9, 7, "dev", 135)
20
20
 
21
21
  # Try to provide human-readable version of latest commit for dev versions
22
22
  # E.g. v0.5.1-4-g49a49f2-wip
pysmt/cmd/install.py CHANGED
@@ -36,7 +36,7 @@ INSTALLERS = [
36
36
  Installer(CVC5Installer, "1.1.2", {}),
37
37
  Installer(CVC4Installer, "1.7-prerelease",
38
38
  {"git_version" : "391ab9df6c3fd9a3771864900c1718534c1e4666"}),
39
- Installer(Z3Installer, "4.13.0", {}),
39
+ Installer(Z3Installer, "4.15.0", {}),
40
40
  Installer(YicesInstaller, "2.6.4", {"yices_api_version": "1.1.5"}),
41
41
  Installer(BtorInstaller, "3.2.3", {}),
42
42
  Installer(PicoSATInstaller, "965",
pysmt/rewritings.py CHANGED
@@ -162,7 +162,7 @@ class CNFizer(DagWalker):
162
162
  return CNFizer.THEORY_PLACEHOLDER
163
163
 
164
164
  def walk_function(self, formula, **kwargs):
165
- ty = formula.function_symbol().symbol_type()
165
+ ty = formula.function_name().symbol_type()
166
166
  if ty.return_type.is_bool_type():
167
167
  return formula, CNFizer.TRUE_CNF
168
168
  else:
@@ -1438,6 +1438,7 @@ class SmtLibZ3Parser(SmtLibParser):
1438
1438
  self._operator_adapter(self._ext_rotate_right)
1439
1439
  mgr = self.env.formula_manager
1440
1440
  self.interpreted['bv2int'] = self._operator_adapter(mgr.BVToNatural)
1441
+ self.interpreted['ubv_to_int'] = self._operator_adapter(mgr.BVToNatural)
1441
1442
 
1442
1443
  def _ext_rotate_left(self, x, y):
1443
1444
  return self.env.formula_manager.BVRol(x, y.simplify().constant_value())
pysmt/test/test_cnf.py CHANGED
@@ -20,7 +20,7 @@ import pytest
20
20
 
21
21
  from pysmt.shortcuts import Implies, is_sat, reset_env, Symbol, Iff
22
22
  from pysmt.rewritings import CNFizer
23
- from pysmt.logics import QF_BOOL, QF_LRA, QF_LIA, QF_UFLIRA
23
+ from pysmt.logics import QF_BOOL, QF_LRA, QF_LIA, QF_UFLIRA, QF_UFLRA
24
24
  from pysmt.test import TestCase, skipIfNoSolverForLogic, main
25
25
  from pysmt.test.examples import get_example_formulae
26
26
  from pysmt.test.smtlib.parser_utils import SMTLIB_TEST_FILES, SMTLIB_DIR
@@ -53,6 +53,11 @@ class TestCnf(TestCase):
53
53
  def test_examples_solving_lia(self):
54
54
  self.do_examples(QF_LIA)
55
55
 
56
+ @skipIfNoSolverForLogic(QF_UFLRA)
57
+ def test_examples_solving_lia(self):
58
+ self.do_examples(QF_UFLRA)
59
+
60
+ @pytest.mark.slow
56
61
  @skipIfNoSolverForLogic(QF_LIA)
57
62
  def test_smtlib_cnf_small(self):
58
63
  cnt = 0