计算机科学 > 程序设计语言
[提交于 2026年8月10日]
标题:Abstract Compilation as Abstraction of Operator Semantics, applied to Cost Analysis
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Least fixpoints are fundamental to program semantics, but they abstract away the recursive structure that generated them. We introduce operator semantics: a semantic intermediate representation between syntax and classical denotational semantics, which treats programs as operators. Abstract compilation is then understood as the act of abstracting such operators. We develop higher-order abstract domains for functions, operators, and programs themselves, in which composition is the key novel primitive, together with a categorical framework for constructing sound, precise, and modular abstract compilers. We instantiate this framework in the context of recurrence-based static cost analysis, developing solver-independent, optimal recurrence extraction techniques for recursive programs over algebraic data types, that support general function unknowns and catamorphic metrics, a broad class of size metrics beyond traditional approaches.
提交历史
来自:Louis Rustenholz[v1] 2026年8月10日 星期一 15:58:27 UTC