首页    期刊浏览 2024年12月12日 星期四
登录注册

文章基本信息

  • 标题:Counting Environments and Closures
  • 作者:Maciej Bendkowski ; Pierre Lescanne
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2018
  • 卷号:108
  • 页码:11:1-11:16
  • DOI:10.4230/LIPIcs.FSCD.2018.11
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要: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 environments and closures.
  • 关键词:lambda-calculus; combinatorics; functional programming; mathematical analysis; complexity
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有