upvote
In short: the keyword here is only. One of the possible sources of LLM hallucination is that it would invent new axiom and therefore "prove" anything in a meaningless way (RH is true because RH is true is an axiom). Only here means it didn't do that.

Longer answer: in layman's terms:

propext - treat "if and only if" as "is"

Classical.choice - allow to pick an element from any known non-empty type, even you don't know what the element is

Quot.sound - Quotient ("quot") means to split a type's elements into groups. It's called quotient because, for example, you can split all integers into two groups - odds and evens - by dividing them by 2.

Quot.sound means you can go the opposite way: you can say "since 9 % 2 = 13 % 2, the group where 9 is the group where 13 is."

If all these three sound very trivial to you, that's because they are. Our everyday math already assumes these hold.

(Edit: I didn't realize you meant to ask for explanation for mathematicians. These might be "too layman" for you, sorry. I'll leave this comment here for future non-mathematicians passing by.)

reply
I was wondering yesterday whether it will be possible in the future to construct mathematics without axiom of choice, maybe it will show us something we missed for a long time, similar to relativity?
reply
It's already possible to do mathematics without AoC, and some mathematicians (mainly logicians and set theorists) do.

In the strictest sense, without an axiom to replace AoC, it can never "show" us something: ZF is strictly weaker than ZFC, and can never prove anything that ZFC can't. In plain ZF, lots of things that we take for granted, like "a countable union of countable sets is countable" are no longer true (provable) -- although most of these intuitive things can be proven either by much weaker versions of AoC, or are also proven by common alternatives to AoC like the Axiom of Determinacy.

reply
IIUC: yes, there's a lot of math that doesn't depend on the axiom of choice. But the way Lean is constructed, it uses the same "Classical.choice" axiom for both the real Axiom of Choice, and for many other non-constructive notions like the Law of Excluded Middle. So if you drop Classical.choice you're doing something more like constructivist or intuitionist math.

Lean's type system is also stronger than ZFC: according to Google it's more like ZFC + inaccessible cardinals.

reply
(Thanks! It was very useful combined with the sibling comments.)
reply
Just read the official documentation. https://lean-lang.org/theorem_proving_in_lean4/Axioms-and-Co...

The summary is that these are the axiom of propositional extensionality, choice, and a quotient construction (which implies function extensionality, i.e. what makes two functions equal).

reply
The Generalized Riemann Hypothesis is proved making no assumptions and accepting no axioms except the basic tenets of the type theory Lean is based on. No "todo"s, no "assume this is true while I debug", no escape hatches used.
reply
So ... in this new version they added three well known axioms to get a shorter proof in exchange of purity? Are they necessary to use some libraries instead of rewriting them? Are they used in the original proof and I just didn't pay attention?
reply
No, the original super long version uses the exact three axioms too.
reply
propext is propositional extensionality. extensionality is basically "what does it mean for things to be equal?". propositional extensionality is saying two propositions are equal if they imply each other.

Classical.choice is the axiom of choice.

idk what Quot.sound is.

reply