Notice:
These solutions appear courtesy of the students who wrote them. In observance of Swedish customs their identity is not disclosed.
Suppose that Pi and Pj have made requests Ri = (Ti, RR) and Rj = (Tj, RR) with Ti < Tj but Pj nevertheless is granted the resource before Pi is. For this to happen, Rj must be first in Pj's local queue and Pj must have received acknowledgments from all other processes, including Pi, with time stamps later than Tj. But these two conditions cannot be simultaneously satisfied if the channels are FIFO: Pi sent its request Ri before the acknowledgment to Pj was sent, and therefore Ri must have arrived to Pj when the acknowledgment from Pi arrives. But this contradicts the assumption that Rj is first in Pj's local queue -- as Ti < Tj, the first entry in Pj's local queue will be Ri.
By the marker sending rule and the assumption that the channels are FIFO, all messages from P reaching Q before the marker from P arrives at Q were sent before P recorded its state. By the marker receiving rule and the same assumption that the channels are FIFO, the sequence of messages reaching Q between the time that Q recorded its state and the time that the marker from P reached Q are recorded as the state of the channel from P to Q. These two statements put together are exactly our definition of a correct snapshot, since P and Q are arbitrary. We have assumed that all messages will eventually reach their destination, otherwise it could be the case that the state of a channel is never determined.
Now, suppose there is a protocol that makes coordination possible, and suppose this protocol makes both parties decide within r rounds. (With coordination we mean that both A and B decide the same thing, and that the decision is not trivial, i.e., always or 1, the parity of the date, or whatever.)
Now, the message that is sent from A to B in round r-1 (and is received by B at round r) could be lost or not, and A does not know if it is. So, B's decision can not depend on this message if A and B are to agree. Similarly, A's decision cannot depend on the last message sent from B to A.
Thus, the communication in the last round is not necessary, and there thus is a protocol that would have terminated in r-1 rounds.
By induction we get a protocol that terminates in 0 rounds, and thus must be trivial; this is a contradiction.