-
Notifications
You must be signed in to change notification settings - Fork 3
Add LEAN project support with Mathlib dependencies for formula evaluation #522
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: ckrause <[email protected]>
Co-authored-by: ckrause <[email protected]>
Co-authored-by: ckrause <[email protected]>
@copilot The test fails with the following error:
|
Co-authored-by: ckrause <[email protected]>
... Fixed in commit 0e0d9a8. Changed the version syntax from |
@copilot please check the new error: https://github.com/loda-lang/loda-cpp/actions/runs/18536230847/job/52835030575#step:5:1 |
Co-authored-by: ckrause <[email protected]>
Fixed in commit [hash]. Replaced |
@copilot The tests currently fail with this error:
Can you fix this? |
… update Co-authored-by: ckrause <[email protected]>
... Fixed in commit [hash]. Removed hardcoded |
bitxor
function mapping toInt.xor
in LEANSummary
Successfully implemented LEAN project support with Mathlib dependencies. Fixed toolchain mismatch issue by automatically copying Mathlib's lean-toolchain file after downloading dependencies.
Key Changes
bitxor
toInt.xor
in LEAN formulasimport Mathlib.Data.Int.Bitwise
when needed"0.1.0"
tov!"0.1.0"
to match Lake's StdVer typesh -c "cd ... && command"
with executable wrapper scriptsLatest Fix
The project no longer creates a hardcoded
lean-toolchain
file withleanprover/lean4:stable
. Instead, after runninglake update
to download Mathlib, the update script copies Mathlib'slean-toolchain
file to ensure version compatibility. This prevents the error:All tests passing.
Original prompt
Fixes #521
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.