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: grind tests for basic category theory #6543

Merged
merged 3 commits into from
Jan 6, 2025
Merged

feat: grind tests for basic category theory #6543

merged 3 commits into from
Jan 6, 2025

Conversation

kim-em
Copy link
Collaborator

@kim-em kim-em commented Jan 6, 2025

This PR adds additional tests for grind, demonstrating that we can automate some manual proofs from Mathlib's basic category theory library, with less reliance on Mathlib's @[reassoc] trick.

In several places I've added bidirectional patterns for equational lemmas.

I've updated some other files to use the new @[grind_eq] attribute (but left as is all cases where we are inspecting the info messages from grind_pattern).

@kim-em kim-em added the changelog-language Language features, tactics, and metaprograms label Jan 6, 2025
@github-actions github-actions bot temporarily deployed to lean-lang.org/lean4/doc January 6, 2025 00:36 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 Jan 6, 2025
@leanprover-community-bot
Copy link
Collaborator

leanprover-community-bot commented Jan 6, 2025

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 76f883b9995f684663e3106b08defec46f7a7f4c --onto dc5c8097b5ca053dd49b5de246add54c3e999734. (2025-01-06 00:50:55)
  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 2ed77f3b262bb2b2c509e95ac01e6fe161ed40fd --onto dc5c8097b5ca053dd49b5de246add54c3e999734. (2025-01-06 06:52:30)
  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 2c9641f621f8aecf69d8644d5b7f99c96cb947fa --onto 78ddee911287bf7b0069a695b01001db2654a765. (2025-01-06 16:31:33)

@kim-em kim-em enabled auto-merge January 6, 2025 06:36
@github-actions github-actions bot temporarily deployed to lean-lang.org/lean4/doc January 6, 2025 16:27 Inactive
@kim-em kim-em added this pull request to the merge queue Jan 6, 2025
Merged via the queue into master with commit 8dec579 Jan 6, 2025
15 checks passed
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.

3 participants