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: change the definition of PtrSet and PtrMap to abbrev #4907

Closed
wants to merge 1 commit into from

Conversation

znssong
Copy link
Contributor

@znssong znssong commented Aug 4, 2024

I changed the transparency of PtrSet and PtrMap to abbrev, because some usages would fail if they are def, for example the instance synthesize of EmptyCollection (PtrMap Nat Nat).

@znssong znssong changed the title fix: change the definition of PtrSet and PtrMap to abbrev. fix: change the definition of PtrSet and PtrMap to abbrev Aug 4, 2024
@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 Aug 4, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Aug 4, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Aug 4, 2024
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Aug 4, 2024
@leanprover-community-mathlib4-bot
Copy link
Collaborator

Mathlib CI status (docs):

@Kha
Copy link
Member

Kha commented Aug 9, 2024

This type should be considered a primitive/newtype. Missing operations should be added as separate declarations.

@Kha Kha closed this Aug 9, 2024
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.

3 participants