Skip to content

chore: adaptations for leanprover/lean4#2750 - #8289

Closed
kim-em wants to merge 3 commits into
nightly-testing-2023-11-06from
lean-pr-testing-2750
Closed

kim-em wants to merge 3 commits into
nightly-testing-2023-11-06from
lean-pr-testing-2750

Conversation

@kim-em

@kim-em kim-em commented Nov 9, 2023

Copy link
Copy Markdown
Contributor

Apparently a small change is needed for leanprover/lean4#2750.


Open in Gitpod

leanprover-community-mathlib4-bot and others added 2 commits November 6, 2023 14:37
@kim-em kim-em added awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. blocked-by-core-release Not relevant for the current Lean release candidate, but will be needed for the next. labels Nov 9, 2023
@kim-em
kim-em requested a review from digama0 November 9, 2023 10:01
@github-actions github-actions Bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Nov 9, 2023
((fun o' => blsub₂.{u, u, u} o' o' (@fun a _ b _ => op a b))^[n] o) with h h
· use n + 1
rw [Function.iterate_succ']
dsimp

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why do we need dsimps now?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@digama0, could you comment here?

(This PR was me trying to get Mathlib green against this PR, I admit I've forgotten, if I ever understood at all, the effect of the underlying Lean 4 change.)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The effect of the lean 4 change is that when faced with problems of the form foo x =?= bar y, it will now sometimes unfold foo where it used to unfold bar or vice versa. This may cause timing differences or possible timeouts, although I wouldn't expect any particular bias to whether things get better or worse, maybe a little bit better since the heuristic is supposed to have better luck than picking randomly... I don't know off hand why this dsimp would be needed.

@j-loreaux

j-loreaux commented Jan 22, 2024 •

Copy link
Copy Markdown
Contributor

@semorrison what's going on with this? Did you create a different PR that got merged instead?

EDIT: nevermind, the release tag is just incorrect.

@kim-em kim-em removed the v4.4.0 label Jan 23, 2024
@jcommelin jcommelin added WIP Work in progress and removed awaiting-review labels Feb 20, 2024
@grunweg

grunweg commented May 2, 2024

Copy link
Copy Markdown
Contributor

Given leanprover/lean#2750 has been closed and a variant is included in Lean 4.8: is this PR still useful, or can/should this be closed?

@kim-em kim-em closed this May 3, 2024
@YaelDillies
YaelDillies deleted the lean-pr-testing-2750 branch August 16, 2025 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked-by-core-release Not relevant for the current Lean release candidate, but will be needed for the next. WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants