中文
相关论文

相关论文: Typing constraint logic programs

200 篇论文

Delimited control is a powerful mechanism for programming language extension which has been recently proposed for Prolog (and implemented in SWI-Prolog). By manipulating the control flow of a program from inside the language, it enables the…

编程语言 · 计算机科学 2023-03-08 Alexander Vandenbroucke , Tom Schrijvers

Disentanglement is a runtime property of parallel programs guaranteeing that parallel tasks remain oblivious to each other's allocations. As demonstrated in the MaPLe compiler and run-time system, disentanglement can be exploited for fast…

编程语言 · 计算机科学 2025-12-03 Alexandre Moine , Stephanie Balzer , Alex Xu , Sam Westrick

**Context:** The design of static type systems that can validate dynamically-typed programs (**gradually**) is an ongoing challenge. A key difficulty is that dynamic code rarely follows datatype-driven design. Programs instead use runtime…

编程语言 · 计算机科学 2025-08-07 Hanwen Guo , Ben Greenman

A class of models is presented, in the form of continuation monads polymorphic for first-order individuals, that is sound and complete for minimal intuitionistic predicate logic. The proofs of soundness and completeness are constructive and…

逻辑 · 数学 2014-11-04 Danko Ilik

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

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…

Instruction subsets are heuristics that can reduce the size of the inductive programming search space by tens of orders of magnitude. Comprising many overlapping subsets of different sizes, they serve as predictions of the instructions…

人工智能 · 计算机科学 2024-07-02 Edward McDaid , Sarah McDaid

The semantics of the Prolog ``cut'' construct is explored in the context of some desirable properties of logic programming systems, referred to as the witness properties. The witness properties concern the operational consistency of…

编程语言 · 计算机科学 2007-05-23 James H. Andrews

The success of several constraint-based modeling languages such as OPL, ZINC, or COMET, appeals for better software engineering practices, particularly in the testing phase. This paper introduces a testing framework enabling automated test…

软件工程 · 计算机科学 2015-03-17 Nadjib Lazaar , Arnaud Gotlieb , Lebbah Yahia

Instrumenting programs for performing run-time checking of properties, such as regular shapes, is a common and useful technique that helps programmers detect incorrect program behaviors. This is specially true in dynamic languages such as…

Delimited control is a powerful mechanism for programming language extension which has been recently proposed for Prolog (and implemented in SWI-Prolog). By manipulating the control flow of a program from inside the language, it enables the…

编程语言 · 计算机科学 2021-08-21 Alexander Vandenbroucke , Tom Schrijvers

Constraint logic programming emerged in the late 80's as a highly declarative class of programming languages based on first-order logic and theories with decidable constraint languages, thereby subsuming Prolog restricted to equality…

计算机科学中的逻辑 · 计算机科学 2024-02-28 François Fages

Dynamic languages are praised for their flexibility and expressiveness, but static analysis often yields many false positives and verification is cumbersome for lack of structure. Hence, unit testing is the prevalent incomplete method for…

编程语言 · 计算机科学 2015-02-06 Robert Jakob , Peter Thiemann

Typestate systems ensure many desirable properties of imperative programs, including initialization of object fields and correct use of stateful library interfaces. Abstract sets with cardinality constraints naturally generalize typestate…

编程语言 · 计算机科学 2013-02-14 Bruno Marnette , Viktor Kuncak , Martin Rinard

We introduce a formal meta-language for probabilistic programming, capable of expressing both programs and the type systems in which they are embedded. We are motivated here by the desire to allow an AGI to learn not only relevant knowledge…

人工智能 · 计算机科学 2022-08-17 Jonathan Warrell , Alexey Potapov , Adam Vandervorst , Ben Goertzel

Type analyses of logic programs which aim at inferring the types of the program being analyzed are presented in a unified abstract interpretation-based framework. This covers most classical abstract interpretation-based type analyzers for…

软件工程 · 计算机科学 2009-09-29 Claudio Vaucheret , Francisco Bueno

Type-free systems of logic are designed to consistently handle significant instances of self-reference. Some consistent type-free systems also have the feature of allowing the sort of general abstraction or comprehension principle that…

逻辑 · 数学 2007-05-23 Wayne Aitken , Jeffrey A. Barrett

The Parameterised Model Checking Problem asks whether an implementation Impl(t) satisfies a specification Spec(t) for all instantiations of parameter t. In general, t can determine numerous entities: the number of processes used in a…

计算机科学中的逻辑 · 计算机科学 2015-07-01 Tomasz Mazur , Gavin Lowe

The work presented in this thesis seeks to improve programmer productivity in the following ways: - by reducing the amount of code that has to be written to construct an application; - by increasing the reliability of the code written; and…

编程语言 · 计算机科学 2010-06-18 Graham Kirby

In functional programming, datatypes a la carte provide a convenient modular representation of recursive datatypes, based on their initial algebra semantics. Unfortunately it is highly challenging to implement this technique in proof…

计算机科学中的逻辑 · 计算机科学 2015-09-11 Paolo Torrini , Tom Schrijvers