Zulip Chat Archive
Stream: mathlib4
Topic: Can Gödel's incompleteness theorem be proved in lean4?
Planck Anderson (Jul 27 2025 at 22:55):
Can Gödel's incompleteness theorem be proved in lean4?
Planck Anderson (Jul 27 2025 at 23:08):
Gödel's incompleteness theorem is a foundational result in mathematical logic. Since Lean 4 is a powerful proof assistant based on type theory, I'm curious whether it's possible to formalize and prove this theorem within Lean 4's framework. Can Gödel's incompleteness theorem be proved in Lean 4?
Jireh Loreaux (Jul 27 2025 at 23:09):
Please don't cross-post.
Planck Anderson (Jul 27 2025 at 23:20):
I'm trying to understand whether Gödel's incompleteness theorem can be fully formalized in Lean from a theoretical perspective. I’ve seen some work on formalizing the consistency of ZF in Lean, which made me wonder: is it possible, in principle, to formalize Gödel’s incompleteness theorems in Lean? Specifically, can the necessary components such as encoding of syntax, arithmetization of syntax, and fixed-point constructions (like the statement “sub(n, n, 17)”) be implemented in Lean’s framework? I'd appreciate insights on whether this has been done or what the main theoretical challenges are.
Planck Anderson (Jul 27 2025 at 23:20):
sorry I will delete it
Jireh Loreaux (Jul 27 2025 at 23:38):
it's okay, I've moved them all into this thread
Weiyi Wang (Jul 27 2025 at 23:41):
Is the 6th problem on https://leanprover-community.github.io/100.html the one you wanted?
Brad S (Jul 27 2025 at 23:43):
I don't have much understanding of how it works, but this project has a formalization of Gödel's incompleteness theorems.
https://formalizedformallogic.github.io/Book/first_order/goedel1.html
Planck Anderson (Jul 28 2025 at 03:41):
Thanks a lot! it is exactly this one
Last updated: Dec 20 2025 at 21:32 UTC