News for hackers. Stuff that matters.
Re:When can a comma cost you $2 million? by kevingadd on Wednesday January 13, 2010 @05:37PM (#1051374)
Somehow, when someone says 'unambiguous', C is the last language I can think of. I would sooner think of something more mathematically 'pure', or just reader-friendly, since the goal is expressing meaning, not actually running the contract... (I hope)

I suspect getting it to fly would be the biggest challenge, though, since our legal system is very much bound up in tradition and precedents.

Re:When can a comma cost you $2 million? by mortenjorck on Wednesday January 13, 2010 @07:50PM (#1051631)
What's really needed is a language specifically written for the job. C was built for writing system software. English was built for writing poetry. Neither are ideal for precisely specifying the terms of a contract.

Maybe if Lessig got together with a few linguists and information architects...

Re:When can a comma cost you $2 million? by cabalamat on Thursday January 14, 2010 @12:57AM (#1052046)
Something a bit like Prolog might do the job. There would also have to be terminal predicates coded in English. So theft (in English law defined as: "dishonestly appropriat[ing] property belonging to another with the intention of permanently depriving the other of it") might be:

   (define ([Person]X is-thief of: [Property]P belonging-to: [Person]Y)
      (and
         (X appropriates P)
         (X != Y)
         (X intends 
            ((Time>now) implies not (Y has P)))
         (dishonestly)))
   
   (define dishonestly 
      "this is purposely left undefined in the law")
   
   (define ([Person]X appropriates [Property]P)
      "X does some action causing him to have control over P")
There could then be a compiler and other software to automatically reason about such statements.
Re:When can a comma cost you $2 million? by JabavuAdams on Wednesday January 13, 2010 @10:52PM (#1051871)
I remember reading some sci-fi involving a treaty so complicated it had to be machine-verified.

Too bad about that Gödel guy, though.

Re:When can a comma cost you $2 million? by ars on Wednesday January 13, 2010 @06:32PM (#1051488)
I actually was thinking that the goal is running the contact. Not the whole thing maybe, but any complex parts.