-
Notifications
You must be signed in to change notification settings - Fork 234
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
[Merged by Bors] - chore(AlgebraicGeometry.Morphisms.RingHomProperties): speedups #8299
Conversation
!bench |
Here are the benchmark results for commit 604fc77. Benchmark Metric Change
==================================================================================
+ build maxrss -19.6%
+ build tactic execution -5.3%
+ ~Mathlib.AlgebraicGeometry.Morphisms.RingHomProperties instructions -64.6% |
bors merge |
I don't really understand this file, but I was bothered by the sole declaration requiring more than a million heartbeats. I noticed strategically adding a few `conv`s can make `sourceAffineLocally_of_source_open_cover_aux` not require a bump.
Pull request successfully merged into master. Build succeeded: |
set_option maxHeartbeats 4000000 in | ||
theorem sourceAffineLocally_of_source_open_cover_aux (h₁ : RingHom.RespectsIso @P) | ||
(h₃ : RingHom.OfLocalizationSpanTarget @P) {X Y : Scheme} (f : X ⟶ Y) (U : X.affineOpens) | ||
(s : Set (X.presheaf.obj (op U.1))) (hs : Ideal.span s = ⊤) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I wish I knew that beforehand :( I'd be happy to have my hacky proof replaced by a proper one, of course.
I don't really understand this file, but I was bothered by the sole declaration requiring more than a million heartbeats. I noticed strategically adding a few `conv`s can make `sourceAffineLocally_of_source_open_cover_aux` not require a bump.
I don't really understand this file, but I was bothered by the sole declaration requiring more than a million heartbeats. I noticed strategically adding a few `conv`s can make `sourceAffineLocally_of_source_open_cover_aux` not require a bump.
I don't really understand this file, but I was bothered by the sole declaration requiring more than a million heartbeats. I noticed strategically adding a few `conv`s can make `sourceAffineLocally_of_source_open_cover_aux` not require a bump.
I don't really understand this file, but I was bothered by the sole declaration requiring more than a million heartbeats. I noticed strategically adding a few
conv
s can makesourceAffineLocally_of_source_open_cover_aux
not require a bump.