Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Will such library be necessary/useful? (Graph theory)

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Will such library be necessary/useful? (Graph theory)


Chronological Thread 
  • From: Gabriel Scherer <gabriel.scherer AT gmail.com>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Will such library be necessary/useful? (Graph theory)
  • Date: Thu, 15 Oct 2015 15:52:10 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=gabriel.scherer AT gmail.com; spf=Pass smtp.mailfrom=gabriel.scherer AT gmail.com; spf=None smtp.helo=postmaster AT mail-ig0-f172.google.com
  • Ironport-phdr: 9a23:11PEARI+SdwM7+CxfdmcpTZWNBhigK39O0sv0rFitYgULfvxwZ3uMQTl6Ol3ixeRBMOAu64C27ud7fyocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWM5DIfUi/yKRBybrysXNWC04Lnhqvsp9X6WEZhunmUWftKNhK4rAHc5IE9oLBJDeIP8CbPuWZCYO9MxGlldhq5lhf44dqsrtY4q3wD89pozcNLUL37cqIkVvQYSW1+ayFmrPHs4DLEVEOk4mYWGjEdlQMNCAzY5jn7WI3wu230rLwu9jOdOJjZRLouWDmmp5xgSBLyhT1PYzEw+nvWh8g2l6lbrQisvTRwxofVZMeeM/8oLfCVRs8TWWcUBpUZbCdGGI7pKtJXV+c=

My opinion is "yes". More Coq development is always a good thing, and
I am sure the focus on "it's easy to express algorithms" of Martin
Edwig's work will interest other Coq users.

There is a Graphs-Basics library on Coq "contribs" base of
developments that follows a relatively similar approach, and was
proposed by Jean Duprat in 2001 (see the corresponding research
report, "A Coq toolkit for graph theory"). The representation is
relatively close to Erwig's, in that it is also inductive. Instead of
a constructor that adds "a new vertex and all its edges to vertices
already in the graph", there are separate constructors, one for a new
vertex, and one for a new edge (I assume this is more convenient in
some cases and less convenient in others).

II suspect there are many formalisations of the basics of graph theory
on which independent larger developments have been built (some
references are given in Duprat's research report). There is some in
the CoLoR library ( http://color.inria.fr/ ), where finite (directed)
graphs are represented as maps from vertices to sets of their
neighbors -- there are also various graph algorithms in CoLoR. There
is also a nice inductive presentation of the DPS traversal of a graph
in François Pottier's formalisation of strongly-connected components (
http://gallium.inria.fr/~fpottier/publis/fpottier-dfs-scc.pdf ).

On Thu, Oct 15, 2015 at 2:44 PM, Ilmārs Cīrulis
<ilmars.cirulis AT gmail.com>
wrote:
> Hello, coq-club!
>
> I started to develop library of graph theory, based on "inductive graph"
> idea by Martin Erwig (see here:
> https://web.engr.oregonstate.edu/~erwig/papers/InductiveGraphs_JFP01.pdf).
> It's is primarily to get some experience, but I wonder if it has some
> potential usefulness too.
>
> What's your opinion?



Archive powered by MHonArc 2.6.18.

Top of Page