8481 articles  [english version]

inria-00567811, version 1

Verifying Declarative Netlog Protocols with Coq: a First Experiment

Yuxin Deng 1, Stephane Grumbach () 2, Jean-François Monin 3

N° RR-7511 (2011)

Résumé : Declarative languages, such as recursive rule based languages, have been proposed to program distributed applications over networks. It has been shown that they simplify greatly the code, while still offering efficient distributed execution. In this report, we show that moreover they provide a promising approach to the verification of distributed protocols. We consider the Netlog language and use the Coq proof assistant. We first formalize the distributed computation model based on message passing with either synchronous or asynchronous behavior. We then see how the declarative rules of the protocols can be simply encoded in Coq and we develop the machine embedded on each node of the network which evaluates the rules. This framework enables us to formally verify distributed protocols, as shown on a concrete case study, a spanning tree construction in both the asynchronous and synchronous setting.

  • 1 :  Department of Computer Science and Engineering (CSE)
  • Shanghai Jiaotong University
  • 2 :  NETQUEST (LIAMA)
  • Centre de coopération internationale en recherche agronomique pour le développement [CIRAD] – CNRS – Institut national de la recherche agronomique (INRA) – INRIA – Chinese Academy of Science (CAS) – Institute of Automation, Chinese Academy of Sciences
  • 3 :  Université Joseph Fourier (Grenoble 1 UJF)
  • Université Joseph Fourier - Grenoble I
  • Domaine : Informatique/Base de données
  • Référence interne : RR-7511
 
  • inria-00567811, version 1
  • oai:hal.inria.fr:inria-00567811
  • Contributeur : 
  • Soumis le : Mardi 22 Février 2011, 01:17:39
  • Dernière modification le : Vendredi 11 Mars 2011, 11:50:56