mirror of
https://github.com/Z3Prover/z3
synced 2025-11-01 20:17:52 +00:00
clean up comments
This commit is contained in:
parent
b42db215c4
commit
5143ba0118
1 changed files with 1 additions and 6 deletions
|
|
@ -163,9 +163,6 @@ namespace search_tree {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Given complementary sibling nodes for literals x and ¬x, sibling resolvent = (core_left ∪ core_right) \ {x, ¬x}
|
// Given complementary sibling nodes for literals x and ¬x, sibling resolvent = (core_left ∪ core_right) \ {x, ¬x}
|
||||||
// if there are other complements in the union of the cores, they are not removed, but that is ok, because the core is
|
|
||||||
// strengthened, and these complements came from a higher-up branch, which will be resolved away recursively as we move up the tree
|
|
||||||
// in conclusion: the sibling resolvent only promises to eliminate the split variable’s literal/complement.Other complements may still appear, which is ok since they just reflect conflicts from higher up the path.
|
|
||||||
vector<literal> compute_sibling_resolvent(node<Config>* left, node<Config>* right) {
|
vector<literal> compute_sibling_resolvent(node<Config>* left, node<Config>* right) {
|
||||||
vector<literal> res;
|
vector<literal> res;
|
||||||
|
|
||||||
|
|
@ -226,10 +223,8 @@ namespace search_tree {
|
||||||
if (p->has_core() && resolvent == p->get_core())
|
if (p->has_core() && resolvent == p->get_core())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
//
|
|
||||||
// Bubble to the highest ancestor where ALL literals in the resolvent
|
// Bubble to the highest ancestor where ALL literals in the resolvent
|
||||||
// are present somewhere on the path from that ancestor to root
|
// are present somewhere on the path from that ancestor to root
|
||||||
//
|
|
||||||
node<Config>* candidate = p;
|
node<Config>* candidate = p;
|
||||||
node<Config>* attach_here = p; // fallback
|
node<Config>* attach_here = p; // fallback
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue