diff options
author | Haniel Barbosa <hanielbbarbosa@gmail.com> | 2021-05-06 19:56:35 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-06 22:56:35 +0000 |
commit | 911f9ae576320791a810275245fefe1483207b54 (patch) | |
tree | 52d9df88bc29bcf8caa448bab2cfe9af5c5a5412 /src/theory | |
parent | d0c3c164c9f722d4ea506706c5843373c8a948c4 (diff) |
[proof-new] Updating documentation for Subs/Rw ids (#6502)
Diffstat (limited to 'src/theory')
-rw-r--r-- | src/theory/builtin/proof_checker.cpp | 2 | ||||
-rw-r--r-- | src/theory/builtin/proof_checker.h | 12 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/theory/builtin/proof_checker.cpp b/src/theory/builtin/proof_checker.cpp index fdc952bdd..9dfc9418f 100644 --- a/src/theory/builtin/proof_checker.cpp +++ b/src/theory/builtin/proof_checker.cpp @@ -481,6 +481,8 @@ bool BuiltinProofRuleChecker::getMethodIds(const std::vector<Node>& args, break; } } + Trace("builtin-pfcheck") << "Got MethodIds ids/ida/idr: " << ids << " / " + << ida << " / " << idr << "\n"; return true; } diff --git a/src/theory/builtin/proof_checker.h b/src/theory/builtin/proof_checker.h index 81da0a969..dd6bf82e7 100644 --- a/src/theory/builtin/proof_checker.h +++ b/src/theory/builtin/proof_checker.h @@ -137,6 +137,9 @@ class BuiltinProofRuleChecker : public ProofRuleChecker * is derived from * @param ids The method identifier of the substitution, by default SB_DEFAULT * specifying that lhs/rhs of equalities are interpreted as a substitution. + * @param ida The method identifier of the substitution application, by + * default SB_SEQUENTIAL specifying that substitutions are to be applied + * sequentially * @return The substituted form of n. */ static Node applySubstitution(Node n, @@ -154,6 +157,7 @@ class BuiltinProofRuleChecker : public ProofRuleChecker * @param n The node to substitute and rewrite, * @param exp The (set of) equalities corresponding to the substitution * @param ids The method identifier of the substitution. + * @param ida The method identifier of the substitution application. * @param idr The method identifier of the rewriter. * @return The substituted, rewritten form of n. */ @@ -166,8 +170,8 @@ class BuiltinProofRuleChecker : public ProofRuleChecker static bool getMethodId(TNode n, MethodId& i); /** * Get method identifiers from args starting at the given index. Store their - * values into ids, idr. This method returns false if args does not contain - * valid method identifiers at position index in args. + * values into ids, ida, and idr. This method returns false if args does not + * contain valid method identifiers at position index in args. */ bool getMethodIds(const std::vector<Node>& args, MethodId& ids, @@ -175,8 +179,8 @@ class BuiltinProofRuleChecker : public ProofRuleChecker MethodId& idr, size_t index); /** - * Add method identifiers ids and idr as nodes to args. This does not add ids - * or idr if their values are the default ones. + * Add method identifiers ids, ida and idr as nodes to args. This does not add + * ids, ida or idr if their values are the default ones. */ static void addMethodIds(std::vector<Node>& args, MethodId ids, |