3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-29 18:52:29 +00:00
z3/src/nlsat/tactic/nlsat_tactic.h
Nikolaj Bjorner 4f7f4376b8 fix bug in new core not detecting conflict, fix #6525, add tactic doc
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-14 17:20:43 -05:00

47 lines
749 B
C++

/*++
Copyright (c) 2012 Microsoft Corporation
Module Name:
nlsat_tactic.h
Abstract:
Tactic for using nonlinear procedure.
Author:
Leonardo (leonardo) 2012-01-02
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
#include "util/params.h"
class ast_manager;
class tactic;
tactic * mk_nlsat_tactic(ast_manager & m, params_ref const & p = params_ref());
/*
ADD_TACTIC('nlsat', '(try to) solve goal using a nonlinear arithmetic solver.', 'mk_nlsat_tactic(m, p)')
*/