mirror of
https://github.com/Z3Prover/z3
synced 2025-08-17 08:42:15 +00:00
add tactic descriptions
This commit is contained in:
parent
f01d9d29d2
commit
d5316e017e
4 changed files with 89 additions and 22 deletions
|
@ -13,7 +13,32 @@ Author:
|
|||
|
||||
Christoph (cwinter) 2012-02-15
|
||||
|
||||
Notes:
|
||||
Tactic Documentation:
|
||||
|
||||
## Tactic pb2bv
|
||||
|
||||
### Short Description
|
||||
|
||||
Convert pseudo-boolean constraints to bit-vectors
|
||||
|
||||
### Example
|
||||
|
||||
```z3
|
||||
(declare-const x Int)
|
||||
(declare-const y Int)
|
||||
(declare-const z Int)
|
||||
(declare-const u Int)
|
||||
(assert (<= 0 x))
|
||||
(assert (<= 0 y))
|
||||
(assert (<= 0 z))
|
||||
(assert (<= 0 u))
|
||||
(assert (<= x 1))
|
||||
(assert (<= y 1))
|
||||
(assert (<= z 1))
|
||||
(assert (<= u 1))
|
||||
(assert (>= (+ (* 3 x) (* 2 y) (* 2 z) (* 2 u)) 4))
|
||||
(apply pb2bv)
|
||||
```
|
||||
|
||||
--*/
|
||||
#pragma once
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue