Reasoning about Mutability in Graded Modal Type Theory

dc.contributor.authorMarozas, Julian
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.departmentChalmers University of Technology / Department of Computer Science and Engineeringen
dc.contributor.examinerSattler, Christian
dc.contributor.supervisorDanielsson, Nils Anders
dc.date.accessioned2025-04-23T12:20:18Z
dc.date.issued2025
dc.date.submitted
dc.description.abstractPure functional programming enables easier maintainability, parallelism, and reasoning about programs. However, mutable state has historically been at odds with the functional paradigm. Linear types provide a way to safely integrate mutable state into functional programming languages. This thesis explores the intersection of functional programming and mutable state, focusing on the challenges and innovations surrounding mutable arrays in languages with linear or uniqueness types. We present a partial formalization of a graded lambda calculus with array primitives. Graded modal types are used in an attempt to show that efficient mutable operations are safe. We tried to prove bisimilarity between copying and mutable operational semantics, but the proof is not complete.
dc.identifier.coursecodeDATX05
dc.identifier.urihttp://hdl.handle.net/20.500.12380/309285
dc.language.isoeng
dc.relation.ispartofseriesCSE 24-165
dc.setspec.uppsokTechnology
dc.subjecttype theory, uniqueness types, linear types, graded type theory, Agda formalization.
dc.titleReasoning about Mutability in Graded Modal Type Theory
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeComputer science – algorithms, languages and logic (MPALG), MSc

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
CSE 24-165 JM.pdf
Storlek:
1.12 MB
Format:
Adobe Portable Document Format

License bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
2.35 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: