3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-15 13:25:42 +00:00
z3/examples/python
Guangyu (Gary) HU d397a071a6
Fix two bugs in Python examples (#9303)
- bincover.py: typo `NOne` -> `None` in _value2bin fallback path
  (would raise NameError if bin_index is out of range).

- complex/complex.py: rename `__neq__` to `__ne__`. Python has no
  `__neq__` dunder, so `!=` was not using the intended definition.
  On Python 3 it silently fell back to the auto-derived inverse of
  `__eq__`; on Python 2 it fell back to identity comparison.
2026-04-19 15:56:40 +02:00
..
bounded model checking three smt2 examples added and one python example updated (#5690) 2021-12-01 16:21:12 -08:00
complex Fix two bugs in Python examples (#9303) 2026-04-19 15:56:40 +02:00
data
hamiltonian
mus
tutorial use structured proof hints 2022-05-28 09:37:41 -07:00
all_interval_series.py
bincover.py Fix two bugs in Python examples (#9303) 2026-04-19 15:56:40 +02:00
CMakeLists.txt
efsmt.py handle return status 2022-04-04 20:19:15 +02:00
example.py
hs.py
mini_ic3.py mini_ic3: fix generalize() returning empty/init-overlapping core (#9245) 2026-04-09 02:01:07 -07:00
mini_quip.py mini_quip: port to Python 3 and fix several bugs (#9246) 2026-04-09 14:30:26 -07:00
parallel.py
prooflogs.py add example for monitoring proof logs 2022-10-19 13:37:51 -07:00
proofreplay.py Fix some typos. (#7115) 2024-02-07 23:06:43 -08:00
rc2.py
README
simplify_formula.py formula simplification example 2022-08-11 09:33:36 +03:00
socrates.py
trafficjam.py
union_sort.py
visitor.py add example for #5933 2022-04-05 04:26:40 +02:00

The example is copied to the build directory during configuration.
You can execute it using
    python example.py
in the build directory after you build Z3.