Skip to content

joke: make JacobiZariski universe-monomorphic#21165

Closed
kbuzzard wants to merge 1 commit intomasterfrom
kbuzzard-jacobizariski-universe-joke
Closed

joke: make JacobiZariski universe-monomorphic#21165
kbuzzard wants to merge 1 commit intomasterfrom
kbuzzard-jacobizariski-universe-joke

Conversation

@kbuzzard
Copy link
Copy Markdown
Member

@kbuzzard kbuzzard commented Jan 28, 2025

This file, the slowest in mathlib, is only imported by RingTheory.Etale.Kaehler, which is already universe monomorphic, so this change shouldn't break anything.

This PR shouldn't be merged; I only made it because I am interested in measuring how much this speeds things up compared to #21129 (for which the speedcenter reported a 29% decrease in instructions).


Open in Gitpod

@kbuzzard kbuzzard added the WIP Work in progress label Jan 28, 2025
@github-actions
Copy link
Copy Markdown

PR summary 7c4c5a6db3

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No 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 script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions bot added the t-algebra Algebra (groups, rings, fields, etc) label Jan 28, 2025
@kbuzzard
Copy link
Copy Markdown
Member Author

!bench

@leanprover-bot
Copy link
Copy Markdown
Collaborator

Here are the benchmark results for commit 7c4c5a6.
There were significant changes against commit afd713f:

  Benchmark                                   Metric         Change
  =================================================================
+ ~Mathlib.RingTheory.Kaehler.JacobiZariski   instructions   -60.7%

@github-actions
Copy link
Copy Markdown

File Instructions %
build -448.159⬝10⁹ (-0.29%)
lint -1.372⬝10⁹ (-0.01%)
Mathlib.Data.Array.Lemmas -2.96⬝10⁹ (-43.51%)
Mathlib.RingTheory.Kaehler.JacobiZariski -441.856⬝10⁹ (-60.69%)
CI run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-algebra Algebra (groups, rings, fields, etc) WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants