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(algebra/hom/centroid): Commutative Centroid of a *-ring is a *-ring #6595

Open
wants to merge 104 commits into
base: master
Choose a base branch
from

Conversation

mans0954
Copy link
Collaborator

@mans0954 mans0954 commented Aug 15, 2023

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the blocked-by-other-PR This PR depends on another PR to Mathlib label Aug 15, 2023
@mans0954 mans0954 added the awaiting-review The author would like community review of the PR label Aug 15, 2023
mans0954 and others added 3 commits August 16, 2023 05:56
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@@ -542,7 +542,8 @@ def star_ring (mul_comm : ∀ f g : CentroidHom α, f * g = g * f) : StarRing (C
star_mul := fun f g => by
rw [mul_comm]
ext
rw [star_apply, mul_apply, mul_apply, star_apply, star_apply, star_star]
rw [star_apply, mul_apply, mul_apply, star_apply]
simp
Copy link
Collaborator Author

@mans0954 mans0954 Aug 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the lean3 version of this PR https://github.com/leanprover-community/mathlib/pull/18096/files#diff-b9e451cbb3a5b6efa050e64d3f4896b5d3ed3c51e9f034259709f8372aaaa525R342 I could close the goal with

rw [star_apply, mul_apply, mul_apply, star_apply, star_apply, star_star]

But doing this in Mathlib4 results in:

 Build: Mathlib/Algebra/Hom/Centroid.lean#L538
(deterministic) timeout at 'whnf', maximum number of heartbeats (200000) has been reached (use 'set_option maxHeartbeats <num>' to set the limit)

@mans0954 mans0954 added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels May 13, 2024
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the blocked-by-other-PR This PR depends on another PR to Mathlib label May 15, 2024
Copy link

github-actions bot commented Jun 7, 2024

Import summary

Dependency changes
File Base Count Head Count Change
Mathlib.Algebra.Ring.CentroidHom 632 637 +5 (+0.79%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review The author would like community review of the PR blocked-by-other-PR This PR depends on another PR to Mathlib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants