coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: gallais <guillaume.allais AT strath.ac.uk>
- To: Djamila Baroudi <baroudi.d7 AT gmail.com>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Sequence between events
- Date: Sun, 08 Sep 2013 18:25:05 +0100
Hi,
I'd like to point out that Interaction Structures are precisely
describing the kind of protocols where some commands are made
available by the fact that other ones were issued earlier on.
A quite simple example of such structures is given in Hancock
and Hyvernat's Programming Interfaces and Basic Topology [1]
on page 18 (4.2 Applications of interaction structures).
Cheers,
[1] http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.107.919
On 07/09/13 21:01, Djamila Baroudi wrote:
hello;
I defines a new type called "event" and I still have to define the
relationship between these events like the sequence between two events,
which means that event e2 can not happen unless the event e1 is checked.
Inductive event:Type:=send(msg:string)
| receive(msg:string)
I try this but it's incorrect:
Inductive activity:Type:=
evenement(_:event).
|sequence (e1 e2 : event) : bool := e1 && e2.
can you help me please? n
Thank you.
- [Coq-Club] Sequence between events, Djamila Baroudi, 09/07/2013
- Re: [Coq-Club] Sequence between events, Pierre Casteran, 09/08/2013
- Re: [Coq-Club] Sequence between events, AUGER Cédric, 09/08/2013
- Re: [Coq-Club] Sequence between events, gallais, 09/08/2013
Archive powered by MHonArc 2.6.18.