Reasoning about Mutability in Graded Modal Type Theory
dc.contributor.author | Marozas, Julian | |
dc.contributor.department | Chalmers tekniska högskola / Institutionen för data och informationsteknik | sv |
dc.contributor.department | Chalmers University of Technology / Department of Computer Science and Engineering | en |
dc.contributor.examiner | Sattler, Christian | |
dc.contributor.supervisor | Danielsson, Nils Anders | |
dc.date.accessioned | 2025-04-23T12:20:18Z | |
dc.date.issued | 2025 | |
dc.date.submitted | ||
dc.description.abstract | Pure 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.coursecode | DATX05 | |
dc.identifier.uri | http://hdl.handle.net/20.500.12380/309285 | |
dc.language.iso | eng | |
dc.relation.ispartofseries | CSE 24-165 | |
dc.setspec.uppsok | Technology | |
dc.subject | type theory, uniqueness types, linear types, graded type theory, Agda formalization. | |
dc.title | Reasoning about Mutability in Graded Modal Type Theory | |
dc.type.degree | Examensarbete för masterexamen | sv |
dc.type.degree | Master's Thesis | en |
dc.type.uppsok | H | |
local.programme | Computer science – algorithms, languages and logic (MPALG), MSc |