中文
相关论文

相关论文: An Abstract Semantics for Inference of Types and E…

200 篇论文

The introduction of first-class type classes in the Coq system calls for re-examination of the basic interfaces used for mathematical formalization in type theory. We present a new set of type classes for mathematics and take full advantage…

计算机科学中的逻辑 · 计算机科学 2011-02-08 Bas Spitters , Eelis van der Weegen

We propose a type-based analysis to infer the session protocols of channels in an ML-like concurrent functional language. Combining and extending well-known techniques, we develop a type-checking system that separates the underlying ML type…

编程语言 · 计算机科学 2016-04-14 Carlo Spaccasassi , Vasileios Koutavas

We explore denotational interpreters: denotational semantics that produce coinductive traces of a corresponding small-step operational semantics. By parameterising our denotational interpreter over the semantic domain and then varying it,…

编程语言 · 计算机科学 2024-07-15 Sebastian Graf , Simon Peyton Jones , Sven Keidel

Predictive models are fundamental to engineering reliable software systems. However, designing conservative, computable approximations for the behavior of programs (static analyses) remains a difficult and error-prone process for modern…

编程语言 · 计算机科学 2011-05-10 David Van Horn , Matthew Might

We develop semantics and syntax for bicategorical type theory. Bicategorical type theory features contexts, types, terms, and directed reductions between terms. This type theory is naturally interpreted in a class of structured…

计算机科学中的逻辑 · 计算机科学 2023-10-13 Benedikt Ahrens , Paige Randall North , Niels van der Weide

Languages may encode similar meanings using different sentence structures. This makes it a challenge to provide a single set of formal rules that can derive meanings from sentences in many languages at once. To overcome the challenge, we…

计算与语言 · 计算机科学 2024-03-05 Laurestine Bradford , Timothy John O'Donnell , Siva Reddy

We consider the problem of modularizing control flow in a generic abstract interpretation framework. A generic abstract interpretation framework is not truly flexible if it does not allow interpreting with different path- and…

编程语言 · 计算机科学 2026-02-19 Cade Lueker , Andrew Fox , Bor-Yuh Evan Chang

Behavioural type systems ensure more than the usual safety guarantees of static analysis. They are based on the idea of "types-as-processes", providing dedicated type algebras for particular properties, ranging from protocol compatibility…

编程语言 · 计算机科学 2014-08-08 Simon J. Gay , Nils Gesbert , António Ravara

Wadler and Thiemann unified type-and-effect systems with monadic semantics via a syntactic correspondence and soundness results with respect to an operational semantics. They conjecture that a general, "coherent" denotational semantics can…

编程语言 · 计算机科学 2014-01-22 Dominic Orchard , Tomas Petricek , Alan Mycroft

Benefits of static type systems are well-known: they offer guarantees that no type error will occur during runtime and, inherently, inferred types serve as documentation on how functions are called. On the other hand, many type systems have…

编程语言 · 计算机科学 2020-08-31 Isabel Wingen , Philipp Körner

Session types have emerged as a powerful paradigm for structuring communication-based programs. They guarantee type soundness and session fidelity for concurrent programs with sophisticated communication protocols. As type soundness proofs…

编程语言 · 计算机科学 2019-08-09 Peter Thiemann

A type system is introduced for a generic Object Oriented programming language in order to infer resource upper bounds. A sound andcomplete characterization of the set of polynomial time computable functions is obtained. As a consequence,…

编程语言 · 计算机科学 2018-02-20 Emmanuel Hainry , Romain Péchoux

This paper presents and extends our type theoretical framework for a compositional treatment of natural language semantics with some lexical features like coercions (e.g. of a town into a football club) and copredication (e.g. on a town as…

计算机科学中的逻辑 · 计算机科学 2013-05-06 Christian Retoré

ReScript is a strongly typed language that targets JavaScript, as an alternative to gradually typed languages, such as TypeScript. In this paper, we present a sound type system for data-flow analysis for a subset of the ReScript language,…

计算机科学中的逻辑 · 计算机科学 2024-11-01 Nicky Ask Lund , Hans Hüttel

The Web is evolving from a medium that humans browse to an environment where software agents act on behalf of users. Advances in large language models (LLMs) make natural language a practical interface for goal-directed tasks, yet most…

人工智能 · 计算机科学 2026-02-20 Linxi Jiang , Rui Xi , Zhijie Liu , Shuo Chen , Zhiqiang Lin , Suman Nath

Programming languages with algebraic effects often track the computations' effects using type-and-effect systems. In this paper, we propose to view an algebraic effect theory of a computation as a variable context; consequently, we propose…

编程语言 · 计算机科学 2021-08-24 Nikita Zyuzin , Aleksandar Nanevski

In recent projects on operating-system verification, C and C++ data types are often formalized using a semantics that does not fully specify the precise byte encoding of objects. It is well-known that such an underspecified data-type…

计算机科学中的逻辑 · 计算机科学 2012-11-28 Hendrik Tews , Marcus Völp , Tjark Weber

We present a type system that combines, in a controlled way, first-order polymorphism with intersectiontypes, union types, and subtyping, and prove its safety. We then define a type reconstruction algorithm that issound and terminating.…

编程语言 · 计算机科学 2023-11-20 Giuseppe Castagna , Mickaël Laurent , Kim Nguyen

Type-and-effect systems incorporate information about the computational effects, e.g., state mutation, probabilistic choice, or I/O, a program phrase may invoke alongside its return value. A semantics for type-and-effect systems involves a…

编程语言 · 计算机科学 2018-04-11 Ohad Kammar , Dylan McDermott

Context-free session types describe structured patterns of communication on heterogeneously-typed channels, allowing the specification of protocols unconstrained by tail recursion. The enhanced expressive power provided by non-regular…

编程语言 · 计算机科学 2023-09-21 Gil Silva , Andreia Mordido , Vasco T. Vasconcelos