Algorithm Search⌘K

Definitionadvanced

Successor state axioms

Also called Reiter's solution to the frame problem.

One axiom per fluent saying that it holds after an action exactly when the action made it true, or it held before and the action did not make it false.

A successor state axiom is the axiom of the situation calculus that defines the value of one fluent after any action in terms of the situation before it. A basic action theory has exactly one such axiom for each fluent. Reiter (1991) obtained the axioms from effect axioms by assuming that the effect axioms list every way a fluent can change, and so gave a solution to the frame problem in classical logic, without frame axioms for each pair of an action and a fluent. The frame problem page explains the problem and compares this solution with the others; this page states the exact definition, the conditions it needs, and how the axioms are derived.

Definition

Fix a situation calculus language with a set of action functions. A formula is uniform in ss if the only situation term in it is the variable ss, and it does not mention PossPoss or ⊏\sqsubset.

Relational fluents. A successor state axiom for a relational fluent FF is a sentence of the form

F(x⃗,do(a,s))↔γF+(x⃗,a,s)∨(F(x⃗,s)∧¬γF−(x⃗,a,s)),F(\vec{x}, do(a, s)) \leftrightarrow \gamma^+_F(\vec{x}, a, s) \vee \big(F(\vec{x}, s) \wedge \neg \gamma^-_F(\vec{x}, a, s)\big),

with all free variables universally quantified, where γF+\gamma^+_F and γF−\gamma^-_F are uniform in ss. The formula γF+\gamma^+_F describes the actions and conditions that make FF true, and γF−\gamma^-_F those that make it false. The axiom is used together with the unique names axioms for actions Duna\mathcal{D}_{una} and must satisfy the consistency condition

Duna⊨¬∃x⃗ ∃a ∃s (γF+(x⃗,a,s)∧γF−(x⃗,a,s)),\mathcal{D}_{una} \models \neg \exists \vec{x}\, \exists a\, \exists s\, \big(\gamma^+_F(\vec{x}, a, s) \wedge \gamma^-_F(\vec{x}, a, s)\big),

which says that no action both makes FF true and makes it false.

Functional fluents. For a functional fluent ff, whose value is an object, the axiom has the form

f(x⃗,do(a,s))=y↔γf(x⃗,y,a,s)∨(f(x⃗,s)=y∧¬∃y′ γf(x⃗,y′,a,s)),f(\vec{x}, do(a, s)) = y \leftrightarrow \gamma_f(\vec{x}, y, a, s) \vee \big(f(\vec{x}, s) = y \wedge \neg \exists y'\, \gamma_f(\vec{x}, y', a, s)\big),

with γf\gamma_f uniform in ss, and the consistency condition says that γf\gamma_f gives at most one value yy for each x⃗\vec{x}, aa and ss (Reiter 2001, Chapter 3).

Derivation (Reiter 1991). Write the effects of the actions on FF in normal form, as two axioms

γF+(x⃗,a,s)→F(x⃗,do(a,s)),γF−(x⃗,a,s)→¬F(x⃗,do(a,s)).\gamma^+_F(\vec{x}, a, s) \rightarrow F(\vec{x}, do(a, s)), \qquad \gamma^-_F(\vec{x}, a, s) \rightarrow \neg F(\vec{x}, do(a, s)).

The causal completeness assumption says that these are the only ways FF changes, which is written as two explanation closure axioms:

¬F(x⃗,s)∧F(x⃗,do(a,s))→γF+(x⃗,a,s),F(x⃗,s)∧¬F(x⃗,do(a,s))→γF−(x⃗,a,s).\neg F(\vec{x}, s) \wedge F(\vec{x}, do(a, s)) \rightarrow \gamma^+_F(\vec{x}, a, s), \qquad F(\vec{x}, s) \wedge \neg F(\vec{x}, do(a, s)) \rightarrow \gamma^-_F(\vec{x}, a, s).

Under the consistency condition, the four axioms together are equivalent to the successor state axiom. Reiter (1991) combined the normal form of Pednault with the explanation closure axioms of Haas and of Schubert to get this result.

Examples and non-examples

Example: unconditional effects. For a robot that opens and closes a door and picks up and drops objects,

Open(do(a,s))↔a=open∨(Open(s)∧a≠close),Open(do(a, s)) \leftrightarrow a = open \vee (Open(s) \wedge a \ne close),
Holding(x,do(a,s))↔a=pickup(x)∨(Holding(x,s)∧a≠drop(x)).Holding(x, do(a, s)) \leftrightarrow a = pickup(x) \vee (Holding(x, s) \wedge a \ne drop(x)).

Here γHolding+(x,a,s)\gamma^+_{Holding}(x, a, s) is a=pickup(x)a = pickup(x) and γHolding−(x,a,s)\gamma^-_{Holding}(x, a, s) is a=drop(x)a = drop(x). The consistency condition holds because pickup(x)≠drop(x)pickup(x) \ne drop(x) follows from Duna\mathcal{D}_{una}.

Example: conditional and quantified effects. A simplified version of an example in Reiter (2001, Chapter 3) has an object that breaks when it is dropped while fragile, or when a bomb next to it explodes, and is fixed by a repair:

Broken(x,do(a,s))↔(a=drop(x)∧Fragile(x,s))∨∃b (a=explode(b)∧NextTo(b,x,s))∨(Broken(x,s)∧a≠repair(x)).Broken(x, do(a, s)) \leftrightarrow \big(a = drop(x) \wedge Fragile(x, s)\big) \vee \exists b\, \big(a = explode(b) \wedge NextTo(b, x, s)\big) \vee \big(Broken(x, s) \wedge a \ne repair(x)\big).

The condition Fragile(x,s)Fragile(x, s) and the existential over bombs are allowed, since γ+\gamma^+ is uniform in ss. Dropping a fragile object AA breaks it, and Duna\mathcal{D}_{una} gives drop(A)≠repair(A)drop(A) \ne repair(A), so a broken object stays broken under every action except repairrepair.

Example: a functional fluent. A robot at one location at a time:

loc(do(a,s))=y↔a=go(y)∨(loc(s)=y∧¬∃y′ a=go(y′)).loc(do(a, s)) = y \leftrightarrow a = go(y) \vee \big(loc(s) = y \wedge \neg \exists y'\, a = go(y')\big).

The consistency condition holds because go(y)=go(y′)go(y) = go(y') implies y=y′y = y' by Duna\mathcal{D}_{una}.

Non-example: an effect axiom alone. Holding(x,do(pickup(x),s))Holding(x, do(pickup(x), s)) says what pickuppickup does, but not what happens to HoldingHolding under the other actions. It is one half of a successor state axiom, and the explanation closure axioms are missing.

Non-example: a state constraint. Wet(do(a,s))↔InWater(do(a,s))Wet(do(a, s)) \leftrightarrow InWater(do(a, s)) relates two fluents in the same situation. Its right side mentions do(a,s)do(a, s), so it is not uniform in ss. Such indirect effects are the ramification problem; one approach compiles them into the γ\gamma formulas, after which the axioms are successor state axioms again.

Non-example: an inconsistent pair. A toggle action written as the two effect axioms ¬Light(s)→Light(do(flip,s))\neg Light(s) \rightarrow Light(do(flip, s)) and ⊤→¬Light(do(flip,s))\top \rightarrow \neg Light(do(flip, s)) violates the consistency condition, since in a situation where the light is off, flipflip satisfies both γ+\gamma^+ and γ−\gamma^-. The effect axioms are then contradictory, while the formula of the successor state axiom gives LightLight, so the two are not equivalent. The correct effects are γ+=(a=flip∧¬Light(s))\gamma^+ = (a = flip \wedge \neg Light(s)) and γ−=(a=flip∧Light(s))\gamma^- = (a = flip \wedge Light(s)).

Non-example: without unique names. Without Duna\mathcal{D}_{una}, the theory cannot prove drop(A)≠pickup(A)drop(A) \ne pickup(A), so the axiom for HoldingHolding does not entail that pickup(A)pickup(A) leaves Holding(A,s)Holding(A, s) true. The successor state axioms solve the frame problem only together with the unique names axioms.

  • Frame axiom. An axiom that says one action leaves one fluent unchanged. A successor state axiom replaces all frame axioms of one fluent.
  • Precondition axiom. Poss(A(x⃗),s)↔ΠA(x⃗,s)Poss(A(\vec{x}), s) \leftrightarrow \Pi_A(\vec{x}, s), one for each action function, the other uniform part of a basic action theory; the qualification problem concerns it.
  • Basic action theory. The foundational axioms, the successor state axioms, the precondition axioms, the unique names axioms and the initial database, defined on the situation calculus page.
  • Regression. Because each right side is uniform in ss, a fluent at do(a,s)do(a, s) can be replaced by a formula at ss. The regression operator does this repeatedly.
  • STRIPS add and delete lists. A STRIPS action AA gives γF+\gamma^+_F as the disjunction of a=Aa = A over the actions with FF in the add list, and γF−\gamma^-_F in the same way for the delete list. STRIPS allows an atom in both lists and then lets the add list win, which is what the axiom gives when the consistency condition fails.
  • Conditional effects in planning languages are the propositional case of conditions such as Fragile(x,s)Fragile(x, s) in γ+\gamma^+.
  • Event calculus axioms. The event calculus states persistence once, for all fluents, with Initiates and Terminates in the roles of γ+\gamma^+ and γ−\gamma^-, and uses circumscription to make the lists of effects complete.

References

  1. Raymond Reiter, The frame problem in the situation calculus, a simple solution (sometimes) and a completeness result for goal regression, in Vladimir Lifschitz (ed.), Artificial Intelligence and Mathematical Theory of Computation, Academic Press, 1991, pages 359 to 380, effect axioms in normal form, the causal completeness assumption, explanation closure axioms, and the successor state axioms that combine them; the earlier proposals of Pednault, Haas and Schubert that the solution combines (general locator)
  2. Raymond Reiter, Knowledge in Action, Logical Foundations for Specifying and Implementing Dynamical Systems, MIT Press, 2001, Chapter 3 from page 17 (the derivation of successor state axioms for relational and functional fluents, with the consistency condition), Chapter 4 from page 45 (successor state axioms as part of a basic action theory)
  3. Fiora Pirri and Raymond Reiter, Some contributions to the metatheory of the situation calculus, Journal of the ACM 46(3), 1999, pages 325 to 361, the form of successor state axioms in a basic action theory and their role in the regression theorem (general locator)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/FWNBAC/text.yaml