Modelling Recursion and Probabilistic Choice in Guarded Type Theory
- Philipp Stassen,
- ,
- ,
- Alejandro Aguirre,
- Lars Birkedal
- Aarhus Universitet,
- ,
Publikation:
Artikel i tidsskrift og konference artikel i tidsskrift
Konferenceartikel
Forskning
Peer-reviewOpen Access
Resume
Constructive type theory combines logic and programming in one language. This is useful both for reasoning about programs written in type theory, as well as for reasoning about other programming languages inside type theory. It is well-known that it is challenging to extend these applications to languages with recursion and computational effects such as probabilistic choice, because these features are not easily represented in constructive type theory. We show how to define and reason about a programming language with probabilistic choice and recursive types, in guarded type theory. We use higher inductive types to represent finite distributions and guarded recursion to model recursion. We define both operational and denotational semantics, as well as a relation between the two. The relation can be used to prove adequacy, but we also show how to use it to reason about programs up to contextual equivalence.
Publikation information
Produktionstype
Publikation:
Artikel i tidsskrift og konference artikel i tidsskrift
Konferenceartikel
Forskning
Peer-reviewOriginalsprog
EngelskTidsskrift (Bind, Nummer)
Proceedings of the ACM on Programming Languages (Bind 9, Udgave POPL)Publikationsmilepæle
- Udgivet - 2025
Publikationsstatus
Udgivet - 2025
Publikations IDer
- Scopus: 85215684518
Metrikker
PlumX, åbner i en ny fane
Hentninger
1
Antal citationer
4
Adgang til dokumenter
Accepteret manuskript
Licens:CC BY, åbner i en ny fane
Relateret event
Titel
Symposium on Principles of Programming Languages
Begivenhedstype
SymposiumGrad af anerkendelse
International begivenhedDato
19/01/2025 - 25/01/2025Lokation
DenverUSA
