Einstein called this tactic “combinatory play”—the act of opening up one mental channel by dabbling in another. This is why he would often play the violin when he was having difficulty solving a mathematical puzzle; after a few hours of sonatas, he could usually find the answer he needed. Part of the trick of combinatory play, I think, is that it quiets your ego and your fears by lowering the stakes.