mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +00:00
More ML API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
d2d4bf7f83
commit
f7b3529f01
4 changed files with 67 additions and 16 deletions
12
examples/ml/MLExample.ml
Normal file
12
examples/ml/MLExample.ml
Normal file
|
@ -0,0 +1,12 @@
|
|||
(*
|
||||
Copyright (C) 2012 Microsoft Corporation
|
||||
Author: CM Wintersteiger (cwinter) 2012-12-17
|
||||
*)
|
||||
|
||||
open Z3
|
||||
|
||||
let _ = ignore(Log.open_ "z3.log") ;
|
||||
let cfg = Some [("model", "true"); ("proof", "false")] in
|
||||
let ctx = (new context cfg) in
|
||||
ctx#dispose
|
||||
;;
|
Loading…
Add table
Add a link
Reference in a new issue