SMS dit: Modern logic in the service of law