paperbot · PL 论文追踪

全部论文 待读 收藏

P2 On the enumeration of closures and environments with an application to random generation

论闭包与环境的枚举及其在随机生成中的应用
LMCS vol.Volume 15, Issue 42019匹配度 0/10 · 该论文研究 lambda 演算中环境和闭包的渐近计数与随机生成,属于函数式编程和形式语义的组合数学,未涉及静态分析、LLM/Agent、浮点或贝叶斯程序分析,与用户研究画像无直接关联。引用 0 inbox
Maciej Bendkowski, Pierre Lescanne
crossref: 2026-09-10

AI 速览

一句话:研究 lambda 演算中普通与封闭环境和闭包的渐近计数,并用生成函数构造有效随机采样器。

该论文研究 lambda 演算求值中环境与闭包的组合计数性质。闭包由 lambda 项与环境组成,环境则是绑定自由变量的 lambda 项列表。作者针对普通(plain)与封闭(closed)两类环境/闭包,分析其规模为 n 时的渐近计数问题,给出普通环境与闭包数量的渐近近似。借助与这些组合类相关的生成函数,他们构造了有效的随机采样器,可生成对应规模的环境与闭包。最后还讨论封闭环境与闭包的渐近计数和随机生成问题。

问题
论文研究 lambda 演算中环境和闭包的定量组合性质,重点是普通与封闭两类结构的渐近计数及随机生成问题。
方法
采用组合枚举与生成函数方法,推导普通环境/闭包数量的渐近近似,并基于生成函数构造有效随机采样器。
评估
评估以数学推导和采样器构造为主,给出渐近计数结果并实现随机生成,同时讨论封闭类的相应计数与生成问题。
原文摘要(Abstract)

Environments and closures are two of the main ingredients of evaluation in lambda-calculus. A closure is a pair consisting of a lambda-term and an environment, whereas an environment is a list of lambda-terms assigned to free variables. In this paper we investigate some dynamic aspects of evaluation in lambda-calculus considering the quantitative, combinatorial properties of environments and closures. Focusing on two classes of environments and closures, namely the so-called plain and closed ones, we consider the problem of their asymptotic counting and effective random generation. We provide an asymptotic approximation of the number of both plain environments and closures of size $n$. Using the associated generating functions, we construct effective samplers for both classes of combinatorial structures. Finally, we discuss the related problem of asymptotic counting and random generation of closed environemnts and closures.

链接与引用

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

BibTeX
@article{paperbot749,
  title = {On the enumeration of closures and environments with an application to random generation},
  author = {Maciej Bendkowski and Pierre Lescanne},
  journal = {Logical Methods in Computer Science},
  volume = {Volume 15, Issue 4},
  year = {2019},
  doi = {10.23638/lmcs-15(4:3)2019}
}