mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
change to ast-vector
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
94ffa3963e
commit
a5762a78e9
|
@ -1815,8 +1815,9 @@ struct
|
||||||
| _ -> UNKNOWN
|
| _ -> UNKNOWN
|
||||||
|
|
||||||
let get_model x =
|
let get_model x =
|
||||||
let q = Z3native.solver_get_model (gc x) x in
|
let q = Z3native.solver_get_model (gc x) x in
|
||||||
if Z3native.is_null_model q then None else Some q
|
try if Z3native.is_null_model q then None else Some q with | _ -> None
|
||||||
|
|
||||||
|
|
||||||
let get_proof x =
|
let get_proof x =
|
||||||
let q = Z3native.solver_get_proof (gc x) x in
|
let q = Z3native.solver_get_proof (gc x) x in
|
||||||
|
|
|
@ -3407,10 +3407,10 @@ sig
|
||||||
(** Parse the given string using the SMT-LIB2 parser.
|
(** Parse the given string using the SMT-LIB2 parser.
|
||||||
|
|
||||||
@return A conjunction of assertions in the scope (up to push/pop) at the end of the string. *)
|
@return A conjunction of assertions in the scope (up to push/pop) at the end of the string. *)
|
||||||
val parse_smtlib2_string : context -> string -> Symbol.symbol list -> Sort.sort list -> Symbol.symbol list -> FuncDecl.func_decl list -> Expr.expr
|
val parse_smtlib2_string : context -> string -> Symbol.symbol list -> Sort.sort list -> Symbol.symbol list -> FuncDecl.func_decl list -> AST.ASTVector.ast_vector
|
||||||
|
|
||||||
(** Parse the given file using the SMT-LIB2 parser. *)
|
(** Parse the given file using the SMT-LIB2 parser. *)
|
||||||
val parse_smtlib2_file : context -> string -> Symbol.symbol list -> Sort.sort list -> Symbol.symbol list -> FuncDecl.func_decl list -> Expr.expr
|
val parse_smtlib2_file : context -> string -> Symbol.symbol list -> Sort.sort list -> Symbol.symbol list -> FuncDecl.func_decl list -> AST.ASTVector.ast_vector
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue