Turn def into defthm in proof modules.