中文
相关论文

相关论文: Continuations, proofs and tests

200 篇论文

Compensating CSP (cCSP) is a language defined to model long running business transactions within the framework of standard CSP process algebra. In earlier work, we have defined both traces and operational semantics of the language. We have…

计算机科学中的逻辑 · 计算机科学 2010-01-21 Shamim H. Ripon , Michael Butler

Teaching proofs is a crucial component of any undergraduate-level program that covers formal reasoning. We have developed a calculational reasoning format and refined it over several years of teaching a freshman-level course, "Logic and…

计算机科学中的逻辑 · 计算机科学 2023-11-16 Andrew T. Walter , Ankit Kumar , Panagiotis Manolios

Constructive type theory combines logic and programming in one language. This is useful both for reasoning about programs written in type theory, as well as for reasoning about other programming languages inside type theory. It is…

Herman et al. pointed out that the insertion of run-time checks into a gradually typed program could hamper tail-call optimization and, as a result, worsen the space complexity of the program. To address the problem, they proposed a…

编程语言 · 计算机科学 2020-11-11 Yuya Tsuda , Atsushi Igarashi , Tomoya Tabuchi

The enriched effect calculus (EEC) is an extension of Moggi's computational metalanguage with a selection of primitives from linear logic. This paper explores the enriched effect calculus as a target language for continuation-passing-style…

计算机科学中的逻辑 · 计算机科学 2015-07-01 Jeff Egger , Rasmus Ejlers Møgelberg , Alex Simpson

In Programming by Example, a system attempts to infer a program from input and output examples, generally by searching for a composition of certain base functions. Performing a naive brute force search is infeasible for even mildly involved…

人工智能 · 计算机科学 2012-09-19 Aditya Krishna Menon , Omer Tamuz , Sumit Gulwani , Butler Lampson , Adam Tauman Kalai

We introduce a probabilistic extension of Levy's Call-By-Push-Value. This extension consists simply in adding a " flipping coin " boolean closed atomic expression. This language can be understood as a major generalization of Scott's PCF…

计算机科学中的逻辑 · 计算机科学 2023-06-22 Thomas Ehrhard , Christine Tasson

Continuous prompts have become widely adopted for augmenting performance across a wide range of natural language tasks. However, the underlying mechanism of this enhancement remains obscure. Previous studies rely on individual words for…

计算与语言 · 计算机科学 2024-12-06 Qian Chen , Dongyang Li , Xiaofeng He

We propose a call-by-value lambda calculus extended with a new construct inspired by abductive inference and motivated by the programming idioms of machine learning. Although syntactically simple the abductive construct has a complex and…

编程语言 · 计算机科学 2017-10-12 Koko Muroya , Steven Cheung , Dan R. Ghica

Higher-order constructs extend the expressiveness of first-order (Constraint) Logic Programming ((C)LP) both syntactically and semantically. At the same time assertions have been in use for some time in (C)LP systems helping programmers…

编程语言 · 计算机科学 2014-06-03 Nataliia Stulova , José F. Morales , Manuel V. Hermenegildo

Some total languages, like Agda and Coq, allow the use of guarded corecursion to construct infinite values and proofs. Guarded corecursion is a form of recursion in which arbitrary recursive calls are allowed, as long as they are guarded by…

计算机科学中的逻辑 · 计算机科学 2010-12-23 Nils Anders Danielsson

We consider the call-by-value lambda-calculus extended with a may-convergent non-deterministic choice and a must-convergent parallel composition. Inspired by recent works on the relational semantics of linear logic and non-idempotent…

计算机科学中的逻辑 · 计算机科学 2014-01-08 Alejandro Díaz-Caro , Giulio Manzonetto , Michele Pagani

Higher-order constructs extend the expressiveness of first-order (Constraint) Logic Programming ((C)LP) both syntactically and semantically. At the same time assertions have been in use for some time in (C)LP systems helping programmers…

编程语言 · 计算机科学 2014-04-17 Nataliia Stulova , José F. Morales , Manuel V. Hermenegildo

Just-in-time compilation provides significant performance improvements for programs written in dynamic languages. These benefits come from the ability of the compiler to speculate about likely cases and generate optimized code for these.…

编程语言 · 计算机科学 2022-04-06 Olivier Flückiger , Jan Ječmen , Sebastián Krynski , Jan Vitek

This paper aims at carrying out termination proofs for simply typed higher-order calculi automatically by using ordering comparisons. To this end, we introduce the computability path ordering (CPO), a recursive relation on terms obtained by…

计算机科学中的逻辑 · 计算机科学 2019-03-14 Frédéric Blanqui , Jean-Pierre Jouannaud , Albert Rubio

In call-by-value languages, some mutually-recursive value definitions can be safely evaluated to build recursive functions or cyclic data structures, but some definitions (let rec x = x + 1) contain vicious circles and their evaluation…

编程语言 · 计算机科学 2020-12-24 Alban Reynaud , Gabriel Scherer , Jeremy Yallop

A coverage type generalizes refinement types found in many functional languages with support for must-style underapproximate reasoning. Property-based testing frameworks are one particularly useful domain where such capabilities are useful…

编程语言 · 计算机科学 2025-09-03 Zhe Zhou , Benjamin Delaware , Suresh Jagannathan

The development of person search techniques has been greatly promoted in recent years for its superior practicality and challenging goals. Despite their significant progress, existing person search models still lack the ability to…

计算机视觉与模式识别 · 计算机科学 2024-10-28 Pengcheng Zhang , Xiaohan Yu , Xiao Bai , Jin Zheng , Xin Ning

Classical Processes (CP) is a calculus where the proof theory of classical linear logic types communicating processes with mobile channels, a la pi-calculus. Its construction builds on a recent propositions as types correspondence between…

计算机科学中的逻辑 · 计算机科学 2018-02-09 Fabrizio Montesi

Probabilistic operational semantics for a nondeterministic extension of pure lambda calculus is studied. In this semantics, a term evaluates to a (finite or infinite) distribution of values. Small-step and big-step semantics are both…

计算机科学中的逻辑 · 计算机科学 2011-06-28 Ugo Dal Lago , Margherita Zorzi