A formal proof of a necessary and sufficient condition for deadlock-free adaptive networks

  • Authors:
  • Freek Verbeek;Julien Schmaltz

  • Affiliations:
  • ,Institute for Computing and Information Sciences, Radboud University Nijmegen, Nijmegen, The Netherlands;,Institute for Computing and Information Sciences, Radboud University Nijmegen, Nijmegen, The Netherlands

  • Venue:
  • ITP'10 Proceedings of the First international conference on Interactive Theorem Proving
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Deadlocks occur in interconnection networks as messages compete for free channels or empty buffers. Deadlocks are often associated with a circular wait between processes and resources. In the context of networks, Duato proved that for adaptive routing networks a cyclic dependency is not sufficient to create a deadlock. He proposed deadlock-free routing techniques allowing cyclic dependencies between channels or buffers. His work was a breakthrough. It was also counterintuitive and only a complex mathematical proof could convince his peers about the soundness of his theory. We define a necessary and sufficient condition that captures Duato's intuition but that is more intuitive and leads to a simpler proof. However, our condition is logically equivalent to Duato's one. We used the ACL2 theorem proving system to formalize our condition and its proof. In particular, we used two features of ACL2, namely the encapsulation principle and quantifiers, to perform an elegant formalization based on second order functions.