Then we need to choose the addressee of the third question such that it disambiugates between the remaining cases. (That this is the optimal solution is obvious, since with three boolean questions one can disambiugate at most 8 cases - in this case indeed only 6 because Past answers at random if asked first. With two questions one could disambiugate only four cases, which would be insufficient - though with head-exploding questions nine cases could be disambiugated...)
- we must avoid asking Future the last question. Thus if L is Future then we can ask either M or R (let's say M), but if L is not Future then we must ask L.
- the content of the last question must disambiugate between M and R. But the questions must be fixed beforehand, but L can be anything, and we don't want to ask for L again. So we could ask e.g. "Is M Past OR (Is L Past AND M Present)": if L is already Past then we ask for Present instead, otherwise we ask for Past; or we could ask if M is "earlier" than R. (The final questions would be of significantly simpler form if we could pick not only the addressee but also the question.)
- To L:
are you Present?
[*] - To M:
( are you Present AND I asked Past my first question ) OR ( are you Future AND L is Present ) OR ( are you Past AND ( (L is Past AND M is Present) OR (M is Past) ) )?
- To M if previous both answered with "No", to L otherwise:
( you are Present AND ( (L is Past AND M is Present) OR (M is Past) ) ) OR ( are you Future AND I asked Past my first question )?
[*] according to the pattern there should be OR ( are you Past AND I asked Past my first question )
, but that drops away since that applies only if question 2 is addressed to Past, but then the first question can't have been addressed to Past.
1. To Left:
are you Present?
[*]
2. To Middle:( are you Present AND I asked Past my first question ) !OR ( are you Future AND Left is Present ) !OR ( are you Past AND ( (Left is Past AND Middle is Present) OR (Middle is Past) ) )?
3. To Middle if previous both answered with "No", to Left otherwise:( you are Present AND ( (Left is Past AND Middle is Present) OR (Middle is Past) ) ) !OR ( are you Future AND I asked Past my first question )?
[*] according to the pattern there should beOR ( are you Past AND I asked Past my first question )
, but that drops away since that applies only if question 2 is addressed to Past, but then the first question can't have been addressed to Past.