Skip to content

Conversation

@JovanGerb
Copy link
Contributor

@JovanGerb JovanGerb commented May 21, 2025

This PR lets simp simplify the type and instance of number literals.

This came up here: leanprover-community/mathlib4#24492 (comment)

@grunweg
Copy link
Contributor

grunweg commented May 21, 2025

(Would you like to add a test, at some point? I know this PR is still a draft.)

@JovanGerb JovanGerb changed the title feat: let simp and dsimp simplify numerals feat: let simp simplify numerals May 21, 2025
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label May 22, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request May 22, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request May 22, 2025
@leanprover-community-bot leanprover-community-bot added the breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan label May 22, 2025
@leanprover-community-bot
Copy link
Collaborator

leanprover-community-bot commented May 22, 2025

Mathlib CI status (docs):

@leanprover-community-bot leanprover-community-bot added builds-mathlib CI has verified that Mathlib builds against this PR and removed breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan labels May 23, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request May 23, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request May 23, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request May 24, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request May 24, 2025
@JovanGerb
Copy link
Contributor Author

I've added a test now, which is a minimization of the example in Mathlib.

@JovanGerb JovanGerb marked this pull request as ready for review May 24, 2025 15:36
@leanprover-bot leanprover-bot added the P-low We are not planning to work on this issue label May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-mathlib CI has verified that Mathlib builds against this PR P-low We are not planning to work on this issue toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants