Skip to content

chore(lean) : update lean to version 4.34.0 - #1472

Merged
math-fehr merged 1 commit into
mainfrom
math-fehr/lean-update
Sep 17, 2026
Merged

math-fehr merged 1 commit into
mainfrom
math-fehr/lean-update

Conversation

@math-fehr

@math-fehr math-fehr commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

Update lean to the latest release candidate version (4.35.0-rc1). 4.34.0 sadly has a bug in bv_decide that prevents us from using it.

The following changes were made:

@math-fehr math-fehr self-assigned this Sep 15, 2026
@math-fehr
math-fehr force-pushed the math-fehr/lean-update branch from b49d5b8 to 827adda Compare September 16, 2026 03:35
@math-fehr
math-fehr marked this pull request as ready for review September 16, 2026 03:37
@math-fehr

Copy link
Copy Markdown
Collaborator Author

All good now, I updated it to 3.35.0-rc1 as 3.34.0 has a bug

@math-fehr
math-fehr force-pushed the math-fehr/lean-update branch from 827adda to 5b822d1 Compare September 16, 2026 04:01

@tobiasgrosser tobiasgrosser left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, assuming we have a good answer to my comment.

operation.getSuccessors! ctx := by
simp only [OperationPtr.getSuccessors!_def]
grind
grind [-Array.range'_append, -Array.range'_append_1]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having to drop simp lemmas is a bit concerning. Do we understand why this is happening?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a small reproducer of the bug in latest lean version:
leanprover/lean4#15183

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, then we can move along and fix it when the bug is resolved. You may want to add a comment to the relevant Lean bug in the code to ensure things we can revert this when the bug is resolved.

@math-fehr
math-fehr force-pushed the math-fehr/lean-update branch from 5b822d1 to fa51a2d Compare September 16, 2026 17:01
@math-fehr
math-fehr force-pushed the math-fehr/lean-update branch from fa51a2d to 2f502c0 Compare September 17, 2026 00:33
@math-fehr
math-fehr enabled auto-merge September 17, 2026 00:33
@math-fehr
math-fehr added this pull request to the merge queue Sep 17, 2026
Merged via the queue into main with commit db172d4 Sep 17, 2026
6 checks passed
@math-fehr
math-fehr deleted the math-fehr/lean-update branch September 17, 2026 00:44
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