coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Pierre Courtieu <pierre.courtieu AT gmail.com>
- To: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] meaning of formal specifications
- Date: Tue, 26 Jan 2021 12:46:36 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=pierre.courtieu AT gmail.com; spf=Pass smtp.mailfrom=pierre.courtieu AT gmail.com; spf=None smtp.helo=postmaster AT mail-io1-f45.google.com
- Ironport-phdr: 9a23:qTDKLBxLVjWqTA7XCy+O+j09IxM/srCxBDY+r6Qd2u8WIJqq85mqBkHD//Il1AaPAdyKragZwLON++C4ACpcuMnH6ChDOLV3FDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3OgV6PPn6FZDPhMqrye+y54fTYwJVjzahfL9+Nhq7oRjVu8UMn4dvKqk9xgbHr3BVf+ha2X5kKUickhrh5Mq85oJv/zhVt/k868NOTKL2crgiQ7dFFjomKWc15MPqtRnHUwSC42YXX3sVnBRVHQXL9Qn2UZjtvCT0sOp9wzSaMtbtTb8oQzSi7rxkRwHuhSwaKjM26mDXish3jKJGvBKsogF0zoDIbI2JMvd1Y7jQds0GS2VfQslRVjRBAoKiYIsJE+oBJvtTo43kq1cTsReyGQygCeXywTFKm3D2x7U33OsvEQ7E3AIuEdEAvmnKotrpO6kfSvy1zLDSwDnfc/9axTXw5Y7VeR4hu/GMWrdwfNLLx0kuCQzFlE+QppL4ND6L0eQNrnKb7/ZhVe2xlm4stgZ8oiCuxsgykInJnJwaxkrY+iV+3YY1P8G4SE9lbt65C5ZQuCSaOJF3QsMmWW1npCE6yrgftJO9YSMFx4gpyQTFZPybb4iH/AjjVOCJLDl4hH9ofKyzigqs/UWkyuPxVsa63VdEoCdFjNTCtm4A2gLT58WJSPZw40ms1CuA2g3Q9uxJIE85m6XbJpMg3LM9kIcYv0rEHi/zgkr2jamWe105+uiw9evnZLPmqoWCOIBplwHzNLkllM+nAekgLAQCQ2yW9f6/2bDj50H1XbRHg/wsnqTWsJ3XI9kQqLSjDA9PyIkj7g6yDze439QcmnkKNFdFdwiGj4jtIl3OIff4Aeqmj1Sinzpmx+rKPrLmApXKIXjDlKnucaxh5E5bzQo/1dFf55RKBbEdOP//RFP9udjCAhI6MwG42fvrBdR8248EVm+CAreVMKbIvl+J4uIvLfOMZIgQuDvlM/gl5uDhjWUjmVADZ6WmwZwXaG2iHvR6IkWWf2fsj8wOEWcPpAU+TejqhEeeXj5UYna+R7g86S0jCIK6EYfDQZigj6CG3CeiB5FZemRGCk2XHnrzbIWFW/IMaDqILcN7kzwEU6KhS4472h20ug/60ekvEu2B0SoB/bnnydI9s+bUjFQ58SF+J8WbyWCECW9uyDAmXTgziZh+rFZnxx+o1rVin/1VCJQH//JESB03c5Xb0vZmCt3vcg3Ed9aNDl2hR4P1UnkKUtstzopWMA5GENK4g0WGhnLyWu5Hp/mwHJUxt5nk8T30Lsd5xWzB0fB43VYjS8pLc2ahg/wmrlSBN8vyi0yc0p2SW+EExieUrTWMyGOPuAdTVwsiCfyYD0BaXVPfqJHC3m2HT7KqDu56YA5IyMrHK6wTL9O10BNJQ/DsPNmYaGW0yT+9
I agree that "specification" is too vague, imho one can still
recognize one reasonable use of it: In the industrial world I guess
the "specification", formal or not, is the statement that some
knowledgeable human reads and say "yes this is what we want for our
product". From this point of view the "formal specification" is what
lays at the frontier between informal and formal worlds.
Now when diving into the structure of a formal proof of course each
theorem is a formal specification followed by its proof. From this
point of view the question has no real meaning I guess: a formal
specification is a logical formula. Nothing really interesting here I
guess.
P.
Le lun. 25 janv. 2021 à 19:21, Milad Ketabii <ketabii.math AT gmail.com> a écrit
:
>
> Hi Feitjov,
>
> When I was doing my PhD, I faced questions similar to yours. It emerged
> from my encounter of HOL4 for completing a project after having used Coq
> for another.
>
> Given your question is on the meaning of a word, I would like to refer to a
> philosophical doctrine on how words acquire their meaning in a system of
> signs. Using that doctrine, I put forward how I came to an answer for
> myself!
>
> So turns out that a text can be perceived as a construct made around
> elemental "oppositions". Accordingly, textual constructs only produce
> meaning through their interplay of DIFFERENCES (mostly emergingin in form
> of binary contrasts) inside a system of distinct signs. This doctrine was
> first introduced by Ferdinand Saussure on which J. Derrida drew for
> introducing his notion of difference.
>
> Considering the above explanation, instead of hard wiring the words
> "specification" and "implementation" to predetermined functionality or
> referents, we can perceive them in a contrasting interplay whose connection
> is established via the proof game. The "specification" is something used by
> a "proof" to demonstrate "the correctness " of an "implementation ".
>
> Now going for the Saussurian doctrine, there is no problem for an
> expression to be specification for an implementation, but itself being an
> implementation for something else. Therefore, I would definitely hesitate
> to say it is meaningless (or even misguiding) to use the word specification
> in the context of formal verification.
>
> Hopefully that was useful!
>
> Best
>
> On Tue, Jan 26, 2021, 2:39 AM Fritjof <fritjof AT uni-bremen.de> wrote:
>>
>> Hi,
>>
>> I have a question regarding what formal specification exactly means in the
>> proof assistant context.
>>
>> First *formal verification* means an implementation satisfies its formal
>> specification.
>> The satisfiability is shown using formal methods of mathematics, e.g., a
>> constructed proof
>> in Coq.
>>
>> So we have the following terms:
>>
>> 1) implementation
>> 2) formal specification
>> 3) constructed proofs
>>
>> In the context of proof assistants, e.g., Coq, I would describe:
>>
>> 1) implementation - as the *program*, collection of function definitions
>> and data types
>> 2) formal specification - as the properties that argue about the program,
>> e.g., theorems, lemmas or axioms
>> 3) constructed proofs - statements of the LTac language
>>
>> However, I have also read that the implementation part is referred to as a
>> formal specification:
>> - https://www.cis.upenn.edu/~bcpierce/papers/pierce-etaps2018.pdf
>>
>> or the combination of 1,2 and 3 is referred to as a formal specification,
>> like in: a program in haskell
>> is extracted from this formal specification.
>>
>> Am I right, that the term *formal specification* often donetes the
>> combination of 1,2 and 3, or just 1
>> or am I missing something?
>>
>> Kind Regards,
>> fritjof
>>
- Re: [Coq-Club] meaning of formal specifications, (continued)
- Re: [Coq-Club] meaning of formal specifications, Agnishom Chattopadhyay, 01/25/2021
- Re: [Coq-Club] meaning of formal specifications, Adam Chlipala, 01/25/2021
- Re: [Coq-Club] meaning of formal specifications, Michael Soegtrop, 01/25/2021
- Re: [Coq-Club] meaning of formal specifications, Adam Chlipala, 01/27/2021
- Re: [Coq-Club] meaning of formal specifications, Michael Soegtrop, 01/25/2021
- Re: [Coq-Club] meaning of formal specifications, Xavier Leroy, 01/25/2021
- Re: [Coq-Club] meaning of formal specifications, Vincent Semeria, 01/25/2021
- Re: [Coq-Club] meaning of formal specifications, Adam Chlipala, 01/27/2021
- Re: [Coq-Club] meaning of formal specifications, Vincent Semeria, 01/27/2021
- Re: [Coq-Club] meaning of formal specifications, Fritjof, 01/29/2021
- Re: [Coq-Club] meaning of formal specifications, Vincent Semeria, 01/27/2021
- Re: [Coq-Club] meaning of formal specifications, Adam Chlipala, 01/27/2021
- Re: [Coq-Club] meaning of formal specifications, Vincent Semeria, 01/25/2021
- Re: [Coq-Club] meaning of formal specifications, Milad Ketabii, 01/25/2021
- Re: [Coq-Club] meaning of formal specifications, Pierre Courtieu, 01/26/2021
Archive powered by MHonArc 2.6.19+.