1
我在我的程序以下行:Z3無效的功能應用:不假
return Z3_mk_not(ctx, term);
當我運行該程序,Z3將失敗,並出現以下錯誤信息這一行:
WARNING: invalid function application, sort mismatch on argument at position 1
WARNING: (define not Bool Bool) applied to: false of sort Bool
Error: type error
......有人知道該怎麼做?我正在使用Z3版本4.3.1和新的求解器API。
valgrind
不報告任何內存違規。