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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: The future of Spark . Spark 2014 : a wreckage Date: Tue, 9 Jul 2013 09:40:55 +0200 Organization: cbb software GmbH Message-ID: <1rbbala6i0jcl$.dswyfcctu6vs$.dlg@40tude.net> References: <87hag4ahu5.fsf@mid.deneb.enyo.de> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: IenaDxMXK2hi7fvYcb+MlQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:16189 Date: 2013-07-09T09:40:55+02:00 List-Id: On Mon, 08 Jul 2013 22:59:30 +0200, Florian Weimer wrote: > * vincent diemunsch: > >> Same specification in Spark 2014 : >> procedure Swap >> with Global => (In_Out => (X, Y)), >> Depends => (X => Y, -- to be read as "X depends on Y" >> Y => X); -- to be read as "Y depends on X" >> >> How are we supposed to guess that "X => Y" means X depends on Y, if >> the arrow goes from X to Y ? In the literature, Flow analysis use >> always Information Flow where arrows follows the real move of >> information. See for instance "SPARK the proven approach of High >> Integrity Software" from John Barn page 311 or the "Dragon Book" >> (Compilers : principles, techniques and tools). > > This is nothing new. Boolean implication p → q is already written as > P <= Q in Ada. Where? It would be plain wrong, because logical implication (not P or Q) must be denoted as P => Q. http://en.wikipedia.org/wiki/Material_conditional BTW, there is a difference between implication (Boolean operation) and consequence like P |= Q http://en.wikipedia.org/wiki/Logical_consequence#Semantic_consequence -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de