News for hackers. Stuff that matters.
Re:Lean Verification of the Riemann Hypothesis by siddthesquid on Saturday November 21, 2026 @10:18AM (#50590060)
Not a mathematician. But I'm wondering if there is nuance with defining a valid lean proof as definitive if the underlying mathematical theory behind lean itself is not complete.
Re:Lean Verification of the Riemann Hypothesis by hodgehog11 on Saturday November 21, 2026 @10:21AM (#50590093)
It is impossible for it to be fully "complete" (one of those halting problem proofs), but I've seen that the community has checked there is no meaningful metaprogramming here. Rather than checking whether it is right, the community tried to ensure that it could not have done something to cheat, and indeed, there were no examples of this.

At this point, I have more confidence in this proof than much of the published mathematical literature. RH has fallen.

Re:Lean Verification of the Riemann Hypothesis by siddthesquid on Saturday November 21, 2026 @10:30AM (#50590187)
I guess what I am wondering is if the mathematical community would say 0 chance or greater than 0 chance that we're mistaken in accepting things like halting problem, cantors diagonal argument, and godels incompleteness theorem as true. Sometimes it feels like they all point to same fundamental inconsistency with how we model infinity and self reference.
Re:Lean Verification of the Riemann Hypothesis by hodgehog11 on Saturday November 21, 2026 @10:37AM (#50590268)
They are conclusions that follow naturally from axioms that most of the community accept are true. The consequence of these results is that one cannot truly construct something that can completely verify everything, but we can get something that can verify almost everything, and if we know what pathologies look like, we can rule them out.

I do probability theory, so everything is just varying degrees of confidence in my view. Right now, this statement says that your confidence in RH should be extremely high.

Re:Lean Verification of the Riemann Hypothesis by math_dandy on Saturday November 21, 2026 @11:38AM (#50590932)
Gödel says that undecidable statements are out there. We now know that the Riemann hypothesis is not one of them.
Re:Lean Verification of the Riemann Hypothesis by thaumasiotes on Saturday November 21, 2026 @07:51PM (#50595138)
> Sometimes it feels like they all point to same fundamental inconsistency with how we model infinity and self reference.

There's not a fundamental inconsistency in how we model self-reference. Self-reference is itself inherently inconsistent; therefore all models that allow for arbitrary self-reference are necessarily inconsistent.

Re:Lean Verification of the Riemann Hypothesis by siddthesquid on Sunday November 22, 2026 @01:41AM (#50596911)
My claim is that "Self-reference is itself inherently inconsistent" is not necessarily true. For us to make that statement, we need to model it in a language that can make statements about consistency regarding self-reference. I can accept that it's unlikely that a model exists that can talk about self-reference. But can we absolutely say for certain? 100%, or 99.9999....9%?
Re:Lean Verification of the Riemann Hypothesis by thaumasiotes on Sunday November 22, 2026 @06:55AM (#50598793)
> My claim is that "Self-reference is itself inherently inconsistent" is not necessarily true.

You're free to claim that, but it isn't true.

> I can accept that it's unlikely that a model exists that can talk about self-reference.

This isn't right either; obviously it is possible to talk about self-reference. What do you think you're doing now?

Re:Lean Verification of the Riemann Hypothesis by siddthesquid on Sunday November 22, 2026 @08:48AM (#50599689)
To be clear, I mean to talk about self reference in a model that doesn't make it inconsistent. we only call it inconsistent because all our current math frameworks can't have all our good properties.

And the implication of the word "claim" is that Im not saying is true. your reply is also you claiming.

Re:Lean Verification of the Riemann Hypothesis by thaumasiotes on Sunday November 22, 2026 @12:42PM (#50601923)
> To be clear, I mean to talk about self reference in a model that doesn't make it inconsistent.

I'm kind of hoping you mean "have a model in which self-reference is possible and cannot lead to inconsistency".

In that case, the answer is straightforward: you cannot construct such a model. If self-reference is generally allowed, then you will be modeling inconsistent statements.

But my guess is kind of a leap from what you actually said. What you actually said is difficult to interpret. What did you mean?

Re:Lean Verification of the Riemann Hypothesis by siddthesquid on Sunday November 22, 2026 @02:10PM (#50602842)
Yea thats what I meant. And again, I am not claiming to know. I am just giving my doubts, and I am asking if when the OP said the word "definitive", if it's considered to be 100% established by the mathematical community that any of set theory or dependent type theory or category theory or hott are the best tools we have at asking such questions.

Like when you say "you cannot construct such a model", you are just saying that one of these existing foundational frameworks cannot model it right? If you are saying no model can possibly exist, I would ask you to show me a proof of that, but it would have to be done in one of the existing models.

So again, this is my doubt. My question is - are mathematicians absolutely certain another model does not exist? Like is it definitely not worth even looking for one?

Re:Lean Verification of the Riemann Hypothesis by thaumasiotes on Sunday November 22, 2026 @04:02PM (#50603867)
> My question is - are mathematicians absolutely certain another model does not exist? Like is it definitely not worth even looking for one?

Of course. You can prove this yourself in less than ten seconds. The most basic demonstration that self-reference always allows inconsistency is known for historical reasons as the "Cretan paradox", but it's just the proposition "this statement is false".

No matter what you do, that proposition will cause a contradiction, because it's inconsistent with itself. The inconsistency belongs to the underlying reality; the way you choose to model it can't change it.

Re:Lean Verification of the Riemann Hypothesis by bananaflag on Saturday November 21, 2026 @10:31AM (#50590199)
Gödel showed that you can't prove consistency of ZFC, Lean etc except in another system which you also can't trust. See e.g. Gentzen's proof for PA.
Re:Lean Verification of the Riemann Hypothesis by gpm on Saturday November 21, 2026 @10:33AM (#50590229)
From the article

> The checkers con-leche and con-ron come with a formal proof, relative to set theory, that they cannot accept a false proof, thus addressing concerns that Lean’s logic itself might have flaws that the proof could exploit.

All of modern math - outside logicians whose entire job is to study set theory and its alternatives - is based on set theory. If you're prepared to accept normal mathematical proofs you shouldn't be rejecting this proof on the basis that you're not confident in leans underlying mathematical theory.

Of course incompleteness means we can never prove that set theory itself is correct (consistent). But that's not something mathematicians worry about on a day to day basis. Proving it inconsistent would be a order of magnitudes larger result than the riemann hypothesis. Generally everyone believes it is consistent despite not being able to prove it.

Re:Lean Verification of the Riemann Hypothesis by eru on Saturday November 21, 2026 @12:37PM (#50591598)
> All of modern math - outside logicians whose entire job is to study set theory and its alternatives - is based on set theory.

That's only true in a technical sense:

You can base all of math on set theory, but you could also base all of math on Turing machines, or on integers, or a variety of other pretty much equivalent foundations.

Re:Lean Verification of the Riemann Hypothesis by gpm on Saturday November 21, 2026 @01:18PM (#50591993)
That's sort of the argument for why we have so much faith in set theory though, and things provable under it. It's not a system with some special powers that let us prove more things, it's a system that only lets us prove things that are intuitively true under "any" proof system (not actually any of course - but as you say a variety of equivalent foundations).

Reducing the correctness of the lean code here to set theory is then also reducing it to everything you can reduce the correctness of set theory to.

Re:Lean Verification of the Riemann Hypothesis by eru on Saturday November 21, 2026 @10:56PM (#50596089)
Mostly agreed.

> It's not a system with some special powers that let us prove more things, it's a system that only lets us prove things that are intuitively true under "any" proof system (not actually any of course - but as you say a variety of equivalent foundations).

Not quite. The 20th century is full of people poking holes at early attempts at set theory. Those early attempts looked very intuitively true. See eg Russell's paradox.

Re:Lean Verification of the Riemann Hypothesis by drdeca on Saturday November 21, 2026 @02:23PM (#50592716)
[delayed]
Re:Lean Verification of the Riemann Hypothesis by dkernssf on Saturday November 21, 2026 @02:37PM (#50592842)
>Generally everyone believes it is consistent despite not being able to prove it.

Completely unrelated to RH discussion but this particular line is how Atheists think they can grill theists.

cAn YoU pRovE GOD eXists?

Re:Lean Verification of the Riemann Hypothesis by nialv7 on Saturday November 21, 2026 @10:34AM (#50590242)
> The checkers con-leche and con-ron come with a formal proof, relative to set theory, that they cannot accept a false proof

so it is correct as long as set theory is sound

Re:Lean Verification of the Riemann Hypothesis by dist-epoch on Saturday November 21, 2026 @10:52AM (#50590419)
It's a web of different checkers proving each-other correct, and by implication this proof.

But there are still loopholes, each checker has a set of assumptions. For example one of them is proven correct, assuming x86 assembly works as specified - its assembly language implementation is proven correct.

So you can be 99.9999% certain it's correct, but one could always nitpick "technically not all loopholes are plugged at the same time".

Re:Lean Verification of the Riemann Hypothesis by eru on Saturday November 21, 2026 @12:38PM (#50591612)
Well, you can also run lean on ARM and Risc-V etc. So you are not solely reliant on x86.
Re:Lean Verification of the Riemann Hypothesis by dist-epoch on Saturday November 21, 2026 @01:27PM (#50592071)
I was talking about this. This assembly code implementation of a lean-compatible checker is formally verified to be correct. The ARM/Risc-V version of lean is not.

> con-agua is con-leche reimplemented at the level of x86-64 assembly: a close clone of con-ron's checker, written in a small first-order language, compiled by a verified compiler, and shipped as one committed assembler file together with a C harness of about two hundred lines that reads the input and calls it.

> The code the CPU executes is the code the theorem is about, so neither a compiler nor a language runtime is trusted; what is trusted is Kraken's x86 semantics, the assembler and loader, and the C harness.

https://arena.lean-lang.org/checker/con-agua/