r/PhilosophyofMath • u/dan-the-raccoon • 7d ago
Why do we keep accepting Lean code as proofs?
Sorry if this is a dumb question but lately huge ai companies been churning out proofs left and right and I couldn’t find an answer to this.
From my understanding even if we assume the lean code is proving what it claims to prove and we assume Lean kernel is bug free (which is already a lot!) I haven’t found any source that proves that Lean representations are sound, so how can we trust them? I fear that even tho a proof compiles and is derivable in Lean that doesn’t mean it is automagically true? Or am I missing something? Would love to hear your opinion if you are or aren’t convinced by a bundle of code some LLM produced
9
u/Normal-Avocado-8349 7d ago
Why would you accept language as proof? Which do you think is more reliable?
19
u/zzmej1987 7d ago
Lean is just a way to write math and logic, that computers understand better. It is similar to functional programming languages like Haskell.
There are two separate concerns here. Correct proof written in Lean is no different from correct proof written in standard mathematical notation. However, checker saying that Lean proof is correct does not grantee, that it actually is. That happened to one proposed proof of Collatz conjecture.
9
u/Constant_Quiet_5483 4d ago
No-one here can write in LEAN.
Okay, so LEAN isn't like a programming language where you can 'say' whatever you want, in LEAN you produce something called a 'certificate' its very similar to the certificates your web browser uses to authenticate you are who you are when you go online, this process is broken down into three parts.
Let me give you an example.
You can fake 2 + 2 = 5.
It's harder to consistently produce a calculator to have 2 + 2 = 5, eventually something messes up because in base10 2 + 2 does not = 5.
It's insanely harder to write a kernel level compilation of 2 + 2 = 5, which its compilation itself is based on certificates that are all based on numerical analysis from the LEAN compiler itself. You would need to A) trick the compiler into accepting incorrect numerical values. B) trick the further functions to somehow accept your nul values. Like if I fake having some dedekind L-series that somehow maps to 1/2, that's something that has a million ways to check. LEAN does ALL of them.
Just yesterday I was checking something. 25mb of LEAN. Took 6 hours on my home pc with 32 gigs of ram at 70% utilization and my cpu was at 50% utilization the entire time. It used over 1 terabyte of memory during that calculation during me creating my certificates and finalizing my kernel for my quad function. The amount of numerical analysis its doing in ridiculous.
And LEAN will tell you what you're missing, like it will say `Lean.Library.Ax` if your library doesn't meet the criteria for a certificate. It will tell you native_decide and show you the stipulation required to make something true, and it can show you how right you are by compiling what you think you know into a kernel.
Now, are there errors. Oh yeah, that's why we have new kernels, but this is the best open source community backed checkable you can go to a LEAN office and talk to them about this! They do an unreal amount of work every year making sure the proofs and language we use are accurate as well as checking proofs 60,000 pages long like Alpoge's GRH proof. The likelyhood that its wrong without hitting a kernel error and without LEAN itself saying anything is very low.
Note: that's why LEAN officials are still going through the code. They will condense it, repackage it, and refine it for a new kernel in which everyone can import Alpoge.GRH or whatever it'll be called and we'll be able to use that for future math.
BTW, everyone so far has just put LEAN.ReduceOfBool.GeneralRiemannHypothesis = True since like the 80s so he really did do some good work. Everyone can finally take that out now!
Edit: AI did not write this nor will it write my replies.
4
u/CantBeChangedSo 7d ago edited 7d ago
We don't just accept. We accept compilable Lean code as likely proof of the hypothesis typed into Lean. We scrutinise with our brains whether the formalised hypothesis represents the intended hypothesis in human language
Lots of mathematics cannot be converted into Lean code, since it is just one particular representation of mathematical logic: dependent type theory + countable universe hierarchy. But lots of mathematics fits this too.
Mathematics already has branches that admit proofs that we don't understand, but which are computer generated. i would call this mathematical slop. the proof almost certainly isnt wrong, but we dont learn from it. it is the problem of all LLMs: we dont know why it says what it says.
The bigger problem for me with ai generated proofs is a corollary to this: the engine cannot tell you which source material it used. Every hypothesis whose world satisfies the constraints of Lean is now a candidate for proof from first principles, but LLMs absorb others' work to nudge them in the direction of the answer. This is not the art of mathematics, which is a bunch of people making isolated useful results that are applied to making more isolated useful results in a massive web.
1
u/bigfatfurrytexan 7d ago
I’m not a mathematician and I have nothing to add but that I’ve been wondering the same things. I’m very interested in the subject but don’t work in outside of accounting
1
u/EmuRommel 7d ago
LEAN code might not be definitive proof but it's really strong evidence, proof-pending. It's a bit like getting a physics paper "proving" something with p<0.001. It might be the case something went wrong, but you shouldn't bet on it.
1
u/aardaar 7d ago
Since Lean proves things like the law of excluded middle, I don't accept Lean code as proofs.
2
u/thesnootbooper9000 7d ago
There's a slightly awkward problem here: many of the other theorem proving systems that aren't Lean have a tiny trust base that has been extremely rigourously checked. Lean was designed for verifying computer programs rather than maths, so it puts far less emphasis on tricky questions like "how do I know the compiler is sound and that my hardware does what it says". Due to some annoying and inconvenient coincidences, the mathematics community accidentally committed heavily to Lean rather than one of the more rigorous alternatives.
However, the bright side of this is the Lean is now so popular that sooner or later someone is going to put in the effort to verify the Lean kernel in a better proof checker, so this issue will go away.
2
u/Violet_L0tus 7d ago
You’re right that derivability and truth are different questions. And since you’ve already granted a faithful formalization and a correctly implemented kernel, answering “the kernel checks it” doesn’t address your remaining concern. A program could perfectly implement unsound inference rules.
The missing bridge is a soundness argument: give the formal expressions a mathematical interpretation, then show that the inference rules preserve truth under that interpretation. That argument itself uses mathematical assumptions. It doesn’t establish truth independently of every possible foundation.
There are concrete sources here. Lean’s current documentation on external kernels describes con-leche, a checker with a machine-checked proof that accepted declarations have a set-theoretic model. Its README explains both the model theorem and the consequence that it cannot accept a proof of False. It also states the background set-theoretic assumptions, including a hierarchy of universes. That is a result about this particular checker under specified assumptions, rather than a blanket certification of every Lean implementation.
Proving that result in Lean doesn’t remove the foundational question either. The result is conditional on its assumptions, and confidence in its machine verification still involves confidence in the checking machinery. The value is that the assumptions and argument become explicit and inspectable. Ordinary handwritten mathematics also relies on logical and mathematical commitments; writing the argument in prose doesn’t discharge those.
Separately, “the file compiles” is too weak an acceptance criterion. A development can contain unfinished proofs or added axioms. Lean’s proof-validation guide explains checking dependencies with #print axioms and using external checkers.
So yes, I can be convinced by an LLM-produced proof once the statement, assumptions and proof artifact survive appropriate checking. The author’s identity adds no logical force to the derivation. What earns acceptance is an inspectable argument within foundations we have reason to accept, with the remaining dependencies acknowledged.
2
u/tango_telephone 7d ago edited 7d ago
The question is kind of like asking, "Why do we keep trusting a hammer to hit nails into boards?"
We designed LEAN specifically for automated theorem proving. The program is based off sound, sophisticated, and very beautiful mathematics that links proof by construction to computer programs. The core underlying mathematical theory that makes everything work is something called dependent type theory.
If you really want to go through the rigor to understand how a system like LEAN can be built and why and when it can be trusted, there is a great book on the theoretical foundations named *Type Theory and Formal Proof* by Rob Nederpelt.
In broad brush strokes though, the foundations of math are rooted in logical reasoning, and the foundations of computing are captured very well in a system known as the lambda calculus. Adding typing to the lambda calculus places limitations on it that make it really good for representing structures in programming languages. Since math is based on logic, we can represent mathematical logic formally. Since dependent type theory is an abstract formal system that captures computing using logic, we can encode mathematical logic into computing using dependent type theory. With all of those correspondences rigorously in place, you can build a cathedral where we can soundly construct mathematical statements that depend on each other.
And as far as it being automatically true, it is not. Only the logical reasoning steps are automatically true. Whether the original problem was properly encoded in the system and whether or not the conclusion maps to the actual problem need to be verified.
2
u/RevolutionaryPie7790 4d ago
type theory as such is studied well and is proven to be equiconsistent with zfc (modulo some large cardinal/universe axioms). this does not mean that the lean variant of type theory is bug free, but i believe that there is even a proof that leans type theory specifically is equiconsistent with zfc. the kernel is quite small and elegant, you essentially only need dependent products + inductive types + either subsingelton truncation of types or a universe Prop of subsingelton types and you are good to go
the semantics and model theory of type theory is also studied well (in topoi/locally cartesian closed categories) and universes are also studied. one can turn a category of small sets into a model of lean when one has axes to enough large cardinals to model its universes
lean also comes with several proof checkers, which are independent from the system itself.
2
u/logbybolb 3d ago
my perspective: there was an unsolved integer diophantine equation x^3+y^3+z^3=33.
eventually,
x=−2736111468807040, y=−8778405442862239, z=8866128975287528
was found. If a person simply posted these numbers and vanished, I can easily verify their correctness with a calculator. But the question of how they were determined remains mysterious.
I believe this has sort of happened, except the question is the Riemann hypothesis and the solution is not 3 integers but from the space of all possible proofs.
It still astounds me that you can just make a definition of a conjecture, and if a proof program spits out the right result, it’s known forever (modulo soundness and lack of bugs as you mentioned). I think I’ve heard it called “hilbert’s thesis”, “the unreasonable effectiveness of logic”, etc.
2
u/JuanValdez999 3d ago
Why do we keep accepting hand calculators for arithmetic?
I could post here 5O factorial as a whole number. (IT'S VERY LONG but it would fit.) How would you know if it was right? Then you have what you stand at a chalkboard and calculate 51 factorial? You have that much time? And chalk?
Even if you did that, we probably wouldn't trust your calculation until we asked a hand calculator to verify your manual arithmetic.
3
u/lifeistrulyawesome 7d ago
Nobody 100% accepts really long proofs in mathematics whether they are generated by LLMs, computer assisted, or generated by humans.
A famous example is the proof of the classification theorem for finite groups. The entire proof is tens of thousands of pages long and nobody understands the whole thing. But lots of people have been looking for errors or holes and nobody has found one, so mathematicians tend to agree that it is probably correct
Lean can make errors, but is much less likely than a human to make errors. So most mathematicians don’t think that a lean verification is definitive proof. But we agree that it is very likely to be correct
3
u/Elegant-Regret-7393 7d ago
Because it's more reliable than a long paper
1
u/Ancient_Ship_7765 7d ago edited 7d ago
Lean code is not a prof, by definitiopn of proof, yes. A mathematical proof of a statement is an argument that explains why the statement is true. An argument that establishes the truth of a statement is not necessarily a proof. Establishing truth is a necessary condition, but not a sufficient one. For obvious reasons, Lean code explains nothing, so, it's not a proof.
1
u/tzaeru 7d ago
If the problem statement is correct in Lean, and there's no surprising bugs in the kernel, then the proof is valid. Lean builds on top of a small set of basic axioms, definitions and computational facts and chains these higher and higher until you arrive to the real proof you wanted to do.
Lean is generally taken to be fairly mature and battle-tested. There have been bugs found now and then, but they've gotten increasingly rare in frequency.
The Riemann hypothesis proof provided was based on the standard axioms and on mathlib's definition of the problem and its dependencies, and these have been looked at by quite a lot of people, and we might assume that they encode the Riemann hypothesis correctly.
1
u/Expert147 7d ago edited 7d ago
I have to trust someone because I don't understand myself. For me, Prof Lean has higher authority than Prof Tao.
1
u/SpiritedRemove 5d ago
What a great question, inquiring into the inner workings of modern mathematics !
And what great insight some commenters have provided as a result !
Thank You! 👏
I am angry at the censoring of this justified curiosity by dubiously motivated downvotes 😡
1
u/eraoul 4d ago
Formal logic is pretty dead simple to verify. Building up the huge library of useful theorems and such is hard, but computer theorem proving is simple and any CS student can verify the basics are working. Yes Lean is more sophisticated than that but it's not that crazy. If you work through the Lean basic tutorials yourself to prove basic algebra facts you'll get a nice feel for how straightforward it is at the level of proceeding from one step to the next.
1
u/Aalua 4d ago edited 4d ago
Not an expert on any of this, but:
My understanding is that you're not worried that the proof isn't a proof but that it could be a proof for the wrong theorem different from the one that we care about. For the Riemann hypothesis proof, this concern isn't warranted. Because the problem statement in that proof has already been formulated in Lean a long time ago; the proof used the standard formulation that is in Mathlib, which was created and fact checked by human mathematicians.
For other Lean proofs, in general, no one is as confident in them as they are confident in the Riemann hypothesis proof; because their problem statement wasn't formulated in Lean before each proof came out. But that doesn't mean mathematicians can't read and check if the formulation is correct, it just means they need a little bit of time. But the Lean proof isn't all that we've got. Some came with a natural-language proof! Like the quasi-Riemann hypothesis proof published by OpenAI. And experts already understand the ideas in that proof and they already largely agree that it's true.
1
u/Illustrious_Pea_3470 4d ago
If a proof compiles and it’s not true exploiting a bug in the compiler, then it’s a valid proof. While I believe it’s not possible to prove the compiler is consistent, it IS possible to verify every individual deduction for a particular proof.
The only way it can really go wrong is that the statement of the question itself is malformed. That’s normally a reasonable fear for a hard problem like RH; but because of how obsessed people already were with it, the community has already worked hard to get a lean statement of the theorem that they are confident is correct.
1
u/r_search12013 4d ago
the question is excellent .. and no, there's quite a lot missing in the hyped discussion ..
it's mostly about the semantics we read into what lean code says .. such languages are called proof assistants for a reason .. the billionaire llm club brands them as proofs because it's the one thing with which they can show their progress "objectively" to investors and the small crowd who knows better isn't loud enough to be heard
1
u/trejj 4d ago
It means that it is true to a very high degree of certainty. (think of it similar to a 5-sigma event in physics)
Your proposition of "Why do we keep accepting" has a fallacy that the story around a proof of a theorem would be a one-off event that is then closed in the books, "case closed", end of story. That is far from the truth.
You can simultaneously accept a Lean proof, but still work on it in a professional capacity for the coming months and years, to analyze and contest the proof. Contesting it does not mean that you'd be negative and call bs and refuse everything.. but you contest it to test its merit.
That is how physics works as well. You find a theory that works, then you contest it from all angles.
There are hundreds of people working on optimizing/simplifying the Lean proof to be as short as possible. They don't just "accept Lean code", but they work on it to dissect it down to its bare components to understand it more in human terms.
There are dozens of people contributing to write articles like https://en.wikipedia.org/wiki/Alp%C3%B6ge%27s_proof_of_the_Riemann_hypothesis to dissect the proof. They too don't just "accept Lean code", but they work on it to dissect it down to its bare components to understand it more in human terms.
So it is not at all that there would be Lean, we'd accept it, we'd "have to" trust it, and the conversation would end there.
But it's rather that the Lean proof shows a path, and that's where a massive amount of gold rush -like work begins to distill the human understanding out of the proof. We have a vast confidence that the proof is correct, so we also have a vast confidence that human endeavours to pursue to extract the human understanding out of it can succeed too.
1
u/groggus 4d ago
There is literature and active research on how / in which way "Lean representations are sound" (in your words). A few introductory pointers:
- https://terrytao.wordpress.com/2026/10/09/what-mathematicians-should-know-about-the-lean-theorem-proverquestions-of-reliability-and-ai/
- https://mathoverflow.net/questions/518109/after-the-lean-verification-of-the-riemann-hypothesis-proof-what-residual-trust
- https://proofassistants.stackexchange.com/questions/2728/lean-and-inaccessible-cardinals
1
u/Nafrandammerung 4d ago
Short, bc they are valid
1
u/untss 4d ago
The logical positivists won :(
1
u/sfjhh32 4d ago
it does prove what it claims to prove. It is kernel is probably bug free for the small task and limited logic consistency. The lean proofs are sound by thousands of unit tests and argument that logic doesn't breakdown just because the problem gets bigger. If it compiles it is true. Do you have any evidence that is not the case?
And in terms of heuristics, why do you think no mathematicians are making your argument? Could it be that they understand that a logic engine is easy to get consistent and logic is scalable?
1
u/Turbulent-Sign-6067 4d ago
Yes, you are missing something. The probability that lean is wrong is lower than the probability that the ground you are walking on will give in and swallow you. We can have higher confidence in a proof with lean made by AI than we can have for a meat proof without AI.
1
u/Medium_Treacle3006 4d ago
Why do we accept the proof of FLT when so few on earth can understand it? There's mathematicians who produce work that only dozens or so people can understand but yet they win fields medals for their work.
1
u/Diligent_Village_738 4d ago
It's quite nuanced and I share your frustrations because the following can be true at the same time : 1) the lean proof compiles and is a correct sequence of steps implying that the RH is true, as the compilation with many different kernels shows, 2) developing an LLM engine to write such sequence is very impressive, but 3) it's the work of the engineers and scientists, not of Dario and his sister (who is on the board of Anthropic with a bachelor in classical flute scholarship), and we're fed a corporate story when it's really a story of hiding the contributions of employees whose intellect is not getting acknowledgment 4 ) a 250,000 page proof is not particularly useful since we could already test the RH numerically, and 5) the goal was the journey not the endpoint -- see Terence Tao's resharing of the "last 10 minutes of every movie". 6) the enjoyment of mathematics is not about "prize winning" but about human understanding; academics don't work night and weekends for 40-50 years just because there is a tiny chance of winning the Fields medal or the Nobel prize. 7) most people who comment have not had any interest in mathematics before 2026, and are now pretending that they cared about the RH all along. 8) this may simply shift the focus onto different kinds of problems and questions.
1
u/kanonnakagawa 3d ago
Because LEAN literally implemented CIC, which is even more consistent than ZFC. Failling a supposedly bug free LEAN kernel meaning CIC's inconsistence, meaning mathematic fundamental logic's inconsistence.
1
u/happysmileygogetter 3d ago
because it’s correct?
1
u/vintergroena 3d ago
I think there are two separate kinds questions.
It's not too difficult to give an affirmative, positive answer to 1. But answers to the second type of question need to be a lot more nuanced and in many cases, you can quite reasonably answer them negatively.
1
u/AnaxXenos0921 3d ago
Because of Lean's shameless marketing
1
u/SnooSongs5410 3d ago
lean provides a framework that enforces the correctness of a proof. You may not understand it but it is a turing complete proof. That is why it is accepted. Now the hard part becomes turning into a proof useful to human beings. There is an effort under way to remove the slop from the lean proof. i.e. Garbage that is not used, Garbage that is redundant, things that can be collapsed into simpler representations. That does get it to human readable but it might improve the llms attempt at writing a less slop human readable paper that can be further refined. The llm proofs seem to make the mathematician cry but there is an intense amount of work beyond the lean proof to be explored.
1
u/OneNoteToRead 3d ago
The theoretical foundation here is essentially Curry Howard isomorphism. A lean encoded proof (meaning a statement that compiles) is a bona fide proof exactly isomorphic to a proof by logic (and the compilation is a certificate that checks the proof is valid). So barring statement phrasing issues, lean kernel bugs, or “sorry” sneaking in, the proof is as good as any in whatever axiomatic system you elect to use (like ZFC)
1
u/Few_Fun_544 3d ago
If you can't follow the proof. Its bull. The math should be easy. Natural. Consistent. Invariant. It is. Ha.
1
u/FrankBuss 2d ago
You don't need to trust Lean. You can just export all the steps of the proof with lean4export, and then test it with small dedicated programs like nanoda. I've done this, see here: https://frank-buss.de/riemann/ and it shows the the proof depends only on the 3 classical axioms. No need to trust Lean.
1
u/Interesting_Debate57 2d ago
I think it breaks down to three things all of which need to be true at the same time (four if you want to be happy and sleep at night). At the bare minimum:
I say this from the point of view of a theoretical computer scientist. As a mathematician as well, I understand the challenges involved in each of these steps.
At this point the cost/effort ratio hasn't added up to slavishly double checking this stuff and attempting to translate it into English for.. nearly anyone. Which makes point 4 particularly poignant. If nobody can learn anything useful from it, it doesn't matter if it's true, it's pretty useless.
1
u/roeschinc 2d ago edited 2d ago
Lean is based on dependent type theory which is an alternate constructive foundational mathematical system.
You can write down a “type” which represents a logical statement and if you can produce (ie construct) a term of that type then that statement is true.
There has been a ton of foundational theory on why this is a sound foundation for mathematics.
The correctness of any statement in this logical system is reducible to the correctness of the type theory’s “type checker” (or kernel).
Assuming there are no bugs in the kernel, or incorrect assumptions (axioms and sorries) the proof stands.
So roughly a human / system can audit and say there are none of these, and if it passes the checker it’s true.
To be sure the kernels don’t have bugs the community has written N of them with the idea that they are unlikely to be wrong in the same way as a differential test of the kernels.
I was one of the Lean core developers in the past there are real critiques / worries but most of the comments below are wrong in framing or content.
Remember most math is informal so the bar for these proofs’ correctness is already way higher than most informal proofs.
The trickiest part is us as humans ensuring that the top-level statement is correctly phrased, the rest of the worries are mostly FUD.
1
u/IntelligentBelt1221 2d ago
on a more fundamental level, are you aware of the curry howard correspondence lean is utilising?
1
u/No_Mango5042 2d ago
LEAN isn’t just a formal notation but also a mechanically verifiable notation. Humans could in principle validate each step but the problem is their size. It’s much more robust than the alternative, which is humans scanning ambiguous symbols on a page. So it’s as good as we can get, and far more likely to be correct. Could still be subtly wrong but believe it or not people are trying very hard to ensure the LEAN system is sound.
1
u/facinabush 2d ago
Nothing is accepted yet. Cool your jets.
1
u/Feeling_Idea_9253 2d ago
https://adam.math.hhu.de/
You can learn Lean 4 step by step in this website. It is not so hard.
1
u/These_Diver5331 2d ago
You do you. Who the fk with integrity just trusts a program blindly?
1
u/Temporary_Can_3144 2d ago
In the past, you had to bring your army minitown with you anywhere you went in the mathematical landscape. Now you can send scouts going deep. But you still want to build cities in the end.
1
u/loverthehater 2d ago
Once you see "Curry-Howard Correspondence" it all becomes way more believable
1
u/Pazzeh 2d ago
Hmm who am I going to listen to? Scott Aaronson or redditors with anti-AI psychosis?
1
u/Hot-Host-8665 1d ago
We accept them because we know that they mean that what is claimed is true.
If we don't accept them it would mean that we claim to pretend that they are not true, while knowing that they are true. It becomes a very bizarre theatre.
Now, no one accepts them as the final word. But the human understanding takes longer time.
1
u/geminy123 1d ago
It is all a marketing stunt you little fools
1
u/afops 1d ago
Lean is just a formal logic language? Why do we accept hand written logic that can't be verified by a machine as proofs?
1
u/NoUniverseExists 1d ago
Even after proving all the code is bug free - the Lean kernel, the compiler, the operating system that executed all of that - you would still be required to prove that the CPU that produced all the results is indeed physically working as expected, and, for that, you would need to prove that the laws of physics used to describe that CPU are indeed correct, which is already a question that makes no sense for our current state of scientific development/knowledge.
Mathematical proofs are things that can only happen inside a human mind. You can have many natural indicators that it is true - which we call intuitions - but that is not a proof. A proof in Lean is an indicator that the statement is true (a huge one!) the same way we all have a strong intuition that all objects fall near Earth because its gravity always pull things down, but it makes no sense to try to prove it because, even though we have a theory that describes how things behave near gravitational fields, these theories are only approximations of the reality (even the most advanced theories). The same way, all the modeling used to describe a CPU would be a very simple approximation on how it works. For instance, it would be required to prove that the CPU that produced the proof was in the correct operational temperature/pressure range while running the code that produced the proof, and that nothing external to the system caused any bit to randomly flip and temper the result. Although many tests ensure that the CPU is "good enough" for most of the tasks, and nothing "wrong" has ever been noticed with that CPU, how one actually proves it works as expected? This is not possible.
We already has this same problems with calculators, and we expect them to produce always the correct result, but their results are much mor easily checked.
I am a huge enthusiast of formal proofs, but it is fundamentally impossible for them to substitute our own reasoning.
1
u/aoeuhdeuxkbxjmboenut 1d ago
The reason to trust it is that it is far harder to exploit a bug in every Lean kernel simultaneously with one codebase to able to prove anything, than it is to solve a math problem (even a famously hard one!). Also, people have actually been pouring through the code, simplifying it, and verifying it. If there was some sort of bug exploit, it would have been found by now.
1
u/666Emil666 22h ago
Lean and rocq (COIC) are equiconsistent with ZFC + inaccessible cardinals for every finite n, which is already a very popular set if axioms for category theory, abstract algebra and topology. I doubt you can form many arguments against the consistency of the calculus of inductive constructions that don't also apply to standard ZFC or some version of ZFC used implicitly by mathematicians.
1
u/Amegatron 17h ago
I'm not a mathematician myself, but I'm convinced that pure Lean proofs just can't be accepted, especially if they are incomprehensible by human. For one simple reason which was proven with the recent false refutation of Collatz conjecture: it is software, and it can contain bugs. And as we all know, AIs are very good at finding and exploiting those bugs.
But even if we could somehow prove 100% formal correctness of the proof, it would be meaningless if accepted it without comprehension.
1
u/TedditBlatherflag 16h ago
Some programming languages are mathematically provable to be true for a given program, and LEAN is one that aspires to that as part of compilation.
0
u/RectallyDisabled 3d ago
I'm not sure how much this answers your post, but just to throw my thought somewhere:
We mathematicians have not been lenient; we have always required a full conclusive proof to consider something proven, we have to proof even trivial facts to make it complete. Considering that Lean itself is not proven to function perfectly, we shouldn't consider these proofs fully correct, since they still depend on the assumption that Lean is perfect. (I believe Lean is perfect, I'm not here to debate whether or not it has bugs, but unless it's proven to be, then we can't consider these problems solved.)
Please correct me if Im wrong, but this means that RH, nor Navier Stokes are proven.
0
u/SLAMMERisONLINE 2d ago edited 2d ago
Because people don't know what Lean actually does. Lean means the conclusion follows from the premise. It does not validate the assumptions. I could generate an infinite number of randomized proofs that Lean would rubber stamp and yet they'd mean absolutely nothing. You have to show, externally, that the lean proof is equivalent to the original problem and there's no way you can do that if it's 250k pages long. It is textbook pseudo mathematics.
0
u/BudgetNecessary7740 2d ago
I think it is quite telling that in a subreddit called "r/PhilosophyofMath", all the discussion is about the soundness of the Lean kernel and whether it ensures that the proved theorem is "true" (with the inevitable conclusion that we can't be really sure, but just sure with very very high probability: the quite old and well known fact that formal methods cannot give us perfect unshakable knowledge, which apparently do not make people question if perfect unshakable knowledge is to be pursued).
Almost nobody is questioning what is the meaning of a "proof" that gives no understanding or knowledge (is it even a proof?) and whether it is possible that there are truths that are not understood or whether truth (and even more mathematical truth) is indeed what comes from the process of understanding and not some object to be found outside the human mind,as a new continent to discover. Nobody wonders if having opaque proofs checked by a machine is a great step forward for human knowledge, a problematic step backwards towards a world of revealed, unquestionable truths or just a commercial operation of a big company.
As a mathematician, I observe that few people in the community have an interest for a serious philosophical discussion about the meaning and scope of the knowledge maths gives to us; most of the time, these concerns are dismissed as nonsense or answered by some basic positivism. I guess the AI + proof assistants combo is a nemesis of this bad "common philosophical sense" that we have: it is the peak of the positivistic view of the discipline, but it well eventually expose its fallacies (or at least this is what I hope).
-1
u/digitalphilia 4d ago
I am surprised thest no one mentions here the gōfelian limits of any computer program, including Lean. And the philosophical abyssal depths when you see this. In at nutshell we are saturating what is possible in our choices of contingent truths.
0
u/[deleted] 4d ago
[deleted] — view deleted comment
0
u/[deleted] 4d ago
[deleted] — view deleted comment