中文
相关论文

相关论文: Story of Your Lazy Function's Life: A Bidirectiona…

200 篇论文

Lazy evaluation is a powerful tool for functional programmers. It enables the concise expression of on-demand computation and a form of compositionality not available under other evaluation strategies. However, the stateful nature of lazy…

编程语言 · 计算机科学 2021-07-05 Yao Li , Li-yao Xia , Stephanie Weirich

The existing call-by-need lambda calculi describe lazy evaluation via equational logics. A programmer can use these logics to safely ascertain whether one term is behaviorally equivalent to another or to determine the value of a lazy…

编程语言 · 计算机科学 2012-01-19 Stephen Chang , Matthias Felleisen

Amortized analysis is a program cost analysis technique for data structures in which the cost of operations is specified in aggregate, under the assumption of continued sequential use. Typically, amortized analyses are presented…

编程语言 · 计算机科学 2023-08-21 Harrison Grodin , Robert Harper

A typical way of analyzing the time complexity of functional programs is to extract a recurrence expressing the running time of the program in terms of the size of its input, and then to solve the recurrence to obtain a big-O bound. For…

编程语言 · 计算机科学 2020-08-03 Joseph W. Cutler , Daniel R. Licata , Norman Danner

The elegant theory of the call-by-value lambda-calculus relies on weak evaluation and closed terms, that are natural hypotheses in the study of programming languages. To model proof assistants, however, strong evaluation and open terms are…

计算机科学中的逻辑 · 计算机科学 2016-09-21 Beniamino Accattoli , Giulio Guerrieri

A standard informal method for analyzing the asymptotic complexity of a program is to extract a recurrence that describes its cost in terms of the size of its input, and then to compute a closed-form upper bound on that recurrence. We give…

编程语言 · 计算机科学 2022-08-09 Norman Danner , Daniel R. Licata

Lazy evaluation is a powerful technique that can optimize code execution by deferring evaluations until their results are required, thus enhancing efficiency. In most modern programming languages, like R, lazy evaluation is commonly applied…

编程语言 · 计算机科学 2026-01-16 Chen Ling , Yachen Wang

The theory of the call-by-value lambda-calculus relies on weak evaluation and closed terms, that are natural hypotheses in the study of programming languages. To model proof assistants, however, strong evaluation and open terms are…

计算机科学中的逻辑 · 计算机科学 2017-02-02 Beniamino Accattoli , Giulio Guerrieri

The call-by-need lambda calculus provides an equational framework for reasoning syntactically about lazy evaluation. This paper examines its operational characteristics. By a series of reasoning steps, we systematically unpack the…

编程语言 · 计算机科学 2015-07-01 Ronald Garcia , Andrew Lumsdaine , Amr Sabry

We present a semantics based framework for analysing the quantitative behaviour of programs with regard to resource usage. We start from an operational semantics equipped with costs. The dioid structure of the set of costs allows for…

计算机科学中的逻辑 · 计算机科学 2010-06-29 David Cachera , Arnaud Jobin

Amortised analysis is a technique for proving a combined time bound for a batch of operations on a data structure, even if some of those operations are expensive. But the traditional method of amortised analysis yields incorrect time bounds…

编程语言 · 计算机科学 2026-05-12 Anton Lorenzen

Amortized analysis is a cost analysis technique for data structures in which cost is studied in aggregate: rather than considering the maximum cost of a single operation, one bounds the total cost encountered throughout a session.…

编程语言 · 计算机科学 2024-12-18 Harrison Grodin , Robert Harper

To support the understanding of declarative probabilistic programming languages, we introduce a lambda-calculus with a fair binary probabilistic choice that chooses between its arguments with equal probability. The reduction strategy of the…

计算机科学中的逻辑 · 计算机科学 2022-05-31 David Sabel , Manfred Schmidt-Schauß , Luca Maio

We present $\textbf{calf}$, a $\textbf{c}$ost-$\textbf{a}$ware $\textbf{l}$ogical $\textbf{f}$ramework for studying quantitative aspects of functional programs. Taking inspiration from recent work that reconstructs traditional aspects of…

编程语言 · 计算机科学 2021-10-11 Yue Niu , Jonathan Sterling , Harrison Grodin , Robert Harper

The lambda calculus since more than half a century is a model and foundation of functional programming languages. However, lambda expressions can be evaluated with different reduction strategies and thus, there is no fixed cost model nor…

编程语言 · 计算机科学 2024-05-22 Tomasz Drab

The goal of this lecture is to show how modern theorem provers---in this case, the Coq proof assistant---can be used to mechanize the specification of programming languages and their semantics, and to reason over individual programs and…

编程语言 · 计算机科学 2010-10-28 Xavier Leroy

The assessment of reactive power demand plays an instrumental role in power system planning. This paper presents a methodology for calculating reactive power demand based on a two-step approach. Unlike existing methodologies in the…

系统与控制 · 电气工程与系统科学 2026-04-29 Hassan Abouelgheit , Hendrik Lens

Linguistic theories formulated in the architecture of {\sc hpsg} can be very precise and explicit since {\sc hpsg} provides a formally well-defined setup. However, when querying a faithful implementation of such an explicit theory, the…

cmp-lg · 计算机科学 2008-02-03 Thilo Götz , Walt Detmar Meurers

We introduce a framework for automatically choosing data structures to support efficient computation of analytical workloads. Our contributions are twofold. First, we introduce a novel low-level intermediate language that can express the…

数据库 · 计算机科学 2021-12-28 Amir Shaikhha , Marios Kelepeshis , Mahdi Ghorbani

Latent or continuous chain-of-thought methods replace explicit textual rationales with a number of internal latent steps, but these intermediate computations are difficult to evaluate beyond correlation-based probes. In this paper, we view…

人工智能 · 计算机科学 2026-05-29 Zirui Li , Xuefeng Bai , Kehai Chen , Yizhi Li , Jian Yang , Chenghua Lin , Min Zhang
‹ 上一页 1 2 3 10 下一页 ›