mirror of
https://github.com/Z3Prover/z3
synced 2026-03-03 12:16:54 +00:00
More ML API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
2dde851ed7
commit
bea09539cf
5 changed files with 96 additions and 12 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