Skip to content

Conversation

@kim-em
Copy link
Collaborator

@kim-em kim-em commented Dec 10, 2025

This PR adds Nat.cast_id (upstream from mathlib) and adds the grind = attribute to both Nat.cast_id and the existing Int.cast_id.

🤖 Prepared with Claude Code

Adds `Nat.cast_id` to `Init/Data/Nat/Lemmas.lean` with
`simp`, `norm_cast`, and `grind =` attributes.

Also adds `grind =` to the existing `Int.cast_id`.

🤖 Prepared with Claude Code

Co-Authored-By: Claude <[email protected]>
@kim-em
Copy link
Collaborator Author

kim-em commented Dec 10, 2025

No, these are bad annotations, they would trigger everywhere. Back to the drawing board.

@kim-em kim-em closed this Dec 10, 2025
auto-merge was automatically disabled December 10, 2025 03:37

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants