Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Sequence between events

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Sequence between events


Chronological Thread 
  • From: Djamila Baroudi <baroudi.d7 AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] Sequence between events
  • Date: Sat, 7 Sep 2013 20:01:24 +0000

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.

--
Mlle Djamila Baroudi                           
Faculté des Sciences Exactes et Informatique,        
Université de Mostaganem,
27000 Mostaganem, Algérie.                  
                    



Archive powered by MHonArc 2.6.18.

Top of Page