comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: My new post on dev.to about SPARK
Date: Thu, 09 Jul 2020 21:00:18 +0100	[thread overview]
Message-ID: <lyh7ugcvcd.fsf@pushface.org> (raw)
In-Reply-To: 8e5d14a5-0311-4005-9655-951e8a274929o@googlegroups.com

mockturtle <framefritti@gmail.com> writes:

> Recently I wrote a small binary search procedure for a software of
> mine.  Since I always wanted to start using SPARK, I thought that this
> could be a nice small problem to start playing around with SPARK.  The
> post on dev.to is about my experience.
>
> If you are curious
>
> https://dev.to/pinotattari/proving-the-correctness-of-a-binary-search-procedure-with-spark-ada-34id

Interesting!

I thought to have a bit of a play with it, and I found that neither CE
2019 nor CE 2020 will prove as is, including "assertion might fail,
cannot prove Bottom < Top"; but it proves just fine with 
   type Element_Type is new Integer;
or
   subtype Element_Type is Integer;

  parent reply	other threads:[~2020-07-09 20:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-09 14:16 My new post on dev.to about SPARK mockturtle
2020-07-09 15:21 ` Fabien Chouteau
2020-07-09 15:27   ` Fabien Chouteau
2020-07-09 16:35 ` Jeffrey R. Carter
2020-07-09 20:00 ` Simon Wright [this message]
2020-07-10  4:17   ` J-P. Rosen
2020-07-10  6:04     ` Paul Rubin
2020-07-10  7:47       ` J-P. Rosen
2020-07-10  7:42 ` Stéphane Rivière
2020-07-10  9:16 ` Nasser M. Abbasi
2020-07-10  9:20   ` Nasser M. Abbasi
2020-07-23 10:17   ` mockturtle
2020-09-03 10:32 ` c+
2020-09-12  4:30 ` sumde121
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox