Forward and Backward Chaining with P Systems

Forward and Backward Chaining with P Systems

Sergiu Ivanov, Artiom Alhazov, Vladimir Rogojin, Miguel A. Gutiérrez-Naranjo
Copyright: © 2011 |Pages: 11
DOI: 10.4018/jncr.2011040105
(Individual Articles)
No Current Special Offers


One of the concepts that lie at the basis of membrane computing is the multiset rewriting rule. On the other hand, the paradigm of rules is profusely used in computer science for representing and dealing with knowledge. Therefore, establishing a “bridge” between these domains is important, for instance, by designing P systems reproducing the modus ponens-based forward and backward chaining that can be used as tools for reasoning in propositional logic. In this paper, the authors show how powerful and intuitive the formalism of membrane computing is and how it can be used to represent concepts and notions from unrelated areas.
Article Preview

1. Introduction

The use of rules is one of the most common paradigms in computer science for dealing with knowledge. Given two pieces of knowledge V and W, expressed in some language, the rule V → W is usually considered as a causal relation between V and W. This representation is universal in science. For example, in chemistry, V and W can be metabolites and V → W a chemical reaction. In this case, V represents the reactants which are consumed in the reaction and W is the obtained product. In propositional logic, V → W, with jncr.2011040105.m01 and jncr.2011040105.m02, is a representation of the clause jncr.2011040105.m03.

An important problem is deriving new knowledge: given a knowledge base KB = (A, R), where A is a set of known atoms and R is a set of rules of type V → W, the problem is to know if a new atom g can be obtained from the known atoms and rules. We will call this problem a reasoning problem and it will be denoted by jncr.2011040105.m04.

In computer science, there are two basic methods for seeking a solution of a reasoning problem, both of them based on the inference rule known as Generalized Modus Ponens: the former is data-driven and it is known as forward chaining, the latter is query-driven and it is called backward chaining (Apt, 1990).

As one should observe, even though logic inference rules and multiset rewriting rules originate from totally different areas of mathematics and computer science and represent unrelated notions, their concepts have some similarities. In particular, no information about the ordering of elements in both left- and right-hand sides of the rules of both types is used. On the other hand, the inference rules could be thought of as set rewriting rules, while multiset rewriting rules operate at multisets. However, multiset rewriting rules could be interpreted as set rewriting rules if one ignores the multiplicity of elements of the multiset. Therefore we could represent sets of facts in P systems as multisets of objects and inference rules as multiset rewriting rules. When one considers the set of facts represented in a region of a P system, one only considers the underlying set of the region’s multiset.

Complete Article List

Search this Journal:
Volume 12: 1 Issue (2024): Forthcoming, Available for Pre-Order
Volume 11: 4 Issues (2022): 1 Released, 3 Forthcoming
Volume 10: 4 Issues (2021)
Volume 9: 4 Issues (2020)
Volume 8: 4 Issues (2019)
Volume 7: 4 Issues (2018)
Volume 6: 2 Issues (2017)
Volume 5: 4 Issues (2015)
Volume 4: 4 Issues (2014)
Volume 3: 4 Issues (2012)
Volume 2: 4 Issues (2011)
Volume 1: 4 Issues (2010)
View Complete Journal Contents Listing