Skip to main content
Top
Published in: Computing 1/2019

02-07-2018

A mechanized refinement proof of the Chase–Lev deque using a proof system

Authors: Suha Orhun Mutluergil, Serdar Tasiran

Published in: Computing | Issue 1/2019

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

We present a linearizability proof for the concurrent Chase–Lev work-stealing queue (WSQ) implementation on sequentially consistent memory. We used the CIVL proof system to carry out the proof. The lowest-level description of the WSQ is the data structure code described in terms of fine-grained actions whose atomicity is guaranteed by hardware. Higher level descriptions consist of increasingly coarser action blocks obtained using a combination of Owicki–Gries (OG) annotations and reduction and abstraction. We believe that the OG annotations (location invariants) we provided to carry out the refinement proofs at each level provide insight into the correctness of the algorithm. The top-level description for the WSQ consists of a single atomic action for each data structure operation, where the specification of the action is tight enough to show that the WSQ data structure is linearizable.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Footnotes
Literature
1.
2.
go back to reference Chase D, Lev Y (2005) Dynamic circular work-stealing deque. In: Proceedings of the seventeenth annual ACM symposium on parallelism in algorithms and architectures. ACM, pp 21–28 Chase D, Lev Y (2005) Dynamic circular work-stealing deque. In: Proceedings of the seventeenth annual ACM symposium on parallelism in algorithms and architectures. ACM, pp 21–28
3.
go back to reference Dodds M, Haas A, Kirsch CM (2015) A scalable, correct time-stamped stack. ACM SIGPLAN Not 50(1):233–246CrossRefMATH Dodds M, Haas A, Kirsch CM (2015) A scalable, correct time-stamped stack. ACM SIGPLAN Not 50(1):233–246CrossRefMATH
5.
go back to reference Frigo M, Leiserson CE, Randall KH (1998) The implementation of the Cilk-5 multithreaded language. In: ACM Sigplan Notices. ACM, vol 33, pp 212–223 Frigo M, Leiserson CE, Randall KH (1998) The implementation of the Cilk-5 multithreaded language. In: ACM Sigplan Notices. ACM, vol 33, pp 212–223
6.
go back to reference Hawblitzel C, Qadeer S, Tasiran S (2015) Automated and modular refinement reasoning for concurrent programs. In: Computer aided verification Hawblitzel C, Qadeer S, Tasiran S (2015) Automated and modular refinement reasoning for concurrent programs. In: Computer aided verification
7.
go back to reference Herlihy M, Luchangco V, Moir M (2003) Obstruction-free synchronization: Double-ended queues as an example. In: Distributed computing systems, 2003. Proceedings. 23rd international conference on, IEEE, pp 522–529 Herlihy M, Luchangco V, Moir M (2003) Obstruction-free synchronization: Double-ended queues as an example. In: Distributed computing systems, 2003. Proceedings. 23rd international conference on, IEEE, pp 522–529
8.
go back to reference Khorsandi Aghai M (2012) Verification of work-stealing deque implementation. Master’s thesis, Uppsala University Khorsandi Aghai M (2012) Verification of work-stealing deque implementation. Master’s thesis, Uppsala University
9.
go back to reference Lê NM, Pop A, Cohen A, Zappa Nardelli F (2013) Correct and efficient work-stealing for weak memory models. In: ACM SIGPLAN Notices, vol 48. ACM, pp 69–80 Lê NM, Pop A, Cohen A, Zappa Nardelli F (2013) Correct and efficient work-stealing for weak memory models. In: ACM SIGPLAN Notices, vol 48. ACM, pp 69–80
11.
go back to reference Liu F, Nedev N, Prisadnikov N, Vechev M, Yahav E (2012) Dynamic synthesis for relaxed memory models. In: ACM SIGPLAN Notices, vol 47. ACM, pp 429–440 Liu F, Nedev N, Prisadnikov N, Vechev M, Yahav E (2012) Dynamic synthesis for relaxed memory models. In: ACM SIGPLAN Notices, vol 47. ACM, pp 429–440
12.
go back to reference Michael MM, Vechev MT, Saraswat VA (2009) Idempotent work stealing, vol 44. ACM Michael MM, Vechev MT, Saraswat VA (2009) Idempotent work stealing, vol 44. ACM
13.
go back to reference Morrison A, Afek Y (2014) Fence-free work stealing on bounded TSO processors. ACM SIGPLAN Not 49(4):413–426 Morrison A, Afek Y (2014) Fence-free work stealing on bounded TSO processors. ACM SIGPLAN Not 49(4):413–426
15.
go back to reference Travkin O, Wehrheim H (2014) Handling TSO in mechanized linearizability proofs. In: Haifa verification conference. Springer, pp 132–147 Travkin O, Wehrheim H (2014) Handling TSO in mechanized linearizability proofs. In: Haifa verification conference. Springer, pp 132–147
Metadata
Title
A mechanized refinement proof of the Chase–Lev deque using a proof system
Authors
Suha Orhun Mutluergil
Serdar Tasiran
Publication date
02-07-2018
Publisher
Springer Vienna
Published in
Computing / Issue 1/2019
Print ISSN: 0010-485X
Electronic ISSN: 1436-5057
DOI
https://doi.org/10.1007/s00607-018-0635-4

Other articles of this Issue 1/2019

Computing 1/2019 Go to the issue

Premium Partner