{"article_processing_charge":"No","title":"Verifying concurrent programs: Refinement, synchronization, sequentialization","date_created":"2020-09-04T12:24:12Z","degree_awarded":"PhD","language":[{"iso":"eng"}],"file_date_updated":"2020-09-04T13:00:17Z","publication_identifier":{"issn":["2663-337X"]},"day":"03","page":"120","publisher":"Institute of Science and Technology Austria","file":[{"checksum":"26fe261550f691280bda4c454bf015c7","creator":"bkragl","date_created":"2020-09-04T12:17:47Z","file_size":1348815,"date_updated":"2020-09-04T12:17:47Z","content_type":"application/pdf","relation":"main_file","file_name":"kragl-thesis.pdf","file_id":"8333","access_level":"open_access"},{"content_type":"application/zip","relation":"source_file","file_name":"kragl-thesis.zip","checksum":"b9694ce092b7c55557122adba8337ebc","creator":"bkragl","date_updated":"2020-09-04T13:00:17Z","file_size":372312,"date_created":"2020-09-04T13:00:17Z","access_level":"closed","file_id":"8335"}],"type":"dissertation","supervisor":[{"first_name":"Thomas A","last_name":"Henzinger","orcid":"0000-0002-2985-7724","id":"40876CD8-F248-11E8-B48F-1D18A9856A87","full_name":"Henzinger, Thomas A"}],"date_published":"2020-09-03T00:00:00Z","oa_version":"Published Version","oa":1,"abstract":[{"text":"Designing and verifying concurrent programs is a notoriously challenging, time consuming, and error prone task, even for experts. This is due to the sheer number of possible interleavings of a concurrent program, all of which have to be tracked and accounted for in a formal proof. Inventing an inductive invariant that captures all interleavings of a low-level implementation is theoretically possible, but practically intractable. We develop a refinement-based verification framework that provides mechanisms to simplify proof construction by decomposing the verification task into smaller subtasks.\r\n\r\nIn a first line of work, we present a foundation for refinement reasoning over structured concurrent programs. We introduce layered concurrent programs as a compact notation to represent multi-layer refinement proofs. A layered concurrent program specifies a sequence of connected concurrent programs, from most concrete to most abstract, such that common parts of different programs are written exactly once. Each program in this sequence is expressed as structured concurrent program, i.e., a program over (potentially recursive) procedures, imperative control flow, gated atomic actions, structured parallelism, and asynchronous concurrency. This is in contrast to existing refinement-based verifiers, which represent concurrent systems as flat transition relations. We present a powerful refinement proof rule that decomposes refinement checking over structured programs into modular verification conditions. Refinement checking is supported by a new form of modular, parameterized invariants, called yield invariants, and a linear permission system to enhance local reasoning.\r\n\r\nIn a second line of work, we present two new reduction-based program transformations that target asynchronous programs. These transformations reduce the number of interleavings that need to be considered, thus reducing the complexity of invariants. Synchronization simplifies the verification of asynchronous programs by introducing the fiction, for proof purposes, that asynchronous operations complete synchronously. Synchronization summarizes an asynchronous computation as immediate atomic effect. Inductive sequentialization establishes sequential reductions that captures every behavior of the original program up to reordering of coarse-grained commutative actions. A sequential reduction of a concurrent program is easy to reason about since it corresponds to a simple execution of the program in an idealized synchronous environment, where processes act in a fixed order and at the same speed.\r\n\r\nOur approach is implemented the CIVL verifier, which has been successfully used for the verification of several complex concurrent programs. In our methodology, the overall correctness of a program is established piecemeal by focusing on the invariant required for each refinement step separately. While the programmer does the creative work of specifying the chain of programs and the inductive invariant justifying each link in the chain, the tool automatically constructs the verification conditions underlying each refinement step.","lang":"eng"}],"department":[{"_id":"ToHe"}],"user_id":"c635000d-4b10-11ee-a964-aac5a93f6ac1","has_accepted_license":"1","date_updated":"2023-09-13T08:45:08Z","author":[{"first_name":"Bernhard","id":"320FC952-F248-11E8-B48F-1D18A9856A87","orcid":"0000-0001-7745-9117","last_name":"Kragl","full_name":"Kragl, Bernhard"}],"alternative_title":["ISTA Thesis"],"doi":"10.15479/AT:ISTA:8332","year":"2020","_id":"8332","month":"09","citation":{"short":"B. Kragl, Verifying Concurrent Programs: Refinement, Synchronization, Sequentialization, Institute of Science and Technology Austria, 2020.","ieee":"B. Kragl, “Verifying concurrent programs: Refinement, synchronization, sequentialization,” Institute of Science and Technology Austria, 2020.","apa":"Kragl, B. (2020). Verifying concurrent programs: Refinement, synchronization, sequentialization. Institute of Science and Technology Austria. https://doi.org/10.15479/AT:ISTA:8332","ama":"Kragl B. Verifying concurrent programs: Refinement, synchronization, sequentialization. 2020. doi:10.15479/AT:ISTA:8332","chicago":"Kragl, Bernhard. “Verifying Concurrent Programs: Refinement, Synchronization, Sequentialization.” Institute of Science and Technology Austria, 2020. https://doi.org/10.15479/AT:ISTA:8332.","mla":"Kragl, Bernhard. Verifying Concurrent Programs: Refinement, Synchronization, Sequentialization. Institute of Science and Technology Austria, 2020, doi:10.15479/AT:ISTA:8332.","ista":"Kragl B. 2020. Verifying concurrent programs: Refinement, synchronization, sequentialization. Institute of Science and Technology Austria."},"ddc":["000"],"publication_status":"published","status":"public","related_material":{"record":[{"relation":"part_of_dissertation","status":"public","id":"133"},{"relation":"part_of_dissertation","status":"public","id":"8012"},{"relation":"part_of_dissertation","status":"public","id":"8195"},{"relation":"part_of_dissertation","status":"public","id":"160"}]}}