The logic of modern law and the principles of jurisprudence; origins and different applications with a case study in the Iranian legal system.