hax icon indicating copy to clipboard operation
hax copied to clipboard

proof-lib/lean Turn the prelude into a proper Lean package

Open clementblaudeau opened this issue 4 months ago • 1 comments

Currently, the Lean prelude lives inside the proof-lib/lean folder. To make it easier for users, it should be turned into a proper lean package

clementblaudeau avatar Sep 04 '25 15:09 clementblaudeau

(It's possible I haven't precisely understood the plan with this issue so forgive me if I'm talking about different things.)

  • I would propose that in the near future hax-lib/proof-libs/lean becomes a separate repo with automatic releases coinciding with Lean releases, This would make it more convenient to add Hax as a require in a Lean project and allow Hax it to keep up with the latest Lean whilst some users can keep working with prior versions if convenient for them.

  • Concerning the boilerplate (lean-toolchain, lakefile, etc) that is required to make a lean project and so work with the lean file produced in the extraction folder: just a basic example repo setup with the rust files, and lean files together and related ci could be a low effort way to massively help people who want to get started quick with hax into lean.

oliver-butterley avatar Sep 08 '25 08:09 oliver-butterley