PySMT 0.9.7.dev468__py2.py3-none-any.whl → 0.9.7.dev470__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.
pysmt/__init__.py CHANGED
@@ -19,7 +19,7 @@
19
19
  from typing import Tuple, Union
20
20
 
21
21
 
22
- VERSION: Union[Tuple[int, int, int], Tuple[int, int, int, str, int]] = (0, 9, 7, "dev", 468)
22
+ VERSION: Union[Tuple[int, int, int], Tuple[int, int, int, str, int]] = (0, 9, 7, "dev", 470)
23
23
 
24
24
  # Try to provide human-readable version of latest commit for dev versions
25
25
  # E.g. v0.5.1-4-g49a49f2-wip
@@ -166,7 +166,7 @@ class TestRewritings(TestCase):
166
166
  for (f, _, _, logic) in get_example_formulae():
167
167
  if not logic.is_quantified() and logic.theory.uninterpreted:
168
168
  if self.env.factory.has_solvers(logic=logic):
169
- self._verify_ackermannization(f)
169
+ self._verify_ackermannization(f, logic)
170
170
 
171
171
  def test_ackermannization_dictionaries(self):
172
172
  self.env.enable_infix_notation = True
@@ -192,7 +192,7 @@ class TestRewritings(TestCase):
192
192
  if atom.is_function_application():
193
193
  self.assertIsNotNone(terms_to_consts[atom])
194
194
 
195
- def _verify_ackermannization(self, formula):
195
+ def _verify_ackermannization(self, formula, logic=None):
196
196
  ackermannization = Ackermannizer()
197
197
  ack = ackermannization.do_ackermannization(formula)
198
198
  #verify that there are no functions in ack
@@ -201,8 +201,8 @@ class TestRewritings(TestCase):
201
201
  for arg in atom.args():
202
202
  self.assertFalse(arg.is_function_application())
203
203
  #verify that ack and formula are equisat
204
- formula_sat = is_sat(formula)
205
- ack_sat = is_sat(ack)
204
+ formula_sat = is_sat(formula, logic=logic)
205
+ ack_sat = is_sat(ack, logic=logic)
206
206
  self.assertTrue(formula_sat == ack_sat)
207
207
 
208
208
  def test_nnf_examples(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PySMT
3
- Version: 0.9.7.dev468
3
+ Version: 0.9.7.dev470
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=ke-e_9lMNBlktU423vl1KWdGSBXQCymptz_hj0WMKfU,1701
1
+ pysmt/__init__.py,sha256=4eRAsVW0Ee1MeL9ZaOs79ZegP3ZCkyCzPAgt07z4RJM,1701
2
2
  pysmt/__main__.py,sha256=rR-MV1QtLYqtVoJyY3m5B5Iz-lua0-5o6YSB0W4lKy8,1085
3
3
  pysmt/configuration.py,sha256=Iq_46QZ9z_jpBMk76euJWTqGEwHad2qyiEDPix5sXsA,4538
4
4
  pysmt/constants.py,sha256=pulb6NvROY_X8BePeyyX8T9MJLB79HZ_1FUYSlZ7Jfg,5769
@@ -103,7 +103,7 @@ pysmt/test/test_portfolio.py,sha256=MIlXPyvBHxXnV5V-4PQ1WTTwVIgrR_CUvq-PYUajaiM,
103
103
  pysmt/test/test_printing.py,sha256=MwxLcmpwN0DYLlqGNrOZM4U1RPdTM1k75_IMKWQFLts,9064
104
104
  pysmt/test/test_qe.py,sha256=k8zYX-lcij0ua9yuRXl7wErUklEgLSEh68QDpV8J9xs,7157
105
105
  pysmt/test/test_regressions.py,sha256=Mmxf86E9L0MTXJYBYwEqYGuQMCLYKFl2ZK4XQJCJH0A,24810
106
- pysmt/test/test_rewritings.py,sha256=1eeseDwZyQD2VrOFBABXHTYJFJOXszP4olbCNeLcwfA,15607
106
+ pysmt/test/test_rewritings.py,sha256=oayd-scp1QjyWezvPE1_V7QmEt0cNgtpZPczEDurceM,15652
107
107
  pysmt/test/test_shannon_expansion.py,sha256=yaiZuB24wj1Zi-KdzRTmWuzAVaF9bQ603uto7zi6XBs,3082
108
108
  pysmt/test/test_simplify.py,sha256=ckQn_DUxVvGspaRNZmSPHkudhpUlG5K2w6C0wDqhL1w,7620
109
109
  pysmt/test/test_size.py,sha256=p3aqCMHfBiGLxvF0P8hE-PRQTT8VMPIJCjblq8Txh1w,3261
@@ -143,10 +143,10 @@ pysmt/walkers/dag.py,sha256=hw9qUfadQTpihX685YQobfxKv9XA84ffiA8XRMUQEfU,5694
143
143
  pysmt/walkers/generic.py,sha256=2oMr_MDr7FswSlyx2ulbJ9ke5FsTCKABURnCsMeg4fc,5093
144
144
  pysmt/walkers/identitydag.py,sha256=EAxSneEW91Z8GphlkbMPsPdlac7_FDcVj-_6_aunU2s,10902
145
145
  pysmt/walkers/tree.py,sha256=1vquhaChRMSG_pvbz16wqKOFnsQAkzLvjh_xbB3dg5c,2730
146
- pysmt-0.9.7.dev468.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
147
- pysmt-0.9.7.dev468.dist-info/licenses/NOTICE,sha256=Ns-Jsa6nbqZUiTEEAM6HqioSZIxQ2RCJzxoBlWQaUfc,601
148
- pysmt-0.9.7.dev468.dist-info/METADATA,sha256=z7RKhwVHS67ttxtiGB_f1FM7O8BRHziGZZpjD6qNOCY,1774
149
- pysmt-0.9.7.dev468.dist-info/WHEEL,sha256=4YBfCYNH4wlLpv3pzq1hbEuIlXA4WJabKLFurZ7eTL0,109
150
- pysmt-0.9.7.dev468.dist-info/entry_points.txt,sha256=gDc1XM0xTJJMDGC_nXd0kfbX-Omjke9Dn9F3awMLYIU,57
151
- pysmt-0.9.7.dev468.dist-info/top_level.txt,sha256=NwHQbpTaZMEvjIUdC0bvvj-WUyULe-nt-opK3YQNRMk,6
152
- pysmt-0.9.7.dev468.dist-info/RECORD,,
146
+ pysmt-0.9.7.dev470.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
147
+ pysmt-0.9.7.dev470.dist-info/licenses/NOTICE,sha256=Ns-Jsa6nbqZUiTEEAM6HqioSZIxQ2RCJzxoBlWQaUfc,601
148
+ pysmt-0.9.7.dev470.dist-info/METADATA,sha256=omQpDPAPdfuYZsBA62q5gm9LBwn-G_T95Va7r7LRISs,1774
149
+ pysmt-0.9.7.dev470.dist-info/WHEEL,sha256=4YBfCYNH4wlLpv3pzq1hbEuIlXA4WJabKLFurZ7eTL0,109
150
+ pysmt-0.9.7.dev470.dist-info/entry_points.txt,sha256=gDc1XM0xTJJMDGC_nXd0kfbX-Omjke9Dn9F3awMLYIU,57
151
+ pysmt-0.9.7.dev470.dist-info/top_level.txt,sha256=NwHQbpTaZMEvjIUdC0bvvj-WUyULe-nt-opK3YQNRMk,6
152
+ pysmt-0.9.7.dev470.dist-info/RECORD,,