All reasoning comes from the most rational judgments made through careful observation and correct experiments.
No matter how seamless the crime is, as long as it is committed by humans, there is no unexplainable reason. The detective and the criminal seem to be worlds apart, but in the end... They are just one step away.