Ich versuche, die Funktion Z3_benchmark_to_smtlib_string() zu verwenden. Hier sind die Argumente, die ich verwende:Eingabeargumente von 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 ? */
Jede Hilfe wäre willkommen.
Parallel dazu verwende ich meine Annahmen im laufenden Betrieb angezeigt wird, mit:
Z3_set_ast_print_mode (CTX, Z3_PRINT_SMTLIB2_COMPLIANT);
en bekommt seltsame Zeichen wie:? X21, x24, x37, (siehe unten). Irgendein Hinweis, um dieses Problem zu lösen?
Vielen Dank im Voraus,
AG
(let ((? X21 (bvand (_ bv582 32) (ite (= ((_ sign_extend 24) (_ bv98 8)) ((_ sign_extend 24) | MEM5 [8] |)) (? _ bv64 32) (_ BV0 32))))) (lassen ((x24 (bvand x21 (ite (bvsgt ((_ sign_extend 24) (_ bv98 8)) ((_ sign_extend 24) | MEM5 [8] |?)) (_ bv128 32) (_ BV0 32))))) (lassen ((x37 (bvand x24 (ite (= ((_ sign_extend 24) (_ bv97 8)) ((_ sign_extend 24) | MEM6 [8] |?)) (_ bv64 32) (_ BV0 32))))) (bvand x37 (ite (bvsgt ((_ sign_extend 24) (_ bv97 8)) ((_ Vorzeichen_Extend 24) | Mem6 [8] |)) (_ bv128 32) (_ bv0 32))))))