refactor: remove funext dependency from Classical.em, drop Quot.sound#14420
Closed
tchaumeny wants to merge 4 commits into
Closed
refactor: remove funext dependency from Classical.em, drop Quot.sound#14420tchaumeny wants to merge 4 commits into
tchaumeny wants to merge 4 commits into
Conversation
madvorak
approved these changes
Jul 16, 2026
|
Mathlib CI status (docs):
|
Collaborator
|
Reference manual CI status:
|
SnirBroshi
reviewed
Jul 16, 2026
SnirBroshi
reviewed
Jul 16, 2026
SnirBroshi
reviewed
Jul 16, 2026
Co-authored-by: Snir Broshi <26556598+SnirBroshi@users.noreply.github.com>
Member
|
As discussed, reducing axioms beyond the three standard axioms is not a goal of the Lean standard library, and neither is the proofs being useful pedagogically. So I'm closing this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR removes the usage of funext in the proof of excluded-middle (Diaconescu's theorem). As a result, the dependency on the axiom
Quot.sounddisappears fromem.This small refactoring is inspired by this MO question by Jean Abou Samra.
It also makes the proof substantially simpler while keeping the original structure.
Before
#print axioms em 'Classical.em' depends on axioms: [propext, choice, Quot.sound]After
#print axioms em 'Classical.em' depends on axioms: [propext, choice]