Skip to content

feat: deriving instance DecidableEq for Except#1692

Merged
fgdorais merged 3 commits intoleanprover-community:mainfrom
DavidMazarro:DM/except-decidableeq
Feb 25, 2026
Merged

feat: deriving instance DecidableEq for Except#1692
fgdorais merged 3 commits intoleanprover-community:mainfrom
DavidMazarro:DM/except-decidableeq

Conversation

@DavidMazarro
Copy link
Copy Markdown
Contributor

@DavidMazarro DavidMazarro commented Feb 22, 2026

I was surprised to find out that Except doesn't have a DecidableEq instance in Lean, Batteries or Mathlib.
I opened a Zulip thread (see #lean4 > No DecidableEq instance for Except?) and was advised to contribute to Batteries or Mathlib. I'm a bit concerned about this being an orphan instance outside the Prelude and about when/if this will make it into upstream though.

Let me know if there's anything else I should take into account.

@github-actions github-actions bot added the awaiting-review This PR is ready for review; the author thinks it is ready to be merged. label Feb 22, 2026
mathlib-nightly-testing bot added a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Feb 22, 2026
mathlib-nightly-testing bot added a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Feb 25, 2026
@fgdorais fgdorais added this pull request to the merge queue Feb 25, 2026
mathlib-nightly-testing bot added a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Feb 25, 2026
Merged via the queue into leanprover-community:main with commit 1ce5194 Feb 25, 2026
1 check passed
@github-actions github-actions bot removed the awaiting-review This PR is ready for review; the author thinks it is ready to be merged. label Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants