mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 03:15:50 +00:00
fixed bug in label output in duality
This commit is contained in:
parent
dc793907a5
commit
477754c386
3 changed files with 7 additions and 3 deletions
|
@ -672,6 +672,8 @@ namespace Duality {
|
|||
|
||||
TermTree *GetGoalTree(Node *root);
|
||||
|
||||
int EvalTruth(hash_map<ast,int> &memo, Edge *e, const Term &f);
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
@ -733,10 +735,8 @@ namespace Duality {
|
|||
|
||||
Term ProjectFormula(std::vector<Term> &keep_vec, const Term &f);
|
||||
|
||||
public:
|
||||
int SubtermTruth(hash_map<ast,int> &memo, const Term &);
|
||||
|
||||
private:
|
||||
void ImplicantRed(hash_map<ast,int> &memo, const Term &f, std::vector<Term> &lits,
|
||||
hash_set<ast> *done, bool truth, hash_set<ast> &dont_cares);
|
||||
|
||||
|
|
|
@ -833,6 +833,10 @@ namespace Duality {
|
|||
return res;
|
||||
}
|
||||
|
||||
int RPFP::EvalTruth(hash_map<ast,int> &memo, Edge *e, const Term &f){
|
||||
Term tl = Localize(e, f);
|
||||
return SubtermTruth(memo,tl);
|
||||
}
|
||||
|
||||
#ifdef Z3OPS
|
||||
static Z3_subterm_truth *stt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue