C4: Verified Transactional Objects

被引:10
|
作者
Lesani, Mohsen [1 ]
Xia, Li-yao [2 ]
Kaseorg, Anders [3 ]
Bell, Christian J. [3 ]
Chlipala, Adam [3 ]
Pierce, Benjamin C. [2 ]
Zdancewic, Steve [2 ]
机构
[1] Univ Calif Riverside, Riverside, CA 92521 USA
[2] Univ Penn, Philadelphia, PA 19104 USA
[3] MIT, 77 Massachusetts Ave, Cambridge, MA 02139 USA
来源
基金
美国国家科学基金会;
关键词
concurrency; objects; linearizability; serializability; verification; SEMANTICS;
D O I
10.1145/3527324
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Transactional objects combine the performance of classical concurrent objects with the high-level programmability of transactional memory. However, verifying the correctness of transactional objects is tricky, requiring reasoning simultaneously about classical concurrent objects, which guarantee the atomicity of individual methods-the property known as linearizability-and about software-transactional-memory libraries, which guarantee the atomicity of user-defined sequences of method calls-or serializability. We present a formal-verification framework called C4, built up from the familiar notion of linearizability and its compositional properties, that allows proof of both kinds of libraries, along with composition of theorems from both styles to prove correctness of applications or further libraries. We apply the framework in a significant case study, verifying a transactional set object built out of both classical and transactional components following the technique of transactional predication; the proof is modular, reasoning separately about the transactional and nontransactional parts of the implementation. Central to our approach is the use of syntactic transformers on interaction trees-i.e., transactional libraries that transform client code to enforce particular synchronization disciplines. Our framework and case studies are mechanized in Coq.
引用
下载
收藏
页数:31
相关论文
共 50 条
  • [1] Numerical search for universal entanglers in C3 ⊗ C4 and C4 ⊗ C4
    Mendes, F. V.
    Ramos, R. V.
    PHYSICS LETTERS A, 2015, 379 (04) : 289 - 292
  • [2] SK1(Z[C4×C4],2Z[C4×C4])的结构(英文)
    杨正国
    唐国平
    中国科学院大学学报, 2016, 33 (03) : 298 - 301
  • [3] ENUMERATION OF LEFT BRACES WITH ADDITIVE GROUP C4 X C4 X C4
    Ballester-bolinches, A.
    Esteban-Romero, R.
    Perez-calabuig, V.
    MATHEMATICS OF COMPUTATION, 2023, : 911 - 919
  • [4] LINKAGE OF C4 AND C4 DEFICIENCY TO BF AND GPLA
    KRONKE, M
    GECZY, AF
    HADDING, U
    BITTERSUERMANN, D
    IMMUNOGENETICS, 1977, 5 (05) : 461 - 466
  • [5] C4 eudicots are not younger than C4 monocots
    Christin, Pascal-Antoine
    Osborne, Colin P.
    Sage, Rowan F.
    Arakaki, Monica
    Edwards, Erika J.
    JOURNAL OF EXPERIMENTAL BOTANY, 2011, 62 (09) : 3171 - 3181
  • [6] C4 INACTIVATING FACTOR IN C4 DEFICIENT HUMAN SERUM
    TORISU, M
    NAGAKI, K
    INAI, S
    SONOZAKI, H
    JOURNAL OF IMMUNOLOGY, 1971, 107 (01): : 312 - &
  • [7] C4 rice engineering, beyond installing a C4 cycle
    Liu, Zheng
    Cheng, Jinjin
    PLANT PHYSIOLOGY AND BIOCHEMISTRY, 2024, 206
  • [8] Oxygen requirement and inhibition of C4 photosynthesis -: An analysis of C4 plants deficient in the C3 and C4 cycles
    Maroco, JP
    Ku, MSB
    Lea, PJ
    Dever, LV
    Leegood, RC
    Furbank, RT
    Edwards, GE
    PLANT PHYSIOLOGY, 1998, 116 (02) : 823 - 832
  • [9] UpperBoundsontheMulticolorRamseyNumbersrk(C4)
    Tian-yu LI
    Qi-zhong LIN
    Acta Mathematicae Applicatae Sinica, 2025, 41 (01) : 286 - 294
  • [10] 2014(C4)
    李宗亮
    课堂内外创新作文(高中版), 2014, (03) : 33 - 33