Recurrence extraction and denotational semantics with recursive definitions

With one exception, our previous work on recurrence extraction and denotational semantics has focused on a source language that supports inductive types and structural recursion. The exception handles general recursion via an initial translation into call-by-push-value. In this note we give an extra...

Full description

Saved in:
Bibliographic Details
Published inarXiv.org
Main Author Danner, Norman
Format Paper
LanguageEnglish
Published Ithaca Cornell University Library, arXiv.org 05.08.2022
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:With one exception, our previous work on recurrence extraction and denotational semantics has focused on a source language that supports inductive types and structural recursion. The exception handles general recursion via an initial translation into call-by-push-value. In this note we give an extraction function from a language with general recursive function definitions and recursive types directly to a PCF-like recurrence language. We prove the main soundness result (that the syntactic recurrences in fact bound the operational cost) without the use of a logical relation, thereby significantly simplifying the proof compared to our previous work (at the cost of placing more demands on the models of the recurrence language). We then define two models of the recurrence language, one for analyzing merge sort, and another for analyzing quick sort, as case studies to understand model definitions for justifying the extracted recurrences.
ISSN:2331-8422