Skip to content

proof-libs/lean Library update and refactor#1696

Merged
clementblaudeau merged 19 commits intomainfrom
lean-lib-update
Oct 6, 2025
Merged

proof-libs/lean Library update and refactor#1696
clementblaudeau merged 19 commits intomainfrom
lean-lib-update

Conversation

@clementblaudeau
Copy link
Copy Markdown
Contributor

@clementblaudeau clementblaudeau commented Sep 18, 2025

This PR refactors the lean Lib

  • adds support for the arithmetic operations on all integers (+?, -?, *?, /?, %?, >>>?) (fixes Add missing arithmetic operations for integer types (Lean) #1619)
  • updates to Lean 4.23
  • add specification lemmas for all arithmetic operations (in bitvec style)
  • Split the lib in preparation for Core models integration
  • Adds support for binand

Copy link
Copy Markdown
Contributor

@maximebuyse maximebuyse left a comment

Choose a reason for hiding this comment

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

Generally looks good! I added comments and suggestions.

Base automatically changed from lean-loops to main September 29, 2025 12:26
clementblaudeau and others added 2 commits October 6, 2025 09:33
Co-authored-by: maximebuyse <45398004+maximebuyse@users.noreply.github.com>
Notations [^^^?] and [&&&?] are directly introduced by the lean backend
@clementblaudeau
Copy link
Copy Markdown
Contributor Author

I've rebased on main, let's merge

@clementblaudeau clementblaudeau added this pull request to the merge queue Oct 6, 2025
Merged via the queue into main with commit f2ce72a Oct 6, 2025
17 of 18 checks passed
@clementblaudeau clementblaudeau deleted the lean-lib-update branch October 6, 2025 10:06
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.

Add missing arithmetic operations for integer types (Lean)

2 participants