中文
相关论文

相关论文: A Framework for the Automated Verification of Alge…

200 篇论文

Algebraic effects and handlers are a mechanism to structure programs with computational effects in a modular way. They are recently gaining popularity and being adopted in practical languages, such as OCaml. Meanwhile, there has been…

编程语言 · 计算机科学 2023-11-20 Fuga Kawamata , Hiroshi Unno , Taro Sekiyama , Tachio Terauchi

OCaml is particularly well-fitted for formal verification. On one hand, it is a multi-paradigm language with a well-defined semantics, allowing one to write clean, concise, type-safe, and efficient code. On the other hand, it is a language…

计算机科学中的逻辑 · 计算机科学 2021-09-07 Mário Pereira , António Ravara

Algebraic effects and handlers support composable and structured control-flow abstraction. However, existing designs of algebraic effects often require effects to be executed sequentially. This paper studies parallel algebraic effect…

编程语言 · 计算机科学 2021-10-15 Ningning Xie , Daniel D. Johnson , Dougal Maclaurin , Adam Paszke

We present a complete polymorphic effect inference algorithm for an ML-style language with handlers of not only exceptions, but of any other algebraic effect such as input & output, mutable references and many others. Our main aim is to…

编程语言 · 计算机科学 2015-07-01 Matija Pretnar

Algebraic effects are computational effects that can be represented by an equational theory whose operations produce the effects at hand. The free model of this theory induces the expected computational monad for the corresponding effect.…

计算机科学中的逻辑 · 计算机科学 2015-07-01 Gordon D Plotkin , Matija Pretnar

Functional programming offers the perfect ground for building correct-by-construction software. Languages of such paradigm normally feature state-of-the-art type systems, good abstraction mechanisms, and well-defined execution models. We…

计算机科学中的逻辑 · 计算机科学 2022-07-21 Daniel Castanho , Mário Pereira

Effect handlers have been gathering momentum as a mechanism for modular programming with user-defined effects. Effect handlers allow for non-local control flow mechanisms such as generators, async/await, lightweight threads and coroutines…

编程语言 · 计算机科学 2021-04-02 KC Sivaramakrishnan , Stephen Dolan , Leo White , Tom Kelly , Sadiq Jaffer , Anil Madhavapeddy

Algebraic effects and handlers are a powerful abstraction mechanism to represent and implement control effects. In this work, we study their extension with parametric polymorphism that allows abstracting not only expressions but also…

编程语言 · 计算机科学 2020-01-16 Taro Sekiyama , Atsushi Igarashi

Algebraic effect handlers is a programming paradigm where programmers can declare their own syntactic operations, and modularly define the semantics of these using effect handlers. However, we cannot directly define algebraic effect…

编程语言 · 计算机科学 2022-03-08 Cas van der Rest , Jaro Reinders , Casper Bach Poulsen

In this paper, we provide a comprehensive, hands-on tutorial on how to apply deductive verification to programs written in OCaml. In particular, we show how one can use the GOSPEL specification language and the Cameleer tool to conduct…

计算机科学中的逻辑 · 计算机科学 2024-07-23 Mário Pereira

Recent work has provided delimited control for Prolog to dynamically manipulate the program control-flow, and to implement a wide range of control-flow and dataflow effects on top of. Unfortunately, delimited control is a rather primitive…

编程语言 · 计算机科学 2016-08-03 Amr Hany Saleh , Tom Schrijvers

Albeit being a central notion of every programming language, formally and modularly reasoning about iteration proves itself to be a non-trivial feat, specially in the context of higher-order iteration. In this paper, we present a generic…

编程语言 · 计算机科学 2025-06-26 Ion Chirica , Mário Pereira

Algebraic effects & handlers are a modular approach for modeling side-effects in functional programming. Their syntax is defined in terms of a signature of effectful operations, encoded as a functor, that are plugged into the free monad;…

编程语言 · 计算机科学 2023-02-06 Birthe van den Berg , Tom Schrijvers

Pressed by the difficulty of writing asynchronous, event-driven code, mainstream languages have recently been building in support for a variety of advanced control-flow features. Meanwhile, experimental language designs have suggested…

编程语言 · 计算机科学 2020-10-20 Yizhou Zhang , Guido Salvaneschi , Andrew C. Myers

Many effect systems for algebraic effect handlers are designed to guarantee that all invoked effects are handled adequately. However, respective researchers have developed their own effect systems that differ in how to represent the…

编程语言 · 计算机科学 2024-04-26 Takuma Yoshioka , Taro Sekiyama , Atsushi Igarashi

We present a straightforward, sound Hindley-Milner polymorphic type system for algebraic effects and handlers in a call-by-value calculus, which allows type variable generalisation of arbitrary computations, not just values. This result is…

编程语言 · 计算机科学 2017-04-20 Ohad Kammar , Matija Pretnar

Model-checking is one of the most powerful techniques for verifying systems and programs, which since the pioneering results by Knapik et al., Ong, and Kobayashi, is known to be applicable to functional programs with higher-order types…

计算机科学中的逻辑 · 计算机科学 2023-09-01 Ugo Dal Lago , Alexis Ghyselen

Formal verification of complex algorithms is challenging. Verifying their implementations goes beyond the state of the art of current automatic verification tools and usually involves intricate mathematical theorems. Certifying algorithms…

计算机科学中的逻辑 · 计算机科学 2013-02-01 Eyad Alkassar , Sascha Böhme , Kurt Mehlhorn , Christine Rizkallah

Algebraic effects are computational effects that can be described with a set of basic operations and equations between them. As many interesting effect handlers do not respect these equations, most approaches assume a trivial theory,…

计算机科学中的逻辑 · 计算机科学 2020-05-29 Žiga Lukšič , Matija Pretnar

We study the algebraic effects and handlers as a way to support decision-making abstractions in functional programs, whereas a user can ask a learning algorithm to resolve choices without implementing the underlying selection mechanism, and…

编程语言 · 计算机科学 2022-03-30 Ugo Dal Lago , Francesco Gavazzo , Alexis Ghyselen
‹ 上一页 1 2 3 10 下一页 ›