mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
Add clause simplification stub
This commit is contained in:
parent
3e99828c3c
commit
bf1a7914cd
3 changed files with 53 additions and 1 deletions
|
@ -16,6 +16,7 @@ z3_add_component(polysat
|
|||
saturation.cpp
|
||||
search_state.cpp
|
||||
simplify.cpp
|
||||
simplify_clause.cpp
|
||||
smul_fl_constraint.cpp
|
||||
solver.cpp
|
||||
ule_constraint.cpp
|
||||
|
@ -28,6 +29,6 @@ z3_add_component(polysat
|
|||
simplex
|
||||
interval
|
||||
bigfix
|
||||
PYG_FILES
|
||||
PYG_FILES
|
||||
polysat_params.pyg
|
||||
)
|
||||
|
|
24
src/math/polysat/simplify_clause.cpp
Normal file
24
src/math/polysat/simplify_clause.cpp
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*++
|
||||
Copyright (c) 2022 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
Clause Simplification
|
||||
|
||||
Author:
|
||||
|
||||
Jakob Rath, Nikolaj Bjorner (nbjorner) 2022-08-22
|
||||
|
||||
Notes:
|
||||
|
||||
--*/
|
||||
#include "math/polysat/solver.h"
|
||||
#include "math/polysat/simplify_clause.h"
|
||||
|
||||
namespace polysat {
|
||||
|
||||
simplify_clause::simplify_clause(solver& s):
|
||||
s(s)
|
||||
{}
|
||||
|
||||
}
|
27
src/math/polysat/simplify_clause.h
Normal file
27
src/math/polysat/simplify_clause.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
/*++
|
||||
Copyright (c) 2022 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
Clause Simplification
|
||||
|
||||
Author:
|
||||
|
||||
Jakob Rath, Nikolaj Bjorner (nbjorner) 2022-08-22
|
||||
|
||||
--*/
|
||||
#pragma once
|
||||
#include "math/polysat/constraint.h"
|
||||
|
||||
namespace polysat {
|
||||
|
||||
class solver;
|
||||
|
||||
class simplify_clause {
|
||||
solver& s;
|
||||
|
||||
public:
|
||||
simplify_clause(solver& s);
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue