Io.MakeBackendIO
type backend_context = B.backend_context
val make_context : Shared_ast.decl_ctx -> backend_context
type vc_encoding = B.vc_encoding
val translate_expr :
backend_context ->
Shared_ast.typed Dcalc.Ast.expr ->
backend_context * vc_encoding
val encode_asserts :
backend_context ->
Shared_ast.typed Dcalc.Ast.expr ->
backend_context
type model = B.model
val print_negative_result :
Conditions.verification_condition ->
backend_context ->
model option ->
string
val encode_and_check_vc :
Shared_ast.decl_ctx ->
(Conditions.verification_condition * vc_encoding_result) ->
bool
encode_and_check_vc
spawns a new Z3 solver and tries to solve the expression vc
. Returns true
if the vs was proven true and false
otherwise. *