If the formulas and laws are not accessible to the public directly is the law even valid.
I imagine that the law is public, and thus some specification of the formula (as prose). But indeed in the 21st century a law that defines a mathematical formula ought to have a computer-usable component.