中文
相关论文

相关论文: A Compiler for Ordered Logic Programs

200 篇论文

This paper presents a language, Alda, that supports all of logic rules, sets, functions, updates, and objects as seamlessly integrated built-ins. The key idea is to support predicates in rules as set-valued variables that can be used and…

编程语言 · 计算机科学 2023-05-31 Yanhong A. Liu , Scott D. Stoller , Yi Tong , Bo Lin

An approach to the revision of logic programs under the answer set semantics is presented. For programs P and Q, the goal is to determine the answer sets that correspond to the revision of P by Q, denoted P * Q. A fundamental principle of…

人工智能 · 计算机科学 2010-07-29 James P. Delgrande

Processing programs as data is one of the successes of functional and logic programming. Higher-order functions, as program-processing programs are called in functional programming, and meta-programs, as they are called in logic…

计算机科学中的逻辑 · 计算机科学 2020-04-21 François Bry

Constructor-Based Conditional Rewriting Logic is a general framework for integrating first-order functional and logic programming which gives an algebraic semantics for non-deterministic functional-logic programs. In the context of this…

计算机科学中的逻辑 · 计算机科学 2007-05-23 Juan M. Molina , Ernesto Pimentel

Disjunctive Logic Programming (DLP) is a very expressive formalism: it allows for expressing every property of finite structures that is decidable in the complexity class SigmaP2 (= NP^NP). Despite this high expressiveness, there are some…

人工智能 · 计算机科学 2008-02-22 Wolfgang Faber , Gerald Pfeifer , Nicola Leone , Tina Dell'Armi , Giuseppe Ielpa

Types in logic programming have focused on conservative approximations of program semantics by regular types, on one hand, and on type systems based on a prescriptive semantics defined for typed programs, on the other. In this paper, we…

计算机科学中的逻辑 · 计算机科学 2019-09-19 João Barbosa , Mário Florido , Vítor Santos Costa

Large language models (LLMs) have proven to be highly effective for solving complex reasoning tasks. Surprisingly, their capabilities can often be improved by iterating on previously generated solutions. In this context, a reasoning plan…

Epistemic Logic Programs (ELPs), extend Answer Set Programming (ASP) with epistemic operators. The semantics of such programs is provided in terms of world views, which are sets of belief sets, i.e., syntactically, sets of sets of atoms.…

人工智能 · 计算机科学 2024-11-20 Stefania Costantini , Andrea Formisano

Machine learning models, and in particular language models, are being applied to various tasks that require reasoning. While such models are good at capturing patterns their ability to reason in a trustable and controlled manner is…

计算与语言 · 计算机科学 2023-11-07 Kristoffer Æsøy , Ana Ozaki

We show how to give a coherent semantics to programs that are well-specified in a version of separation logic for a language with higher types: idealized algol extended with heaps (but with immutable stack variables). In particular, we…

计算机科学中的逻辑 · 计算机科学 2017-01-11 Lars Birkedal , Noah Torp-Smith , Hongseok Yang

This note presents a historical survey of informal semantics that are associated with logic programming under answer set semantics. We review these in uniform terms and align them with two paradigms: Answer Set Programming and ASP-Prolog --…

人工智能 · 计算机科学 2024-07-10 Yuliya Lierler

This paper proposes the use of Constraint Logic Programming (CLP) to model SQL queries in a data-independent abstract layer by focusing on some semantic properties for signalling possible errors in such queries. First, we define a…

数据库 · 计算机科学 2020-02-19 Fernando Sáenz-Pérez

We present a program synthesis method based on unfold/fold transformation rules which can be used for deriving terminating definite logic programs from formulas of the Weak Monadic Second Order theory of one successor (WS1S). This synthesis…

编程语言 · 计算机科学 2007-05-23 F. Fioravanti , A. Pettorossi , M. Proietti

Logic program transformation by the unfold/fold method ad- vocates the writing of correct logic programs via the application of some rules to a naive program. This work focuses on how to overcome subgoal- introduction difficulties in…

编程语言 · 计算机科学 2018-10-05 Manuel Hernández

Rules complement and extend ontologies on the Semantic Web. We refer to these rules as onto-relational since they combine DL-based ontology languages and Knowledge Representation formalisms supporting the relational data model within the…

人工智能 · 计算机科学 2012-10-30 Francesca A. Lisi

The paper introduces the notion of off-line justification for Answer Set Programming (ASP). Justifications provide a graph-based explanation of the truth value of an atom w.r.t. a given answer set. The paper extends also this notion to…

人工智能 · 计算机科学 2008-12-04 Enrico Pontelli , Tran Cao Son , Omar Elkhatib

Ordered logics and type systems have been used in a variety of applications including computational linguistics, memory allocation, stream processing, logical frameworks, parametricity, and enforcing security protocols. In most…

计算机科学中的逻辑 · 计算机科学 2026-05-20 Sophia Roshal , Frank Pfenning

In this paper, we explore the concept of modularity in first-order answer set programming (ASP). We introduce a new formalism called parametric modular logic programs, which allows defining subprograms with parameters and intensionality…

人工智能 · 计算机科学 2026-05-22 Jorge Fandinno , Yuliya Lierler , Torsten Schaub

Large Language Models (LLMs) trained on petabytes of data are highly compressed repositories of a significant proportion of the knowledge accumulated and distilled so far. In this paper we study techniques to elicit this knowledge in the…

人工智能 · 计算机科学 2025-02-14 Paul Tarau

Large language models (LLMs) have taken the world by storm by making many previously difficult uses of AI feasible. LLMs are controlled via highly expressive textual prompts and return textual answers. Unfortunately, this unstructured text…

人工智能 · 计算机科学 2024-10-28 Mandana Vaziri , Louis Mandel , Claudio Spiess , Martin Hirzel