Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] verified or not verified

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] verified or not verified


Chronological Thread 
  • From: guillaume AT claret.me <guillaume AT claret.me>
  • To: coq-club AT inria.fr
  • Cc: "fritjof" <fritjof AT uni-bremen.de>
  • Subject: Re: [Coq-Club] verified or not verified
  • Date: Mon, 15 Apr 2019 18:21:56 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=guillaume AT claret.me; spf=Neutral smtp.mailfrom=guillaume AT claret.me; spf=None smtp.helo=postmaster AT relay5-d.mail.gandi.net
  • Ironport-phdr: 9a23:Oalt5hSDEIKqfuaHIzoynvNQOtpsv+yvbD5Q0YIujvd0So/mwa6yZRaN2/xhgRfzUJnB7Loc0qyK6vmmAz1LsMfJ8ChbNsAVD1ld0YRetjdjKfbNMVf8Iv/uYn5yN+V5f3ghwUuGN1NIEt31fVzYry76xzcTHhLiKVg9fbytScbdgMutyu+95YDYbRlWizqhe7NyKwi9oRnMusUMjoZuN7s9xgHXrnZMdOhbwWdlLk+Xkxrg+8u85pFu/zlMt/4768JMTaD2dLkkQLJFCzgrL3o779DxuxnZSguP6HocUmEInRdNHgPI8hL0UIrvvyXjruZy1zWUMsPwTbAvRDSt9LxrRwPyiCcGLDE27mfagdFtga1BoRKhoxt/w5PIYIyQKfFzcL/Rcc8cSGFcWMtaSi5PDZ6mb4YXE+UOP+ZWoYfjqVQBrhWwGAejCuz0xz9Un3/7x7E23/g7HAzE2gErAtIAsG7TrNXwLKoSXv21zKjMzTXHdfxWxDL955bTfx89pfGDR6hwftTNyUU1EgPKkEibpIvqPzOI1+QNt2yb4PB9VeKqlWEqsB1+ojy1ycc2lIbJmpgZylXa+ihgxos+ONO2SEl+YdG+EZtQsTmXOJdxQsM7WW1ouSE6xqUJuZ66YCgKyIknyAXFZ/ObdIiI5xTuX/uSLzdgnH9pZq+zihSo/UWi1uHwTNS43VVEoyZfj9XBsnIA2hrO4cadUPR95F2u2TOX2gDT9O5EJUc0mLLBK5E/xr4/jJoSvETaEiDrgkn2ibWZdkQg+uSy5OToeLPmqYKdN4NujAHxLLgultS+AeQ+LAcOQ3CW9fqh2LDh50H0QqlGgucrnqTavp3WP9kXq6q7DgNN14Ys8Re/DzOo0NQCmnkHKUpIeB2aj4joP1HOJOr3Deq6g1uyizpk2/TGMaf7AprTMnjPirLhcqhl505G1AUz1cxf545TCrwZPP3zXVbxuMXEAR89Lgy72P3qCM5914MbQWKAGLWVMKLUsV+S5+IgOfOAZIEPuGW1F/9w7Pn3yHQ9hFU1fK+z3JJRZmrrMO5hJhCWfHvoht4cFGoitQ43VuH2zliPGWpcene2W6sh4zwTA4avF4rfAIWg1u/SlBynF4FbMzgVQmuHFm3lIt3dB6U8LRmKK8okqQQqEKC7QtZ4hxqqvRX31/xiI7iMo3BKhdfYzNFwotbru1Qy+DhzVZnPyWyJRnAp229OQjY32OZwqEpxyxGF3LQq26UJR+wW3OtAV0IBDbCZyuV7D97oXQeYJ4WCTF+8T8ngBDxjFN8=

Hi,

There is indeed no documentation on what "verified" means on this project, I
should add some!

I was referring to the file
https://github.com/coq-io/opam-website/blob/master/src/Run.v with the
definition:

```
Definition get_packages (packages : list Package.t)
: Run.t Main.get_packages packages.
```

which describes the execution trace of the entry point `Main.get_packages` in
a system with a list of packages `list Package.t`. The fact that this
definition is well-typed shows that:

* `get_packages packages` is an acceptable trace for `Main.get_packages`;
* `Main.get_packages` returns `packages` in this case (the second parameter
of `Run.t`).

I agree the "verified" term is ambiguous without any details.

Regards,
Guillaume

On 4/15/2019 8:52 AM, Théo Zimmermann wrote:
> Maybe Guillaume is reading this and will be able to be more specific,
> but I recall attending his PhD thesis and it seems to me that he said
> that he didn't actually have time to do any sort of verification on
> his server written in Coq.

Indeed there was no proof on the web-server, but this website does not use
the Gallina web-server. It runs a Coq program every hours to generate static
HTML files using the `opam` command to get the list of packages, and serves
everything with NGINX.

On 4/15/2019 1:46 PM, Li-yao Xia wrote:> I would say that, in a very strict
sense, a "verified" program means
> only that some formal model of it has been constructed, and some
> properties have been proved about it. In such an absolute sense, the
> word carries very little meaning on its own.
>
> Indeed, existing projects in formal verification vary wildly in what
> they model and how close the model is to reality, to achieve their
> diverse goals. So to make sense of what is actually verified, one has to
> read the details.
>
> However, in today's world where "not verified" is the default, the
> "verified" label still sends a pretty strong signal, and if you assume
> that the authors are reasonable people, you can often guess the details
> to a large extent. So I think the word "verified" also carries a social
> connotation to be aware of.
>
> Li-yao
>
>
> On 4/14/19 6:20 PM, fritjof wrote:
>> Hi,
>>
>> I have a question about what verified means in Coq.
>> The coq.io/opam repository says: written and verified in Coq
>>
>> https://github.com/coq-io/opam-website/blob/master/src/View.v
>>
>> But I cannot see any Theorems in this repository:
>> https://github.com/coq-io/opam-website/search?q=Theorem&unscoped_q=Theorem
>>
>>
>> So the question is: what does verification mean in this context?
>>
>> Does the fact that something is written in Gallina also mean it
>> is verified, as in dependent type verification systems, like idris or
>> agda
>> and theorems are only a way to proof more complex properties?
>>
>> Or do I miss something?
>>
>> regards,
>> --f.
>>




Archive powered by MHonArc 2.6.18.

Top of Page