Skip to main content
Kent Academic Repository

On graded coeffect types for information-flow control

Liepelt, Vilem and Marshall, Daniel and Orchard, Dominic and Rajani, Vineet and Vollmer, Michael (2025) On graded coeffect types for information-flow control. In: Orchard, Dominic A. and Petricek, Thomas and Singer, Jeremy, eds. Languages, compilers, analysis - from beautiful theory to useful practice. Lecture Notes in Computer Science . Springer Nature, pp. 114-148. ISBN 978-3-032-08186-5. E-ISBN 978-3-032-08187-2. (doi:10.1007/978-3-032-08187-2_7) (Access to this publication is currently restricted. You may be able to access a copy if URLs are provided) (KAR id:112666)

PDF Author's Accepted Manuscript
Language: English

Restricted to Repository staff only until 1 November 2026.
Contact us about this publication
[thumbnail of security-coeffects-mycroftfest.pdf]
Official URL:
https://link.springer.com/chapter/10.1007/978-3-03...
Additional URLs:

Abstract

Graded types are an overarching paradigm that provides fine-grained reasoning by reflecting the structure of typing rules into a system of type annotations. A significant subset of graded type systems is that of coeffect systems, originally introduced by Petricek, Orchard, and Mycroft as a dual to effect systems, capturing the dataflow of values in a calculus by annotating variables and function types with elements of a semiring. A particularly useful instance of these graded coeffect systems is to capture security properties of data to enforce information-flow control. We examine this particular use case and give a new characterisation of a subclass of semirings which enable the key non-interference theorem of information-flow control: that less privileged observers are unable to distinguish the dependence of computations on more privileged inputs. The result relies on a logical relations proof and is mechanised in Agda. We consider its relationship to other characterisations of non interference in the recent literature on graded types and in the historical context of coeffect and graded systems. We leverage these results for programming with security in the Granule programming language, a research language for graded types. We conclude with extensions to Granule that go beyond

non-interference to declassification, leveraging graded types to control

deliberate information leakage.

Item Type: Book section
DOI/Identification number: 10.1007/978-3-032-08187-2_7
Subjects: Q Science > QA Mathematics (inc Computing science)
Institutional Unit: Schools > School of Computing
Former Institutional Unit:
There are no former institutional units.
Funders: Engineering and Physical Sciences Research Council (https://ror.org/0439y7842)
Depositing User: Dominic Orchard
Date Deposited: 08 Jan 2026 21:38 UTC
Last Modified: 21 Jan 2026 04:01 UTC
Resource URI: https://kar.kent.ac.uk/id/eprint/112666 (The current URI for this page, for reference purposes)

University of Kent Author Information

  • Depositors only (login required):

Total unique views of this page since July 2020. For more details click on the image.