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

feat: improve the Lean backend #460

Open
wants to merge 34 commits into
base: main
Choose a base branch
from
Open

feat: improve the Lean backend #460

wants to merge 34 commits into from

Conversation

sonmarcho
Copy link
Member

@sonmarcho sonmarcho commented Mar 20, 2025

This PR does the following:

  • update massert to operate on decidable propositions rather than booleans, leading to cleaner expressions in the goals when displaying code
  • add some lemmas about lists, SRRange.foldWhile, more scalar_tac_simps, natify, bvify lemmas
  • add models for wrapping_mul
  • fix minor issues with scalar_tac, progress and progress*
  • introduces the simp_lists tactic to simplify expressions of the shape ((set l i x).set j y).get k (in practice, it works by doing conditional rewritings and discharging arithmetic proof obligations with scalar_tac )

@sonmarcho sonmarcho marked this pull request as ready for review March 20, 2025 13:08
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.

1 participant