Skip to content
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: upstream the once-per-file Cache for tactics #213

Merged
merged 8 commits into from
Nov 1, 2023

Conversation

kim-em
Copy link
Collaborator

@kim-em kim-em commented Aug 8, 2023

This is another component of exact? that will need to be upstreamed.

@kim-em kim-em added the awaiting-review This PR is ready for review; the author thinks it is ready to be merged. label Aug 8, 2023
Copy link
Collaborator

@fgdorais fgdorais left a comment

Choose a reason for hiding this comment

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

Using choice is mostly harmless but it is best to avoid it since Std is intended for computation. In core, it's mostly used to get excluded middle, which only affects Prop so it's essentially harmless for computation. The use here is in an actual type so potentially not so harmless.

Std/Util/Cache.lean Outdated Show resolved Hide resolved
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the merge-conflict This PR has merge conflicts with the `main` branch which must be resolved by the author. label Sep 18, 2023
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot removed the merge-conflict This PR has merge conflicts with the `main` branch which must be resolved by the author. label Sep 19, 2023
@digama0 digama0 merged commit d3ce3e8 into leanprover-community:main Nov 1, 2023
1 check passed
@nomeata
Copy link
Collaborator

nomeata commented Nov 3, 2023

Great! Another dependency of #find in std.

I had a PR against that file in mathlib4, at leanprover-community/mathlib4#7384. Should I port this against std4 now, or is that PR unwanted anyways?

I’ll just open the PR at #346

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review This PR is ready for review; the author thinks it is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants