Skip to Content.
Sympa Menu

coq-club - [Coq-Club]Graphs in Coq

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club]Graphs in Coq


chronological Thread 
  • From: Fabrice Lemercier <nouvid-coq AT yahoo.fr>
  • To: coq-club AT pauillac.inria.fr
  • Subject: [Coq-Club]Graphs in Coq
  • Date: Mon, 6 Mar 2006 11:40:48 +0100 (CET)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=49q1jpX3QMu6FK9vY8uOs/K0Pi5D7a288nXRUua50rJa5xLVQkYldJFZNgaBL5FJd8+o7+Kii5KzHSU901W9719cvHcrRCOmoE5e9Npi2tJ83QC2ugofogLhCo8Ls2EdBKH/xOB6hxvxRKSkPSTz1ybikVkzMucy99az+x2czcA= ;
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

I want to formalize in Coq finite directed graphs with
a relation on paths. But I cannot find an elegant
definition.

My graphs are defined by:

  * The number of nodes n;

  * A list of arrows l: already here I have to use 
sig in order to make sure that source and target are
existing nodes (i.e., integers strictly less that the
number of nodes n);

  * A list of pairs of path: here I must use  sig  to
make sure that path are composed of existing arrows
(i.e., in the list of arrows l), and to make sure that
the two paths have the same source and target nodes!

It seems tricky. Is there more elegant way to define
such notion?

I had a look inside the library GRAPH-BASICS but it
does not seem simpler, on the contrary.

Thanks for any suggestion.



        

        
                
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com





Archive powered by MhonArc 2.6.16.

Top of Page