Sprinkle Magic on the Dance: Enriching a Verified Choreographic Language with a Simply Typed Lambda Calculus

dc.contributor.authorLu, Xin
dc.date.accessioned2025-02-20T22:14:58Z
dc.date.available2025-02-20T22:14:58Z
dc.description.abstractDistributed systems are ubiquitous but writing endpoint programs can be error-prone since mismatched message sending and receiving can lead to errors such as deadlock, where the system indefinitely awaits a message. Choreography offers a solution by providing a global description of how messages are exchanged among endpoints, where message mismatches are disallowed — a property called “deadlock-free by design”. The global choreography is then projected into process models for each endpoint, preserving the deadlock-free property. While many choreography languages focus on message exchange behaviors, few address the local computations occurring within endpoints. Most current languages assume local computation results or delegate them to external languages. While this offers a reasoning ground for studying message exchange behaviours of choreography, when it comes to writing a concrete choreography program, the former can only exchange literal values and the latter leads to cumbersome code due to the addition of an external computation program which typically involves conversions between choreography values and external data types. Hence in this thesis, we extend Kalas, a state-of-the-art choreography language with verified end- to-end compilation, with a local language Sprinkles, such that local computations are handled gracefully within a few lines of codes. Moreover, it also allows us to formally analyse the message exchange behaviours of choreography when local computations are considered. Our proofs show that the strong normalisation property of Sprinkles implies progress for the enriched Kalas, and that the combination of type soundness and strong normalisation of of Sprinkles implies type preservation for non-recursive, synchronous transitions in the enriched Kalas.
dc.identifier.urihttps://hdl.handle.net/1885/733735308
dc.language.isoen
dc.subjectTheoretical Computer Science
dc.subjectFormal Methods
dc.subjectChoreography
dc.subjectProgram Verification
dc.titleSprinkle Magic on the Dance: Enriching a Verified Choreographic Language with a Simply Typed Lambda Calculus
dc.typeThesis (Honours)
dcterms.valid2024
local.contributor.affiliationSchool of Computing, The Australian National University
local.contributor.supervisorNorrish, Michael
local.identifier.doi10.25911/A3QP-VF92
local.identifier.proquestYes
local.mintdoimint
local.type.degreeOther

Downloads

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
xin-thesis.pdf
Size:
691.27 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
882 B
Format:
Item-specific license agreed upon to submission
Description: