As suggested in the literature, revising and updating beliefs and knowledge bases is an important yet unsolved topic in knowledge representation and reasoning in Answer Set Programming (ASP) that requires a solid theoretical basis, particularly in current applications of Artificial Intelligence where an agent can work in an open dynamic environment with incomplete information. Various researchers have combined postulates and ASP as key components to set up their approaches. However, many of such proposals still present some shortcomings when dealing with persistence situations, redundant information, contradictions or they simply lack of further analysis of properties that should make them more accessible. In need to satisfy more general principles and a common frame of reference, this paper introduces a general framework for updates of logic programs, a properties characterisation and its equivalence with other variants. Rather than a sequence of updates of programs, this semantics consists in performing updates of epistemic states at the object level that meets well-accepted belief revision postulates and that follows the original AGM conception.

**Keywords:** : answer set programming (ASP), knowledge representation, non-monotonic reasoning, belief revision

Como se sugiere en la literatura, la revisión y actualización de creencias y de bases del conocimiento, es un tema importante, aún no resuelto en la representación del conocimiento y del razonamiento en la Answer Set Programming (ASP) que requiere de bases teóricas sólidas, particularmente en aplicaciones actuales de inteligencia artificial, donde un agente puede trabajar en un entorno dinámico abierto con información incompleta. Varios investigadores han combinado postulados y ASP como componente clave para establecer sus planteamientos. Sin embargo, muchas de estas propuestas, todavía presentan algunas deficiencias cuando se trata de situaciones de persistencia, redundancia de información, contradicciones o simplemente carecen de un análisis más detallado de las propiedades que deberían hacerlos más accesibles. En necesidad de satisfacer los principios generales, y un marco común de referencia, este artículo presenta un marco general para las actualizaciones de los programas de lógica, caracterización de propiedades y su equivalencia con otras variantes. En lugar de secuencias de actualizaciones de programas, esta semántica consiste en realizar actualizaciones de estados epistémicos en el nivel de objeto conocido por su buena aceptación de revisión de creencias y postulados siguiendo la concepción original AGM.

**Palabras clave:**answer set programming (ASP), Representación del conocimiento, razonamiento no monotónico, revisión y actualización de creencias

One of the goals of Artificial Intelligence and in particular of commonsense reasoning is how to make an agent intelligent that may be autonomous and capable of acting in an open dynamic environment. As suggested in the logic programming literature, such a goal requires a solid theoretical basis on knowledge representation and nonmonotonic reasoning, and in particular, in knowledge updates. Logic programming is a classical well-known mechanism to code and represent agents' knowledge by means of a set of clauses called logic program. Such a program might be called a knowledge base and we code it into a semantics called Answer Sets Programming [14] or ASP in short. However, logic programming has typically been static in the sense that it provides no mechanism to automatically make changes (belief revision or updates) to the knowledge base.

In particular, when updating knowledge one needs a way to avoid inconsistencies due to potential contradictory information upcoming from new evidence that is typically incomplete. Much work has been done in the context of logic programming based on a common ASP basis by satisfying certain properties and postulates: [1, 6, 12, 13, 21, 22, 23, 24]. However, despite the existence of several semantics for updates [3] and a vast analysis of general properties [13, 20], we claim we are still far from having a general one that can satisfy many existing and well-known principles to represent “correct" dynamic knowledge.

For instance, one of the missing and obvious properties in current semantics for updates is persistence that others don't manage well for several reasons, mainly for their approach on sequences of updates [3]. Such a problem has been introduced and overcome by Sakama and Inoue [22] by means of a semantics based on an extended particular version of abductive logic programming [15]. However, their semantics is strongly based on syntactical changes that has other problems (described later) and lacks of a proper characterisation of principles for updates (or belief revision), presumably due to their different goals of their referred approach.

With the aim to define a general characterised semantics and to succeed in the mentioned persistence situation (and in many others more), this paper consists of an alternate more-general approach, founded on generalised answer sets, and based upon further well-known principles for belief change (AGM-postulates [5]) that make it syntax independent, more intuitive and have generally-accepted properties.

Besides satisfying most belief revision postulates, this paper exhibits an approach that consists in performing successive updates so that the semantics can deal with the problem that, according to Sakama and Inoue, produces counterintuitive interpretations in most approaches.

Partial results of this article have already appeared in preliminary versions (without proofs or other properties) in [2], as well as in the extended abstract in [4]

As introduced in previous paragraphs, once there existed a strong theoretical basis for belief revision and updates, a few authors in the field of logic programming proposed mechanisms for updates with a vast analysis, taxonomy and comparison of various known semantics [13, 22, 24]. Some others even suggested new principles, like [6, 7], with alternate logic-programming frameworks to ASP. However, owing to the different foundations each semantics has (even within ASP), yet some problems arise to meet a significant number of well-accepted principles for updates [3].

Although it is unlikely to come off with a semantics that may satisfy all of them [13, 20, 22], a more general one that fulfils most of widely-accepted principles is still necessary, which is not an easy task.

For instance, researchers studying updates of logic programs following principles for updates^{1} (coded into eight well-known postulates for updates called AGM theory [5]) - and in other principles around it^{2} - boil down to the difficulty in satisfying many of them by means of a non-monotonic framework like ASP, owing to the monotonic nature of the postulates themselves |[9, 13, 20, 22].

Nonetheless, Osorio and Cuevas [20] achieved an interpretation of six of the original eight AGM postulates in terms of the monotonic (non-classical) N2-logic, for general “update" operators. They have chosen (the monotonic) N2-logic apparently because it is one of several that characterise ASP and includes two types of negation: negation-as-failure and strong negation. The authors' results in terms of a general semantics, however, seem to be inconclusive [20].

On the other hand, the nearest proposal (to the best of our knowledge) that seemed^{3} to meet most of the existing principles is due to Sakama and Inoue [22], who have introduced and overcome an interesting persistence situation that others fail to represent well for different reasons, as pointed out by themselves and in [2]. In particular, the main feature of that interesting situation is that Sakama and Inoue's semantics is capable of maintaining a knowledge base (coded into a logic program) throughout its own evolution, and that is also the main motivation behind A. Guadarrama [2] to propose his approach. They both lack, however, of a more-general belief-update characterisation, besides other problems.

Although their object-level approach makes it a good candidate to be considered by the belief-revision community, Sakama and Inoue's minimal-change principle is still syntactic: the changes to a knowledge base are to be minimal, as they themselves explain, and that has other problems. The main issue, however, in that they have no characterisation of their semantics with further general belief-change principles, arguing that they aren't applicable to nonmonotonic propositional theories in general [22].

In addition to that, a big disadvantage of syntactical approaches, as discussed in [13, 20] is that, in general, they do not satisfy the structural properties proposed in [20, 23], and Sakama and Inoue's approach is not an exception.

Regardless the polemic that approach might cause (especially in planning domains) and the deployment of extended-abduction properties in their article, the lack of further and more general properties for belief change makes it hard to compare with other alternatives for updates of logic programs. Indeed, their first goal (as they themselves explain) is the converse: to provide a mechanism of updates to characterise their extended abduction framework [22].

In need to define a general semantics and regardless the difference between belief revision and updates due to Katsuno and Mendelzon [18], this paper includes further results and a slightly different and fundamental approach from the preliminary alternate basic solution in [2, 4] within the same studied foundation of Minimal Generalised Answer Sets (MGAS hereafter, from Kakas and Mancarella [16]) and with an alternate approach to both Zacarías et al. [23] and A. Guadarrama [1], proposing a simpler general formulation that likewise performs multiple updates, but at the object level rather than sequences of updates, which overcomes the kind of problems already described. Moreover, the simpler semantics meets the structural properties for updates proposed by [13, 20, 23], as well as the satisfaction of five of the six most general belief revision postulates and many other relevant properties.

A main foundation of this proposal is the well-known AGM-postulates [5] in a particular interpretation and notation [4], followed by a brief basic background of Answer Sets and Generalised Answer Sets. Owing to space constraints, however, this paper excludes sections of three ASP's characterising logic systems (intuitionistic logic, Nelson's logic and N2), which are more evidence of the solid foundation earlier suggested. Finally, in this paper it is assumed that the reader is familiar with basic notions of AGM-theory, as well as logic programming and in particular with ASP.

The following formalism gives the description of ASP, which is identified with other names like Stable Logic Programming or Stable Model Semantics [14] and A-Prolog. Its formal language and some more notation are introduced as follows.

**Definition 1 (ASP Language of logic programs, LASP).** In the following LASP is a language of propositional logic with propositional symbols: a0, a1, , , , ; connectives: “,” ( conjunction) and meta-connective “;”; disjunction, denoted as “|";← (derivation, also denoted as →); propositional constants ┴ ( falsum); ┬ ( verum); “¬" ( default negation or weak negation, also denoted with the word not); “~" ( strong negation, equally denoted as “-"); auxiliary symbols: “(", “)" ( parentheses). The propositional symbols are called atoms too or atomic propositions. A literal is an atom or a strong-negated atom. A rule is an ordered pair Head(ρ) ← Body(ρ).

An intuitive meaning of strong negation “~" in logic programs with respect to the default negation “¬" is the following: a rule ρ 0←¬ ρ 1 allows to derive ρ0 when there is no evidence of ρ1, while a rule like ρ0 ← ~ ρ 1 derives ρ 0 only when there is an evidence for ~ ρ 1, i.e. when it can be proved that ρ1 is false.

With the notation introduced in Definition 1, one may construct clauses of the following general form that are well known in the literature.

**Definition 2 (EDLP).** An extended disjunctive logic program is a set of rules of form

l_{1}⋁l_{2}⋯⋁l_{l}←l_{(l+1)},⋯,l_{m},¬l_{(m+1)},⋯,¬l_{n (1)}

_{where li is a literal and 0 ≤ l ≤ m ≤ n.}

Naturally, an extended logic program (or ELP hereafter) is a finite set of rules of form (1) with l=1; while an integrity constraint (also known in the literatura as strong constraint) is a rule of form (1) with l=0; while a fact is a rule of the same form with l=m=n. In particular, for a literal l, the complementary literal is ~l and vice versa; for a set M of literals, ~M={~l | l∈M}, and Lit_{M} denotes the set M∪∼M; finally, a signature L__{Π} is a finite set of literals occurring in Π. Additionally, given a set of literals M⊆A, the complement set M ̅=A∖M.

Although we have introduced ASP as propositional (ground) programs, fixed non-ground ASP-programs of arbitrary arity are also considered in the same way than Dantsin et al. [10] do. Accordingly, non-ground ASP-programs with variables or constants as arguments are seen as a simplified expressions of larger ground (propositional) ones without variables, where each ground program Π is a set of its ground rules ρ∈Π. In addition, a ground rule is the set obtained by all possible substitutions of variables in ρ by constants occurring in Π [10].

Although ASP is a strong theoretical framework to represent knowledge, it can't model changes to that knowledge by itself, nor can it represent conflict situations amongst an agent and its dynamic environment. So, a more general and relaxed semantics is necessary, to choose potential models amongst conflicting information, which ought to reflect the general principles and postulates under consideration. In particular, a suitable framework to our purposes has been Abductive Logic Programming due to Kakas and Mancarella and is briefly presented in the following section.

As one of the semantics to interpret abductive programs, Minimal Generalised Answer Sets (MGAS) provides a more general and flexible semantics than standard ASP, with a wide range of applications. This framework is briefly introduced in the following set of definitions.

**Definition 3 (16)**. An abductive logic program is a pair 〈Π,A^{*} 〉 where Π is an arbitrary program and A^{*} a set of literals, called abducibles.

On the other hand, there already exists a semantics to interpret abductive programs, called generalised answer sets (GAS) due to Kakas and Mancarella.

**Definition 4 (GAS, 16)**. The expression M(Δ) is a generalised answer set of the abductive program 〈Π,A^{*} 〉 if and only if Δ⊆A^{*} and M(Δ) is an answer set of Π⋃{α← ⊺|α∈Δ}.

In case there are more than one generalised answer sets, a preferred inclusion order may be established:

**Definition 5 ( 8)**. Let M(Δ_{1}) and M(Δ_{2}) be generalised answer sets of 〈Π,A^{*} 〉. The relation M(Δ_{1})≤_{A*} M(Δ_{2}) holds if and only if Δ_{1}⊆ Δ_{2}.

Last, one can easily establish the minimal generalised answer sets from an abductive inclusion order with the following definition.

**Definition 6 (MGAS, 8)**. Let M(Δ) be a minimal generalised answer set (MGAS) of 〈Π,A^{*} 〉 if and only if M(Δ) is a generalised answer set of 〈Π,A^{*} 〉 and it is minimal with respect to its abductive inclusion order.

One of the main goals of this proposal is to meet most well-accepted principles for updates at the object level and in Minimal Generalised Answer Sets (MGAS), besides other relevant properties. The approach consists in setting up the needed models for the desired properties in an iterated fashion, rather than a sequence of updates, as earlier explained.

A first analysis of the problem at the object level, a solution, justification, basic model-oriented properties and comparison with other semantics is available in [2]. However, the semantics hasn't been characterised with more general principles, which is necessary both to avoid counterintuitive behavuour and to provide a common frame of reference to compare with other approaches. So, let us briefly introduce it, followed by a characterisation of Belief Revision.

The semantics is formally expressed with the following set of definitions, revised from [2] to make it simpler, precise, and to comply even more with the postulates, which is part of the contribution of this paper and the difference with the one in [2] and the extended abstract in [4]. So, let us start with some definitions.

An α-relaxed rule is a rule ρ that is weakened by a default-negated atom α in its body: Head(ρ)←Body(ρ)∪{¬α}. In addition, an α-relaxed program is a set of α-relaxed rules. On the other hand, a generalised program of A^{*} is a set of rules of form{l← ⊺|l∈A^{*}}, where A^{*} is a given set of literals.

Accordingly, updating a program with another consists in transforming an ordered pair of programs into a single abductive program, as follows.

**Definition 7 (●-update Program)**. Given an updating pair of extended logic programs, denoted as Π_{1} ● Π_{2}, over a set of atoms A; and a set of unique abducibles A^{*}, such that A⋂A^{*}=∅; and the α-relaxed program Π^{'} from Π_{1}, such that α∈A^{*}; and the abductive program Π _{A*} 〈Π^{'}∪Π_{2},A^{*} 〉. Its ●-update program is Π^{'}∪Π_{2}∪Π_{G}, where Π_{G} is a generalised program of M∩A^{*} for some minimal generalised answer set M of Π_{A} and “●” is the corresponding update operator.

Obviously Definition 7 allows none or more ●-update programs. In addition to that, Corollary 2 below shows that the update is always consistent provided that Π_1 is also consistent. Before that, let us formalise another minor obvious property:

Corollary 1. Let Π_G be a generalised program out of a minimal generalised answer set M from Π_{A*} and M_{1} an answer set of Π_{G}. The following two statements hold:

a) M_{1}=M∩A.

b) M_{1}⊆M.

Last but not least, the associated models S of the new knowledge base correspond to the answer sets of a ●-update program as follows.

**Definition 8 (●-update Answer Set).** Let Π_{●}=(Π_{1}●Π_{2}) be an update pair over a set of atoms A. Then, S⊆A is a ●-answer set of Π_● if and only if S=S^{'}∩A for some minimal generalised answer set S^{'} of its ●-update program.

Intuitively, this formulation establishes an order with respect to the latest update -which corresponds to Katsuno and Mendelzon [17, 18]'s first postulate (R○1) - and with respect to a minimal change when choosing the most preferred model: MGAS.

The following sets of properties of this simpler formulation are the main contribution of this current semantics for iterated updates of epistemic states. They are classified into a study of consistency issues, and the satisfaction itself of KM^{'}-postulates.

Before the main results, there are two particular properties suggested much earlier in [23] that are necessary for the rest of them. Additionally, the reader should note that a statement like Π_{1}≡Π_{2} means that both Π_{1} and Π_{2} have the same answer sets -or alternately Π_{1} ≡_ASP Π_{2}. By a slight abuse of notation, when establishing equivalence between updates, indeed it means that they have the same (or different) update answer sets. Finally, the two properties from the literature (ref. [19, 20]), interpreted in our own notation, are the following.

●-SP-8, Strong Consistency, SC: If Π_{1}∪Π_{2} is consistent, then Π_{1}●Π_{2 }≡ Π_{1}∪Π_{2}. The update coincides with the union when Π_{1}∪Π_{2} is consistent.

●-SP-9, Weak Irrelevance of Syntax, WIS: Let Π, Π_{1}, and Π_{2} be logic programs under the same language. If T_{N2 } (Π_{1}) ≡_{N2} T_{N2 } (Π_{2}) then Π●Π_{1}≡Π●Π_{2}.

**Theorem 1.** [[2]] Suppose that Π, Π_{1}, Π_{2} and Π_{3} are ELP. Operator ● satisfies the properties ●-SP-8 and ●-SP-9.

This preliminary result shall be helpful to simplify further properties in upcoming sections.

As previously suggested, dealing with inconsistencies is something necessary not only when new information contradicts previous one, but also with an originally- inconsistent knowledge base. This section consists of a study of consistency-preservation and consistency-restoration as key properties of ●-operator.

In particular, Weak-consistency View guarantees consistency of the abductive program from an update pair. On the other hand, a consistent abductive program from a ●-update pair shall mean the abductive program with generalised answer sets.

**Lemma 1 (Weak Consistency View)**. Suppose Π_{0} and Π_{1} are ELP's and an updating pair Π_{0}●Π_{1} with its corresponding abductive program Π_{A*}^{ }=〈Π^{'}∪Π_{1},A^{*} 〉. If Π_{1} is consistent then Π_{A*} is also consistent.

Accordingly, the following result holds.

**Corollary 2 (Consistency Preservation)**. Suppose Π_{0} and Π_{1} are ELP's. The update Π_{0}●Π_{1} is consistent if Π_{1} is consistent.

Proof. The proof is similar to the one in Lemma 1

This property is known in the literature as Consistency Preservation and by Sakama and Inoue as Inconsistency Removal. Note that the sole name of the latter confirms the syntactical orientation of their approach. Last, it's wort noticing that this property is equivalent to postulate (R ○ 3) both Katsuno and Mendelzon's and Darwiche and Pearl's third postulate.

On the other hand, Π_{1} inconsistent in Corollary 2 may lead to two posible situations: that the resulting update is either consistent or inconsistent, as shown in the following example.

*Example 1 (Inconsistent Update).* Suppose the update Π_{1}={a←¬a}, which has no answer sets, to an original empty knowledge base Π_{0}=∅. As a result, ⊥⊨Π_{0}●Π_{1}. Now suppose the same update to an initial knowledge base Π_{0}^{'}={α←⊺}. The ●-update answer set of such an update {a}⊨Π_{0}'●Π_{1}.

Corollary 2 also proves to be useful both when satisfying belief revision postulates and when restoring consistency from an originally inconsistent knowledge base, as explained below. On top of that, this property is a general case of Sakama and Inoue's inconsistency removal that makes syntactical changes to the original knowledge base.

Next, the following proposition follows directly from Corollary 2.

**Proposition 1 (Consistency Restoration).** Suppose Π_{0} is an ELP. The up-date Π_{0}●∅ is consistent.

*Proof.* The proof is similar to the one in Lemma 1

As described in this section, ●-operator guarantees robustness of knowledge bases in many situations where other alternate frameworks break down. Accordingly, the properties presented in this section shall be part of a more general framework of principles and postulates.

Next, the core of this paper is the introduction of a particular interpretation of one of the latest formulations of the AGM-postulates (KM^{'}) and which of them are met by ●-operator.

One of the main goals of this paper is a formulation of a semantics for updates of logic programs that can meet as-many-as possible general properties. So, let us start this section with an interpretation and characterisation of Katsuno and Mendelzon's postulates (R○ 1)-(R○6), as a main foundation to this revision of epistemic states.

(RG○1) Π_{1}⊆ Π●Π_{1}.

(RG○2) If Π∪Π_{1} is consistent, then Π ●Π_{1} ≡_{ASP} Π∪Π_{1}.

(RG○3) If Π_{1} is consistent, then Π●Π_{1} is also consistent.

(RG○4) If Π_{x} ≡ Π_{y} and Π_{1} ≡_{N2} Π_{2} then Π_{x} ●Π_{1} ≡_{ASP} Π_{y}●Π_{2}.

(RG○4^{'} ) If Π_{1} ≡_{N2} Π_{2} then Π●Π_{1} ≡_{ASP} Π●Π_{2}.

(RG○5) Π●(Π_{1}∪Π_{2} )⊆(Π●Π_{1} )∪Π_{2}.

(RG○6) If (Π●Π_{1})∪●Π_{2} is consistent, then (Π●Π_{1})∪●Π_{2}⊆Π●(Π_{1}∪Π_{2}).

An immediate result is the following main theorem of this paper certifying that ●-operator satisfies five of these six belief revision postulates.

Theorem 2 (RG ○ -properties). Suppose that Π,Π_{1} and Π_{2} are ELP. Update operator "●” satisfies properties (RG○1)-(RG○4) and (RG○6).

Proof. (RG○1) Π_{1}⊆Π●Π_{1} .

By Definition 7, Π_{1}⊆Π^{'}∪Π_{G}∪Π_{1} that clearly satisfies the objective.

(RG○2) If Π∪Π_{1} is consistent, then Π●Π_{1}≡ Π∪Π_{1}.

This postulate corresponds to Strong-Consistency property and satisfied by Theorem 1.

(RG○3) If Π_{1} is consistent, then Π●Π_{1} is also consistent.

This postulate is equivalent to Corollary 2.

(RG○4^{'} ) If Π_{1} ≡_{N2} Π_{2} then Π●Π_{1}≡ Π●Π_{2}.

This postulate is equivalent to property ●-SP-9 and satisfied by Theorem 1.

(RG○6) If (Π●Π_{1})∪●Π_{2} is consistent, then (Π●Π_{1})∪●Π_{2}⊆Π●(Π_{1}∪Π_{2}). Suppose (Π●Π_{1} )∪●Π_{2} is consistent. Then, the abductive program of Π●Π_{1} is 〈Π^{'}∪Π_{1},A^{*} 〉 with its respective MGAS's M(Δ_{1}) that is an answer set of Π^{'}∪Π_{1}∪{α←⊺|α∈Δ_{1}} where Δ_{1}⊆A^{*} and its corresponding generalised program Π_{G1} . By Definition 7, the update Π●(Π_{1}∪Π_{2}) has the abductive program 〈Π^{'}∪(Π_{1}∪Π_{2}),A^{*} 〉 with its MGAS's M(Δ_{2}) that is an answer set of Π^{'}∪Π_{1}∪Π_{2}∪{α←⊺|α∈Δ_{2}} where Δ_{2}⊆ A^{*} and its corresponding generalised program Π_{G2}. Because Π_{2} is consistent with the update Π●Π_{1}, the number of abducibles in Δ_{1} never change, and it's easy to verify that Δ_{2} contains at least the same abducibles than Δ_{1}, Δ_{1} ⊆Δ_{2}⊆ A^{*} and thus Π_{G1}⊆Π_{G2}. In consequence, the respective ●-update programs of each pair are Π^{'}∪Π_{1}∪Π_{2}∪Π_{G1} and Π^{'}∪Π_{1}∪Π_{2}∪Π_{G2}, where Π^{'}∪Π_{1}∪Π_{2}∪Π_{G1}⊆Π^{'}∪Π_{1}∪Π_{2}∪Π_{G2} as required. Therefore, (Π●Π_{1})∪Π_{2}⊆Π●(Π_{1}∪Π_{2}).

Nevertheless, postulate (RG○5) does not hold. As a counterexample, consider the following programs: Π={a←⊺;~b←⊺;~c←⊺}; Π_{1}={b←⊺}; Π_{2}={c←⊺}. Such an update inverts the direction of the relation.

This section is an introduction to new general properties characterising ●-operator that go from the structural properties, most of them inherited from its equivalent counterpart in [23], to more general ones encoded in our particular interpretation of belief revision postulates. The satisfaction of AGM-postulates in ASP is something new and important, provided that other current approaches either don't meet most of them or have discarded them for considering that their monotonic nature is incompatible with non-monotonic frameworks like ASP, as previously discussed in Section 2.

Another issue other approaches have is when updating in a sequence rather than an iterated fashion, which leads to counterintuitive results, especially in the persistence situation and when new updates arise afterwards. By following the original AGM paradigm, we also claim that the iterative approach has other more natural properties than its sequenced counterpart.

The section is also a study of inconsistencies not only due to new information that contradicts current knowledge, but also from both an originally-inconsistent knowledge base, as well as new originally-inconsistent observations that not necessarily contradict current beliefs. The former is something that may be considered a key feature of belief revision. However, as one of the main goals of this paper is to provide a strong general framework to correctly represent knowledge, and making a strict distinction with belief update theory might result controversial.

On the other hand, dealing with originally-inconsistent observations might seem counterintuitive to some researches, but it does not mean that observing such contradictions may not be possible in a changing environment. Take for example two concurrent observations that contradict each other, updating a current knowledge base in, say, a problem of Ambient Intelligence when a sensor fails and another one contradicts it. Another example is an observation that is inconsistent due to a typo or another kind of human error. Traditionally, those problems are left to future debugging, but with a tendency to model even-more autonomous entities, tolerating inconsistencies is not only reasonable, but also necessary to preserve a knowledge base from collapse.

[1] A. Guadarrama, J. C. 2007a. Implementing knowledge update sequences. In MICAI 2007: Advances in Artificial Intelligence, A. Gelbukh and A. Kuri Morales, Eds. LNCS, vol. 4827. Springer-Verlag, Aguascalientes, Mexico, 260-270. 2, 3

[2] A. Guadarrama, J. C. 2007b. Maintaining knowledge bases at the object level. In Special Session of the 6th International MICAI Conference, A. Gelbukh and A. F. Kuri Morales, Eds. IEEE Computer Society, Aguascalientes, Mexico, 3-13. ISBN: 978-0-7695-3124-3. 2, 3, 6, 7

[3] A. Guadarrama, J. C. 2007c. A road map of updating in ASP. ISSN: 1860-8477 IfI-07-16, Institute fur Informatik, TU-Clausthal, Clausthal, Germany. December. 35pp. 2

[4] A. Guadarrama, J. C. 2008. AGM postulates in answer sets. In LANMR'08 Fourth Latin American Workshop on Non-monotonic Reasoning, M. Osorio and I. Olmos, Eds. ISSN 1613-0073, vol. 408. CEUR, Benemérita Universidad Autónoma de Puebla, Puebla, México, 3pp. 2, 3, 4, 6

[5] Alchourrón, C. E., Gardenfors, P., and Makinson, D. 1985. On the logic of theory change: Partial meet contraction and revision functions. The Journal of Symbolic Logic 50, 2 (June), 510-530. 2, 3, 4

[6] Alferes, J. J., Banti, F., Brogi, A., and Leite, J. A. 2005. The refined extension principle for semantics of dynamic logic programming. Studia Logica 79, 1, 7-32. 2

[7] Alferes, J. J., Leite, J. A., Pereira, L. M., Przymusinska, H., and Przymusinski, T. C. 1999. Dynamic updates of non-monotonic knowledge bases. Journal of Logic Programming 45, 1-3, 43-70. 2

[8] Balduccini, M. and Gelfond, M. 2003. Logic programs with consistencyrestoring rules. In Proceedings of the AAAI Spring 2003 Symposium. AAAI Press, Palo Alto, California, 9-18. 5, 6

[9] Brewka, G. 2001. Declarative representation of revision strategies. Journal of Applied Non-classical Logics 11, 1-2, 151-167. 3

[10] Dantsin, E., Eiter, T., Gottlob, G., and Voronkov, A. 2001. Complexity and expressive power of logic programming. ACM Computing Surveys 33, 3 (September), 374-425. 5

[11] Darwiche, A. and Pearl, J. 1994. On the logic of iterated belief revision. In Proceedings of the fifth Conference on Theoretical Aspects of Reasoning about Knowledge, R. Fagin, Ed. Morgan Kaufmann, Pacific Grove, CA, 5-23. 8

[12] Delgrande, J. P., Schaub, T., Tompits, H., and Woltran, S. 2008. Belief revision of logic programs under answer set semantics. In KR. 411-421. 2

[13] Eiter, T., Fink, M., Sabbatini, G., and Tompits, H. 2002. On properties of update sequences based on causal rejection. Theory and Practice of Logic Programming 2, 6, 711-767. 2, 3, 4

[14] Gelfond, M. and Lifschitz, V. 1988. The Stable Model Semantics for Logic Programming. In Logic Programming, Proceedings of the Fifth International Conference and Symposium ICLP/SLP, R. A. Kowalski and K. A. Bowen, Eds. MIT Press, Seattle, Washington, 1070-1080. 1, 4

[15] Inoue, K. and Sakama, C. 1995. Abductive framework for nonmonotonic theory change. In the 14th International Joint Conference on Artificial Intelligence (IJCAI-95). Morgan Kaufmann Publishers, Montreal, Canada, 204-210. 2

[16] Kakas, A. C. and Mancarella, P. 1990. Generalized Stable Models: A semantics for abduction. In ECAI. Stockholm, Sweden, 385-391. 3, 5

[17] Katsuno, H. and Mendelzon, A. O. 1989. A unified view of propositional knowledge base updates. In the 11th International Joint Conference on Artificial Intelligence, IJCAI-89, N. S. Sridharan, Ed. Morgan Kaufmann, Detroit, Michigan, USA, 1413-1419. 7

[18] Katsuno, H. and Mendelzon, A. O. 1991a. On the difference between updating a knowledge base and revising it. In KR'91. Morgan Kaufmann Publishers, Cambridge, Massachusetts, USA, 387-394. 3, 7

[19] Katsuno, H. and Mendelzon, A. O. 1991b. Propositional knowledge base revision and minimal change. Artificial Intelligence 52, 3, 263-294. 7, 8, 9

[20] Osorio, M. and Cuevas, V. 2007. Updates in answer set programming: An approach based on basic structural properties. Journal of Theory and Practice of Logic Programming 7, 4, 451-479. 2, 3, 4, 7

[21] Osorio, M. and Zacarías, F. 2004. On updates of logic programs: A properties-based approach. In FoIKS. Springer, Wilhelminenburg Castle, Austria, 231-241. 2

[22] Sakama, C. and Inoue, K. 2003. An abductive framework for computing knowledge base updates. Theory and Practice of Logic Programming 3, 6, 671-715. 2, 3, 8

[23] Zacarías, F., Osorio, M., A. Guadarrama, J. C., and Dix, J. 2005. Updates in Answer Set Programming Based on Structural Properties. In 7th International Symposium on Logical Formalizations of Commonsense Reasoning, S. McIlraith, P. Peppas, and M. Thielscher, Eds. Fakultat Informatik, ISSN 1430-211X, Corfu, Greece, 213-219. 2, 3, 4, 7, 10

[24] Zhang, Y. and Foo, N. 2005. A unified framework for representing logic program updates. In Proceedings of the 20th National Conference on Artificial Intelligence (AAAI-2005), M. M. Veloso and S. Kambhampati, Eds. AAAI Press / The MIT Press, Pittsburgh, Pennsylvania, USA, 707-713. 2

^{[1] }Actually the principles are for belief revision rather than updates. We explain the difference later. <<

^{[2] }For a nice analysis and compilation of such principles, see [13]. <<

^{[3] }To my knowledge, there is no evidence that their semantics satisfies most of them, although it does overcome most of the problems that other semantics present. <<

^{[a] }Profesores Investigadores de la Universidad Autónoma del Estado de Hidalgo <<