[Merged by Bors] - perf(RingTheory/Kaehler/JacobiZariski): reorder universe variables#26008
[Merged by Bors] - perf(RingTheory/Kaehler/JacobiZariski): reorder universe variables#26008chrisflav wants to merge 5 commits intoleanprover-community:masterfrom
Conversation
Comments from Original PR #21129This section contains 21 comment(s) from the original PR, excluding bot comments. @github-actions (2025-01-27 14:43 UTC): PR summary 2c68f5f3e0Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo declarations were harmed in the making of this PR! 🐙 You can run this locally as follows## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.You can run this locally as
@chrisflav (2025-01-27 14:45 UTC): @github-actions (2025-01-27 15:31 UTC):
@github-actions (2025-01-27 15:42 UTC): @chrisflav (2025-01-27 15:44 UTC):
You probably missed the discussion at https://leanprover.zulipchat.com/#narrow/channel/144837-PR-reviews/topic/.2321099.20use.20unification.20hints.20for.20generators. So @mattrobball and @erdOne should have a look first. @mattrobball (2025-01-27 15:45 UTC): @chrisflav (2025-01-27 15:49 UTC):
It definitely matters that the universes of @mattrobball (2025-01-27 15:57 UTC): The former doesn't seem to matter. The latter seems to matter both for the elaborator and the kernel. Lexical ordering gives equality in the kernel. @chrisflav (2025-01-27 15:59 UTC):
So what exactly do you suggest to change in this PR? @erdOne (2025-01-27 16:09 UTC): @chrisflav (2025-01-27 16:18 UTC): @chrisflav (2025-01-27 16:29 UTC): @mattrobball (2025-01-27 16:41 UTC): @github-actions (2025-01-27 17:11 UTC):
@mattrobball (2025-01-27 18:51 UTC): @kbuzzard (2025-01-28 11:45 UTC): @chrisflav (2025-01-28 11:47 UTC):
You did not follow the unwritten rules of this competition which clearly state without changing the results of this file. :) @kbuzzard (2025-01-28 11:52 UTC): I've closed the PR in case anyone thought it was serious. How do we move forwards on this? Presumably someone needs to find some kind of example, ideally mathlib-free, showing where the problem is? This might be really hard. @mattrobball (2025-01-28 13:12 UTC): Given @kbuzzard 's comment I am becoming more skeptical that the current design is aligned with how Lean works, currently.
@kbuzzard (2025-03-10 10:45 UTC): PS there doesn't seem to be a link to the relevant Zulip thread, which is here. @mattrobball (2025-03-10 12:51 UTC): |
PR summary 4466755c92Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo declarations were harmed in the making of this PR! 🐙 You can run this locally as follows## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.You can run this locally as
|
|
!bench |
|
Here are the benchmark results for commit 4d38cae. Benchmark Metric Change
=================================================================
+ ~Mathlib.RingTheory.Kaehler.JacobiZariski instructions -26.1% |
|
|
maintainer merge |
|
🚀 Pull request has been placed on the maintainer queue by jcommelin. |
|
Thanks! bors merge |
…26008) Naming of universe variables has an impact on universe unification. It seems to matter that the universe variables of `R`, `S` and `T` appear before the universe variables of the generators in alphabetical order.
|
Pull request successfully merged into master. Build succeeded: |
…eanprover-community#26008) Naming of universe variables has an impact on universe unification. It seems to matter that the universe variables of `R`, `S` and `T` appear before the universe variables of the generators in alphabetical order.
…eanprover-community#26008) Naming of universe variables has an impact on universe unification. It seems to matter that the universe variables of `R`, `S` and `T` appear before the universe variables of the generators in alphabetical order.
Naming of universe variables has an impact on universe unification. It seems to matter that the universe variables of
R,SandTappear before the universe variables of the generators in alphabetical order.This PR continues the work from #21129.
Original PR: #21129