mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 05:18:44 +00:00
add comments to generalizer code
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
85391b6f35
commit
cb06ce295e
|
@ -162,6 +162,18 @@ namespace pdr {
|
|||
}
|
||||
|
||||
// use the entire region as starting point for generalization.
|
||||
//
|
||||
// Constraints:
|
||||
// add_variables: y = y1 + y2
|
||||
// core: Ay <= b -> conv1: A*y1 <= b*sigma1
|
||||
// sigma1 > 0
|
||||
// sigma2 > 0
|
||||
// 1 = sigma1 + sigma2
|
||||
// A'y <= b' -> conv2: A'*y2 <= b'*sigma2
|
||||
//
|
||||
// If Constraints & Transition(y0, y) is unsat, then
|
||||
// update with new core.
|
||||
//
|
||||
void core_convex_hull_generalizer::method1(model_node& n, expr_ref_vector& core, bool& uses_level) {
|
||||
manager& pm = n.pt().get_pdr_manager();
|
||||
expr_ref_vector conv1(m), conv2(m), core1(m), core2(m), eqs(m);
|
||||
|
|
Loading…
Reference in a new issue