我想使用函數Z3_benchmark_to_smtlib_string()。這裏是我使用的論據:Z3_benchmark_to_smtlib_string()的輸入參數
Z3_benchmark_to_smtlib_string(
ctx, /* this one is valid */
"test", /* this one is random, I don't understand it */
"QF_UFBV", /* I got this name from the smtlib website, valid ? */
"sat", /* not sure about this one either */
NULL, /* not sure about this one either */
nb_assumptions, /* should be ok */
assumptions, /* should be ok too */
NULL); /* not sure about this one, is this mandatory ? */
任何幫助將受到歡迎。
與此同時,我使用我的顯示在飛行的假設,使用:
Z3_set_ast_print_mode(CTX,Z3_PRINT_SMTLIB2_COMPLIANT);
en得到如下的奇怪字符:?x21,?x24,?x37,(見下文)。任何暗示解決這個問題?
由於提前,
AG
(讓((?X21(bvand(_ bv582 32)(ITE(=((_ SIGN_EXTEND 24)(_ bv98 8))((_ SIGN_EXTEND 24)| Mem5 [8] |))(_ bv64 32)(_ bv0 32))))) (let((x24(bvand?x21(ite(bvsgt((_ sign_extend 24)(_ bv98 8) )((__ sign_extend 24)| Mem5 [8] |))(_ bv128 32)(_ bv0 32))))) (__ bv97 8))((__ sign_extend 24)| Mem6 [8] |))(_ bv64 32)(_ bv0 32))))) (bvand?x37(ite(bvsgt((_ sign_extend 24) (__ sign_extend 24)| Mem6 [8] |))(_ bv128 32)(_ bv0 32))))))