Schloss Dagstuhl - Leibniz-Zentrum für Informatik GmbH Schloss Dagstuhl - Leibniz-Zentrum für Informatik GmbH scholarly article en Geoffroy, Guillaume; Pistone, Paolo https://www.dagstuhl.de/lipics License: Creative Commons Attribution 3.0 Unported license (CC-BY 3.0)
when quoting this document, please refer to the following
DOI:
URN: urn:nbn:de:0030-drops-134578
URL:

;

A Partial Metric Semantics of Higher-Order Types and Approximate Program Transformations

pdf-format:


Abstract

Program semantics is traditionally concerned with program equivalence. However, in fields like approximate, incremental and probabilistic computation, it is often useful to describe to which extent two programs behave in a similar, although non equivalent way. This has motivated the study of program (pseudo)metrics, which have found widespread applications, e.g. in differential privacy. In this paper we show that the standard metric on real numbers can be lifted to higher-order types in a novel way, yielding a metric semantics of the simply typed lambda-calculus in which types are interpreted as quantale-valued partial metric spaces. Using such metrics we define a class of higher-order denotational models, called diameter space models, that provide a quantitative semantics of approximate program transformations. Noticeably, the distances between objects of higher-types are elements of functional, thus non-numerical, quantales. This allows us to model contextual reasoning about arbitrary functions, thus deviating from classic metric semantics.

BibTeX - Entry

@InProceedings{geoffroy_et_al:LIPIcs:2021:13457,
  author =	{Guillaume Geoffroy and Paolo Pistone},
  title =	{{A Partial Metric Semantics of Higher-Order Types and Approximate Program Transformations}},
  booktitle =	{29th EACSL Annual Conference on Computer Science Logic (CSL 2021)},
  pages =	{23:1--23:18},
  series =	{Leibniz International Proceedings in Informatics (LIPIcs)},
  ISBN =	{978-3-95977-175-7},
  ISSN =	{1868-8969},
  year =	{2021},
  volume =	{183},
  editor =	{Christel Baier and Jean Goubault-Larrecq},
  publisher =	{Schloss Dagstuhl--Leibniz-Zentrum f{\"u}r Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{https://drops.dagstuhl.de/opus/volltexte/2021/13457},
  URN =		{urn:nbn:de:0030-drops-134578},
  doi =		{10.4230/LIPIcs.CSL.2021.23},
  annote =	{Keywords: Simply typed λ-calculus, program metrics, approximate program transformations, partial metric spaces}
}

Keywords: Simply typed λ-calculus, program metrics, approximate program transformations, partial metric spaces
Seminar: 29th EACSL Annual Conference on Computer Science Logic (CSL 2021)
Issue date: 2021
Date of publication: 13.01.2021


DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI