Having a way to say "here, this new bill you're proposing is provably in conflict with those three" would maaaybe nudge some people to take a second look or raise concerns?
That wouldn't get you very far. The answer is almost always "yes".
The outcome will be the same in either case, so you might as well make it quicker and easier.
This is a tremendous leap.
"Yes, you avoided running over a family, but you crossed over the yellow line, didn't signal properly, that also counts as reckless driving and a number of other violations. You'll be fined thousands of dollars, your license taken, and you'll spend one week in jail"
"I guess next time I'll run them over"
We are talking about people seriously arguing over how to interpret a comma, or the lack thereof [1], or claiming that obstructing guards outside a military base is a crime, while doing it inside the base is completely legal [2].
[1] O'Connor v. Oakhurst Dairy (1st Cir. 2017)
[2] Adler v. George [1964] 2 QB 7
It benefits the police to have a population composed of people who are breaking the law, even unknowingly, since that means any inhumane action by police is still "fighting criminals".
On the other hand police unions have obtained "qualified immunity" which means ignorance of the law is a defense for police.
Which is itself a demonstration of how contradictions can be beneficial.
It isn't necessary to have law be defined as strictly as a mathematical proof or a statement of formal logic because we have human beings interpreting those laws who understand things like context and precedent, to allow for fairness and mercy when necessary, and to be able to handle edge cases.
We want humans to create, debate and interpret laws rather than machines because we value humans more than machines.
It’s going to be a proper mess before it gets better.
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).
Laws can't even consistently get "and" and "or" right.
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
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.
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.
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.