Skip to content

Bump to Lean 4.31.0, following Strata - #23

Merged
abdoo8080 merged 2 commits into
mainfrom
bump/lean-4.31
Oct 5, 2026
Merged

abdoo8080 merged 2 commits into
mainfrom
bump/lean-4.31

Conversation

@kondylidou

Copy link
Copy Markdown
Collaborator

Strata moved to Lean 4.31 on 2026-09-26. This follows it.

Pins

All upstream, no forks:

before after
Lean 4.29.1 4.31.0
Strata 62d26d94 a4e49006 (main)
lean-smt 7d1d823 9aedcbf (its 4.31 commit)
mathlib v4.29.1, pinned here no longer pinned here

The explicit mathlib pin existed only because lean-smt asked for a mathlib tag that did not match our toolchain. At 9aedcbf it asks for v4.31.0 itself.

One test now records a gap

In mutual_recursion.lean, the Lean proof over the MyNat datatype now pins its error instead of passing. Strata's gen_vcs now also generates the selector well-formedness obligations (strata-org/Strata#1471), and turning those into Lean goals needs datatype support in the VC-to-Lean translation, which is strata-org/Strata#1480. The test records the gap until that merges.

Testing

lake build StrataBooleTest (280 jobs) and lake test pass.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Strata moved to Lean 4.31 on 2026-09-26. Pins, all upstream:
- Strata: a4e49006 (main, 4.31)
- lean-smt: 9aedcbf (its 4.31 commit)
- mathlib: no longer pinned here. The explicit pin existed only because
  lean-smt asked for a mathlib tag that did not match our toolchain; at
  9aedcbf it asks for v4.31.0 itself.

mutual_recursion.lean: the proof over the `MyNat` datatype now pins its
error instead of passing. Strata's gen_vcs now also generates the selector
well-formedness obligations (strata-org/Strata#1471), and turning those into
Lean goals needs datatype support in the VC-to-Lean translation, which is
strata-org/Strata#1480, not yet merged. The test records the gap until then.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kondylidou
kondylidou requested a review from abdoo8080 October 5, 2026 09:41
@abdoo8080
abdoo8080 merged commit 9c9fcae into main Oct 5, 2026
4 checks passed
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.

2 participants