From: Phil Thornley <phil.jpthornley@gmail.com>
Subject: Re: SPARK - Bubble Sort on Rosetta Code
Date: Fri, 27 Aug 2010 02:02:51 -0700 (PDT)
Date: 2010-08-27T02:02:51-07:00 [thread overview]
Message-ID: <d7a4c582-4709-4067-b993-2ad231562004@a36g2000yqc.googlegroups.com> (raw)
In-Reply-To: eefb617d-9b91-4569-9baf-9697ca455752@z28g2000yqh.googlegroups.com
On 27 Aug, 08:57, Phil Thornley <phil.jpthorn...@gmail.com> wrote:
> On 26 Aug, 23:32, Simon Wright <si...@pushface.org> wrote:> Phil Thornley <phil.jpthorn...@gmail.com> writes:
> > ... I ask because of
>
> > --# check A'Last <= A'First -> A'Last = A'First;
>
> That's an example of a 'tactical' check annotation that helps with
> proing some of the VCs. (It converts a potential path into an
> infeasible one, which makes it a lot easier to prove the post-
> condition.)
I thought about that a bit more and realised that it isn't necessary.
(Must have got left there from an earlier version of the code.)
So I've removed it from both of the versions it appeared in.
Cheers,
Phil
next prev parent reply other threads:[~2010-08-27 9:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-26 9:18 SPARK - Bubble Sort on Rosetta Code Phil Thornley
2010-08-26 21:40 ` Yannick Duchêne (Hibou57)
2010-08-27 4:28 ` Yannick Duchêne (Hibou57)
2010-08-27 7:35 ` Phil Thornley
2010-08-27 8:04 ` Yannick Duchêne (Hibou57)
2010-08-26 22:32 ` Simon Wright
2010-08-27 0:38 ` Yannick Duchêne (Hibou57)
2010-08-27 7:57 ` Phil Thornley
2010-08-27 9:02 ` Phil Thornley [this message]
2010-08-27 11:03 ` sjw
2010-08-27 12:03 ` Phil Thornley
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox