Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: |x| < 1 implies x = 0 for x : Int #260

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

kim-em
Copy link
Contributor

@kim-em kim-em commented Dec 1, 2024

A bit ugly. There is a bug in norm_cast being exposed here that I couldn't minimize. We could also "clean up the mess" by making omega more robust against this failure.

@kim-em
Copy link
Contributor Author

kim-em commented Dec 1, 2024

Closes #255

github-merge-queue bot pushed a commit to leanprover/lean4 that referenced this pull request Dec 1, 2024
This PR ensures `omega` doesn't get stuck on bare `Int.negSucc` terms in
goals.

This came up in ImperialCollegeLondon/FLT#260.
@kbuzzard kbuzzard merged commit 60fcaf3 into ImperialCollegeLondon:main Dec 2, 2024
2 checks passed
@kbuzzard
Copy link
Collaborator

kbuzzard commented Dec 2, 2024

Thanks!

JovanGerb pushed a commit to JovanGerb/lean4 that referenced this pull request Jan 21, 2025
This PR ensures `omega` doesn't get stuck on bare `Int.negSucc` terms in
goals.

This came up in ImperialCollegeLondon/FLT#260.
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.

2 participants