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

feat: canonicalizer diagnostics #6662

Merged
merged 5 commits into from
Jan 16, 2025
Merged

feat: canonicalizer diagnostics #6662

merged 5 commits into from
Jan 16, 2025

Conversation

leodemoura
Copy link
Member

This PR improves the canonicalizer used in the grind tactic and the diagnostics it produces. It also adds a new configuration option, canonHeartbeats, to address (some of) the issues. Here is an example illustrating the new diagnostics, where we intentionally create a problem by using a very small number of heartbeats.

image

@leodemoura leodemoura added the changelog-language Language features, tactics, and metaprograms label Jan 16, 2025
@leodemoura leodemoura enabled auto-merge January 16, 2025 04:31
@github-actions github-actions bot temporarily deployed to lean-lang.org/lean4/doc January 16, 2025 04:46 Inactive
@leodemoura leodemoura added this pull request to the merge queue Jan 16, 2025
@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 Jan 16, 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 af4a7d7e984e275d2d7091908c7172d4414e2128 --onto a955708b6c5f25e7f9c9ae7b951f8f3d5aefe377. (2025-01-16 05:03:03)

Merged via the queue into master with commit 3a6c5cf Jan 16, 2025
15 checks passed
luisacicolini pushed a commit to opencompl/lean4 that referenced this pull request Jan 21, 2025
This PR improves the canonicalizer used in the `grind` tactic and the
diagnostics it produces. It also adds a new configuration option,
`canonHeartbeats`, to address (some of) the issues. Here is an example
illustrating the new diagnostics, where we intentionally create a
problem by using a very small number of heartbeats.

<img width="1173" alt="image"
src="https://github.com/user-attachments/assets/484005c8-dcaa-4164-8fbf-617864ed7350"
/>
JovanGerb pushed a commit to JovanGerb/lean4 that referenced this pull request Jan 21, 2025
This PR improves the canonicalizer used in the `grind` tactic and the
diagnostics it produces. It also adds a new configuration option,
`canonHeartbeats`, to address (some of) the issues. Here is an example
illustrating the new diagnostics, where we intentionally create a
problem by using a very small number of heartbeats.

<img width="1173" alt="image"
src="https://github.com/user-attachments/assets/484005c8-dcaa-4164-8fbf-617864ed7350"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-language Language features, tactics, and metaprograms 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