Pergunta

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?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top