Skip to content

fix: cache issue at split tatic - #3258

Merged
leodemoura merged 2 commits into
masterfrom
issue_3229
Feb 6, 2024
Merged

leodemoura merged 2 commits into
masterfrom
issue_3229

Conversation

@leodemoura

Copy link
Copy Markdown
Member

closes #3229

@leodemoura
leodemoura requested a review from Kha as a code owner February 5, 2024 20:36
@github-actions
github-actions Bot temporarily deployed to lean-lang.org/lean4/doc February 5, 2024 20:47 Inactive
@github-actions github-actions Bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Feb 5, 2024
ghost pushed a commit to leanprover-community/batteries that referenced this pull request Feb 5, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request Feb 5, 2024
@ghost ghost added breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan full-ci labels Feb 5, 2024
@ghost

ghost commented Feb 5, 2024 •

Copy link
Copy Markdown

Mathlib CI status (docs):

ghost pushed a commit to leanprover-community/batteries that referenced this pull request Feb 5, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request Feb 5, 2024

@nomeata nomeata 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.

I expect that this will, as a side effect, fix most (but not all) instances of #3245.

One could make simpIfTarget even more robust if it receives as a parameter the name of the hypotheses actually added by split, and discharge could simply use precisely that, instead of going through the local context. Not sure if it’s worth it, or if maybe using any available hypothesis is actually desirable here.

Comment thread tests/lean/run/3229.lean Resolved
Co-authored-by: Joachim Breitner <[email protected]>
@kim-em

kim-em commented Feb 6, 2024

Copy link
Copy Markdown
Collaborator

Mathlib fix is trivial, CI should go green shortly.

@github-actions
github-actions Bot temporarily deployed to lean-lang.org/lean4/doc February 6, 2024 10:36 Inactive
@ghost ghost added builds-mathlib CI has verified that Mathlib builds against this PR and removed breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan labels Feb 6, 2024
ghost pushed a commit to leanprover-community/batteries that referenced this pull request Feb 6, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request Feb 6, 2024
@leodemoura
leodemoura added this pull request to the merge queue Feb 6, 2024
Merged via the queue into master with commit 17520fa Feb 6, 2024
kim-em added a commit to leanprover-community/mathlib4 that referenced this pull request Feb 7, 2024
…n split tactic) (#10328)

Adaptation PR for leanprover/lean4#3258, which fixes
leanprover/lean4#3229.

---
<!-- The text above the `---` will become the commit message when your
PR is merged. Please leave a blank newline before the `---`, otherwise
GitHub will format the text above it as a title.

To indicate co-authors, include lines at the bottom of the commit
message
(that is, before the `---`) using the following format:

Co-authored-by: Author Name <[email protected]>

Any other comments you want to keep out of the PR commit should go
below the `---`, and placed outside this HTML comment, or else they
will be invisible to reviewers.

If this PR depends on other PRs, please list them below this comment,
using the following format:
- [ ] depends on: #abc [optional extra text]
- [ ] depends on: #xyz [optional extra text]
-->

[![Open in
Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)

---------

Co-authored-by: leanprover-community-mathlib4-bot <[email protected]>
kim-em added a commit to leanprover-community/mathlib4 that referenced this pull request Feb 7, 2024
…isssue in split tactic) (#10328)"

This reverts commit 99a46af.
kim-em added a commit to leanprover-community/mathlib4 that referenced this pull request Feb 7, 2024
…n split tactic) (#10330)

This was previously #10328, but I merged this into `master`, not
`bump/v4.7.0`. 🤦‍♀️

Trying again.

---
<!-- The text above the `---` will become the commit message when your
PR is merged. Please leave a blank newline before the `---`, otherwise
GitHub will format the text above it as a title.

To indicate co-authors, include lines at the bottom of the commit
message
(that is, before the `---`) using the following format:

Co-authored-by: Author Name <[email protected]>

Any other comments you want to keep out of the PR commit should go
below the `---`, and placed outside this HTML comment, or else they
will be invisible to reviewers.

If this PR depends on other PRs, please list them below this comment,
using the following format:
- [ ] depends on: #abc [optional extra text]
- [ ] depends on: #xyz [optional extra text]
-->

[![Open in
Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)

---------

Co-authored-by: leanprover-community-mathlib4-bot <[email protected]>
atarnoam pushed a commit to leanprover-community/mathlib4 that referenced this pull request Feb 9, 2024
…n split tactic) (#10328)

Adaptation PR for leanprover/lean4#3258, which fixes
leanprover/lean4#3229.

---
<!-- The text above the `---` will become the commit message when your
PR is merged. Please leave a blank newline before the `---`, otherwise
GitHub will format the text above it as a title.

To indicate co-authors, include lines at the bottom of the commit
message
(that is, before the `---`) using the following format:

Co-authored-by: Author Name <[email protected]>

Any other comments you want to keep out of the PR commit should go
below the `---`, and placed outside this HTML comment, or else they
will be invisible to reviewers.

If this PR depends on other PRs, please list them below this comment,
using the following format:
- [ ] depends on: #abc [optional extra text]
- [ ] depends on: #xyz [optional extra text]
-->

[![Open in
Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)

---------

Co-authored-by: leanprover-community-mathlib4-bot <[email protected]>
atarnoam pushed a commit to leanprover-community/mathlib4 that referenced this pull request Feb 9, 2024

This branch was previously deployed

1 inactive deployment
lean-lang.org/lean4/doc — d6ecbce8 Deployed Feb 6, 2024 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-mathlib CI has verified that Mathlib builds against this PR toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

loose fvar in split

3 participants