Skip to content

feat(lean): base specs on mathematical integers#1829

Merged
W95Psp merged 1 commit intomainfrom
lean-int-specs
Dec 24, 2025
Merged

feat(lean): base specs on mathematical integers#1829
W95Psp merged 1 commit intomainfrom
lean-int-specs

Conversation

@abentkamp
Copy link
Copy Markdown
Contributor

@abentkamp abentkamp commented Dec 23, 2025

This PR reformulates the specs of integer operations using mathematical integers.

For now, the specs of unsigned integers still use Nat instead of Int because the API support for Int is bad (e.g. UInt32.toInt does not exist). I'll leave that for a future PR. (Issue #1830)

@abentkamp abentkamp added lib Lib-related issue (e.g. annotations lib) lean Related to the Lean backend or library labels Dec 23, 2025
@abentkamp abentkamp added this to the Lean proof library v1.0 milestone Dec 23, 2025
@abentkamp abentkamp marked this pull request as ready for review December 23, 2025 14:18
@abentkamp abentkamp requested a review from a team as a code owner December 23, 2025 14:18
Copy link
Copy Markdown
Contributor

@W95Psp W95Psp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, let's merge

@W95Psp W95Psp added this pull request to the merge queue Dec 24, 2025
Merged via the queue into main with commit cc5c402 Dec 24, 2025
18 of 19 checks passed
@W95Psp W95Psp deleted the lean-int-specs branch December 24, 2025 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lean Related to the Lean backend or library lib Lib-related issue (e.g. annotations lib)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants