Ask HN: Has anyone tried to rewrite a law in Prolog?
Curious if it is possible and if it makes sense to define everything in a law or constitutional act as logical rules using a logic-based programming language such as Prolog.
It'd be really fun to simply type a logical question and directly see whether it is legal or illegal based on all the definitions.
5 comments
[ 3.7 ms ] story [ 23.0 ms ] threadhttps://www.doc.ic.ac.uk/~rak/papers/British%20Nationality%2...
Parts of the constitution of Japan in Prolog:
https://github.com/bitlaw-jp/the-constitution-of-japan
A recent project involving the formalization and automated analysis of criteria for grants:
https://www.brz.gv.at/en/BRZ-Tech-Blog/Tech-Blog-7-Symbolic-...