From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,ade418da030a5253 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!b7g2000yqd.googlegroups.com!not-for-mail From: Phil Thornley Newsgroups: comp.lang.ada Subject: Re: Trouble cutting loops with SPARK. Advice? Date: Sun, 7 Mar 2010 03:41:55 -0800 (PST) Organization: http://groups.google.com Message-ID: <7b98c325-ce1d-4882-bbae-cfd816f29749@b7g2000yqd.googlegroups.com> References: <4b92bb37$0$2342$4d3efbfe@news.sover.net> <484e7806-9242-4c20-a057-cbc34fd67f03@g28g2000yqh.googlegroups.com> <4b938750$0$2334$4d3efbfe@news.sover.net> NNTP-Posting-Host: 80.177.171.182 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1267962115 19125 127.0.0.1 (7 Mar 2010 11:41:55 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 7 Mar 2010 11:41:55 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b7g2000yqd.googlegroups.com; posting-host=80.177.171.182; posting-account=Fz1-yAoAAACc1SDCr-Py2qBj8xQ-qC2q User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:9456 Date: 2010-03-07T03:41:55-08:00 List-Id: > Great! Thanks for the help. That does make things a bit clearer. The assertion > you showed works for me as well, but I'll try to take away a more general > lesson from this. I'm in the process of proving a more complete program free > of runtime errors and so far I've got about 1/2 of it done. However, I'm > pretty sure the situation I described here comes up several times in the > remaining code (with variations, of course). Peter Glad that worked - I'm always happy to help with SPARK problems (particularly proof ones). If you wany any help by email (perhaps because the code is too big for a news message) use my address on www.sparksure.com. Cheers, Phil