diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-08-21 09:48:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-21 09:48:01 -0500 |
commit | 905dc2b51fd0145e0bb69a166c06a1731ef4c44b (patch) | |
tree | 715852790389f830365004bbf06e3528a4da5d1d /src/theory/uf/theory_uf.h | |
parent | 971a6ac1ccdeb52572565b6b47afedb9eccb7833 (diff) |
Simplify and fix care graph for ufHo (#4924)
We now separate APPLY_UF and HO_APPLY. We do not generate care pairs based on comparing APPLY_UF terms with HO_APPLY terms, which led to type errors previously.
Fixes #4990.
Diffstat (limited to 'src/theory/uf/theory_uf.h')
-rw-r--r-- | src/theory/uf/theory_uf.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/theory/uf/theory_uf.h b/src/theory/uf/theory_uf.h index 4d0a3126f..7d17fdb86 100644 --- a/src/theory/uf/theory_uf.h +++ b/src/theory/uf/theory_uf.h @@ -150,15 +150,6 @@ private: /** called when two equivalence classes are made disequal */ void eqNotifyDisequal(TNode t1, TNode t2, TNode reason); - private: - /** get the operator for this node (node should be either APPLY_UF or - * HO_APPLY) - */ - Node getOperatorForApplyTerm(TNode node); - /** get the starting index of the arguments for node (node should be either - * APPLY_UF or HO_APPLY) */ - unsigned getArgumentStartIndexForApplyTerm(TNode node); - public: /** Constructs a new instance of TheoryUF w.r.t. the provided context.*/ @@ -211,8 +202,8 @@ private: private: bool areCareDisequal(TNode x, TNode y); - void addCarePairs(TNodeTrie* t1, - TNodeTrie* t2, + void addCarePairs(const TNodeTrie* t1, + const TNodeTrie* t2, unsigned arity, unsigned depth); |