The solution to the Diagonal Man problem