# Accessibility relation

In modal logic, an accessibility relation ${\displaystyle R}$ is a binary relation such that ${\displaystyle R\subseteq W\times W}$ where ${\displaystyle W}$ is a set of possible worlds. The accessibility relation determines for each world ${\displaystyle w\in W}$ which worlds ${\displaystyle w'}$ are accessible from ${\displaystyle w}$. If a possible world ${\displaystyle w'}$ is accessible from ${\displaystyle w}$ we usually write ${\displaystyle wRw'}$ (or sometimes ${\displaystyle Rww'}$).

## Description of terms

A statement in logic refers to a sentence (with a subject, predicate, and verb) that can be true or false. So, 'The room is cold' is a statement because it contains a subject, predicate and verb, and it can be true that 'the room is cold' or false that 'the room is cold.'

Generally, commands, beliefs and sentences about probabilities aren't judged as true or false. "Inhale and exhale" is therefore not a statement in logic because it is a command and cannot be true or false, although a person can obey or refuse that command. "I believe I can fly or I can't fly" isn't taken as a statement of truth or falsity, because beliefs don't say anything about the truth or falsity of the parts of the entire "and" or "or" statement and therefore the entire "and" or "or" statement.

A possible world is a possible situation. In every case, a possible world is contrasted with an actual situation. Earth one minute from now is a "possible world". Earth as it is actually is is also a "possible world". Hence the oddity of and controversy in contrasting a "possible" world with an "actual" world (Earth is necessarily possible). In logic, "worlds" are described as a non-empty set, where the set could consist of anything, depending on what the statement says.

Modal logic is a description of the reasoning in making statements about possibility or necessity. "It is possible that it rains tomorrow" is a statement in modal logic, because it is a statement about possibility. "It is necessary that it rains tomorrow" also counts as a statement in modal logic, because it is a statement about "necessity". There are at least six logical axioms or principles that show what people mean whenever they make statements about necessity or possibility (described below).[1]

As described in greater detail below:

Necessarily ${\displaystyle p}$ means that ${\displaystyle p}$ is true at every 'possible world' ${\displaystyle w}$ such that ${\displaystyle R(w^{*},w).}$

Possibly ${\displaystyle p}$ means that ${\displaystyle p}$ is true at some possible world ${\displaystyle w}$ such that ${\displaystyle R(w^{*},w)}$.

Truth-value is whether a statement is true or false. Whether or not a statement is true, in turn, depends on the meanings of words, laws of logic, or experience (observation, hearing, etc.).

Formal Semantics refers to the meaning of statements written in symbols. The sentence ${\displaystyle (\Box p\lor \Box q)\rightarrow \Box (p\lor q)}$, for example, is a statement about 'necessity' in 'formal semantics.' It has a meaning that can be represented by the symbol ${\displaystyle R}$.

The accessibility relation is a relationship between two 'possible worlds.' More preciselyplease clarify definition, the 'accessibility relation' is the idea that modal statements, like 'it's possible that it rains tomorrow,' may not take the same truth-value in all 'possible worlds.' On earth, the statement could be true or false. By contrast, in a planet where water is non-existent, this statement will always be false.

Due to the difficulty in judging if a modal statement is true in every 'possible world,' logicians have derived certain axioms or principles that show on what basis any statement is true in any 'possible world.' These axioms describing the relationship between 'possible worlds' is the 'accessibility relation' in detail.

Put another way, these modal axioms describe in detail the 'accessibility relation,' ${\displaystyle R}$ between two 'worlds.' That relation, ${\displaystyle R}$ symbolizes that from any given 'possible world' some other 'possible worlds' may be accessible, and others may not be.

The accessibility relation has important uses in both the formal/theoretical aspects of modal logic (theories about 'modal logic'). It also has applications to a variety of disciplines including epistemology (theories about how people know something is true or false), metaphysics (theories about reality), value theory (theories about morality and ethics), and computer science (theories about programmatic manipulation of data).

## Propositional modal logic

The reasoning behind the 'accessibility relation' uses the basics of 'propositional modal logic' (see modal logic for a detailed discussion). 'Propositional modal logic' is traditional propositional logic with the addition of two key unary operators:

${\displaystyle \Box }$ symbolizes the phrase 'It is necessary that...'

${\displaystyle \Diamond }$ symbolizes the phrase 'It is possible that...'

These operators can be attached to a single sentence to form a new compound sentence.

For example, ${\displaystyle \Box }$ can be attached to a sentence such as 'I walk outside.' The new sentence would look like: ${\displaystyle \Box }$'I walk outside.' The entire new sentence would therefore read: 'It is necessary that I walk outside.'

But the symbol ${\displaystyle A}$ can be used to stand for any sentence instead of writing out entire sentences. So any sentence such as 'I walk outside' or 'I walk outside and I look around' are symbolized by ${\displaystyle A}$.

Thus for any sentence ${\displaystyle A}$ (simple or compound), the compound sentences ${\displaystyle \Box A}$ and ${\displaystyle \Diamond A}$ can be formed. Sentences such as 'It is necessary that I walk outside' or 'It is possible that I walk outside' would therefore look like ${\displaystyle \Box }$${\displaystyle A}$ and ${\displaystyle \Diamond A}$, respectively.

However, the symbols ${\displaystyle p}$, ${\displaystyle q}$ can also be used to stand for any statement of our language. For example, ${\displaystyle p}$ can stand for 'I walk outside' or 'I walk outside and I look around.' The sentence 'It is necessary that I walk outside' would look like: ${\displaystyle \Box }$${\displaystyle q}$. The sentence 'It is possible that I walk outside' would look like: ${\displaystyle \Diamond }$${\displaystyle q}$.

Six Basic Axioms of Modal Logic:

There are at least six basic axioms or principles of almost all modal logics or steps in thinking/reasoning. The first two hold in all regular modal logics, and the last holds in all normal modal logics.

1st Modal Axiom:

• ${\displaystyle \Box p\leftrightarrow \lnot \Diamond \lnot p}$ (Duality)

The double arrow stands symbolizes 'if and only if,' 'necessary and sufficient' conditions. A 'necessary' condition is something that must be the case for something else. Being literate, for instance, is a 'necessary' condition for reading about the 'accessibility relation.' A 'sufficient condition' a condition that is good enough for something else. Being literate, for instance, is a 'sufficient' condition for learning about the accessibility relation.' In other words, it is enough to be literate in order to learn about the 'accessibility relation,' but may not be 'necessary' because the relation could be learned in different ways (such as through speech). Aside from 'necessary and sufficient,' the double arrow represents equivalence between the meaning of two statements, the statement to the left and the statement to the right of the double arrow.

The half square symbols before the diamond and ${\displaystyle p}$ symbol in the sentence '${\displaystyle \Box p\leftrightarrow \lnot \Diamond \lnot p}$' stand for 'it is not the case, or 'not.'

The ${\displaystyle p}$ symbol stands for any statement such as 'I walk outside.' Therefore, it could also stand for 'The apple is Red.'

Example 1:

The first principle says that any statement involving 'necessity' on the left side of the double arrow is equivalent to the statement about the negation of 'possibility' on the right.

So using the symbols and their meaning, the first modal axiom, ${\displaystyle \Box p\leftrightarrow \lnot \Diamond \lnot p}$ could stand for: 'It's necessary that I walk outside if and only if it's not possible that it is not the case that I walk outside.'

And when I say that 'It's necessary that I walk outside,' this is the same as saying that 'It's not possible that it is not the case that I walk outside.' Furthermore, when I say that 'It's not possible that it is not the case that I walk outside,' this is the same as saying that 'It's necessary that I walk outside.'

Example 2:

${\displaystyle p}$ stands for 'The apple is red.'

So using the symbols and their meaning described above, the first modal axiom, ${\displaystyle \Box p\leftrightarrow \lnot \Diamond \lnot p}$ could stand for: 'It's necessary that the apple is red if and only if it's not possible that it is not the case that the apple is red.'

And when I say that 'It's necessary that the apple is red,' this is the same as saying that 'It's not possible that it is not the case that the apple is red.' Furthermore, when I say that 'It's not possible that it is not the case that the apple is red,' this is the same as saying that 'It's necessary that the apple is red.'

Second Modal Axiom:

• ${\displaystyle \Diamond p\leftrightarrow \lnot \Box \lnot p}$ (Duality)

Example 1:

The second principle says that any statement involving 'possibility' on the left side of the double arrow is the same as the statement about the negation of 'necessity' on the right.

${\displaystyle p}$ stands for 'Spring has not arrived.'

Using the symbols and their meaning described above, the second modal axiom, ${\displaystyle \Diamond p\leftrightarrow \lnot \Box \lnot p}$ could stand for: 'It's possible that Spring has not arrived if and only if it is not the case that it is necessary that it is not the case that Spring has not arrived.'

Essentially, the second axiom says that any statement about possibility called 'X' is the same as a negation or denial of a different statement about necessity 'Y.' The statement about necessity shows the denial of the same original statement 'X.'

The other axioms can be read and interpreted in the same way, by substituting letters ${\displaystyle p}$ for any statement and following the reasoning. Brackets in a symbolized sentence mean that anything inside the brackets counts as a whole sentence. Any symbol before the brackets therefore applies to the sentence as a whole, not just the letters or an individual sentence.

An arrow stands for "then" where the left statement before the arrow is the "if" of the entire sentence.

Other Modal Axioms:

* ${\displaystyle \Box (p\land q)\leftrightarrow (\Box p\land \Box q)}$

* ${\displaystyle (\Box p\lor \Box q)\rightarrow \Box (p\lor q)}$

* ${\displaystyle \Box (p\to q)\to (\Box p\to \Box q)}$ (Kripke property)

Most of the other axioms concerning the modal operators are controversial and not widely agreed upon. Here are the most commonly used and discussed of these:

(T) ${\displaystyle \Box p\rightarrow p}$
(4) ${\displaystyle \Box p\rightarrow \Box \Box p}$
(5) ${\displaystyle \Diamond p\rightarrow \Box \Diamond p}$
(B) ${\displaystyle p\rightarrow \Box \Diamond p}$

Here, "(T)","(4)","(5)", and "(B)" represent the traditional names of these axioms (or principles).

According to the traditional 'possible worlds' semantics of modal logic, the compound sentences that are formed out of the modal operators are to be interpreted in terms of quantification over possible worlds, subject to the relation of accessibility. A sentence like ${\displaystyle (\Box p\lor \Box q)\rightarrow \Box (p\lor q)}$ is to be interpreted as true or false in all or some 'possible worlds.' In turn, the grounds on which the sentence is true (symmetry, transitive property, etc.) in all 'possible worlds' is the 'accessibility relation.'

The relation of accessibility can now be defined as an (uninterpreted) relation ${\displaystyle R(w_{1},w_{2})}$ that holds between 'possible worlds' ${\displaystyle w_{1}}$ and ${\displaystyle w_{2}}$ only when ${\displaystyle w_{2}}$ is accessible from ${\displaystyle w_{1}}$.

Additionally, to make things more specific, any formula, axiom like ${\displaystyle (\Box p\lor \Box q)\rightarrow \Box (p\lor q)}$ can be translated into a formula of first-order logic through standard translation. That first-order logic formula or sentence makes the meaning of the boxes and diamonds in modal logic explicit.

## The four types of the accessibility relation in formal semantics

'Formal semantics' studies the meaning of statements written in symbols. The sentence ${\displaystyle (\Box p\lor \Box q)\rightarrow \Box (p\lor q)}$, for example, is a statement about 'necessity' in 'formal semantics.' It has a meaning that can be represented by the symbol ${\displaystyle R}$, where ${\displaystyle R}$ takes the form of the 'necessity relation' described below.

So, the 'accessibility relation,' ${\displaystyle R}$ can take on at least four forms, that is, the 'accessibility relation' can be described in at least four ways.

Each type is either about 'possibility' or 'necessity' where 'possibility' and 'necessity' is defined as:

• (TS) Necessarily ${\displaystyle p}$ means that ${\displaystyle p}$ is true at every 'possible world' ${\displaystyle w}$ such that ${\displaystyle R(w^{*},w)}$.
• Possibly ${\displaystyle p}$ means that ${\displaystyle p}$ is true at some possible world ${\displaystyle w}$ such that ${\displaystyle R(w^{*},w)}$.

The four types of ${\displaystyle R}$ will be a variation of these two general types. They will specify on what conditions a statement is true either in every possible world, or some possible. The four specific types of ${\displaystyle R}$ are:

Reflexive, or *Axiom (T) above:

If ${\displaystyle R}$ is reflexive, every world is accessible to itself. Reflexivity guarantees that any world at which ${\displaystyle A}$ is true is a world from which there is an accessible world at which ${\displaystyle A}$ is true, and thus ${\displaystyle A}$ is possible at worlds where it's true, which isn't necessarily the case in worlds that aren't accessible to themselves. Without the reflexivity condition, ${\displaystyle A}$ can be necessary at a world where it's false, if that world isn't accessible to itself; thus axiom T—that ${\displaystyle \Box A}$ at a world implies ${\displaystyle A}$ is true at that world—follows from reflexivity.

Transitive, or *Axiom (4) above:

If ${\displaystyle R}$ is transitive, any world accessible to any world ${\displaystyle w'}$ accessible to world ${\displaystyle w}$ is also accessible to ${\displaystyle w}$. Transitively, ${\displaystyle \Box A}$ is true at a world ${\displaystyle w}$ only when ${\displaystyle A}$ is true at every world ${\displaystyle w'}$ accessible to ${\displaystyle w}$, including every world ${\displaystyle w''}$ accessible to any ${\displaystyle w'}$, and every world accessible to any ${\displaystyle w''}$, etc., so when ${\displaystyle \Box A}$ is true at ${\displaystyle w}$, it’s also true at every ${\displaystyle w'}$ and every ${\displaystyle w''}$, etc., which means ${\displaystyle \Box \Box A}$ is also true at ${\displaystyle w}$, which is axiom 4.

Euclidean or *Axiom (5) above:

If ${\displaystyle R}$ is euclidean, any two worlds accessible to a given world are accessible to each other. ${\displaystyle \Box \Diamond A}$ is true at a world ${\displaystyle w}$ if and only if, for every world ${\displaystyle w'}$ accessible to ${\displaystyle w}$, there is a world ${\displaystyle w''}$ accessible to ${\displaystyle w'}$ at which ${\displaystyle A}$ is true. If ${\displaystyle A}$ is true at a world ${\displaystyle w'}$ accessible to ${\displaystyle w}$, then if that world is accessible to every other world accessible to ${\displaystyle w}$, it will be true that for every world accessible to ${\displaystyle w}$ there is an accessible world (${\displaystyle w'}$) at which ${\displaystyle A}$ is true, so ${\displaystyle \Diamond A}$ is true at all worlds accessible to ${\displaystyle w}$. The euclidean property thus entails that ${\displaystyle \Diamond A}$ implies ${\displaystyle \Box \Diamond A}$, which is axiom 5.

Symmetric or *Axiom (B) above:

If ${\displaystyle R}$ is symmetric, then if world ${\displaystyle w'}$ is accessible to world ${\displaystyle w}$, ${\displaystyle w}$ is accessible to ${\displaystyle w'}$. If ${\displaystyle A}$ is true at ${\displaystyle w}$, then at every ${\displaystyle w'}$ accessible to ${\displaystyle w}$, there is a world (${\displaystyle w}$) accessible to ${\displaystyle w'}$ at which ${\displaystyle A}$ is true, so ${\displaystyle A}$ is possible at all ${\displaystyle w'}$, and thus it's necessary at ${\displaystyle w}$ that ${\displaystyle A}$ is possible, which is axiom B.

## Philosophical applications

One of the applications of 'possible worlds' semantics and the 'accessibility relation' is to physics. Instead of just talking generically about 'necessity (or logical necessity),' the relation in physics deals with 'nomological necessity.' The fundamental translational schema (TS) described earlier can be exemplified as follows for physics:

• (TSN) ${\displaystyle P}$ is nomologically necessary means that ${\displaystyle P}$ is true at all possible worlds that are nomologically accessible from the actual world. In other words, ${\displaystyle P}$ is true at all possible worlds that obey the physical laws of the actual world.

The interesting thing to observe is that instead of having to ask, now, "Does nomological necessity satisfy the axiom (5)?", that is, "Is something that is nomologically possible nomologically necessarily possible?", we can ask instead: "Is the nomological accessibility relation euclidean?" And different theories of the nature of physical laws will result in different answers to this question. (Notice however that if the objection raised earlier is true, each different theory of the nature of physical laws would be 'possible' and 'necessary,' since the euclidean concept depends on the idea about 'possibility' and 'necessity'). The theory of Lewis, for example, is asymmetric. His counterpart theory also requires an intransitive relation of accessibility because it is based on the notion of similarity and similarity is generally intransitive. For example, a pile of straw with one less handful of straw may be similar to the whole pile but a pile with two (or more) less handfuls may not be. So ${\displaystyle x}$ can be necessarily ${\displaystyle P}$ without ${\displaystyle x}$ being necessarily necessarily ${\displaystyle P}$. On the other hand, Saul Kripke has an account of de re modality which is based on (metaphysical) identity across worlds and is therefore transitive.

Another interpretation of the 'accessibility relation' with a physical meaning was given in Gerla 1987 where the claim “is possible ${\displaystyle P}$ in the world ${\displaystyle w''}$ is interpreted as "it is possible to transform ${\displaystyle w}$ into a world in which ${\displaystyle P}$ is true". So, the properties of the modal operators depend on the algebraic properties of the set of admissible transformations.

There are other applications of the 'accessibility relation' in philosophy. In epistemology, one can, instead of talking about nomological accessibility, talk about epistemic accessibility. A world ${\displaystyle w'}$ is epistemically accessible from ${\displaystyle w}$ for an individual ${\displaystyle I}$ in ${\displaystyle w}$ if and only if ${\displaystyle I}$ does not know something which would rule out the hypothesis that ${\displaystyle w'=w}$. We can ask whether the relation is transitive. If ${\displaystyle I}$ knows nothing that rules out the possibility that ${\displaystyle w'=w}$ and knows nothing that rules the possibility that ${\displaystyle w''=w'}$, it does not follow that ${\displaystyle I}$ knows nothing which rules out the hypothesis that ${\displaystyle w''=w}$. To return to our earlier example, one may not be able to distinguish a pile of sand from the same pile with one less handful and one may not be able to distinguish the pile with one less handful from the same pile with two less handfuls of sand, but one may still be able to distinguish the original pile from the pile with two less handfuls of sand.

Yet another example of the use of the 'accessibility relation' is in deontic logic. If we think of obligatoriness as truth in all morally perfect worlds, and permissibility as truth in some morally perfect world, then we will have to restrict out universe to include only morally perfect worlds. But, in that case, we will have left out the actual world. A better alternative would be to include all the metaphysically possible worlds but restrict the 'accessibility relation' to morally perfect worlds. Transitivity and the euclidean property will hold, but reflexivity and symmetry will not.

## Computer science applications

In modeling a computation, a 'possible world' can be a possible computer state. Given the current computer state, you might define the accessible possible worlds to be all future possible computer states, or to be all possible immediate "next" computer states (assuming a discrete computer). Either choice defines a particular 'accessibility relation' giving rise to a particular modal logic suited specifically for theorems about the computation.