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: rename automatically generated "unfold" theorems #3767

Merged
merged 1 commit into from
Mar 25, 2024
Merged

Conversation

leodemoura
Copy link
Member

Given a definition foo, they were previously called foo._unfold until 4.7.0. We tried to rename them to foo.def, but it created too many issues in the Mathlib repo. We decided to rename it again to foo.eq_def. The new name is also consistent with the eq_<idx> theorems generated for different "cases". That is, foo.eq_def is the equality theorem for the whole definition, and foo.eq_<idx> is the equality theorem for case <idx>.

cc @semorrison

Given a definition `foo`, they were previously called `foo._unfold`
until 4.7.0. We tried to rename them to `foo.def`, but it created too
many issues in the Mathlib repo. We decided to rename it again to
`foo.eq_def`. The new name is also consistent with the `eq_<idx>`
theorems generated for different "cases". That is, `foo.eq_def` is the
equality theorem for the whole definition, and `foo.eq_<idx>` is the
equality theorem for case `<idx>`.
@github-actions github-actions bot temporarily deployed to lean-lang.org/lean4/doc March 25, 2024 21:05 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 Mar 25, 2024
@leanprover-community-mathlib4-bot
Copy link
Collaborator

Mathlib CI status (docs):

  • ❗ Std/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase e0c6c5d226883980cfe986886681e68e9924f2bd --onto 80d2455b6401acf6b0d107388b814c175e64c0d3. (2024-03-25 21:08:40)

@leodemoura leodemoura added this pull request to the merge queue Mar 25, 2024
Merged via the queue into master with commit 22b5c95 Mar 25, 2024
11 checks passed
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.

2 participants