mirror of
https://github.com/Z3Prover/z3
synced 2025-08-07 19:51:22 +00:00
add doc
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
7afcaa5364
commit
aed3d76a88
4 changed files with 121 additions and 33 deletions
|
@ -5,17 +5,34 @@ Module Name:
|
|||
|
||||
normalize_bounds_tactic.h
|
||||
|
||||
Abstract:
|
||||
|
||||
Replace x with x' + l, when l <= x
|
||||
where x' is a fresh variable.
|
||||
Note that, after the transformation 0 <= x'.
|
||||
|
||||
Author:
|
||||
|
||||
Leonardo de Moura (leonardo) 2011-10-21.
|
||||
|
||||
Revision History:
|
||||
Tactic Documentation:
|
||||
|
||||
## Tactic normalize-bounds
|
||||
|
||||
### Short Description
|
||||
|
||||
Replace $x$ with $x' + l$, when $l \leq x$
|
||||
where $x'$ is a fresh variable.
|
||||
Note that, after the transformation $0 \leq x'$.
|
||||
|
||||
### Example
|
||||
|
||||
```z3
|
||||
(declare-const x Int)
|
||||
(declare-const y Int)
|
||||
(declare-const z Int)
|
||||
(assert (<= 3 x))
|
||||
(assert (<= (+ x y) z))
|
||||
(apply normalize-bounds)
|
||||
```
|
||||
|
||||
### Notes
|
||||
|
||||
* supports proofs and cores
|
||||
|
||||
--*/
|
||||
#pragma once
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue