3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

fix bug in new core not detecting conflict, fix #6525, add tactic doc

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-01-14 17:20:37 -05:00
parent feda706d0d
commit 4f7f4376b8
14 changed files with 175 additions and 26 deletions

View file

@ -13,7 +13,24 @@ Author:
Leonardo (leonardo) 2012-01-02
Notes:
Tactic Documentation:
## Tactic nlsat
### Short Description
(try to) solve goal using a nonlinear arithmetic solver
### Example
```z3
(declare-const x Real)
(declare-const y Real)
(assert (> (* x x) (* y x)))
(assert (> x 0))
(assert (< y 1))
(apply (then simplify purify-arith nlsat))
```
--*/
#pragma once

View file

@ -13,7 +13,26 @@ Author:
Leonardo (leonardo) 2012-01-23
Notes:
Tactic Documentation:
## Tactic qfnra-nlsat
### Short Description
Self-contained tactic that attempts to solve goal using a nonlinear arithmetic solver.
It first applies tactics, such as `purify-arith` to convert the goal into a format
where the `nlsat` tactic applies.
### Example
```z3
(declare-const x Real)
(declare-const y Real)
(assert (> (* x x) (* y x)))
(assert (> x 0))
(assert (< y 1))
(apply qfnra-nlsat)
```
--*/
#pragma once