Advertisement
Guest User

Untitled

a guest
May 17th, 2018
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. utop # #require "z3";;
  2. ─( 14:40:42 )─< command 1 >──────────────────────────────────────────────────────────────────────────────────────────────{ counter: 0 }─
  3. utop # let ctx=Z3.mk_context [("model", "true"); ("proof", "false")] ;;
  4. val ctx : Z3.context = <abstr>
  5. ─( 14:40:47 )─< command 2 >──────────────────────────────────────────────────────────────────────────────────────────────{ counter: 0 }─
  6. utop # let abs1=Z3.SMT.parse_smtlib2_string ctx
  7. "(define-fun abs ((x Int)) Int
  8. (ite (>= x 0) x (- x)))" [] [] [] [];;
  9. Exception: Z3.Error("parser error").
  10. Raised by primitive operation at unknown location
  11. Called from file "//toplevel//", line 1, characters 9-141
  12. Called from file "toplevel/toploop.ml", line 180, characters 17-56
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement