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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.ada Subject: Re: grassroots level SPARK Initiation Date: Wed, 25 Apr 2018 18:59:50 -0700 Organization: A noiseless patient Spider Message-ID: <87fu3i7mnd.fsf@nightsong.com> References: <0cef0914-30b1-4139-a341-40e8f32f85d9@googlegroups.com> <96a1828a-a1bc-43c3-b51c-434a257e1e8f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: h2725194.stratoserver.net; posting-host="1130ff9118e09fa565bd1d3aa415c6bd"; logging-data="28677"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+OMUh6QaozcroeVPz2KPQr" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cancel-Lock: sha1:yF+yM6FsFsf81ohujwlUk5gTT18= sha1:+DNbvVfNjnc3D+KMLx33N8E7A3U= Xref: reader02.eternal-september.org comp.lang.ada:51719 Date: 2018-04-25T18:59:50-07:00 List-Id: Mehdi Saada <00120260a@gmail.com> writes: > I saw there was a thing called "propositional" calculus: https://en.wikipedia.org/wiki/Propositional_calculus Meh, the above article probably won't help that much, but it can give an idea. > is it covered by Gries book ? Gries has written many books: which one do you mean? His most famous one was from the early 1970s and is about compilers. It was important in its time but these days you are better off with newer books. > Were you a patented programmer before reading it ? If you mean professional programmer, I learned about propositional calculus in math class before going into programming. If you're trying to prove stuff with SPARK you will also need to understand predicate calculus and probably some proof theory. Predicate calculus is like propositional calculus except it also includes statements that apply to all of the members of some type, rather than just specific members. The article https://en.wikipedia.org/wiki/First-order_logic is very good. You might want to read a general book on logic. Herbert Enderton's "A Mathematical Introduction to Logic" is still popular, I think. I liked it. Its approach isn't ideal for computer science but it's a start. I don't know what to suggest instead. Maybe someone else here does. This looks interesting: http://www.logicmatters.net/tyl/