Skip to main content
eScholarship
Open Access Publications from the University of California

UC Santa Barbara

UC Santa Barbara Electronic Theses and Dissertations bannerUC Santa Barbara

Programming Language Design for Timed, Concurrent Systems

Abstract

This thesis presents three languages for reasoning about timed, concurrent, or reactive, systems. The field of reactive systems is vast, covering technologies from distributed systems to automata, from industrial process to electronic circuits. The core characteristics include sensitivity to features such as timing, communication between components, mutual access to shared data, and intentional non-termination. Research in reactive systems is traditionally associated with model checking and other forms of post-hoc verification. While this traditional approach provides a large degree of automation, covering a wide array of verification tasks, it also has several drawbacks. These drawbacks include scalability issues, absence of equational reasoning, and a lack of modularity between models and property encodings. Additionally, the field of reactive systems is relatively understudied from the perspective of programming language design and theory.We approach reactive systems through a programming language design lens, and derive three languages for programming and verifying reactive systems. The languages build on each other in the sense that each language addresses a deficiency in the previous. The timed, concurrent system we use as a running example is superconducting electronics (SCE), an emerging hardware technology. We focus on SCE due to its lack of preexisting models, as well as its unique information encoding. While we begin by focusing on SCE, each successive language gains some degree of abstraction beyond just hardware, to the degree that the final language operates at a high level of generality. The first language, PyLSE-TA, is a specification and verification language designed to model superconducting electronics in particular. The second language, Citrus, is a fully-fledged programming language for SCE and is adaptable to other systems with similar, pulse-based information encodings. The third language, Plata, is a programming and specification language that can express a broad class of reactive systems with verification facilities built into the language itself. These three languages are themselves investigations into various techniques and frameworks for reasoning about reactive systems. The repeated application results in a novel approach to reactive systems, informed by programming language theory, that is correct by construction and amenable to a high degree of verification.