Modelling intent, with math, is not going to happy. Law is based around the intent of those taking actions, and understanding intent is absolutely philosophy.
>>shakna+(OP)
Understanding intent is understanding interest and that's not philosophy. If it's not about interest, it's psychiatry - not philosophy either.
Besides, only a lesser part of law is about intent, the major part is about punishing and avoiding harm, finding the true facts and applying the written law to them.
Down-voting can't change the truth, we've been led by the nose for far too long.