I am having trouble resolving a version of the well known relativistic train paradox. I would prefer a qualitative explanation although any help is appreciated.
Imagine a train and a tunnel which, when they are at rest relative to each other, are of the same length.
The tunnel has a left opening (entrance) and a right opening (exit). Imagine that the tunnel has a door on its right opening (exit) which is initially closed.
Assume that there are matching sensors on the tunnel's entrance and on the back of the train, so that when the back of the train enters the tunnel a signal is sent to open the front door so that the train can pass safely through the tunnel.
Now let the train travel from left to right at a speed fast enough, so that the train shrinks to a quarter of the legnth of the tunnel in the tunnel’s frame.
In the tunnel's frame of reference, the tunnel is 4 times as long as the train. The back of the train enters the tunnel (sending a signal), the front door opens, and the train passes through safely.
But in the train's frame of reference, the train is 4 times as long as the tunnel. So a signal cannot be sent to open the initially closed door before the front of the train reaches it. In the train's frame of reference there is a terrible accident and all of the passengers die.
How can these two scenarios be reconciled? which one is true? I think the main difference between this version of the paradox and the "classic" one is that here the opening of the door depends on the back of the train entering the tunnel.