Skip to content

Conversation

@kim-em
Copy link
Collaborator

@kim-em kim-em commented Jun 13, 2025

This PR changes the definition of DHashMap to a structure. This makes it more consistent with the other map types, which are generally defined as structures. It also ensures that the type DHashMap α β is already in weak head normal form, making it easier for grind to successfully generate patterns for DHashMap lemmas.

@kim-em kim-em requested a review from TwoFX as a code owner June 13, 2025 03:46
@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 Jun 13, 2025
@leanprover-community-bot
Copy link
Collaborator

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 140a6335895315faf637f077f0b60c5de3f0bf1c --onto faffe863343211d03d07d4ef19d90a2aa9d6fc8c. You can force Mathlib CI using the force-mathlib-ci label. (2025-06-13 04:20:21)

@kim-em kim-em added this pull request to the merge queue Jun 16, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 16, 2025
@kim-em kim-em added this pull request to the merge queue Jun 20, 2025
Merged via the queue into master with commit a750da5 Jun 20, 2025
15 checks passed
wkrozowski pushed a commit to wkrozowski/lean4 that referenced this pull request Jun 24, 2025
This PR changes the definition of `DHashMap` to a structure. This makes
it more consistent with the other map types, which are generally defined
as structures. It also ensures that the type `DHashMap α β` is already
in weak head normal form, making it easier for `grind` to successfully
generate patterns for `DHashMap` lemmas.
david-christiansen added a commit to david-christiansen/lean4 that referenced this pull request Jun 27, 2025
Revert "chore: convert `DHashMap` to a structure (leanprover#8761)"

This reverts commit a750da5.

This should change an error message in the reference manual and cause
it to not build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

4 participants