中文
相关论文

相关论文: Using Modes to Ensure Subject Reduction for Typed …

200 篇论文

Designing and implementing typed programming languages is hard. Every new type system feature requires extending the metatheory and implementation, which are often complicated and fragile. To ease this process, we would like to provide…

编程语言 · 计算机科学 2020-08-18 Jana Dunfield

In this essay, I present the advantages and, I dare say, the beauty of programming in a language with set-theoretic types, that is, types that include union, intersection, and negation type connectives. I show by several examples how…

编程语言 · 计算机科学 2024-11-18 Giuseppe Castagna

Semantic subtyping is an approach to define subtyping relations for type systems featuring union and intersection type connectives. It has been studied only for strict languages, and it is unsound for non-strict semantics. In this work, we…

编程语言 · 计算机科学 2021-11-15 Tommaso Petrucciani , Giuseppe Castagna , Davide Ancona , Elena Zucca

Modal types -- types that are derived from proof systems of modal logic -- have been studied as theoretical foundations of metaprogramming, where program code is manipulated as first-class values. In modal type systems, modality corresponds…

计算机科学中的逻辑 · 计算机科学 2023-01-06 Yuito Murase , Yuichi Nishiwaki , Atsushi Igarashi

Part of the theory of logic programming and nonmonotonic reasoning concerns the study of fixed-point semantics for these paradigms. Several different semantics have been proposed during the last two decades, and some have been more…

人工智能 · 计算机科学 2007-05-23 Pascal Hitzler , Matthias Wendt

Design patterns are distilled from many real systems to catalog common programming practice. However, some object-oriented design patterns are distorted or overly complicated because of the lack of supporting programming language constructs…

编程语言 · 计算机科学 2019-06-03 Gerald Baumgartner , Konstantin Läufer , Vincent F. Russo

This paper presents preliminary work on a general system for integrating dependent types into substructural type systems such as linear logic and linear type theory. Prior work on this front has generally managed to deliver type systems…

计算机科学中的逻辑 · 计算机科学 2024-01-30 C. B. Aberlé

Tabled logic programming is receiving increasing attention in the Logic Programming community. It avoids many of the shortcomings of SLD execution and provides a more flexible and often extremely efficient execution mechanism for logic…

计算机科学中的逻辑 · 计算机科学 2007-05-23 Sofie Verbaeten , Danny De Schreye , Konstantinos Sagonas

Strategy languages enable programmers to compose rewrite rules into strategies and control their application. This is useful in programming languages, e.g., for describing program transformations compositionally, but also in automated…

编程语言 · 计算机科学 2023-04-28 Rongxiao Fu , Ornela Dardha , Michel Steuwer

Deadlocks occur in concurrent programs as a consequence of cyclic resource acquisition between threads. In this paper we present a novel type system that guarantees deadlock freedom for a language with references, unstructured locking…

编程语言 · 计算机科学 2011-10-20 Prodromos Gerakios , Nikolaos Papaspyrou , Konstantinos Sagonas

We present a method for synthesizing recursive functions that provably satisfy a given specification in the form of a polymorphic refinement type. We observe that such specifications are particularly suitable for program synthesis for two…

编程语言 · 计算机科学 2016-04-22 Nadia Polikarpova , Ivan Kuraj , Armando Solar-Lezama

Recently we presented a concise survey of the formulation of the induction and coinduction principles, and some concepts related to them, in programming languages type theory and four other mathematical disciplines. The presentation in type…

计算机科学中的逻辑 · 计算机科学 2019-03-14 Moez A. AbdelGawad

We introduce the abstract notions of "monadic operational semantics", a small-step semantics where computational effects are modularly modeled by a monad, and "type-and-effect system", including "effect types" whose interpretation lifts…

编程语言 · 计算机科学 2025-04-15 Francesco Dagnino , Paola Giannini , Elena Zucca

We present a logically principled foundation for systematizing, in a way that works with any computational effect and evaluation order, SMT constraint generation seen in refinement type systems for functional programming languages. By…

编程语言 · 计算机科学 2023-08-21 Dimitrios J. Economou , Neel Krishnaswami , Jana Dunfield

Theory and methods to obtain parametric reduced-order models by moment matching are presented. The definition of the parametric moment is introduced, and methods (model-based and data-driven) for the approximation of the parametric moment…

系统与控制 · 电气工程与系统科学 2025-06-13 Hanqing Zhang , Junyu Mao , Mohammad Fahim Shakib , Giordano Scarciotti

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

Abductive logic programming offers a formalism to declaratively express and solve problems in areas such as diagnosis, planning, belief revision and hypothetical reasoning. Tabled logic programming offers a computational mechanism that…

计算机科学中的逻辑 · 计算机科学 2016-08-15 José Júlio Alferes , Luís Moniz Pereira , Terrance Swift

In logic programming, dynamic scheduling refers to a situation where the selection of the atom in each resolution (computation) step is determined at runtime, as opposed to a fixed selection rule such as the left-to-right one of Prolog.…

计算机科学中的逻辑 · 计算机科学 2007-05-23 Annalisa Bossi , Sandro Etalle , Sabina Rossi , Jan-Georg Smaus

Program correctness (in imperative and functional programming) splits in logic programming into correctness and completeness. Completeness means that a program produces all the answers required by its specification. Little work has been…

计算机科学中的逻辑 · 计算机科学 2014-11-13 Wlodzimierz Drabent

Language models have shown remarkable proficiency in code generation; nevertheless, ensuring type correctness remains a challenge. Although traditional methods, such as constrained decoding, alleviate this problem by externally rejecting…

编程语言 · 计算机科学 2026-02-09 Zhechong Huang , Zhao Zhang , Ruyi Ji , Tingxuan Xia , Qihao Zhu , Qinxiang Cao , Zeyu Sun , Wiggin Zhou , Yingfei Xiong