Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Robert Jakob <rj@robertjakob.de>
To: caml-list@inria.fr
Cc: 沈胜宇 <syshen@nudt.edu.cn>
Subject: Re: [Caml-list] equivalent checking of ocaml program?
Date: Sun, 29 Sep 2013 16:56:50 +0200	[thread overview]
Message-ID: <20130929165650.34da2e99@oberon> (raw)
In-Reply-To: <37811b09.6ff.141695f3e3c.Coremail.syshen@nudt.edu.cn>

Well, the typical approach is to write a test suite before refactoring
and ensure that the test suite runs without errors before and after the
refactoring.

To be sure that the program really behaves like before, you need to
have a good (whatever this means) test suite.

And as others have mentioned, due to the Halting problem this can only
be an approximation in general.

r.

On Sun, 29 Sep 2013 18:59:11 +0800 (GMT+08:00)
沈胜宇 <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
> 


  parent reply	other threads:[~2013-09-29 14:56 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
2013-09-29 14:56 ` Robert Jakob [this message]
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=20130929165650.34da2e99@oberon \
    --to=rj@robertjakob.de \
    --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