A Gentle Introduction to Guarantee Type Theory

A guarantee type is a type with a condition that must hold. Its scope tells us where we can rely on that condition. Guarantee Type Theory is a way to express what must hold about a value, a step or a whole execution. The language specifies what we can observe in each case. A guarantee must hold for every observation at its chosen scope. We show how guarantees combine and what survives an operation. For immutable values we prove that every well-typed expression denotes a value its type allows. For resources, we follow the duty to close a handle as it changes hands. If the duty was present on entry and nobody owes it on return, that path must have closed the handle.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-26
DOI
https://doi.org/10.5281/zenodo.24569245
Primary Topic
Logic, programming, and type systems
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

A Gentle Introduction to Guarantee Type Theory

William Kirkman-Moller
Zenodo (CERN European Organization for Nuclear Research)
Logic, programming, and type systems
preprint

A Gentle Introduction to Guarantee Type Theory

William Kirkman-Moller
preprint en

Abstract

A guarantee type is a type with a condition that must hold. Its scope tells us where we can rely on that condition. Guarantee Type Theory is a way to express what must hold about a value, a step or a whole execution. The language specifies what we can observe in each case. A guarantee must hold for every observation at its chosen scope. We show how guarantees combine and what survives an operation. For immutable values we prove that every well-typed expression denotes a value its type allows. For resources, we follow the duty to close a handle as it changes hands. If the duty was present on entry and nobody owes it on return, that path must have closed the handle.

Zenodo (CERN European Organization for Nuclear Research)
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
A Gentle Introduction to Guarantee Type Theory — William Kirkman-Moller · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS