mirror of
https://github.com/Z3Prover/z3
synced 2025-08-11 13:40:52 +00:00
code review of tangent lemmas (#94)
* code reviewing order lemmas Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * code review monotonity Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * cr tangent Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * cr tangent Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c97a6dd7cb
commit
c327f8799b
2 changed files with 17 additions and 15 deletions
|
@ -24,8 +24,8 @@
|
|||
#include "util/lp/nla_common.h"
|
||||
|
||||
namespace nla {
|
||||
class core;
|
||||
struct tangents: common {
|
||||
class core;
|
||||
|
||||
struct point {
|
||||
rational x;
|
||||
rational y;
|
||||
|
@ -44,12 +44,17 @@ struct tangents: common {
|
|||
return point(x - b.x, y - b.y);
|
||||
}
|
||||
};
|
||||
|
||||
tangents(core *core);
|
||||
|
||||
void generate_simple_tangent_lemma(const smon* rm);
|
||||
|
||||
inline std::ostream& operator<<(std::ostream& out, point const& a) { return out << "(" << a.x << ", " << a.y << ")"; }
|
||||
|
||||
|
||||
class tangents : common {
|
||||
public:
|
||||
tangents(core *core);
|
||||
void tangent_lemma();
|
||||
private:
|
||||
|
||||
void generate_simple_tangent_lemma(const smon* rm);
|
||||
|
||||
void generate_explanations_of_tang_lemma(const smon& rm, const bfc& bf, lp::explanation& exp);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue