Exercise · Volume 1 · 2.2.5-3
Exercise 2.2.5-3
not stated yet in Lean solution written
| Rating | 22 |
|---|---|
| Kind | Informal: the exercise has no formal statement, so Lean does not state it from the written solution |
| Section | Section 2.2.5 of Volume 1 |
The task
The elevator model has three call variables per floor, , and . Explain how an experimenter could press buttons in a chosen order to prove that there are three independent binary variables on each middle floor.
The exact wording is in your copy of the book.
Hints
Open one hint at a time. Try the exercise again after each.
Hint 1
Look for two situations that differ in only one variable and in which the elevator behaves differently.
Hint 2
Read steps E2, E7 and E8 for what each variable alone causes.
Solution
Show the solution
It is enough to show that no variable can be computed from the other two, and that no two can be merged.
against . Let the elevator go up past floor on its way to floor , where somebody has pressed the button in the car. In step E7 the elevator stops at a floor if or is set. It stops for only when nothing is called above that floor, or for floor . So when a person on floor has pressed the up button, the elevator stops there. When the person has pressed the down button, the elevator passes floor . Therefore the two variables are different. The mirrored experiment with the down trip shows the same.
against the other two. In step E2, when the elevator going up finds nothing called above its floor, it turns to if some with below is set, and otherwise it turns to . The hall variables and below are not looked at. So run two experiments that are equal except that a person has pushed an in-car button for floor in the first and a hall button on floor in the second. When the elevator opens its doors at the top, its state is in the first and in the second. The difference shows when the next person gets in. In state that person chooses the direction, and the doors close after only 25 units, while in state the direction stays and the doors wait for the usual time.
With a hall button of either kind in the first experiment, no variable of the pair , can reproduce the effect of , since the second experiment may use either of them. Together with the first experiment, this shows that the three variables are independent.
Remarks
Table 1 of the text has examples of both effects: the elevator passes floors where people wait to go down, and it decides its direction when the doors open from the in-car buttons.
This solution is drafted, and a person has not reviewed it yet. The source.
In Lean
not stated yet The exercise is not stated in Lean yet.
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.