caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Peter Hawkins <hawkinsp@cs.stanford.edu>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Using OCaml with SMT solvers
Date: Sun, 8 Mar 2009 12:51:25 -0700	[thread overview]
Message-ID: <b0b348900903081251u19bc457ey1cc92793477da226@mail.gmail.com> (raw)
In-Reply-To: <1bd843010903081213j5d3e4581p9ff192eda3396f79@mail.gmail.com>

Hi...

STP is one option (for the quantifier-free theory of finite bit
vectors and arrays). It has an OCaml interface.
http://people.csail.mit.edu/vganesh/STP_files/stp.html

I also have a binding for MONA if that's of interest to anyone.

More generally, have you considered communicating with a solver of
your choice via file I/O (i.e. writing out the query to a file which
you give to the solver, and parsing the solver's output)? You wouldn't
need an ocaml binding for the solver, although you will pay a
performance cost.

Cheers,
Peter


2009/3/8 Jean Yang <jeanyang@csail.mit.edu>:
> Hello,
>
>   I don't know if this is the right place to ask this question, but what is
> the best way of using an SMT solver with an OCaml interface on Linux?
>
>   After a brief search it seems that Z3 is the most popular solver with an
> OCaml interface, but unfortunately it only supports Windows.
>
> Thanks,
> Jean
>
> --
> Jean Yang
> http://web.mit.edu/jeanyang/www/
> Save us!  Think before you print.
> *^^`
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
>


  reply	other threads:[~2009-03-08 19:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-08 19:13 Jean Yang
2009-03-08 19:51 ` Peter Hawkins [this message]
2009-03-08 21:34 ` [Caml-list] " Virgile Prevosto
2009-03-08 23:51 ` Chris Conway

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b0b348900903081251u19bc457ey1cc92793477da226@mail.gmail.com \
    --to=hawkinsp@cs.stanford.edu \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).