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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a5e:c80b:: with SMTP id y11mr7609160iol.20.1544939031455; Sat, 15 Dec 2018 21:43:51 -0800 (PST) X-Received: by 2002:a9d:2c22:: with SMTP id f31mr158502otb.4.1544939031133; Sat, 15 Dec 2018 21:43:51 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!feeder4.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!k10no240947itk.0!news-out.google.com!v71ni423ita.0!nntp.google.com!q69no240790itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 15 Dec 2018 21:43:50 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.220.59.240; posting-account=visayQoAAADyML2fgHJRi5LyyD0mRlQD NNTP-Posting-Host: 76.220.59.240 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <6f00bf64-d501-487c-b3cb-17e97346e801@googlegroups.com> Subject: New to Spark, working an example From: addaon@gmail.com Injection-Date: Sun, 16 Dec 2018 05:43:51 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:55049 Date: 2018-12-15T21:43:50-08:00 List-Id: Folks, new to this list, so not quite sure on etiquette. I've been trying to understand Spark-2014 well enough to work through an ex= ample, and understand the capabilities and workflow of the tools. The examp= le I chose was an example of floor(lg(n)) for n positive. Rather than put a long post here, I'll refer to my (long) post at stackover= flow: https://stackoverflow.com/questions/53752715/proving-floor-log2-in-sp= ark. (If this is bad etiquette here, let me know, and I'll fix -- but it do= es seem a bit silly to duplicate the content in two locations.) Since SO seems to have a very limited Ada/Spark community, I'm hoping someo= ne here can point me in the right direction. Basically, trying to understan= d what tools I should be trying to understand at this point. :-) Should I b= e looking at proving this with just a better understanding of how to write = loop invariants; through appropriate lemmas; through an external prover lik= e Coq; or something else? Thanks!