You could probably use AI to reform legal systems but it's very different from mathematical proofs, being fundamentally about human behaviour.