-
Notifications
You must be signed in to change notification settings - Fork 14
chore: Update Lean to v4.21.0 #61
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
chore: Update Lean to v4.21.0 #61
Conversation
arthurpaulino
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!!
|
@samuelburnham the Nix-related CI job is failing. How do you think we should proceed? |
If I change |
| - uses: cachix/cachix-action@v14 | ||
| with: | ||
| name: argumentcomputer | ||
| authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | ||
| - run: nix build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that I enabled the Garnix app for this repo so we can try out caching the LSpec package there instead of Cachix
This fixes #49 and removes old notations like
List.get!.The most important change is that the old code in
LSpec.SlimCheckrely on constructions such as(n : Nat) -> Fin n.succ, which in turn relies onFin.ofNat. However the semantics ofFin.ofNathas changed, toforall (n : Nat) [NeZero n] (a : Nat), Fin n, so I changed the relevant code inSampleable.leanto this as well.The upstream Nix flake in argumentcomputer/lean4-nix doesn't have a v4.21.0 manifest. lenianiva/lean4-nix has one though.