中文
相关论文

相关论文: Typing constraint logic programs

200 篇论文

Clocked Type Theory (CloTT) is a type theory for guarded recursion useful for programming with coinductive types, allowing productivity to be encoded in types, and for reasoning about advanced programming language features using an abstract…

计算机科学中的逻辑 · 计算机科学 2018-04-19 Bassel Mannaa , Rasmus Ejlers Møgelberg

Language models generate functionally correct code that tends toward excessive verbosity, with elaborate documentation and defensive patterns that diverge from human baselines. Two prompting mechanisms have emerged for stylistic control:…

软件工程 · 计算机科学 2025-11-19 Jeremiah Bohr

We present the guarded lambda-calculus, an extension of the simply typed lambda-calculus with guarded recursive and coinductive types. The use of guarded recursive types ensures the productivity of well-typed programs. Guarded recursive…

计算机科学中的逻辑 · 计算机科学 2019-03-14 Ranald Clouston , Aleš Bizjak , Hans Bugge Grathwohl , Lars Birkedal

One of the most attractive features of untyped languages is the flexibility in term creation and manipulation. However, with such power comes the responsibility of ensuring the correctness of these operations. A solution is adding run-time…

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

In the theory of programming languages, type inference is the process of inferring the type of an expression automatically, often making use of information from the context in which the expression appears. Such mechanisms turn out to be…

计算机科学中的逻辑 · 计算机科学 2012-05-10 Jeremy Avigad

Many type systems have been presented in the literature for variants of the pi-calculus, but none of them are able to handle composite subjects such as those found in the language epi, which features polyadic synchronisation. The purpose of…

编程语言 · 计算机科学 2024-11-22 Luca Aceto , Daniele Gorla , Stian Lybech

Type qualifiers offer a lightweight mechanism for enriching existing type systems to enforce additional, desirable, program invariants. They do so by offering a restricted but effective form of subtyping. While the theory of type qualifiers…

编程语言 · 计算机科学 2024-02-27 Edward Lee , Yaoyu Zhao , James You , Kavin Satheeskumar , Ondřej Lhoták , Jonathan Brachthäuser

We propose abstract compilation for precise static type analysis of object-oriented languages based on coinductive logic programming. Source code is translated to a logic program, then type-checking and inference problems amount to queries…

编程语言 · 计算机科学 2017-09-15 Luca Franceschini , Davide Ancona , Ekaterina Komendantskaya

Dynamically typed languages, like Erlang, allow developers to quickly write programs without explicitly providing any type information on expressions or function definitions. However, this feature makes those languages less reliable than…

Polymorphic variants are a useful feature of the OCaml language whose current definition and implementation rely on kinding constraints to simulate a subtyping relation via unification. This yields an awkward formalization and results in a…

编程语言 · 计算机科学 2016-07-06 Giuseppe Castagna , Tommaso Petrucciani , Kim Nguyen

We propose a special-purpose class of compression algorithms for efficient compression of Prolog programs. It is a dictionary-based compression method, specially designed for the compression of Prolog code, and therefore we name it PCA…

编程语言 · 计算机科学 2007-05-23 Alin Suciu , Kalman Pusztai

Current machine learning has made great progress on computer vision and many other fields attributed to the large amount of high-quality training samples, while it does not work very well on genomic data analysis, since they are notoriously…

机器学习 · 计算机科学 2020-09-04 Ziyi Yang , Jun Shu , Yong Liang , Deyu Meng , Zongben Xu

Tabled evaluation is an implementation technique that solves some problems of traditional Prolog systems in dealing with recursion and redundant computations. Most tabling engines determine if a tabled subgoal will produce or consume…

编程语言 · 计算机科学 2011-07-29 Flavio Cruz , Ricardo Rocha

Bidirectional typechecking, in which terms either synthesize a type or are checked against a known type, has become popular for its applicability to a variety of type systems, its error reporting, and its ease of implementation. Following…

编程语言 · 计算机科学 2020-09-22 Jana Dunfield , Neelakantan R. Krishnaswami

The framework Pure Type System (PTS) offers a simple and general approach to designing and formalizing type systems. However, in the presence of dependent types, there often exist certain acute problems that make it difficult for PTS to…

编程语言 · 计算机科学 2017-03-28 Hongwei Xi

Graded type theories are an emerging paradigm for augmenting the reasoning power of types with parameterizable, fine-grained analyses of program properties. There have been many such theories in recent years which equip a type theory with…

计算机科学中的逻辑 · 计算机科学 2021-02-23 Benjamin Moon , Harley Eades , Dominic Orchard

Continual learning empowers models to adapt autonomously to the ever-changing environment or data streams without forgetting old knowledge. Prompt-based approaches are built on frozen pre-trained models to learn the task-specific prompts…

计算机视觉与模式识别 · 计算机科学 2024-03-15 Zhanxin Gao , Jun Cen , Xiaobin Chang

Tracers provide users with useful information about program executions. In this article, we propose a ``tracer driver''. From a single tracer, it provides a powerful front-end enabling multiple dynamic analysis tools to be easily…

软件工程 · 计算机科学 2008-12-18 Ludovic Langevine , Mireille Ducasse

Predicate subtypes provide an attractive mechanism to specify range constraints on variable declarations. This paper discusses how we add support for predicate subtypes to the VerCors program verifier. Our approach automatically generates…

计算机科学中的逻辑 · 计算机科学 2026-04-09 Tycho Dubbeling , Marieke Huisman , Ömer Şakar

Session types have been proposed as a means of statically verifying implementations of communication protocols. Although prior work has been successful in verifying some classes of protocols, it does not cope well with parameterized,…

编程语言 · 计算机科学 2012-08-24 Minas Charalambides , Peter Dinges , Gul Agha