中文
相关论文

相关论文: A compositional Semantics for CHR

200 篇论文

Graph transformation systems (GTS) and constraint handling rules (CHR) are non-deterministic rule-based state transition systems. CHR is well-known for its powerful confluence and program equivalence analyses, for which we provide the basis…

计算机科学中的逻辑 · 计算机科学 2010-06-16 Frank Raiser , Thom Frühwirth

We present and formalize h, a core (or "plank") calculus that can serve as the foundation for several compiler specification languages, notably CRSX (Combinatory Reductions Systems with eXtensions), HACS (Higher-order Attribute Contraction…

编程语言 · 计算机科学 2017-11-10 Cynthia Kop , Kristoffer Rose

Constraint Handling Rules provide descriptions for constraint solvers. However, they fall short when those constraints specify some binding structure, like higher-rank types in a constraint-based type inference algorithm. In this paper, the…

计算机科学中的逻辑 · 计算机科学 2017-07-11 Alejandro Serrano , Jurriaan Hage

Answer-set programming (ASP) has emerged recently as a viable programming paradigm. We describe here an ASP system, DATALOG with constraints or DC, based on non-monotonic logic. Informally, DC theories consist of propositional clauses…

人工智能 · 计算机科学 2007-05-23 Deborah East , Miroslaw Truszczynski

Many real world problems naturally appear as constraints satisfaction problems (CSP), for which very efficient algorithms are known. Most of these involve the combination of two techniques: some direct propagation of constraints between…

人工智能 · 计算机科学 2013-04-12 Denis Berthier

Despite decades of research, there are still a number of concepts commonly found in software programs that are considered challenging for verification: among others, such concepts include concurrency, and the compositional analysis of…

计算机科学中的逻辑 · 计算机科学 2013-02-19 Philipp Rümmer , Hossein Hojjat , Viktor Kuncak

We shift the QCSP (Quantified Constraint Satisfaction Problems) framework to the QCHR (Quantified Constraint Handling Rules) framework by enabling dynamic binder and access to user-defined constraints. QCSP offers a natural framework to…

人工智能 · 计算机科学 2019-09-19 Vincent Barichard , Igor Stéphan

Language models (LMs) can generate code but cannot guarantee its correctness$\unicode{x2014}$often producing outputs that violate type safety, program invariants, or other semantic properties. Constrained decoding offers a solution by…

编程语言 · 计算机科学 2025-12-03 Shaan Nagy , Timothy Zhou , Nadia Polikarpova , Loris D'Antoni

Confluence denotes the property of a state transition system that states can be rewritten in more than one way yielding the same result. Although it is a desirable property, confluence is often too strict in practical applications because…

计算机科学中的逻辑 · 计算机科学 2018-02-12 Daniel Gall , Thom Frühwirth

The most advanced implementation of adaptive constraint processing with Constraint Handling Rules (CHR) allows the application of intelligent search strategies to solve Constraint Satisfaction Problems (CSP). This presentation compares an…

人工智能 · 计算机科学 2016-08-31 Armin Wolf

We present a new approach to HPSG processing: compiling HPSG grammars expressed as type constraints into definite clause programs. This provides a clear and computationally useful correspondence between linguistic theories and their…

cmp-lg · 计算机科学 2008-02-03 Thilo Goetz , Walt Detmar Meurers

Catamorphisms are functions that are recursively defined on list and trees and, in general, on Algebraic Data Types (ADTs), and are often used to compute suitable abstractions of programs that manipulate ADTs. Examples of catamorphisms…

计算机科学中的逻辑 · 计算机科学 2025-02-19 Emanuele De Angelis , Fabio Fioravanti , Alberto Pettorossi , Maurizio Proietti

This paper presents the constrained Hybrid Metaheuristic (cHM) algorithm as a general framework for continuous optimisation. Unlike many existing metaheuristics that are tailored to specific function classes or problem domains, cHM is…

神经与进化计算 · 计算机科学 2026-03-20 Piotr A. Kowalski , Szymon Kucharczyk , Jacek Mańdziuk

We encode arrays as functions which, in turn, are encoded as sets of ordered pairs. The set cardinality of each of these functions coincides with the length of the array it is representing. Then we define a fragment of set theory that is…

计算机科学中的逻辑 · 计算机科学 2026-05-12 Maximiliano Cristiá , Gianfranco Rossi

We provide a denotational semantics for first-order logic that captures the two-level view of the computation process typical for constraint programming. At one level we have the usual program execution. At the other level an automatic…

计算机科学中的逻辑 · 计算机科学 2007-05-23 K. R. Apt , C. F. M. Vermeulen

Techniques for runtime verification often utilise specification languages that are (i) reasonably expressive, and (ii) relatively abstract (i.e. they operate on a level of abstraction that separates them from the system being monitored).…

计算机科学中的逻辑 · 计算机科学 2018-06-11 Joshua Heneage Dawes , Giles Reger

We present a method for automatic inference of conditions on the initial states of a program that guarantee that the safety assertions in the program are not violated. Constrained Horn clauses (CHCs) are used to model the program and…

计算机科学中的逻辑 · 计算机科学 2018-04-18 Bishoksan Kafle , John P. Gallagher , Graeme Gange , Peter Schachte , Harald Sondergaard , Peter J. Stuckey

Compositional relational reasoning (CRR) is a hallmark of human intelligence, but we lack a clear understanding of whether and how existing transformer large language models (LLMs) can solve CRR tasks. To enable systematic exploration of…

计算与语言 · 计算机科学 2024-12-18 Ruikang Ni , Da Xiao , Qingye Meng , Xiangyu Li , Shihui Zheng , Hongliang Liang

We present the first formalization and metatheory of language soundness for a user-schedulable language, the widely used array processing language Halide. User-schedulable languages strike a balance between abstraction and control in…

编程语言 · 计算机科学 2022-10-31 Alex Reinking , Gilbert Louis Bernstein , Jonathan Ragan-Kelley

Rewriting logic is naturally concurrent: several subterms of the state term can be rewritten simultaneously. But state terms are global, which makes compositionality difficult to achieve. Compositionality here means being able to decompose…

计算机科学中的逻辑 · 计算机科学 2020-01-31 Óscar Martín , Alberto Verdejo , Narciso Martí-Oliet