“We say that a story qualifies as a murder mystery if the reader can sort its characters into these four sets and—crucially—the set of killers is identified in the text after the other three sets have been completed. That sentence is what joins the world of mathematics to the imprecise world of literature.”