A Study of Compatibility and Loop Formulas of Normal Logic Programs
- Author
- WangYiSong
- Advisor
- ZhangMingYi , LinFangZhen
- School
- Guizhou University
- Major
- Computer Software and Theory
- Classification
- TP311.11 Programming method
- Degree
- Doctoral dissertation
- Year
- 2007
- Downloads
- 94
- Citations
- 2
Abstract
An arbitrary (normal) logic program possibly has one answer set, more than one answer set or no answer set at all. A logic program is consistent (or coherent) if it has at least one answer set. If there is a polynomial time algorithm to compute an answer set of a given logic program then we say that it is tractable. Generally, it is NP-complete to decide whether or not a logic program is consistent. Thus it makes sense to investigate the classes of tractable, consistent and far-range enough logic programs for which there are polynomial time algorithms to compute an answer set.To our best knowledge, call-consistent logic programs and FC-normal logic programs are two well-known subclasses of consistent logic programs which are tractable. Is there any other logic programs that are tractable and consistent?We propose a class of consistent logic programs—weakly auto-compatible logic programs, which strictly contains the class of FC-normal logic programs. And there is a polynomial time algorithm to compute an answer set of a logic program in the category. The following results are established:(1) According to our notions of compatibility and A operator, a sufficient and necessary condition for consistency of normal logic programs is obtained.(2) Two essential characterizations of weakly auto-compatible normal logic programs are revealed.(3) The complexities of credulous reasoning and skeptical reasoning of weakly auto-compatible logic programs are NP-complete and co-NP-complete respectively. The two issues for FC-normal logic programs are the same difficulty as that of weakly auto-compatible logic programs. The problem that whether or not a logic program is weakly auto-compatible is co-NP-complete.(4) Weakly auto-compatible logic programs and call-consistency logic programs are different in the sense that they are not comparable. It is the same case even restricting logic programs to be WF-irreducible.(5) Additionally, we revealed that (a) for an FC-normal logic program P, there exists the least FC-normal consistency property over P witnessing for the FC-normality of P and (b) call-consistency is equivalent to Lifschitz’s order-consistency. They are decidable in polynomial time. Moreover, FC-normal logic programs are not comparable with call-consistent logic programs yet.ASSAT evaluates answer sets of a logic program by resorting to SAT solvers. The basic notions are loops and loop formulas of a logic program which initiated an alternative methodology to evaluate answer sets of a logic program. It is to transform a logic program to a prepositional theory such that the models of the resulted prepositional theory exactly correspond to the answer sets of the original logic program. These notions have been extended to disjunctive logic programs, logic programs with nested expressions and circumscription. A newfangled idea is to extend them from prepositional case to first-order case, i.e., allowing variables to appear in loops and then also loop formulas. We initially set up these notions and obtain the following results:(1) Together with Clark’s completion, our notion of first-order loop formulas captures the answer set semantics on instantiation-basis.(2) To check whether a normal logic program with variables has only a finite number of non-equivalent first-order loops is decidable in polynomial time if the maximum arity of predicates is fixed.
Table of contents
Abstract 2-3
preamble 3-12
Table of Contents 12-14
List of Tables 14-15
List of Figures 15-16
Abstract 16-18
1 Introduction 18-25
1.1 Motivations 19-21
1.2 Problems 21-22
1.3 Results 22-25
2 Normal Logic Programming 25-55
2.1 Syntax 25-28
2.2 Semantics 28-34
2.2.1 Least model 28-30
2.2.2 Stable model 30-32
2.2.3 Well-founded model 32-34
2.3 Computation 34-42
2.3.1 Complexity 34-37
2.3.2 Smodels 37-39
2.3.3 ASSAT 39-42
2.4 Syntactic extensions 42-48
2.4.1 Constraints and classical negation 42-45
2.4.2 Disjunctions 45-46
2.4.3 Nested expressions 46-48
2.5 Applications 48-55
2.5.1 Planning 49-50
2.5.2 CSP 50-51
2.5.3 Combinational graph problems 51-53
2.5.4 Timetabling 53-55
3 Weakly Auto-compatible Logic Programs 55-90
3.1 Motivations 55-56
3.2 Weakly auto-compatibility 56-73
3.2.1 Properties 59-64
3.2.2 Algorithms 64-69
3.2.3 Reasoning complexities 69-73
3.3 Comparison 73-88
3.3.1 FC-normality 73-79
3.3.2 Call-consistency and order-consistency 79-87
3.3.3 WF-irreducible 87-88
3.4 Concluding remarks 88-90
4 First-order Loop Formulas 90-116
4.1 Motivations 90-91
4.2 Preliminaries 91-96
4.3 First-order loops and loop formulas 96-110
4.4 Some properties 110-114
4.5 Concluding remarks 114-116
5 Conclusion and Future Work 116-120
5.1 Conclusion 116
5.2 Further work 116-120
Bibliography 120-127
A The Encodings of Various Problems 127-134
A.1 Planning domain 127-130
A.1.1 The block world panning, Niemel (?) 's version 127-128
A.1.2 The block world planning, Lifschitz's version 128-129
A.1.3 Hanoi tower planning 129-130
A.2 Combinatorial graph domain 130-131
A.2.1 Independent set 130
A.2.2 Maximal matching 130
A.2.3 Graph matching 130-131
A.3 Timetabling 131-134
directory of papers published in the provincial publications during the study period 134
during the study period to participate in research projects and awards 134-136
detailed summary 136-149
Related dissertations
- Study of Group Decision Making Theory and Methods Based on Fuzzy Number Preference Relations with Consistency
- Enterprise the Highest Political Level and the Execution Level Cultural Cognitive Consistency Research
- Research on Consistency of EKF-SLAM for Indoor Mobile Robot
- Study on Spline Curves and Surfaces in CAD/CAE
- Research on Real-time Rendering of Multi-resolution Terrain Features
- Journal Design and Implementation of Cappella Distributed File System
- Research on Extension of Description Logic ALCN and ALCQ
- The Design and Implementation of a Distributed Database Project Management System for Communications Engineering Design
- Design of a Highly Reliable Financial Transaction Matching System with High Performance
- Migrating An OSGi Legacy Project to the Cloud
- Analysis and Application of Interactive Behavior Based on Behavioral Profiles of Petri Net
- Research of Availability and Consistency of Distribute Storage System
- Researches of Web Client Persistent Cache Technology in Mobile Environment
- The Design and Realization of a Distribute System to Store Lots of Small Files
- Alignment Between the High School History Discipline Academic Level Examination and Curriculum Standard Analysis
- The Effect of the Consistency of Situational Model and Problem Model on Primary School Student's Scores in Mathematical Problem Solving
- The Organizational Culture of Yunnan Socialism College to Analysis
- A Study of the Compatibility of English and Chinese Idioms
- Fiber Web Struction of Multilayer Composite Chitosan Spunlace Efunctional Wound Dressing and Study of Performance
- The Consistency between Solid-state and Water-perfused High-resolution Manometry in Esophageal Manometry