Enhancing the KB
We add a couple of sentences in the KB we had developed,focusing on axioms (facts or rules that evaluate to TRUE). When these axioms involve variables that they never change we call such variables atemporal. This is shown in the next table.
With respect to percepts and and in fact with everything in the world that is dynamic, we introduce the notion of time () and index all such variables accordingly. We do so to avoid the situation where we have conflicts in the KB where while in cell [1,2] we store in the KB and in another instance e.g. in cell [2,2] we store . These type of variables are called some times called fluent but effectively these are the usual mutable state variables. Location as we have seen is a primary variable that is carried by the environment state. We can then define an associated fluent and store the following sentences in the KB.
Similar to percepts, actions also are taken at specific times . By convention, we first receive a percept at , then take an action during the same time step and then the environment transitions to another state at . To specify the transition model that describes how the world changes we use effect axioms as follows:
There lies a serious issue. There is a combinatorial explosion problem as we have to repeat sentences like the for each of the possible time steps into the future that include actions. For a single action we need to consider possibilities, where 4 are the possible agent orientations and is the number cells in the wumpus world! But there are more bad news. We need to also include in the KB was remains unchanged - this is a well known issue called the representation frame problem. It took its name from the video frame where most of the pixels stay unchanged (background) and only a few change (foreground). Imagine the bandwidth that we need to consume to transmit all video frame pixels. This is analogous to the KB - imagine the combinatorial explosion if we have to specify sentences for everything that stays the same at every time instant. As an example we will have to specify that the wumpus is alive at as it was at , that the agent continues to have one arrow when it didn’t use it and a myriad other intuitively obvious axioms.

