News for hackers. Stuff that matters.
Re:Lean Verification of the Riemann Hypothesis by skissane on Saturday November 21, 2026 @10:29PM (#50595943)
Laws are supposed to be applied (by judges, bureaucrats, etc) with discretion and common sense, not mechanically. Of course, that can sometimes result in injustices – exceptions being made for some people not others for reasons of political or societal biases – but it also avoids a lot of injustices: thoughtless/mechanical application of the law can result in outcomes which the legislator never intended and few would consider just or fair or reasonable.

I think, if we actually started applying laws in such a mechanical way, we'd end up with laws changing a lot more frequently, and with a lot more special cases written in to them – now, if applying a law in a certain situation seems unreasonable, judges will often choose not to apply it; with mechanical application, they'd have no choice, and then the people negatively impacted would lobby the legislature for a change in the legal text, and they'd probably get it. It could also see increased use of executive clemency (the power of pardon), or its legislative equivalent (legislation retroactively declaring certain convictions null and void).

Re:Lean Verification of the Riemann Hypothesis by Dylan16807 on Sunday November 22, 2026 @01:32AM (#50596883)
It wouldn't be about replacing judges and judgement with computers, but about having laws that are clear and minimally ambiguous as a starting point.

Laws can't even consistently get "and" and "or" right.

Re:Lean Verification of the Riemann Hypothesis by vector_spaces on Sunday November 22, 2026 @05:31AM (#50598256)
Again, I think you are missing the point that many instances the ambiguity in law is entirely intentional and by design, either with the intent to defer these ambiguous cases to the discretion of judges / admin agencies or as a part of political compromises or because those exact ambiguous/edge cases can't be agreed upon, or with the intent of future proofing. The specific example you gave is potentially exemplary. Don't assume that there aren't any lawmakers that have not taken a formal logic course

So the clarity you are proposing would in many instances have rather brutal and likely unintended impacts if broadly applied.

Not to mention that rewriting that verbiage probably wouldn't even have the intended effect as the semantics may already be determined by years of caselaw. But regardless, the dominating factor here is that the ambiguity is (usually or at least very often) baked in and that is in part meant as a stopgap against the particular kinds of injustices that arise when laws are applied purely procedurally without regard for the situational reality

See also Chesterton's Fence

Re:Lean Verification of the Riemann Hypothesis by Dylan16807 on Sunday November 22, 2026 @07:08AM (#50598891)
Ambiguous "and" versus "or" is not future proofing and causes nothing but pain.

If they actually couldn't decide on such a thing, they would need to suck it up and do their job. Your idea of brutal consequences is ridiculous in a situation like that.

Re:Lean Verification of the Riemann Hypothesis by skissane on Sunday November 22, 2026 @07:20AM (#50598966)
> Ambiguous "and" versus "or" is not future proofing and causes nothing but pain.

We don't need formalising law in something like Lean to get this.

All we need is better legislative drafting. Indeed, many jurisdictions now have drafting guidelines which recommend using constructs such as "At least one of the following", "All of the following", etc, to remove the ambiguity of plain "and"/"or". Those jurisdictions which don't have such guidance should adopt it.

Re:Lean Verification of the Riemann Hypothesis by 0x445442 on Sunday November 22, 2026 @07:55AM (#50599272)
"law can result in outcomes which the legislator never intended"

But what has always baffled me, AFAIK, the original legislators don't file Amicus Briefs when the meaning of laws are argued in court. I mean in situations where the original legislator is still alive and of good mind, why doesn't the Judge just ask them what the spirt of the law is?

Re:Lean Verification of the Riemann Hypothesis by mik1998 on Sunday November 22, 2026 @10:50AM (#50600752)
[delayed]
Re:Lean Verification of the Riemann Hypothesis by 0x445442 on Sunday November 22, 2026 @05:26PM (#50604600)
Of course, but still perplexing from a pragmatic perspective.
Re:Lean Verification of the Riemann Hypothesis by skissane on Monday November 23, 2026 @02:18AM (#50608498)
> But what has always baffled me, AFAIK, the original legislators don't file Amicus Briefs when the meaning of laws are argued in court. I mean in situations where the original legislator is still alive and of good mind, why doesn't the Judge just ask them what the spirt of the law is?

In a parliamentary system such as the UK, Canada or Australia, this tends to be less of an issue – the executive government is under the direct control of the legislature, so if the Attorney-General or Solicitor-General submits a brief arguing for a particular interpretation of legislation, the current legislative majority (which might not necessarily be the majority which enacted that legislation to begin with) can be understood as effectively endorsing it.

In a presidential system such as the US, where there is a strong separation between the executive and legislative branches, legislator amicus briefs make somewhat more sense – and members of US Congress submitting amicus briefs to appellate courts actually does happen reasonably frequently; however, the courts tend not to put much weight on them.