# Sciences Po - Computational Law Lecture Notes > *Bryan Wilson* ## Lecture ### *What is Computational Law?* The idea of *Computational Law* really emanates from this broader notion that law is an algorithm. The algorithm of law in its current form is executed by people and in government buildings and in board rooms and places like this, but it is an algorithm. This week, for example, I had to go to the DMV to renew my driver's license so that I could vote. That whole process was one large algorithm -- I needed a certain set of documents, I needed some personal information to verify/authenticate that I am who I say I am, I pay some money in order to get the license, and then they send it to me in the mail. Whether this is on a blockchain with DIDs and a PDS or in your local DMV, this process is an algorithm. The role of computation, here, becomes important because computation has been woven into the fabric of broader society in a pretty deep level. Areas like supplychain management are a good example. And as we begin to think about what the legal algorithms look like in areas like supplychain management, for example, we need to think in a computational perspective. ### *Why is Computational Law relevant?* The notion of Computational Law is actually much bigger than the existing sort of thinking that we have done because there is so much opportunity that comes along with this type of thinking In one level, if we think about law as computation, there is a need to think about law as an algorithm that can be tuned to achieve certain outcomes. This requires setting goals and measurement criteria, developing standards for auditing and evaluating these goals, and finding ways to adapt and respond to emergent phenomena. If we apply this sort of thinking to the legal systems in place now, we can see that this has huge implications for transparency in law, efficiency in law, scalability in law, and especially in access to justice. ### *What are some good sources for an introduction to Computational Law?* There are a number of good sources out there. Some of my favorite include: ***Sources*** * Bill Mitchell's - *[City of Bits](https://mitpress.mit.edu/books/city-bits)* * Gillian Hadfield's - *[Rules for a Flat World](https://gillianhadfield.com/rules-for-a-flat-world/)* * Larry Lessig's - *[Code and Other Laws of Cyberspace](http://codev2.cc/)* * Mirielle Hildebrandt's - *[Law for Computer Scientists](https://lawforcomputerscientists.pubpub.org/)* * Michael Genesereth - *[Computational Law: The Cop in the Backseat](https://law.stanford.edu/2016/01/13/michael-genesereths-computational-law-the-cop-in-the-backseat/)* * Sandy Pentland's - *[A Perspective on Legal Algorithms](https://law.mit.edu/pub/aperspectiveonlegalalgorithms)* * Anthony Casey and Anthony Niblett - *[The Death of Rules and Standards](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2693826)* Additionally, there are a ton of great tools that can be used to build computational law systems and groups doing really great things in the computational law space, including: ***Tools*** * [Docassemble](https://docassemble.org) * [community.lawyer](https://community.lawyer/) * [Lexon](http://lexon.tech/) * [Blawx](https://www.blawx.com/) ***Groups*** * [Computational Legal Studies](https://computationallegalstudies.com/) * [CodeX, the Stanford Center for Legal Informatics](https://law.stanford.edu/codex-the-stanford-center-for-legal-informatics/) * [Suffolk Legal Innovation and Technology Lab](https://suffolklitlab.org/team/) * [Legal Hackers](https://legalhackers.org/) ### *How do people learn about Computational Law* I would say learning about computational law is really going to be based on used-cases. Learning about computational law is a bit like the famous [law of the horse](https://en.wikipedia.org/wiki/Law_of_the_Horse). There are lots of foundational skills that are generally required in order to practice computational law. Obviously a healthy knowledge of law and legal systems is good. > *"...the best way to learn the law applicable to specialized endeavors is to study general rules. Lots of cases deal with sales of horses; others deal with people kicked by horses; still more deal with the licensing and racing of horses, or with the care veterinarians give to horses, or with prizes at horse shows. Any effort to collect these strands into a course on 'The Law of the Horse' is doomed to be shallow and to miss unifying principles."* [1](https://en.wikipedia.org/wiki/Law_of_the_Horse) In addition to that, though. I think that the foundations of computational law are focused on process management and being able to look at an analog process, find where it can be supplemented with technology in a positive way, and accounting for any impediments that may result from using new technology. Going from these sorts of static processes to dynamic processes can generally be accomplished by designating roles, rules, and responsibilities for anyone involved in a process, breaking down the functions of a process into Business/Legal/Technical components, and then experimenting around in an effort to find something that works in a measurable sort of way. ### *Do lawyers need to know how to code?* Computational Law is actually very inclusive of lots of different disciplines. So while it may be helpful it isn't mandatory. Instead of thining about it as though a lawyer needs to be I think that there's a need for lawyers to look at coding as a liberal art and not exclusively as a computer science. As a liberal art, you can learn the sort of basic literacy about how to communicate with people actually doing the coding. ## Demo ### Parking Ticket Demo App This app is designed to prove how to build something like the [DoNotPay Parking Ticket App](https://donotpay.com/learn/parking-tickets/). The DoNotPay App automatically generates to help users fight parking tickets and is built #### Process Workflow ![](https://i.imgur.com/k7BMXBn.png) #### Data Inputs from Individual (Google Forms) <iframe src="https://docs.google.com/forms/d/e/1FAIpQLSd4aAiwl-3TonewihP-nOU-wamjchUA7T1fjviyXU0AxKdp2w/viewform?embedded=true" width="640" height="1171" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe> #### Proxy for Database (Google Sheets) <iframe src="https://docs.google.com/spreadsheets/d/e/2PACX-1vRqQJ8Ev79b2r08ipBMS91OZOa7EAoWWw6YBuiA7tqmfWB4pvAm2UeKEdH-jSdUl-2gQya_soXutMyc/pubhtml?gid=1395382917&amp;single=true&amp;widget=true&amp;headers=false"width="1000" height="200"></iframe> #### Computational Layer of Legal Reasoning (community.lawyer) *link*: https://bryangw.app.law/_15149?access_key=PwBqtpusRILosb53BOBQmC8hx <iframe src="https://bryangw.app.law/_15149?access_key=PwBqtpusRILosb53BOBQmC8hx"width="800" height="640"></iframe> ## Notes For a more robust example of what can be done with community.lawyer and in the larger Docassemble ecosystem, I encourage you to check out the following materials * [Form a Delaware Company](https://community.lawyer/cl/communitylawyer/form-a-delaware-company-1) - this document about how to form a company in Delaware, which includes some good conditional logic. * [Docassemble functions list](https://docassemble.org/docs/functions.html) - this is an overview of all the different things you can do in Docassemble * [Video Tutorial: How to Install Docassemble on Amazon Web Services](https://law.mit.edu/pub/howtoinstalldocassembleonaws/release/1) * [Video Tutorial: How to Create a Simple Docassemble Interview](https://law.mit.edu/pub/howtocreateasimpledocassembleinterview/release/1) * [Video Tutorial: Using Conditional Logic in Docassemble Interviews](https://law.mit.edu/pub/usingconditionallogicindocassembleinterviews/release/1) * [2020 MIT IAP Computational Law Course Overview - community.lawyer](https://www.youtube.com/watch?v=bO5jNXlu2bE&feature=emb_title) * [2019 MIT IAP Computational Law Course Overview - Docassemble](https://youtu.be/Mtt9ixTerZk)