Pith. sign in

REVIEW 2 cited by

A metalanguage for cost-aware denotational semantics

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2209.12669 v1 pith:FFFI6B6B submitted 2022-09-26 cs.PL

A metalanguage for cost-aware denotational semantics

classification cs.PL
keywords calftextbfcost-awaretextitdenotationalextensionprogrammingstar
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
read the original abstract

We present two metalanguages for developing $\textit{synthetic cost-aware denotational semantics}$ of programming languages. Extending the recent work of Niu et al. [2022] on $\textbf{calf}$, a dependent type theory for both cost and behavioral verification, we define two metalanguages, $\textbf{calf}^\star$ and $\textbf{calf}^\omega$, for studying cost-aware metatheory. $\textbf{calf}^\star$ is an extension of $\textbf{calf}$ with universes and inductive types, and $\textbf{calf}^\omega$ is a an extension of $\textbf{calf}^\star$ with unbounded iteration. We construct denotational models of the simply-typed lambda calculus and Modernized Algol, a language with first-order store and while loops, and show that they satisfy a $\textit{cost-aware}$ generalization of the classic Plotkin-type computational adequacy theorem. Moreover, by developing our proofs in a synthetic language of $\textit{phase-separated}$ constructions of intension and extension, our results easily $\textit{restrict}$ to the corresponding extensional theorems. Our work provides a positive answer to the conjecture raised in Niu et al. [2022] and in light of $\textit{op. cit.}$'s work on algorithm analysis, contributes a metalanguage for doing both cost-aware programming and verification and cost-aware metatheory of programming languages.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Potential Functions as Types

    cs.PL 2026-07 accept novelty 7.5 partial

    Fracture-and-gluing equips every Calf computation type with an abstraction-plus-potential homomorphism so programs conserve potential and preserve abstraction; credits/debits and Giralf enable banker's-view programmin...

  2. Potential Functions as Types

    cs.PL 2026-07 accept novelty 7.0 partial

    Every Calf type fuses an abstraction function with a potential function via fracture-and-gluing, so programs conserve potential and preserve abstraction; Giralf then enables automated credit-based inference.