We explore different ways of implementing temporal constraints expressed in an extension of Answer Set Programming (ASP) with language constructs from dynamic logic. Foremost, we investigate how automata can be used for enforcing such constraints. The idea is to transform a dynamic constraint into an automaton expressed in terms of a logic program that enforces the satisfaction of the original constraint. What makes this approach attractive is its independence of time stamps and the potential to detect unsatisfiability. On the one hand, we elaborate upon a transformation of dynamic formulas into alternating automata that relies on meta-programming in ASP. This is the first application of reification applied to theory expressions in gringo. On the other hand, we propose two transformations of dynamic formulas into monadic second-order formulas. These can then be used by off-the-shelf tools to construct the corresponding automata. We contrast both approaches empirically with the one of the temporal ASP solver telingo that directly maps dynamic constraints to logic programs. Since this preliminary study is restricted to dynamic formulas in integrity constraints, its implementations and (empirical) results readily apply to conventional linear dynamic logic, too.
Justifications for Logic Programs under Answer Set Semantics
New Mexico State University(新墨西哥州立大学)
本文介绍了应答集编程(ASP)中的离线调整的概念。理由提供了一个基于图形的解释原子w.r.t.的真值。给定的答案集。本文还扩展了这一概念,以提供合理的原子在计算的答案集(在线理由),并提出了一个集成的在线理由内的计算模型Smodels。离线和在线的理由提供了有用的工具,以加强对ASP的理解,他们提供了一个基本的数据结构,以支持方法和工具,调试答案集程序。已在ASP-PROGRAM中开发了一个初步实施方案。(To逻辑程序设计理论与实践(Theory and Practice of Logic Programming,TPLP)
A Preliminary Study of RAG for Taiwanese Historical Archives
Department of Information Management, National Taiwan University(国家台湾大学信息管理系);Department of Computer Science and Information Engineering, National Taiwan University(国家台湾大学计算机科学与信息工程系);Graduate Institute of Communication Engineering, National Taiwan University(国家台湾大学通信工程研究所);Graduate Institute of Networking and Multimedia, National Taiwan University(国家台湾大学网络与多媒体研究所)