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

fix: enforce isDefEqStuckEx at unstuckMVar procedure #4596

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

leodemoura
Copy link
Member

Closes #2736

See comment at ExprDefEq.lean for explanation.
Side effects:

  • Improved error messages in two tests.
  • Had to improve getSuccesses procedure at App.lean. It now
    discards candidates that contain postponed elaboration problems.
    If it is too disruptive for Mathlib, we should try to discard the
    ones that have postponed metavariables.

@github-actions github-actions bot temporarily deployed to lean-lang.org/lean4/doc July 1, 2024 02:58 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 Jul 1, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Jul 1, 2024
@kim-em kim-em added the release-ci Enable all CI checks for a PR, like is done for releases label Jul 1, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Jul 1, 2024
@github-actions github-actions bot temporarily deployed to lean-lang.org/lean4/doc July 1, 2024 11:59 Inactive
@leanprover-community-mathlib4-bot
Copy link
Collaborator

leanprover-community-mathlib4-bot commented Jul 1, 2024

Mathlib CI status (docs):

leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Jul 1, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Jul 1, 2024
kim-em added a commit to leanprover-community/mathlib4 that referenced this pull request Jul 2, 2024
@kim-em
Copy link
Collaborator

kim-em commented Jul 2, 2024

I'm sorry, I don't understand why the Mathlib CI is failing here. @leodemoura, I have a local build of Mathlib with only minor changes, if you want to proceed.

@kim-em
Copy link
Collaborator

kim-em commented Jul 2, 2024

The Mathlib CI is failing with:

info: downloading component 'lean'
info: installing component 'lean'
info: batteries: cloning https://github.com/leanprover-community/batteries to '././.lake/packages/batteries'
info: Qq: cloning https://github.com/leanprover-community/quote4 to '././.lake/packages/Qq'
info: aesop: cloning https://github.com/leanprover-community/aesop to '././.lake/packages/aesop'
error: external command 'git' exited with code 128

@tydeu, a resolution to #4302 would be really helpful here, as it's hard to guess what is happening. Locally everything works fine.

Closes #2736

See comment at `ExprDefEq.lean` for explanation.
Side effects:
- Improved error messages in two tests.
- Had to improve `getSuccesses` procedure at `App.lean`. It now
  discards candidates that contain postponed elaboration problems.
  If it is too disruptive for Mathlib, we should try to discard the
  ones that have postponed metavariables.
@leodemoura
Copy link
Member Author

@semorrison In the meantime, I rebased on top of the new nightly-with-mathlib and resubmitted.

@github-actions github-actions bot temporarily deployed to lean-lang.org/lean4/doc July 2, 2024 01:20 Inactive
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Jul 2, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Jul 2, 2024
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Jul 2, 2024
@leodemoura leodemoura added this pull request to the merge queue Jul 2, 2024
Merged via the queue into master with commit 6080e3d Jul 2, 2024
25 checks passed
cruhland added a commit to cruhland/lean4-axiomatic that referenced this pull request Jul 7, 2024
A bug caused by leanprover/lean4#4596
prevents us from updating to latest
cruhland added a commit to cruhland/lean4-analysis that referenced this pull request Jul 7, 2024
A bug caused by leanprover/lean4#4596
prevents us from updating to latest
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 release-ci Enable all CI checks for a PR, like is done for releases 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.

Rewrite fails to find instance correctly
3 participants