The following is an excerpt from The Legal Singularity: How Artificial Intelligence Can Make Law Radically Better, one of the five books shortlisted for this year’s $60,000 Donner Prize.