paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A tier-based typed programming language characterizing Feasible Functionals

一个刻画可行泛函的分层类型编程语言
LMCS vol.Volume 18, Issue 12022匹配度 2/10 · 该论文是纯程序语言理论工作,用分层类型系统刻画 BFF2 可计算泛函与类型推断复杂度,未涉及 LLM/Agent、静态分析在 ML 系统中的应用、浮点程序分析或贝叶斯程序分析,与用户研究方向仅有 PL/类型系统这一非常宽泛的背景关联。引用 3 inbox
Emmanuel Hainry, Bruce M. Kapron, Jean-Yves Marion, Romain Péchoux
crossref: 2026-09-10

AI 速览

一句话:用分层类型系统为带 oracle 调用的命令式语言刻画 BFF2,类型推断可判定且复杂度为三次方。

本文研究 Basic Feasible Functionals BFF2 的编程语言刻画问题。BFF2 是多项式时间可计算函数类 FP 的 type-2 对应物,已有文献虽提出若干刻画,但均未给出带类型系统保证该复杂度界的编程语言。作者提出一种带 oracle 调用的命令式语言,并设计基于 tier 的类型系统,使得程序计算的泛函恰好属于 BFF2。该类型系统的类型推断是可判定的,且推断算法复杂度为程序规模的三次方,显著优于已有方法的不可行性,同时不过度限制语言表达力。

问题
如何为 type-2 基本可行泛函 BFF2 提供一种带类型系统、能保证多项式时间复杂度界的编程语言刻画。
方法
设计带 oracle 调用的命令式语言,引入 tier-based 类型系统,并给出可判定且复杂度为程序规模三次方的类型推断算法。
评估
通过理论证明该类型系统刻画的程序类恰好对应 BFF2,并分析类型推断算法的复杂度,与已有不可行方法进行对比。
原文摘要(Abstract)

The class of Basic Feasible Functionals BFF$_2$ is the type-2 counterpart of the class FP of type-1 functions computable in polynomial time. Several characterizations have been suggested in the literature, but none of these present a programming language with a type system guaranteeing this complexity bound. We give a characterization of BFF$_2$ based on an imperative language with oracle calls using a tier-based type system whose inference is decidable. Such a characterization should make it possible to link higher-order complexity with programming theory. The low complexity (cubic in the size of the program) of the type inference algorithm contrasts with the intractability of the aforementioned methods and does not overly constrain the expressive power of the language.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot1721,
  title = {A tier-based typed programming language characterizing Feasible Functionals},
  author = {Emmanuel Hainry and Bruce M. Kapron and Jean-Yves Marion and Romain Péchoux},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 18, Issue 1},
  year = {2022},
  doi = {10.46298/lmcs-18(1:33)2022}
}