سؤال

In Z3 api, FuncDecl has a DeclKind() to indicates if it is a rewrite rule. But how to create a rewrite rule in Z3 java API?

هل كانت مفيدة؟

المحلول

I'm not sure if I understood your question correctly. Are you referring to Z3_OP_PR_REWRITE? If that is the case, this is the declaration kind used to annotate rewrite rule proof steps in Z3 proofs. It corresponds to the rewrite step described in this article (Section 3.2). We should not confuse this declaration kind with user defined rewrite rules.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top