To represent the knowledge of the three players we use an S5(3)-model M. This model consists of a set of states S, a truth assignment function π and set of accessibility relations Ri for each player. We represent each Ri by a matrix of truth-values. To show how we update the model once new information is made available, we give a worked example of using matrices of truth-values to represent accessibility relations to analyze the muddy children puzzle.
We assume the setup of the puzzle is known (if not, find an explanation here). We represent each set of accessibility relations Ri at the start of the puzzle in the following way:
Here, a vector (0,0,1) represents the state in which agents 1 and 2 are clean and agent 3 is muddy. A T (for "true") at a position (s,t) in a matrix should be understood as saying that the agent considers t to be possible in s. In this example, we assume that (0,1,1) is the actual state, i.e. agents 2 and 3 are muddy while agent 1 is clean.
The puzzle starts with the announcement that at least 1 child is muddy. The accessibility relations are then updated in the following way:
From the mother's announcement all agents know that (0,0,0) is impossible. The model is updated by removing all accessibility relations to and from that state. In the matrices, this amounts to removing all T's in both the row and the column corresponding to the impossible state.
From the semantics of epistemic formulas we know that knowing a certain formula is equivalent to that formula holding in accessible worlds considered possible. Since all states are mutually inconsistent, knowing which state she is in requires an agent to consider only that state possible. From the matrices we can see that each agent still considers multiple states possible in the actual state (0,1,1). When the mother asks whether anyone knows whether she is muddy or not, this implies that nobody will step forward.
The muddy children puzzle is famous for this not-knowing being a source of information in itself. From the matrices, we can see that agent 1 would've known whether she was muddy if (1,0,0) had been the actual state. Similarly, agent 2 would've known whether she was muddy if (0,1,0) had been the true state and agent 3 would've known if (0,0,1) had been the actual state. Since all players now know these states are impossible, all relations to and from those states are removed from the model:
We can see that both agent 2 and agent 3 now know they are muddy: in the actual state, they only consider the actual state possible.
This method of updating a model can also be used to represent the changing knowledge of players' cards in "What's My Number?". The sets of states S consists of all possible distributions of the nine cards over the three players. This amounts to a total of
states. The relations matrices Ri are initialized in such a way that (s,t) ∈ Ri if and only if in states s and t the same cards are assigned to players other than i.
There are two ways in which new information can change the accessibility relation matrices:
We have ran nine experiments under various conditions. Each experiments consists of 7560 games, which are all different in their true game state. This is the complete collection of possible true game states. The order in which states are used is random but fixed, due to the nature of C++'s random_shuffle algorithm. The same holds for the order of question cards in each game. This allows for easy comparison between games. Note that this does not exhaustively consider all possible game courses, since the stack of question cards is shuffled at the beginning of each game.
We consider the following nine conditions:
A standard game is a game where the questions are randomly shuffled into the stack and drawn from the top. When no epistemic reasoning is used agents use only direct information from the question answer to cross off possible numbers for their board until only two possibilities remain. Under the epistemagic condition, the S53-model is used to infer more information from the fact that other players are not yet able to know their numbers. 'Epistemagic once' means that epistemic step is used once each turn. 'Epistemagic until steady' means that the epistemic step is repeated until the model does not change any more.
Recall that when player's use Kooi's choice, there are two ways to determine the information gain of a question:
The outcome of these experiments are listed under results.