Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: mukesh tiwari <mukeshtiwari.iiitm@gmail.com>
To: 沈胜宇 <syshen@nudt.edu.cn>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] equivalent checking of ocaml program?
Date: Sun, 29 Sep 2013 17:56:07 +0530	[thread overview]
Message-ID: <CAFHZvE-Zn2B5GQ5ixmKkhnx4cJwntMF3Hkquae2Htx=gnBVwFg@mail.gmail.com> (raw)
In-Reply-To: <37811b09.6ff.141695f3e3c.Coremail.syshen@nudt.edu.cn>

[-- Attachment #1: Type: text/plain, Size: 815 bytes --]

Hi Syshen,
I am not sure if it's answer to your question but the problem is
undecidable although you can use SMT solver to verify both of your program.
I don't have idea using SMT solver in OCaml ( right now I am learning it )
but I used it Haskell[1]. You can ask SMT solver to find a counter case for
which your both programs are not producing the same output. If it gives you
the such case then certainly your both code is not same.


-Mukesh Tiwari
[1] http://hackage.haskell.org/package/sbv-2.10


On Sun, Sep 29, 2013 at 4:29 PM, 沈胜宇 <syshen@nudt.edu.cn> wrote:

> Dear all:
>
> I am working hard to optimize my ocaml program, but I am not sure whether
> the significantly modified version is equal to the old version.
>
> So is there any research work on this topic?
>
> Shen
>

[-- Attachment #2: Type: text/html, Size: 1259 bytes --]

  parent reply	other threads:[~2013-09-29 12:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-29 10:59 沈胜宇
2013-09-29 11:14 ` David Allsopp
2013-09-29 12:26 ` mukesh tiwari [this message]
2013-09-29 14:56 ` Robert Jakob
2013-09-29 16:19   ` Florent Monnier
2013-09-30  0:26     ` 沈胜宇
2013-09-30 14:53       ` Goswin von Brederlow
2013-09-30 15:49         ` Gabriel Scherer
2013-10-08 13:27           ` Robert Jakob
2013-10-08 15:29             ` Gabriel Scherer

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='CAFHZvE-Zn2B5GQ5ixmKkhnx4cJwntMF3Hkquae2Htx=gnBVwFg@mail.gmail.com' \
    --to=mukeshtiwari.iiitm@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=syshen@nudt.edu.cn \
    /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