Skip to content

[Merged by Bors] - perf: use fast_instance% for instances constructed via non-canonical constructors#20993

Closed
mattrobball wants to merge 21 commits intomasterfrom
fast_instance_app
Closed

[Merged by Bors] - perf: use fast_instance% for instances constructed via non-canonical constructors#20993
mattrobball wants to merge 21 commits intomasterfrom
fast_instance_app

Conversation

@mattrobball
Copy link
Copy Markdown
Contributor

@mattrobball mattrobball commented Jan 23, 2025

Most the applications have Function.Injective/Surjective.class at the head of their expressions except for Submodule.addCommMonoid/addCommGroup/module'/module. The latter probably have the former deeper inside.

Co-authored-by: Eric Wieser wieser.eric@gmail.com


Open in Gitpod

@mattrobball
Copy link
Copy Markdown
Contributor Author

!bench

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 23, 2025

PR summary 229fccfc16

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Algebra.Group.Subsemigroup.Defs 218 219 +1 (+0.46%)
Mathlib.Algebra.Group.Submonoid.Defs 219 220 +1 (+0.46%)
Mathlib.RingTheory.NonUnitalSubsemiring.Defs 236 237 +1 (+0.42%)
Mathlib.Algebra.Order.Positive.Ring 237 238 +1 (+0.42%)
Mathlib.Algebra.Ring.Subsemiring.Defs 237 238 +1 (+0.42%)
Mathlib.Algebra.Order.Monoid.Submonoid 256 257 +1 (+0.39%)
Mathlib.Algebra.Order.Interval.Set.Instances 262 263 +1 (+0.38%)
Mathlib.GroupTheory.Congruence.Defs 276 277 +1 (+0.36%)
Mathlib.RingTheory.Congruence.Defs 293 294 +1 (+0.34%)
Mathlib.Algebra.Ring.Subsemiring.Order 298 299 +1 (+0.34%)
Mathlib.Algebra.Group.Subgroup.Defs 324 325 +1 (+0.31%)
Mathlib.RingTheory.NonUnitalSubring.Defs 342 343 +1 (+0.29%)
Mathlib.Algebra.Ring.Subring.Defs 394 395 +1 (+0.25%)
Mathlib.Algebra.Module.Submodule.Defs 438 439 +1 (+0.23%)
Mathlib.Algebra.Module.Submodule.Order 445 446 +1 (+0.22%)
Mathlib.Algebra.Ring.Subring.Order 457 458 +1 (+0.22%)
Mathlib.Algebra.Field.Subfield.Defs 465 466 +1 (+0.22%)
Mathlib.Algebra.Order.Nonneg.Ring 465 466 +1 (+0.22%)
Mathlib.Algebra.Order.Field.Subfield 478 479 +1 (+0.21%)
Mathlib.LinearAlgebra.Quotient.Defs 483 484 +1 (+0.21%)
Mathlib.Data.Finsupp.Defs 491 492 +1 (+0.20%)
Mathlib.Algebra.Order.Nonneg.Field 499 500 +1 (+0.20%)
Mathlib.Algebra.Order.CauSeq.Completion 573 574 +1 (+0.17%)
Mathlib.Algebra.Polynomial.Basic 740 741 +1 (+0.14%)
Mathlib.LinearAlgebra.AffineSpace.AffineSubspace 844 845 +1 (+0.12%)
Mathlib.AlgebraicGeometry.Modules.Tilde 1797 1798 +1 (+0.06%)
Import changes for all files
Files Import difference
There are 3235 files with changed transitive imports taking up over 141996 characters: this is too many to display!
You can run scripts/import_trans_difference.sh all locally to see the whole output.

Declarations diff

+ instance (priority := 75) toDivisionRing (s : S) : DivisionRing s := fast_instance%
+ instance (priority := 75) toGroup : Group H := fast_instance%
+ instance (priority := 75) toModule : Module R S' := fast_instance%
+ instance (priority := 75) toNonAssocSemiring : NonAssocSemiring s := fast_instance%
+ instance (priority := 75) toNonUnitalNonAssocRing : NonUnitalNonAssocRing s := fast_instance%
+ instance (priority := 75) toNonUnitalNonAssocSemiring :
+ instance (priority := 75) toRing : Ring s := fast_instance%
+ instance : Distrib { x : R // 0 < x } := fast_instance%
+ instance : Monoid { x : R // 0 < x } := fast_instance%
+ instance : Semigroup { x : R // 0 < x } := fast_instance%
+ instance [CommRing R] (c : RingCon R) : CommRing c.Quotient := fast_instance%
+ instance [CommSemiring R] (c : RingCon R) : CommSemiring c.Quotient := fast_instance%
+ instance [NonAssocRing R] (c : RingCon R) : NonAssocRing c.Quotient := fast_instance%
+ instance [NonAssocSemiring R] (c : RingCon R) : NonAssocSemiring c.Quotient := fast_instance%
+ instance [NonUnitalNonAssocRing R] (c : RingCon R) :
+ instance [NonUnitalNonAssocSemiring R] (c : RingCon R) :
+ instance [NonUnitalRing R] (c : RingCon R) : NonUnitalRing c.Quotient := fast_instance%
+ instance [NonUnitalSemiring R] (c : RingCon R) : NonUnitalSemiring c.Quotient := fast_instance%
+ instance [Ring R] (c : RingCon R) : Ring c.Quotient := fast_instance%
+ instance [Semiring R] (c : RingCon R) : Semiring c.Quotient := fast_instance%
+-+- monoid
+-+-+-+- semigroup
- instance (priority := 75) toDivisionRing (s : S) : DivisionRing s
- instance (priority := 75) toGroup : Group H
- instance (priority := 75) toModule : Module R S'
- instance (priority := 75) toNonAssocSemiring : NonAssocSemiring s
- instance (priority := 75) toNonUnitalNonAssocRing : NonUnitalNonAssocRing s
- instance (priority := 75) toNonUnitalNonAssocSemiring : NonUnitalNonAssocSemiring s
- instance (priority := 75) toRing : Ring s
- instance : Distrib { x : R // 0 < x }
- instance : Monoid { x : R // 0 < x }
- instance : Semigroup { x : R // 0 < x }
- instance [CommRing R] (c : RingCon R) : CommRing c.Quotient
- instance [CommSemiring R] (c : RingCon R) : CommSemiring c.Quotient
- instance [NonAssocRing R] (c : RingCon R) : NonAssocRing c.Quotient
- instance [NonAssocSemiring R] (c : RingCon R) : NonAssocSemiring c.Quotient
- instance [NonUnitalNonAssocRing R] (c : RingCon R) : NonUnitalNonAssocRing c.Quotient
- instance [NonUnitalNonAssocSemiring R] (c : RingCon R) : NonUnitalNonAssocSemiring c.Quotient
- instance [NonUnitalRing R] (c : RingCon R) : NonUnitalRing c.Quotient
- instance [NonUnitalSemiring R] (c : RingCon R) : NonUnitalSemiring c.Quotient
- instance [Ring R] (c : RingCon R) : Ring c.Quotient
- instance [Semiring R] (c : RingCon R) : Semiring c.Quotient
-+--++ commSemigroup

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).

@mattrobball
Copy link
Copy Markdown
Contributor Author

Will we accept files with #guard_msgs...?

@mattrobball
Copy link
Copy Markdown
Contributor Author

!bench

@leanprover-bot
Copy link
Copy Markdown
Collaborator

Here are the benchmark results for commit 6253f3c.
The entire run failed.
Found no significant differences.

@leanprover-bot
Copy link
Copy Markdown
Collaborator

Here are the benchmark results for commit 42aaec2.
There were significant changes against commit 3226828:

  Benchmark                                                 Metric         Change
  ===============================================================================
+ ~Mathlib.Algebra.Algebra.Subalgebra.Rank                  instructions   -39.5%
+ ~Mathlib.Algebra.Algebra.Subalgebra.Unitization           instructions   -25.5%
+ ~Mathlib.Algebra.Lie.TraceForm                            instructions    -6.0%
+ ~Mathlib.Algebra.Lie.Weights.Basic                        instructions    -8.8%
+ ~Mathlib.Algebra.Lie.Weights.Cartan                       instructions   -16.9%
+ ~Mathlib.Algebra.Lie.Weights.Linear                       instructions   -16.5%
+ ~Mathlib.Algebra.Ring.Subring.Order                       instructions   -61.0%
+ ~Mathlib.Algebra.Ring.Subsemiring.Order                   instructions   -52.3%
+ ~Mathlib.Algebra.Star.NonUnitalSubalgebra                 instructions    -9.4%
+ ~Mathlib.AlgebraicGeometry.AffineSpace                    instructions   -12.3%
+ ~Mathlib.AlgebraicGeometry.GammaSpecAdjunction            instructions   -13.2%
+ ~Mathlib.AlgebraicGeometry.Modules.Tilde                  instructions   -17.4%
+ ~Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Basic       instructions   -18.7%
+ ~Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Scheme      instructions    -6.7%
+ ~Mathlib.AlgebraicGeometry.Spec                           instructions   -18.5%
+ ~Mathlib.FieldTheory.CardinalEmb                          instructions   -11.3%
+ ~Mathlib.FieldTheory.Extension                            instructions   -23.1%
+ ~Mathlib.FieldTheory.Fixed                                instructions   -41.5%
+ ~Mathlib.FieldTheory.Galois.Basic                         instructions   -19.8%
+ ~Mathlib.FieldTheory.Galois.Infinite                      instructions   -36.9%
+ ~Mathlib.FieldTheory.Galois.Profinite                     instructions   -49.8%
+ ~Mathlib.FieldTheory.IntermediateField.Adjoin.Basic       instructions   -15.0%
+ ~Mathlib.FieldTheory.IntermediateField.Adjoin.Defs        instructions   -24.7%
+ ~Mathlib.FieldTheory.IntermediateField.Basic              instructions   -31.6%
+ ~Mathlib.FieldTheory.LinearDisjoint                       instructions   -24.4%
+ ~Mathlib.FieldTheory.Minpoly.IsIntegrallyClosed           instructions   -33.2%
+ ~Mathlib.FieldTheory.Normal                               instructions   -12.5%
+ ~Mathlib.FieldTheory.PurelyInseparable                    instructions   -23.7%
+ ~Mathlib.FieldTheory.Relrank                              instructions   -60.9%
+ ~Mathlib.FieldTheory.SeparableDegree                      instructions   -17.3%
+ ~Mathlib.Geometry.Euclidean.Angle.Oriented.Basic          instructions    -9.4%
- ~Mathlib.LinearAlgebra.Dual                               instructions     2.7%
- ~Mathlib.LinearAlgebra.TensorProduct.Graded.Internal      instructions    23.5%
+ ~Mathlib.LinearAlgebra.TensorProduct.Subalgebra           instructions    -5.9%
+ ~Mathlib.NumberTheory.Cyclotomic.Basic                    instructions   -15.6%
+ ~Mathlib.NumberTheory.Cyclotomic.Rat                      instructions   -10.2%
+ ~Mathlib.NumberTheory.FLT.Three                           instructions   -22.8%
+ ~Mathlib.NumberTheory.NumberField.Discriminant.Basic      instructions   -15.6%
+ ~Mathlib.NumberTheory.NumberField.Units.Basic             instructions   -17.7%
+ ~Mathlib.NumberTheory.Padics.Hensel                       instructions   -34.2%
+ ~Mathlib.NumberTheory.Padics.PadicIntegers                instructions   -33.7%
+ ~Mathlib.NumberTheory.Padics.RingHoms                     instructions   -21.9%
+ ~Mathlib.RingTheory.Algebraic.MvPolynomial                instructions   -27.9%
+ ~Mathlib.RingTheory.AlgebraicIndependent.Transcendental   instructions   -35.8%
+ ~Mathlib.RingTheory.Etale.Field                           instructions   -14.9%
+ ~Mathlib.RingTheory.Etale.Kaehler                         instructions    -7.4%
+ ~Mathlib.RingTheory.FiniteType                            instructions   -39.1%
+ ~Mathlib.RingTheory.Flat.Equalizer                        instructions    -5.3%
+ ~Mathlib.RingTheory.Kaehler.CotangentComplex              instructions    -4.6%
+ ~Mathlib.RingTheory.Kaehler.JacobiZariski                 instructions   -15.2%
+ ~Mathlib.RingTheory.Kaehler.Polynomial                    instructions    -7.9%
+ ~Mathlib.RingTheory.Kaehler.TensorProduct                 instructions    -7.8%
+ ~Mathlib.RingTheory.LinearDisjoint                        instructions   -23.6%
+ ~Mathlib.RingTheory.LocalRing.Subring                     instructions   -30.9%
+ ~Mathlib.RingTheory.Perfection                            instructions   -27.1%
+ ~Mathlib.RingTheory.Valuation.AlgebraInstances            instructions   -30.6%
+ ~Mathlib.RingTheory.Valuation.LocalSubring                instructions   -53.3%
+ ~Mathlib.RingTheory.Valuation.ValuationSubring            instructions   -22.4%
+ ~Mathlib.Topology.Algebra.Valued.LocallyCompact           instructions   -47.4%
+ ~Mathlib.Topology.ContinuousMap.Algebra                   instructions   -12.0%

@github-actions
Copy link
Copy Markdown

File Instructions %
build -2114.114⬝10⁹ (-1.36%)
lint -67.316⬝10⁹ (-0.88%)
Mathlib.LinearAlgebra.TensorProduct.Graded.Internal +60.673⬝10⁹ (+23.52%)
Mathlib.LinearAlgebra.Dual +11.711⬝10⁹ (+2.69%)
2 files, Instructions +9.0⬝10⁹
File Instructions %
Mathlib.LinearAlgebra.Isomorphisms +9.629⬝10⁹ (+22.82%)
Mathlib.LinearAlgebra.Goursat +9.180⬝10⁹ (+18.97%)
File Instructions %
Mathlib.RingTheory.SimpleModule +7.7⬝10⁹ (+10.50%)
2 files, Instructions +6.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Ideal.Quotient.Operations +6.677⬝10⁹ (+5.10%)
Mathlib.LinearAlgebra.Eigenspace.Basic +6.546⬝10⁹ (+5.30%)
File Instructions %
Mathlib.Algebra.Module.ZLattice.Basic +5.680⬝10⁹ (+3.72%)
4 files, Instructions +4.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Ideal.Cotangent +4.920⬝10⁹ (+6.08%)
Mathlib.Analysis.InnerProductSpace.PiL2 +4.286⬝10⁹ (+2.18%)
Mathlib.Algebra.Module.FinitePresentation +4.274⬝10⁹ (+2.46%)
Mathlib.NumberTheory.RamificationInertia.Basic +4.126⬝10⁹ (+1.98%)
10 files, Instructions +3.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Ideal.IsPrincipalPowQuotient +3.922⬝10⁹ (+23.17%)
Mathlib.NumberTheory.NumberField.FractionalIdeal +3.796⬝10⁹ (+10.54%)
Mathlib.LinearAlgebra.Eigenspace.Pi +3.730⬝10⁹ (+11.06%)
Mathlib.RepresentationTheory.GroupCohomology.LowDegree +3.620⬝10⁹ (+2.79%)
Mathlib.RingTheory.AdicCompletion.AsTensorProduct +3.490⬝10⁹ (+1.49%)
Mathlib.LinearAlgebra.LinearDisjoint +3.454⬝10⁹ (+3.82%)
Mathlib.LinearAlgebra.FiniteDimensional.Defs +3.442⬝10⁹ (+5.25%)
Mathlib.LinearAlgebra.ExteriorPower.Basic +3.220⬝10⁹ (+6.71%)
Mathlib.RingTheory.Flat.FaithfullyFlat.Basic +3.124⬝10⁹ (+4.24%)
Mathlib.LinearAlgebra.RootSystem.BaseChange +3.91⬝10⁹ (+4.32%)
11 files, Instructions +2.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Ideal.Norm.AbsNorm +2.972⬝10⁹ (+4.25%)
Mathlib.LinearAlgebra.Dimension.RankNullity +2.827⬝10⁹ (+9.20%)
Mathlib.Analysis.NormedSpace.HahnBanach.Extension +2.599⬝10⁹ (+5.68%)
Mathlib.LinearAlgebra.AffineSpace.AffineSubspace +2.553⬝10⁹ (+1.98%)
Mathlib.LinearAlgebra.AffineSpace.FiniteDimensional +2.429⬝10⁹ (+5.50%)
Mathlib.Algebra.Module.ZLattice.Covolume +2.354⬝10⁹ (+3.57%)
Mathlib.LinearAlgebra.FreeModule.PID +2.333⬝10⁹ (+3.44%)
Mathlib.LinearAlgebra.Eigenspace.Zero +2.262⬝10⁹ (+7.15%)
Mathlib.Algebra.DirectSum.LinearMap +2.87⬝10⁹ (+6.13%)
Mathlib.LinearAlgebra.Dimension.StrongRankCondition +2.2⬝10⁹ (+7.90%)
Mathlib.Analysis.Normed.Operator.LinearIsometry +2.2⬝10⁹ (+1.15%)
20 files, Instructions +1.0⬝10⁹
File Instructions %
Mathlib.RingTheory.FractionalIdeal.Norm +1.972⬝10⁹ (+5.30%)
Mathlib.RingTheory.FiniteLength +1.837⬝10⁹ (+12.06%)
Mathlib.Algebra.Category.ModuleCat.Subobject +1.625⬝10⁹ (+11.66%)
Mathlib.Algebra.Homology.ShortComplex.ModuleCat +1.567⬝10⁹ (+1.12%)
Mathlib.LinearAlgebra.Basis.VectorSpace +1.471⬝10⁹ (+6.56%)
Mathlib.LinearAlgebra.TensorProduct.RightExactness +1.371⬝10⁹ (+1.39%)
Mathlib.LinearAlgebra.Projection +1.326⬝10⁹ (+1.95%)
Mathlib.RingTheory.Flat.Basic +1.318⬝10⁹ (+1.92%)
Mathlib.Topology.Algebra.Module.FiniteDimension +1.303⬝10⁹ (+1.58%)
Mathlib.LinearAlgebra.Eigenspace.Semisimple +1.295⬝10⁹ (+8.64%)
Mathlib.Algebra.Order.CauSeq.Completion +1.222⬝10⁹ (+5.28%)
Mathlib.LinearAlgebra.DFinsupp +1.174⬝10⁹ (+2.11%)
Mathlib.LinearAlgebra.Trace +1.140⬝10⁹ (+1.47%)
Mathlib.LinearAlgebra.PerfectPairing.Restrict +1.134⬝10⁹ (+1.61%)
Mathlib.Analysis.InnerProductSpace.Subspace +1.121⬝10⁹ (+3.96%)
Mathlib.MeasureTheory.Function.ConditionalExpectation.AEMeasurable +1.108⬝10⁹ (+2.13%)
Mathlib.LinearAlgebra.Eigenspace.Triangularizable +1.97⬝10⁹ (+4.05%)
Mathlib.LinearAlgebra.BilinearForm.Orthogonal +1.78⬝10⁹ (+2.31%)
Mathlib.LinearAlgebra.SesquilinearForm +1.26⬝10⁹ (+0.75%)
Mathlib.LinearAlgebra.LinearIndependent +1.26⬝10⁹ (+0.72%)
72 files, Instructions -2.0⬝10⁹
File Instructions %
Mathlib.Algebra.Star.Subalgebra -1.9⬝10⁹ (-1.18%)
Mathlib.Algebra.Algebra.Subalgebra.IsSimpleOrder -1.34⬝10⁹ (-12.32%)
Mathlib.Algebra.Lie.InvariantForm -1.39⬝10⁹ (-3.34%)
Mathlib.Algebra.Module.Submodule.Order -1.42⬝10⁹ (-15.05%)
Mathlib.Algebra.Module.PID -1.44⬝10⁹ (-1.68%)
Mathlib.Algebra.MonoidAlgebra.Grading -1.50⬝10⁹ (-2.97%)
Mathlib.RingTheory.IntegralClosure.IntegrallyClosed -1.70⬝10⁹ (-3.69%)
Mathlib.Algebra.Algebra.Basic -1.71⬝10⁹ (-3.61%)
Mathlib.GroupTheory.HNNExtension -1.71⬝10⁹ (-1.10%)
Mathlib.Data.Array.Lemmas -1.79⬝10⁹ (-24.02%)
Mathlib.Data.NNReal.Basic -1.80⬝10⁹ (-8.72%)
Mathlib.Topology.Algebra.UniformRing -1.98⬝10⁹ (-3.18%)
Mathlib.FieldTheory.SplittingField.Construction -1.100⬝10⁹ (-2.56%)
Mathlib.Algebra.Category.Grp.Limits -1.107⬝10⁹ (-2.04%)
Mathlib.Algebra.Colimit.Ring -1.116⬝10⁹ (-1.28%)
Mathlib.RingTheory.Polynomial.GaussLemma -1.182⬝10⁹ (-4.75%)
Mathlib.RingTheory.Nullstellensatz -1.187⬝10⁹ (-4.31%)
Mathlib.MeasureTheory.Function.ConditionalExpectation.CondexpL2 -1.200⬝10⁹ (-1.19%)
Mathlib.RingTheory.Unramified.Field -1.203⬝10⁹ (-1.98%)
Mathlib.RingTheory.EssentialFiniteness -1.204⬝10⁹ (-4.16%)
Mathlib.RingTheory.AdicCompletion.Algebra -1.208⬝10⁹ (-1.41%)
Mathlib.FieldTheory.KrullTopology -1.211⬝10⁹ (-5.95%)
Mathlib.RingTheory.Valuation.Integers -1.226⬝10⁹ (-5.21%)
Mathlib.Geometry.Euclidean.MongePoint -1.228⬝10⁹ (-1.80%)
Mathlib.Data.NNRat.Floor -1.236⬝10⁹ (-6.00%)
Mathlib.Algebra.MonoidAlgebra.Defs -1.282⬝10⁹ (-1.41%)
Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure -1.300⬝10⁹ (-2.49%)
Mathlib.RingTheory.Spectrum.Prime.Polynomial -1.322⬝10⁹ (-0.98%)
Mathlib.FieldTheory.IsAlgClosed.Classification -1.324⬝10⁹ (-5.61%)
Mathlib.Algebra.Lie.OfAssociative -1.334⬝10⁹ (-3.14%)
Mathlib.Algebra.Lie.Semisimple.Basic -1.344⬝10⁹ (-5.43%)
Mathlib.Analysis.Normed.Module.Basic -1.347⬝10⁹ (-2.67%)
Mathlib.RingTheory.Valuation.RamificationGroup -1.351⬝10⁹ (-8.28%)
Mathlib.NumberTheory.ClassNumber.FunctionField -1.358⬝10⁹ (-10.92%)
Mathlib.Algebra.Algebra.Spectrum -1.374⬝10⁹ (-3.25%)
Mathlib.RingTheory.Polynomial.Basic -1.399⬝10⁹ (-1.99%)
Mathlib.Algebra.Algebra.Subalgebra.Basic -1.400⬝10⁹ (-2.11%)
Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.Rpow.Basic -1.417⬝10⁹ (-0.96%)
Mathlib.Algebra.MvPolynomial.Supported -1.441⬝10⁹ (-14.25%)
Mathlib.Algebra.Polynomial.Basic -1.449⬝10⁹ (-3.07%)
Mathlib.Analysis.CStarAlgebra.lpSpace -1.493⬝10⁹ (-5.01%)
Mathlib.Algebra.Group.Subgroup.Defs -1.525⬝10⁹ (-5.62%)
Mathlib.Analysis.CStarAlgebra.Basic -1.530⬝10⁹ (-5.35%)
Mathlib.RingTheory.Localization.Integral -1.536⬝10⁹ (-3.16%)
Mathlib.FieldTheory.Separable -1.560⬝10⁹ (-3.40%)
Mathlib.Algebra.CharP.IntermediateField -1.564⬝10⁹ (-14.99%)
Mathlib.RingTheory.TensorProduct.MvPolynomial -1.581⬝10⁹ (-1.81%)
Mathlib.RingTheory.Kaehler.Basic -1.589⬝10⁹ (-0.51%)
Mathlib.FieldTheory.IsAlgClosed.Basic -1.612⬝10⁹ (-1.31%)
Mathlib.FieldTheory.Isaacs -1.622⬝10⁹ (-7.07%)
Mathlib.RingTheory.DedekindDomain.IntegralClosure -1.630⬝10⁹ (-4.03%)
Mathlib.FieldTheory.Galois.GaloisClosure -1.665⬝10⁹ (-6.48%)
Mathlib.NumberTheory.Cyclotomic.PrimitiveRoots -1.691⬝10⁹ (-2.45%)
Mathlib.Algebra.Algebra.Subalgebra.Directed -1.704⬝10⁹ (-9.35%)
Mathlib.Algebra.Lie.Weights.Killing -1.725⬝10⁹ (-0.81%)
Mathlib.RingTheory.GradedAlgebra.HomogeneousLocalization -1.725⬝10⁹ (-1.16%)
Mathlib.Geometry.Euclidean.Angle.Oriented.Affine -1.727⬝10⁹ (-2.29%)
Mathlib.LinearAlgebra.Dimension.FreeAndStrongRankCondition -1.752⬝10⁹ (-5.06%)
Mathlib.RingTheory.Polynomial.Bernstein -1.755⬝10⁹ (-3.78%)
Mathlib.AlgebraicGeometry.PullbackCarrier -1.781⬝10⁹ (-3.23%)
Mathlib.Analysis.CStarAlgebra.Spectrum -1.806⬝10⁹ (-3.41%)
Mathlib.Data.Finsupp.Defs -1.816⬝10⁹ (-9.08%)
Mathlib.Algebra.Module.GradedModule -1.873⬝10⁹ (-3.82%)
Mathlib.Algebra.Lie.CartanExists -1.883⬝10⁹ (-3.45%)
Mathlib.RingTheory.Localization.AsSubring -1.893⬝10⁹ (-9.89%)
Mathlib.RingTheory.DedekindDomain.AdicValuation -1.899⬝10⁹ (-2.98%)
Mathlib.Analysis.Normed.Algebra.Spectrum -1.911⬝10⁹ (-1.45%)
Mathlib.NumberTheory.NumberField.FinitePlaces -1.919⬝10⁹ (-5.71%)
Mathlib.MeasureTheory.Integral.SetToL1 -1.929⬝10⁹ (-0.67%)
Mathlib.RingTheory.Smooth.StandardSmooth -1.947⬝10⁹ (-3.28%)
Mathlib.GroupTheory.SpecificGroups.ZGroup -1.989⬝10⁹ (-5.43%)
Mathlib.AlgebraicGeometry.EllipticCurve.Affine -1.997⬝10⁹ (-1.07%)
33 files, Instructions -3.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Idempotents -2.3⬝10⁹ (-3.58%)
Mathlib.Algebra.Ring.Subring.Defs -2.5⬝10⁹ (-12.26%)
Mathlib.RingTheory.Presentation -2.24⬝10⁹ (-2.77%)
Mathlib.FieldTheory.JacobsonNoether -2.49⬝10⁹ (-6.46%)
Mathlib.LinearAlgebra.Matrix.BaseChange -2.54⬝10⁹ (-17.88%)
Mathlib.MeasureTheory.Function.SimpleFuncDenseLp -2.97⬝10⁹ (-2.07%)
Mathlib.NumberTheory.Padics.PadicNumbers -2.108⬝10⁹ (-3.23%)
Mathlib.NumberTheory.NumberField.ClassNumber -2.110⬝10⁹ (-10.43%)
Mathlib.RingTheory.Polynomial.Ideal -2.151⬝10⁹ (-14.97%)
Mathlib.LinearAlgebra.CliffordAlgebra.Even -2.172⬝10⁹ (-2.11%)
Mathlib.Geometry.Euclidean.Angle.Sphere -2.204⬝10⁹ (-5.70%)
Mathlib.AlgebraicGeometry.ProjectiveSpectrum.StructureSheaf -2.221⬝10⁹ (-2.80%)
Mathlib.Algebra.Lie.Solvable -2.222⬝10⁹ (-5.11%)
Mathlib.Algebra.Module.LocalizedModule.Basic -2.233⬝10⁹ (-1.19%)
Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle -2.245⬝10⁹ (-4.11%)
Mathlib.Algebra.Field.Subfield.Basic -2.257⬝10⁹ (-6.09%)
Mathlib.FieldTheory.AbelRuffini -2.274⬝10⁹ (-5.23%)
Mathlib.AlgebraicGeometry.RationalMap -2.335⬝10⁹ (-3.14%)
Mathlib.Topology.Algebra.Valued.ValuedField -2.343⬝10⁹ (-8.55%)
Mathlib.Algebra.DirectSum.Decomposition -2.364⬝10⁹ (-8.35%)
Mathlib.Algebra.Lie.Nilpotent -2.382⬝10⁹ (-3.28%)
Mathlib.RingTheory.SimpleRing.Field -2.505⬝10⁹ (-29.75%)
Mathlib.Algebra.Ring.Subring.Basic -2.520⬝10⁹ (-5.21%)
Mathlib.Algebra.Algebra.NonUnitalSubalgebra -2.679⬝10⁹ (-3.48%)
Mathlib.Algebra.Order.Monoid.Submonoid -2.682⬝10⁹ (-26.89%)
Mathlib.RingTheory.DedekindDomain.FiniteAdeleRing -2.688⬝10⁹ (-6.93%)
Mathlib.RingTheory.AlgebraicIndependent.Basic -2.813⬝10⁹ (-6.97%)
Mathlib.NumberTheory.NumberField.House -2.837⬝10⁹ (-6.85%)
Mathlib.RingTheory.NonUnitalSubring.Defs -2.850⬝10⁹ (-19.74%)
Mathlib.Algebra.Order.Nonneg.Ring -2.853⬝10⁹ (-10.47%)
Mathlib.NumberTheory.NumberField.Units.DirichletTheorem -2.935⬝10⁹ (-2.91%)
Mathlib.FieldTheory.RatFunc.Basic -2.952⬝10⁹ (-1.22%)
Mathlib.RingTheory.Adjoin.PowerBasis -2.978⬝10⁹ (-8.72%)
18 files, Instructions -4.0⬝10⁹
File Instructions %
Mathlib.NumberTheory.FunctionField -3.19⬝10⁹ (-8.60%)
Mathlib.RingTheory.Trace.Basic -3.50⬝10⁹ (-3.49%)
Mathlib.AlgebraicGeometry.EllipticCurve.DivisionPolynomial.Basic -3.75⬝10⁹ (-4.03%)
Mathlib.Algebra.Lie.LieTheorem -3.155⬝10⁹ (-4.17%)
Mathlib.RingTheory.Polynomial.Chebyshev -3.220⬝10⁹ (-2.31%)
Mathlib.RingTheory.LocalRing.ResidueField.Ideal -3.296⬝10⁹ (-3.43%)
Mathlib.RingTheory.Adjoin.Field -3.350⬝10⁹ (-12.27%)
Mathlib.RingTheory.Polynomial.Quotient -3.350⬝10⁹ (-6.37%)
Mathlib.RingTheory.Ideal.Over -3.367⬝10⁹ (-3.98%)
Mathlib.FieldTheory.Differential.Liouville -3.442⬝10⁹ (-8.57%)
Mathlib.Algebra.Category.AlgebraCat.Limits -3.476⬝10⁹ (-5.74%)
Mathlib.FieldTheory.Differential.Basic -3.554⬝10⁹ (-8.13%)
Mathlib.Algebra.Order.Nonneg.Field -3.556⬝10⁹ (-17.04%)
Mathlib.RingTheory.LaurentSeries -3.574⬝10⁹ (-1.92%)
Mathlib.RingTheory.AlgebraicIndependent.RankAndCardinality -3.692⬝10⁹ (-12.17%)
Mathlib.RingTheory.Adjoin.Dimension -3.860⬝10⁹ (-20.75%)
Mathlib.Topology.Instances.Complex -3.861⬝10⁹ (-20.07%)
Mathlib.RingTheory.LocalRing.ResidueField.Basic -3.939⬝10⁹ (-13.24%)
11 files, Instructions -5.0⬝10⁹
File Instructions %
Mathlib.Analysis.CStarAlgebra.Classes -4.46⬝10⁹ (-11.97%)
Mathlib.RingTheory.IntegralClosure.IsIntegral.Basic -4.46⬝10⁹ (-17.71%)
Mathlib.RingTheory.Algebraic.Integral -4.88⬝10⁹ (-10.56%)
Mathlib.FieldTheory.NormalClosure -4.151⬝10⁹ (-8.60%)
Mathlib.RingTheory.IntegralClosure.IntegralRestrict -4.249⬝10⁹ (-1.74%)
Mathlib.RingTheory.Norm.Basic -4.272⬝10⁹ (-8.25%)
Mathlib.Analysis.Normed.Field.Basic -4.282⬝10⁹ (-3.60%)
Mathlib.FieldTheory.IntermediateField.Adjoin.Algebra -4.356⬝10⁹ (-14.66%)
Mathlib.Geometry.Euclidean.Circumcenter -4.453⬝10⁹ (-4.92%)
Mathlib.RingTheory.Valuation.ValuationRing -4.522⬝10⁹ (-9.21%)
Mathlib.RingTheory.AlgebraicIndependent.Adjoin -4.834⬝10⁹ (-9.00%)
5 files, Instructions -6.0⬝10⁹
File Instructions %
Mathlib.Algebra.Lie.Weights.Chain -5.171⬝10⁹ (-6.94%)
Mathlib.Analysis.Fourier.AddCircle -5.217⬝10⁹ (-6.40%)
Mathlib.LinearAlgebra.CliffordAlgebra.Grading -5.233⬝10⁹ (-6.62%)
Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion -5.439⬝10⁹ (-14.15%)
Mathlib.Algebra.CharP.LinearMaps -5.462⬝10⁹ (-20.39%)
9 files, Instructions -7.0⬝10⁹
File Instructions %
Mathlib.AlgebraicGeometry.EllipticCurve.Group -6.55⬝10⁹ (-3.10%)
Mathlib.RingTheory.Valuation.ValExtension -6.264⬝10⁹ (-24.27%)
Mathlib.Algebra.Module.Presentation.Differentials -6.369⬝10⁹ (-9.19%)
Mathlib.RingTheory.Algebraic.Basic -6.409⬝10⁹ (-9.36%)
Mathlib.AlgebraicGeometry.ValuativeCriterion -6.447⬝10⁹ (-12.15%)
Mathlib.Algebra.Category.Grp.Colimits -6.560⬝10⁹ (-6.32%)
Mathlib.Algebra.Field.Subfield.Defs -6.567⬝10⁹ (-23.31%)
Mathlib.Algebra.Lie.Abelian -6.822⬝10⁹ (-12.72%)
Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Basic -6.937⬝10⁹ (-3.37%)
12 files, Instructions -8.0⬝10⁹
File Instructions %
Mathlib.Algebra.Category.Ring.Under.Limits -7.6⬝10⁹ (-5.62%)
Mathlib.AlgebraicGeometry.StructureSheaf -7.170⬝10⁹ (-2.78%)
Mathlib.RingTheory.Jacobson.Ring -7.304⬝10⁹ (-7.70%)
Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Proper -7.368⬝10⁹ (-14.64%)
Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis -7.373⬝10⁹ (-31.27%)
Mathlib.RingTheory.IntegralClosure.IsIntegralClosure.Basic -7.435⬝10⁹ (-8.97%)
Mathlib.FieldTheory.AlgebraicClosure -7.466⬝10⁹ (-15.61%)
Mathlib.NumberTheory.Cyclotomic.Three -7.509⬝10⁹ (-15.46%)
Mathlib.NumberTheory.NumberField.Basic -7.673⬝10⁹ (-13.25%)
Mathlib.NumberTheory.Padics.MahlerBasis -7.734⬝10⁹ (-16.48%)
Mathlib.RingTheory.AlgebraicIndependent.AlgebraicClosure -7.959⬝10⁹ (-24.19%)
Mathlib.NumberTheory.NumberField.Norm -7.965⬝10⁹ (-22.44%)
11 files, Instructions -9.0⬝10⁹
File Instructions %
Mathlib.FieldTheory.IntermediateField.Algebraic -8.1⬝10⁹ (-19.24%)
Mathlib.NumberTheory.KummerDedekind -8.185⬝10⁹ (-9.23%)
Mathlib.RingTheory.Smooth.Kaehler -8.281⬝10⁹ (-2.81%)
Mathlib.Algebra.Category.Ring.Limits -8.330⬝10⁹ (-8.66%)
Mathlib.FieldTheory.SeparableClosure -8.370⬝10⁹ (-13.97%)
Mathlib.RingTheory.LittleWedderburn -8.656⬝10⁹ (-23.15%)
Mathlib.LinearAlgebra.CliffordAlgebra.EvenEquiv -8.761⬝10⁹ (-6.74%)
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.FundamentalCone -8.832⬝10⁹ (-8.13%)
Mathlib.AlgebraicGeometry.Scheme -8.839⬝10⁹ (-9.49%)
Mathlib.AlgebraicGeometry.AffineScheme -8.894⬝10⁹ (-3.72%)
Mathlib.RingTheory.AdjoinRoot -8.898⬝10⁹ (-6.48%)
5 files, Instructions -10.0⬝10⁹
File Instructions %
Mathlib.Algebra.Category.Ring.Constructions -9.377⬝10⁹ (-13.64%)
Mathlib.Algebra.Order.Field.Subfield -9.824⬝10⁹ (-49.94%)
Mathlib.Algebra.Lie.Submodule -9.859⬝10⁹ (-6.70%)
Mathlib.FieldTheory.PrimitiveElement -9.940⬝10⁹ (-15.67%)
Mathlib.Algebra.Lie.TensorProduct -9.998⬝10⁹ (-13.96%)
4 files, Instructions -11.0⬝10⁹
File Instructions %
Mathlib.Topology.ContinuousMap.Algebra -10.65⬝10⁹ (-11.95%)
Mathlib.FieldTheory.Normal -10.582⬝10⁹ (-12.50%)
Mathlib.RingTheory.Etale.Field -10.585⬝10⁹ (-14.94%)
Mathlib.NumberTheory.NumberField.Units.Basic -10.756⬝10⁹ (-17.66%)
7 files, Instructions -12.0⬝10⁹
File Instructions %
Mathlib.Algebra.Lie.TraceForm -11.37⬝10⁹ (-5.95%)
Mathlib.Algebra.Lie.Weights.Linear -11.162⬝10⁹ (-16.54%)
Mathlib.Algebra.Lie.Weights.Basic -11.244⬝10⁹ (-8.83%)
Mathlib.NumberTheory.Padics.RingHoms -11.251⬝10⁹ (-21.85%)
Mathlib.LinearAlgebra.TensorProduct.Subalgebra -11.590⬝10⁹ (-5.90%)
Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Basic -11.623⬝10⁹ (-18.70%)
Mathlib.RingTheory.Flat.Equalizer -11.783⬝10⁹ (-5.26%)
5 files, Instructions -13.0⬝10⁹
File Instructions %
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic -12.302⬝10⁹ (-9.40%)
Mathlib.RingTheory.Algebraic.MvPolynomial -12.437⬝10⁹ (-27.85%)
Mathlib.RingTheory.Kaehler.CotangentComplex -12.521⬝10⁹ (-4.58%)
Mathlib.NumberTheory.Cyclotomic.Rat -12.666⬝10⁹ (-10.22%)
Mathlib.RingTheory.Kaehler.Polynomial -12.964⬝10⁹ (-7.89%)
5 files, Instructions -14.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Kaehler.TensorProduct -13.205⬝10⁹ (-7.84%)
Mathlib.NumberTheory.Cyclotomic.Basic -13.610⬝10⁹ (-15.57%)
Mathlib.Algebra.Lie.Weights.Cartan -13.730⬝10⁹ (-16.94%)
Mathlib.Algebra.Ring.Subsemiring.Order -13.854⬝10⁹ (-52.31%)
Mathlib.Algebra.Ring.Subring.Order -13.952⬝10⁹ (-60.97%)
2 files, Instructions -15.0⬝10⁹
File Instructions %
Mathlib.Algebra.Star.NonUnitalSubalgebra -14.449⬝10⁹ (-9.35%)
Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Scheme -14.809⬝10⁹ (-6.70%)
File Instructions %
Mathlib.AlgebraicGeometry.GammaSpecAdjunction -15.632⬝10⁹ (-13.16%)
2 files, Instructions -17.0⬝10⁹
File Instructions %
Mathlib.RingTheory.LocalRing.Subring -16.138⬝10⁹ (-30.86%)
Mathlib.Algebra.Algebra.Subalgebra.Unitization -16.355⬝10⁹ (-25.51%)
2 files, Instructions -19.0⬝10⁹
File Instructions %
Mathlib.RingTheory.AlgebraicIndependent.Transcendental -18.113⬝10⁹ (-35.81%)
Mathlib.FieldTheory.Galois.Basic -18.922⬝10⁹ (-19.78%)
File Instructions %
Mathlib.FieldTheory.Minpoly.IsIntegrallyClosed -19.76⬝10⁹ (-33.20%)
Mathlib.RingTheory.Valuation.AlgebraInstances -20.202⬝10⁹ (-30.62%)
Mathlib.RingTheory.Perfection -22.105⬝10⁹ (-27.13%)
Mathlib.AlgebraicGeometry.Spec -23.705⬝10⁹ (-18.53%)
2 files, Instructions -25.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Etale.Kaehler -24.657⬝10⁹ (-7.37%)
Mathlib.FieldTheory.IntermediateField.Adjoin.Basic -24.880⬝10⁹ (-15.01%)
File Instructions %
Mathlib.FieldTheory.IntermediateField.Adjoin.Defs -25.149⬝10⁹ (-24.67%)
2 files, Instructions -28.0⬝10⁹
File Instructions %
Mathlib.NumberTheory.NumberField.Discriminant.Basic -27.37⬝10⁹ (-15.58%)
Mathlib.NumberTheory.Padics.PadicIntegers -27.889⬝10⁹ (-33.68%)
2 files, Instructions -30.0⬝10⁹
File Instructions %
Mathlib.AlgebraicGeometry.Modules.Tilde -29.189⬝10⁹ (-17.39%)
Mathlib.Topology.Algebra.Valued.LocallyCompact -29.672⬝10⁹ (-47.43%)
File Instructions %
Mathlib.FieldTheory.SeparableDegree -31.752⬝10⁹ (-17.28%)
Mathlib.AlgebraicGeometry.AffineSpace -32.428⬝10⁹ (-12.31%)
3 files, Instructions -35.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Valuation.ValuationSubring -34.268⬝10⁹ (-22.42%)
Mathlib.NumberTheory.FLT.Three -34.591⬝10⁹ (-22.76%)
Mathlib.RingTheory.FiniteType -34.705⬝10⁹ (-39.08%)
File Instructions %
Mathlib.FieldTheory.Extension -35.401⬝10⁹ (-23.10%)
2 files, Instructions -39.0⬝10⁹
File Instructions %
Mathlib.FieldTheory.CardinalEmb -38.110⬝10⁹ (-11.33%)
Mathlib.FieldTheory.Galois.Infinite -38.128⬝10⁹ (-36.91%)
File Instructions %
Mathlib.FieldTheory.Galois.Profinite -39.115⬝10⁹ (-49.80%)
Mathlib.Algebra.Algebra.Subalgebra.Rank -41.190⬝10⁹ (-39.45%)
2 files, Instructions -45.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Valuation.LocalSubring -44.707⬝10⁹ (-53.25%)
Mathlib.FieldTheory.IntermediateField.Basic -44.794⬝10⁹ (-31.55%)
2 files, Instructions -47.0⬝10⁹
File Instructions %
Mathlib.FieldTheory.Fixed -46.213⬝10⁹ (-41.49%)
Mathlib.NumberTheory.Padics.Hensel -46.389⬝10⁹ (-34.20%)
File Instructions %
Mathlib.FieldTheory.PurelyInseparable -50.214⬝10⁹ (-23.69%)
Mathlib.FieldTheory.LinearDisjoint -56.927⬝10⁹ (-24.43%)
Mathlib.RingTheory.LinearDisjoint -61.40⬝10⁹ (-23.63%)
Mathlib.RingTheory.Kaehler.JacobiZariski -127.694⬝10⁹ (-15.23%)
Mathlib.FieldTheory.Relrank -190.374⬝10⁹ (-60.91%)
CI run

@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 23, 2025
@mattrobball
Copy link
Copy Markdown
Contributor Author

!bench

@leanprover-bot
Copy link
Copy Markdown
Collaborator

Here are the benchmark results for commit b48e644.
The entire run failed.
Found no significant differences.

@mattrobball
Copy link
Copy Markdown
Contributor Author

!bench

@github-actions github-actions bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 24, 2025
@leanprover-bot
Copy link
Copy Markdown
Collaborator

Here are the benchmark results for commit a9f3635.
There were significant changes against commit e1f9f04:

  Benchmark                                                 Metric         Change
  ===============================================================================
+ ~Mathlib.Algebra.Algebra.Subalgebra.Rank                  instructions   -39.5%
+ ~Mathlib.Algebra.Algebra.Subalgebra.Unitization           instructions   -25.5%
+ ~Mathlib.Algebra.Lie.Submodule                            instructions    -6.8%
+ ~Mathlib.Algebra.Lie.TraceForm                            instructions    -7.6%
+ ~Mathlib.Algebra.Lie.Weights.Basic                        instructions    -9.4%
+ ~Mathlib.Algebra.Lie.Weights.Cartan                       instructions   -17.0%
+ ~Mathlib.Algebra.Lie.Weights.Linear                       instructions   -16.8%
+ ~Mathlib.Algebra.Module.ZLattice.Basic                    instructions    -8.5%
+ ~Mathlib.Algebra.Ring.Subring.Order                       instructions   -61.0%
+ ~Mathlib.Algebra.Ring.Subsemiring.Order                   instructions   -52.3%
+ ~Mathlib.Algebra.Star.NonUnitalSubalgebra                 instructions    -9.3%
+ ~Mathlib.AlgebraicGeometry.AffineSpace                    instructions   -12.3%
+ ~Mathlib.AlgebraicGeometry.GammaSpecAdjunction            instructions   -13.2%
+ ~Mathlib.AlgebraicGeometry.Modules.Tilde                  instructions   -21.4%
+ ~Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Basic       instructions   -18.7%
+ ~Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Scheme      instructions    -6.9%
+ ~Mathlib.AlgebraicGeometry.Spec                           instructions   -18.6%
+ ~Mathlib.FieldTheory.CardinalEmb                          instructions   -11.4%
+ ~Mathlib.FieldTheory.Extension                            instructions   -23.1%
+ ~Mathlib.FieldTheory.Fixed                                instructions   -41.4%
+ ~Mathlib.FieldTheory.Galois.Basic                         instructions   -19.9%
+ ~Mathlib.FieldTheory.Galois.Infinite                      instructions   -37.1%
+ ~Mathlib.FieldTheory.Galois.Profinite                     instructions   -49.9%
+ ~Mathlib.FieldTheory.IntermediateField.Adjoin.Basic       instructions   -15.3%
+ ~Mathlib.FieldTheory.IntermediateField.Adjoin.Defs        instructions   -24.6%
+ ~Mathlib.FieldTheory.IntermediateField.Basic              instructions   -31.5%
+ ~Mathlib.FieldTheory.LinearDisjoint                       instructions   -24.8%
+ ~Mathlib.FieldTheory.Minpoly.IsIntegrallyClosed           instructions   -33.5%
+ ~Mathlib.FieldTheory.PrimitiveElement                     instructions   -15.8%
+ ~Mathlib.FieldTheory.PurelyInseparable                    instructions   -23.7%
+ ~Mathlib.FieldTheory.Relrank                              instructions   -60.9%
+ ~Mathlib.FieldTheory.SeparableDegree                      instructions   -17.3%
+ ~Mathlib.Geometry.Euclidean.Angle.Oriented.Basic          instructions    -9.5%
+ ~Mathlib.Geometry.Euclidean.Circumcenter                  instructions   -15.6%
- ~Mathlib.LinearAlgebra.AffineSpace.AffineSubspace         instructions    16.3%
+ ~Mathlib.LinearAlgebra.CliffordAlgebra.Even               instructions   -14.9%
+ ~Mathlib.LinearAlgebra.TensorProduct.Graded.Internal      instructions   -27.3%
+ ~Mathlib.LinearAlgebra.TensorProduct.Subalgebra           instructions    -9.1%
+ ~Mathlib.NumberTheory.Cyclotomic.Basic                    instructions   -15.6%
+ ~Mathlib.NumberTheory.Cyclotomic.Rat                      instructions   -10.2%
+ ~Mathlib.NumberTheory.FLT.Three                           instructions   -22.8%
+ ~Mathlib.NumberTheory.NumberField.Discriminant.Basic      instructions   -15.7%
+ ~Mathlib.NumberTheory.NumberField.Units.Basic             instructions   -17.6%
+ ~Mathlib.NumberTheory.Padics.Hensel                       instructions   -34.2%
+ ~Mathlib.NumberTheory.Padics.PadicIntegers                instructions   -33.9%
+ ~Mathlib.NumberTheory.Padics.RingHoms                     instructions   -20.6%
+ ~Mathlib.RingTheory.AdicCompletion.AsTensorProduct        instructions    -7.7%
+ ~Mathlib.RingTheory.Algebraic.MvPolynomial                instructions   -27.8%
+ ~Mathlib.RingTheory.AlgebraicIndependent.Transcendental   instructions   -35.9%
+ ~Mathlib.RingTheory.Etale.Field                           instructions   -15.1%
+ ~Mathlib.RingTheory.Etale.Kaehler                         instructions    -7.7%
+ ~Mathlib.RingTheory.FiniteType                            instructions   -43.2%
+ ~Mathlib.RingTheory.Flat.Equalizer                        instructions    -6.4%
+ ~Mathlib.RingTheory.GradedAlgebra.Basic                   instructions   -22.4%
+ ~Mathlib.RingTheory.Kaehler.CotangentComplex              instructions    -5.6%
+ ~Mathlib.RingTheory.Kaehler.JacobiZariski                 instructions   -12.6%
+ ~Mathlib.RingTheory.Kaehler.Polynomial                    instructions    -6.6%
+ ~Mathlib.RingTheory.Kaehler.TensorProduct                 instructions    -7.8%
+ ~Mathlib.RingTheory.LinearDisjoint                        instructions   -24.4%
+ ~Mathlib.RingTheory.LocalRing.Subring                     instructions   -30.9%
+ ~Mathlib.RingTheory.Perfection                            instructions   -27.2%
+ ~Mathlib.RingTheory.Smooth.Kaehler                        instructions    -3.9%
+ ~Mathlib.RingTheory.Valuation.AlgebraInstances            instructions   -30.6%
+ ~Mathlib.RingTheory.Valuation.LocalSubring                instructions   -53.3%
+ ~Mathlib.RingTheory.Valuation.ValuationSubring            instructions   -22.3%
+ ~Mathlib.Topology.Algebra.Valued.LocallyCompact           instructions   -47.2%
+ ~Mathlib.Topology.ContinuousMap.Algebra                   instructions   -12.0%

@github-actions
Copy link
Copy Markdown

File Instructions %
build -2746.516⬝10⁹ (-1.77%)
lint -98.278⬝10⁹ (-1.29%)
Mathlib.LinearAlgebra.AffineSpace.AffineSubspace +20.915⬝10⁹ (+16.26%)
97 files, Instructions -2.0⬝10⁹
File Instructions %
Mathlib.Data.NNReal.Basic -1.1⬝10⁹ (-8.08%)
Mathlib.NumberTheory.NumberField.Embeddings -1.6⬝10⁹ (-0.96%)
Mathlib.LinearAlgebra.TensorProduct.RightExactness -1.13⬝10⁹ (-1.03%)
Mathlib.FieldTheory.SplittingField.Construction -1.38⬝10⁹ (-2.41%)
Mathlib.LinearAlgebra.Basis.VectorSpace -1.39⬝10⁹ (-4.62%)
Mathlib.Algebra.Algebra.Subalgebra.IsSimpleOrder -1.41⬝10⁹ (-12.39%)
Mathlib.Analysis.Normed.Operator.Banach -1.44⬝10⁹ (-1.03%)
Mathlib.LinearAlgebra.Projection -1.63⬝10⁹ (-1.56%)
Mathlib.GroupTheory.HNNExtension -1.66⬝10⁹ (-1.10%)
Mathlib.Algebra.Algebra.Basic -1.72⬝10⁹ (-3.61%)
Mathlib.Algebra.Module.Torsion -1.96⬝10⁹ (-1.42%)
Mathlib.Topology.Algebra.UniformRing -1.97⬝10⁹ (-3.18%)
Mathlib.Algebra.Module.Submodule.Order -1.98⬝10⁹ (-15.86%)
Mathlib.Algebra.Lie.InvariantForm -1.102⬝10⁹ (-3.53%)
Mathlib.LinearAlgebra.DFinsupp -1.112⬝10⁹ (-1.98%)
Mathlib.MeasureTheory.Function.LpSpace -1.127⬝10⁹ (-0.53%)
Mathlib.MeasureTheory.Measure.Haar.Disintegration -1.127⬝10⁹ (-1.86%)
Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure -1.132⬝10⁹ (-2.17%)
Mathlib.RingTheory.Valuation.Integers -1.144⬝10⁹ (-4.86%)
Mathlib.RingTheory.Flat.Basic -1.150⬝10⁹ (-1.67%)
Mathlib.RingTheory.IntegralClosure.IntegrallyClosed -1.153⬝10⁹ (-3.98%)
Mathlib.LinearAlgebra.Eigenspace.Triangularizable -1.165⬝10⁹ (-4.30%)
Mathlib.FieldTheory.Normal.Defs -1.172⬝10⁹ (-3.22%)
Mathlib.RingTheory.Polynomial.GaussLemma -1.173⬝10⁹ (-4.71%)
Mathlib.MeasureTheory.Function.ConditionalExpectation.CondexpL1 -1.184⬝10⁹ (-1.47%)
Mathlib.RingTheory.Nullstellensatz -1.186⬝10⁹ (-4.29%)
Mathlib.Topology.Algebra.Module.Equiv -1.203⬝10⁹ (-1.00%)
Mathlib.RingTheory.EssentialFiniteness -1.207⬝10⁹ (-4.16%)
Mathlib.Topology.Algebra.Module.FiniteDimension -1.214⬝10⁹ (-1.47%)
Mathlib.Algebra.Module.CharacterModule -1.235⬝10⁹ (-2.02%)
Mathlib.Data.NNRat.Floor -1.236⬝10⁹ (-6.00%)
Mathlib.Algebra.Colimit.Ring -1.240⬝10⁹ (-1.42%)
Mathlib.FieldTheory.KrullTopology -1.246⬝10⁹ (-6.12%)
Mathlib.LinearAlgebra.TensorProduct.Vanishing -1.274⬝10⁹ (-3.24%)
Mathlib.Algebra.Lie.Semisimple.Basic -1.286⬝10⁹ (-5.19%)
Mathlib.RingTheory.FractionalIdeal.Norm -1.315⬝10⁹ (-3.53%)
Mathlib.Algebra.Category.Grp.Limits -1.346⬝10⁹ (-2.49%)
Mathlib.RingTheory.Valuation.RamificationGroup -1.357⬝10⁹ (-8.26%)
Mathlib.NumberTheory.ClassNumber.FunctionField -1.357⬝10⁹ (-10.90%)
Mathlib.RingTheory.Localization.Integral -1.371⬝10⁹ (-2.82%)
Mathlib.Algebra.Lie.OfAssociative -1.378⬝10⁹ (-3.24%)
Mathlib.Algebra.Algebra.Subalgebra.Basic -1.412⬝10⁹ (-2.12%)
Mathlib.LinearAlgebra.Eigenspace.Semisimple -1.425⬝10⁹ (-9.55%)
Mathlib.Algebra.Algebra.Spectrum -1.426⬝10⁹ (-3.37%)
Mathlib.Analysis.Normed.Module.Basic -1.446⬝10⁹ (-2.87%)
Mathlib.Algebra.Polynomial.Basic -1.448⬝10⁹ (-3.09%)
Mathlib.RingTheory.Spectrum.Prime.Polynomial -1.451⬝10⁹ (-1.08%)
Mathlib.FieldTheory.Separable -1.456⬝10⁹ (-3.17%)
Mathlib.RingTheory.Unramified.Field -1.477⬝10⁹ (-2.43%)
Mathlib.Analysis.Normed.Affine.Isometry -1.478⬝10⁹ (-2.34%)
Mathlib.Analysis.CStarAlgebra.lpSpace -1.494⬝10⁹ (-5.01%)
Mathlib.Algebra.MonoidAlgebra.Defs -1.523⬝10⁹ (-1.66%)
Mathlib.Analysis.CStarAlgebra.Basic -1.524⬝10⁹ (-5.33%)
Mathlib.LinearAlgebra.LinearDisjoint -1.547⬝10⁹ (-1.71%)
Mathlib.Algebra.CharP.IntermediateField -1.557⬝10⁹ (-14.91%)
Mathlib.LinearAlgebra.AffineSpace.Restrict -1.559⬝10⁹ (-14.73%)
Mathlib.LinearAlgebra.FiniteDimensional -1.569⬝10⁹ (-5.23%)
Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.Rpow.Basic -1.573⬝10⁹ (-1.06%)
Mathlib.MeasureTheory.Function.ConditionalExpectation.CondexpL2 -1.585⬝10⁹ (-1.57%)
Mathlib.LinearAlgebra.PerfectPairing.Restrict -1.588⬝10⁹ (-2.25%)
Mathlib.Algebra.Category.ModuleCat.Subobject -1.589⬝10⁹ (-11.57%)
Mathlib.Algebra.MvPolynomial.Supported -1.592⬝10⁹ (-15.62%)
Mathlib.NumberTheory.Cyclotomic.PrimitiveRoots -1.643⬝10⁹ (-2.38%)
Mathlib.FieldTheory.IsAlgClosed.Basic -1.644⬝10⁹ (-1.34%)
Mathlib.Algebra.Group.Subgroup.Defs -1.658⬝10⁹ (-6.12%)
Mathlib.RingTheory.Ideal.IsPrincipalPowQuotient -1.696⬝10⁹ (-9.97%)
Mathlib.AlgebraicGeometry.PullbackCarrier -1.700⬝10⁹ (-3.09%)
Mathlib.MeasureTheory.Function.ConditionalExpectation.AEMeasurable -1.728⬝10⁹ (-3.33%)
Mathlib.Geometry.Euclidean.Angle.Oriented.Affine -1.732⬝10⁹ (-2.30%)
Mathlib.Data.Finsupp.Defs -1.734⬝10⁹ (-8.56%)
Mathlib.RingTheory.Polynomial.Bernstein -1.745⬝10⁹ (-3.76%)
Mathlib.RingTheory.GradedAlgebra.HomogeneousLocalization -1.746⬝10⁹ (-1.17%)
Mathlib.MeasureTheory.Integral.SetToL1 -1.771⬝10⁹ (-0.62%)
Mathlib.FieldTheory.Galois.GaloisClosure -1.774⬝10⁹ (-6.90%)
Mathlib.FieldTheory.Isaacs -1.779⬝10⁹ (-7.75%)
Mathlib.RingTheory.MvPolynomial.WeightedHomogeneous -1.780⬝10⁹ (-5.10%)
Mathlib.RingTheory.Polynomial.Basic -1.802⬝10⁹ (-2.56%)
Mathlib.Analysis.CStarAlgebra.Spectrum -1.812⬝10⁹ (-3.42%)
Mathlib.Algebra.Module.FinitePresentation -1.822⬝10⁹ (-1.05%)
Mathlib.Algebra.Algebra.Subalgebra.Directed -1.842⬝10⁹ (-10.11%)
Mathlib.Geometry.Euclidean.MongePoint -1.851⬝10⁹ (-2.71%)
Mathlib.Algebra.Module.GradedModule -1.873⬝10⁹ (-3.82%)
Mathlib.Analysis.Normed.Operator.LinearIsometry -1.873⬝10⁹ (-1.08%)
Mathlib.RingTheory.Localization.AsSubring -1.894⬝10⁹ (-9.89%)
Mathlib.Algebra.Lie.CartanExists -1.896⬝10⁹ (-3.47%)
Mathlib.NumberTheory.NumberField.FinitePlaces -1.915⬝10⁹ (-5.69%)
Mathlib.RingTheory.Smooth.StandardSmooth -1.916⬝10⁹ (-3.23%)
Mathlib.NumberTheory.Padics.PadicNumbers -1.929⬝10⁹ (-2.96%)
Mathlib.Analysis.Normed.Algebra.Spectrum -1.936⬝10⁹ (-1.47%)
Mathlib.FieldTheory.AbelRuffini -1.958⬝10⁹ (-4.52%)
Mathlib.RingTheory.TensorProduct.MvPolynomial -1.974⬝10⁹ (-2.25%)
Mathlib.LinearAlgebra.TensorAlgebra.Grading -1.975⬝10⁹ (-13.01%)
Mathlib.RingTheory.DedekindDomain.AdicValuation -1.977⬝10⁹ (-3.10%)
Mathlib.AlgebraicGeometry.EllipticCurve.Affine -1.979⬝10⁹ (-1.06%)
Mathlib.RingTheory.Presentation -1.982⬝10⁹ (-2.71%)
Mathlib.Analysis.Calculus.Implicit -1.986⬝10⁹ (-2.01%)
Mathlib.GroupTheory.SpecificGroups.ZGroup -1.991⬝10⁹ (-5.45%)
41 files, Instructions -3.0⬝10⁹
File Instructions %
Mathlib.Algebra.Module.ZLattice.Covolume -2.5⬝10⁹ (-3.04%)
Mathlib.Analysis.NormedSpace.HahnBanach.Extension -2.8⬝10⁹ (-4.39%)
Mathlib.LinearAlgebra.Eigenspace.Zero -2.9⬝10⁹ (-6.35%)
Mathlib.RingTheory.Idempotents -2.11⬝10⁹ (-3.60%)
Mathlib.RingTheory.FiniteLength -2.20⬝10⁹ (-13.25%)
Mathlib.RingTheory.IntegralClosure.Algebra.Basic -2.21⬝10⁹ (-8.07%)
Mathlib.FieldTheory.JacobsonNoether -2.51⬝10⁹ (-6.46%)
Mathlib.LinearAlgebra.Matrix.BaseChange -2.54⬝10⁹ (-17.88%)
Mathlib.Algebra.Ring.Subring.Defs -2.76⬝10⁹ (-12.64%)
Mathlib.MeasureTheory.Function.SimpleFuncDenseLp -2.97⬝10⁹ (-2.07%)
Mathlib.NumberTheory.NumberField.ClassNumber -2.110⬝10⁹ (-10.42%)
Mathlib.AlgebraicGeometry.ProjectiveSpectrum.StructureSheaf -2.162⬝10⁹ (-2.73%)
Mathlib.RingTheory.Polynomial.Ideal -2.162⬝10⁹ (-15.04%)
Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle -2.174⬝10⁹ (-3.97%)
Mathlib.Algebra.Lie.Solvable -2.182⬝10⁹ (-5.02%)
Mathlib.Algebra.Field.Subfield.Basic -2.183⬝10⁹ (-5.89%)
Mathlib.LinearAlgebra.FreeModule.PID -2.186⬝10⁹ (-3.23%)
Mathlib.Algebra.Module.LocalizedModule.Basic -2.193⬝10⁹ (-1.17%)
Mathlib.Geometry.Euclidean.Angle.Sphere -2.203⬝10⁹ (-5.70%)
Mathlib.Algebra.DirectSum.Internal -2.282⬝10⁹ (-4.77%)
Mathlib.Algebra.Lie.Weights.Killing -2.331⬝10⁹ (-1.10%)
Mathlib.AlgebraicGeometry.RationalMap -2.341⬝10⁹ (-3.15%)
Mathlib.Algebra.Ring.Subring.Basic -2.455⬝10⁹ (-5.08%)
Mathlib.Analysis.Normed.Module.FiniteDimension -2.459⬝10⁹ (-2.37%)
Mathlib.Algebra.Lie.Nilpotent -2.474⬝10⁹ (-3.40%)
Mathlib.RingTheory.SimpleRing.Field -2.503⬝10⁹ (-29.72%)
Mathlib.RingTheory.DedekindDomain.IntegralClosure -2.505⬝10⁹ (-6.21%)
Mathlib.Topology.Algebra.Valued.ValuedField -2.514⬝10⁹ (-9.17%)
Mathlib.RingTheory.Ideal.Cotangent -2.557⬝10⁹ (-3.15%)
Mathlib.LinearAlgebra.ExteriorPower.Basic -2.577⬝10⁹ (-5.37%)
Mathlib.Algebra.Order.Monoid.Submonoid -2.611⬝10⁹ (-26.36%)
Mathlib.LinearAlgebra.Dimension.RankNullity -2.617⬝10⁹ (-8.52%)
Mathlib.RingTheory.Ideal.Norm.AbsNorm -2.660⬝10⁹ (-3.81%)
Mathlib.Algebra.Algebra.NonUnitalSubalgebra -2.766⬝10⁹ (-3.59%)
Mathlib.RingTheory.AlgebraicIndependent.Basic -2.816⬝10⁹ (-6.96%)
Mathlib.NumberTheory.NumberField.House -2.839⬝10⁹ (-6.86%)
Mathlib.RingTheory.DedekindDomain.FiniteAdeleRing -2.850⬝10⁹ (-7.33%)
Mathlib.RingTheory.NonUnitalSubring.Defs -2.851⬝10⁹ (-19.74%)
Mathlib.Algebra.Order.Nonneg.Ring -2.854⬝10⁹ (-10.48%)
Mathlib.LinearAlgebra.ExteriorAlgebra.Grading -2.871⬝10⁹ (-4.99%)
Mathlib.FieldTheory.RatFunc.Basic -2.988⬝10⁹ (-1.23%)
28 files, Instructions -4.0⬝10⁹
File Instructions %
Mathlib.NumberTheory.FunctionField -3.18⬝10⁹ (-8.60%)
Mathlib.AlgebraicGeometry.EllipticCurve.DivisionPolynomial.Basic -3.59⬝10⁹ (-4.01%)
Mathlib.Analysis.InnerProductSpace.PiL2 -3.159⬝10⁹ (-1.60%)
Mathlib.RingTheory.Polynomial.Chebyshev -3.165⬝10⁹ (-2.28%)
Mathlib.Algebra.DirectSum.Decomposition -3.168⬝10⁹ (-11.16%)
Mathlib.RingTheory.Trace.Basic -3.179⬝10⁹ (-3.64%)
Mathlib.RingTheory.Adjoin.PowerBasis -3.195⬝10⁹ (-9.36%)
Mathlib.RingTheory.LocalRing.ResidueField.Ideal -3.229⬝10⁹ (-3.36%)
Mathlib.RingTheory.Ideal.Over -3.294⬝10⁹ (-3.89%)
Mathlib.RingTheory.Polynomial.Quotient -3.337⬝10⁹ (-6.34%)
Mathlib.RingTheory.Adjoin.Field -3.387⬝10⁹ (-12.40%)
Mathlib.LinearAlgebra.Dimension.FreeAndStrongRankCondition -3.461⬝10⁹ (-10.01%)
Mathlib.Algebra.Category.AlgebraCat.Limits -3.518⬝10⁹ (-5.81%)
Mathlib.RingTheory.Flat.FaithfullyFlat.Basic -3.527⬝10⁹ (-4.78%)
Mathlib.Algebra.Order.Nonneg.Field -3.559⬝10⁹ (-17.05%)
Mathlib.RingTheory.LaurentSeries -3.568⬝10⁹ (-1.92%)
Mathlib.FieldTheory.Differential.Basic -3.601⬝10⁹ (-8.24%)
Mathlib.Algebra.DirectSum.Module -3.630⬝10⁹ (-7.71%)
Mathlib.LinearAlgebra.Eigenspace.Pi -3.641⬝10⁹ (-10.80%)
Mathlib.FieldTheory.Differential.Liouville -3.688⬝10⁹ (-9.16%)
Mathlib.RingTheory.AlgebraicIndependent.RankAndCardinality -3.730⬝10⁹ (-12.29%)
Mathlib.Algebra.Homology.ShortComplex.ModuleCat -3.752⬝10⁹ (-2.70%)
Mathlib.Topology.Instances.Complex -3.779⬝10⁹ (-19.64%)
Mathlib.RingTheory.Adjoin.Dimension -3.856⬝10⁹ (-20.72%)
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.ConvexBody -3.862⬝10⁹ (-2.82%)
Mathlib.LinearAlgebra.AffineSpace.FiniteDimensional -3.901⬝10⁹ (-8.83%)
Mathlib.Algebra.MonoidAlgebra.Grading -3.914⬝10⁹ (-11.10%)
Mathlib.RingTheory.LocalRing.ResidueField.Basic -3.933⬝10⁹ (-13.22%)
17 files, Instructions -5.0⬝10⁹
File Instructions %
Mathlib.Algebra.Module.PID -4.14⬝10⁹ (-6.46%)
Mathlib.RingTheory.IntegralClosure.IsIntegral.Basic -4.40⬝10⁹ (-17.68%)
Mathlib.Analysis.CStarAlgebra.Classes -4.51⬝10⁹ (-11.98%)
Mathlib.LinearAlgebra.RootSystem.BaseChange -4.58⬝10⁹ (-5.67%)
Mathlib.FieldTheory.Normal.Closure -4.64⬝10⁹ (-8.42%)
Mathlib.RingTheory.Algebraic.Integral -4.96⬝10⁹ (-10.58%)
Mathlib.Algebra.Lie.LieTheorem -4.98⬝10⁹ (-5.42%)
Mathlib.RingTheory.IntegralClosure.IntegralRestrict -4.251⬝10⁹ (-1.74%)
Mathlib.Analysis.Normed.Field.Basic -4.380⬝10⁹ (-3.65%)
Mathlib.FieldTheory.IntermediateField.Adjoin.Algebra -4.387⬝10⁹ (-14.76%)
Mathlib.LinearAlgebra.Dual -4.394⬝10⁹ (-1.01%)
Mathlib.RingTheory.Norm.Basic -4.446⬝10⁹ (-8.59%)
Mathlib.LinearAlgebra.CliffordAlgebra.Grading -4.452⬝10⁹ (-5.63%)
Mathlib.RingTheory.LocalRing.Module -4.505⬝10⁹ (-4.79%)
Mathlib.RingTheory.Valuation.ValuationRing -4.521⬝10⁹ (-9.20%)
Mathlib.RingTheory.AlgebraicIndependent.Adjoin -4.691⬝10⁹ (-8.77%)
Mathlib.LinearAlgebra.Semisimple -4.989⬝10⁹ (-4.63%)
10 files, Instructions -6.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Kaehler.Basic -5.21⬝10⁹ (-1.61%)
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.Basic -5.99⬝10⁹ (-2.23%)
Mathlib.NumberTheory.NumberField.Units.DirichletTheorem -5.212⬝10⁹ (-5.17%)
Mathlib.Analysis.Fourier.AddCircle -5.213⬝10⁹ (-6.39%)
Mathlib.RepresentationTheory.GroupCohomology.LowDegree -5.324⬝10⁹ (-4.10%)
Mathlib.LinearAlgebra.Eigenspace.Basic -5.442⬝10⁹ (-4.40%)
Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion -5.446⬝10⁹ (-14.16%)
Mathlib.Algebra.CharP.LinearMaps -5.463⬝10⁹ (-20.39%)
Mathlib.Analysis.InnerProductSpace.Projection -5.529⬝10⁹ (-2.88%)
Mathlib.Algebra.Lie.Weights.Chain -5.532⬝10⁹ (-7.43%)
16 files, Instructions -7.0⬝10⁹
File Instructions %
Mathlib.AlgebraicGeometry.EllipticCurve.Group -6.88⬝10⁹ (-3.11%)
Mathlib.Algebra.Category.Ring.Under.Limits -6.178⬝10⁹ (-4.96%)
Mathlib.RingTheory.Ideal.Quotient.Operations -6.213⬝10⁹ (-4.75%)
Mathlib.RingTheory.Valuation.ValExtension -6.262⬝10⁹ (-24.26%)
Mathlib.RingTheory.Algebraic.Basic -6.415⬝10⁹ (-9.37%)
Mathlib.AlgebraicGeometry.ValuativeCriterion -6.459⬝10⁹ (-12.16%)
Mathlib.Algebra.Category.Grp.Colimits -6.465⬝10⁹ (-6.23%)
Mathlib.LinearAlgebra.FiniteDimensional.Defs -6.484⬝10⁹ (-9.90%)
Mathlib.LinearAlgebra.Goursat -6.637⬝10⁹ (-13.72%)
Mathlib.NumberTheory.NumberField.FractionalIdeal -6.645⬝10⁹ (-18.57%)
Mathlib.Algebra.Lie.Abelian -6.758⬝10⁹ (-12.61%)
Mathlib.Algebra.Field.Subfield.Defs -6.776⬝10⁹ (-23.93%)
Mathlib.RingTheory.SimpleModule -6.791⬝10⁹ (-10.17%)
Mathlib.Algebra.Module.Presentation.Differentials -6.796⬝10⁹ (-9.80%)
Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Basic -6.942⬝10⁹ (-3.37%)
Mathlib.Geometry.Manifold.Instances.Sphere -6.947⬝10⁹ (-4.60%)
10 files, Instructions -8.0⬝10⁹
File Instructions %
Mathlib.AlgebraicGeometry.StructureSheaf -7.130⬝10⁹ (-2.77%)
Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis -7.196⬝10⁹ (-30.73%)
Mathlib.RingTheory.Jacobson.Ring -7.323⬝10⁹ (-7.72%)
Mathlib.FieldTheory.AlgebraicClosure -7.409⬝10⁹ (-15.49%)
Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Proper -7.442⬝10⁹ (-14.78%)
Mathlib.NumberTheory.Cyclotomic.Three -7.517⬝10⁹ (-15.47%)
Mathlib.NumberTheory.NumberField.Basic -7.694⬝10⁹ (-13.29%)
Mathlib.RingTheory.IntegralClosure.IsIntegralClosure.Basic -7.705⬝10⁹ (-9.29%)
Mathlib.NumberTheory.Padics.MahlerBasis -7.732⬝10⁹ (-16.48%)
Mathlib.RingTheory.AlgebraicIndependent.AlgebraicClosure -7.872⬝10⁹ (-23.98%)
9 files, Instructions -9.0⬝10⁹
File Instructions %
Mathlib.FieldTheory.IntermediateField.Algebraic -8.10⬝10⁹ (-19.26%)
Mathlib.NumberTheory.NumberField.Norm -8.53⬝10⁹ (-22.66%)
Mathlib.RingTheory.LittleWedderburn -8.158⬝10⁹ (-21.91%)
Mathlib.NumberTheory.KummerDedekind -8.180⬝10⁹ (-9.22%)
Mathlib.FieldTheory.SeparableClosure -8.353⬝10⁹ (-13.92%)
Mathlib.Algebra.Category.Ring.Limits -8.386⬝10⁹ (-8.71%)
Mathlib.LinearAlgebra.CliffordAlgebra.EvenEquiv -8.728⬝10⁹ (-6.71%)
Mathlib.AlgebraicGeometry.Scheme -8.848⬝10⁹ (-9.50%)
Mathlib.RingTheory.AdjoinRoot -8.871⬝10⁹ (-6.46%)
9 files, Instructions -10.0⬝10⁹
File Instructions %
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.FundamentalCone -9.134⬝10⁹ (-8.40%)
Mathlib.LinearAlgebra.Isomorphisms -9.305⬝10⁹ (-22.05%)
Mathlib.Geometry.Euclidean.Basic -9.306⬝10⁹ (-15.33%)
Mathlib.FieldTheory.Normal.Basic -9.321⬝10⁹ (-18.16%)
Mathlib.Algebra.Category.Ring.Constructions -9.443⬝10⁹ (-13.73%)
Mathlib.NumberTheory.RamificationInertia.Basic -9.635⬝10⁹ (-4.64%)
Mathlib.Algebra.Order.Field.Subfield -9.826⬝10⁹ (-49.94%)
Mathlib.AlgebraicGeometry.AffineScheme -9.847⬝10⁹ (-4.11%)
Mathlib.Algebra.Lie.TensorProduct -9.969⬝10⁹ (-13.91%)
7 files, Instructions -11.0⬝10⁹
File Instructions %
Mathlib.FieldTheory.PrimitiveElement -10.16⬝10⁹ (-15.79%)
Mathlib.Topology.ContinuousMap.Algebra -10.70⬝10⁹ (-11.95%)
Mathlib.Algebra.Lie.Submodule -10.74⬝10⁹ (-6.84%)
Mathlib.NumberTheory.Padics.RingHoms -10.590⬝10⁹ (-20.60%)
Mathlib.RingTheory.Etale.Field -10.635⬝10⁹ (-15.05%)
Mathlib.NumberTheory.NumberField.Units.Basic -10.745⬝10⁹ (-17.64%)
Mathlib.RingTheory.Kaehler.Polynomial -10.872⬝10⁹ (-6.61%)
4 files, Instructions -12.0⬝10⁹
File Instructions %
Mathlib.Algebra.Lie.Weights.Linear -11.321⬝10⁹ (-16.77%)
Mathlib.RingTheory.Smooth.Kaehler -11.524⬝10⁹ (-3.91%)
Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Basic -11.616⬝10⁹ (-18.69%)
Mathlib.Algebra.Lie.Weights.Basic -11.637⬝10⁹ (-9.40%)
5 files, Instructions -13.0⬝10⁹
File Instructions %
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic -12.379⬝10⁹ (-9.46%)
Mathlib.RingTheory.GradedAlgebra.Basic -12.415⬝10⁹ (-22.39%)
Mathlib.RingTheory.Algebraic.MvPolynomial -12.431⬝10⁹ (-27.84%)
Mathlib.NumberTheory.Cyclotomic.Rat -12.674⬝10⁹ (-10.22%)
Mathlib.Algebra.Module.ZLattice.Basic -12.939⬝10⁹ (-8.48%)
5 files, Instructions -14.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Kaehler.TensorProduct -13.176⬝10⁹ (-7.83%)
Mathlib.NumberTheory.Cyclotomic.Basic -13.631⬝10⁹ (-15.60%)
Mathlib.Algebra.Lie.Weights.Cartan -13.792⬝10⁹ (-17.02%)
Mathlib.Algebra.Ring.Subsemiring.Order -13.856⬝10⁹ (-52.31%)
Mathlib.Algebra.Ring.Subring.Order -13.955⬝10⁹ (-60.97%)
4 files, Instructions -15.0⬝10⁹
File Instructions %
Mathlib.Algebra.Lie.TraceForm -14.52⬝10⁹ (-7.57%)
Mathlib.Geometry.Euclidean.Circumcenter -14.89⬝10⁹ (-15.61%)
Mathlib.RingTheory.Flat.Equalizer -14.234⬝10⁹ (-6.35%)
Mathlib.Algebra.Star.NonUnitalSubalgebra -14.437⬝10⁹ (-9.34%)
4 files, Instructions -16.0⬝10⁹
File Instructions %
Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Scheme -15.185⬝10⁹ (-6.87%)
Mathlib.RingTheory.Kaehler.CotangentComplex -15.194⬝10⁹ (-5.56%)
Mathlib.LinearAlgebra.CliffordAlgebra.Even -15.245⬝10⁹ (-14.88%)
Mathlib.AlgebraicGeometry.GammaSpecAdjunction -15.663⬝10⁹ (-13.18%)
2 files, Instructions -17.0⬝10⁹
File Instructions %
Mathlib.RingTheory.LocalRing.Subring -16.143⬝10⁹ (-30.86%)
Mathlib.Algebra.Algebra.Subalgebra.Unitization -16.355⬝10⁹ (-25.51%)
2 files, Instructions -18.0⬝10⁹
File Instructions %
Mathlib.LinearAlgebra.TensorProduct.Subalgebra -17.883⬝10⁹ (-9.11%)
Mathlib.RingTheory.AdicCompletion.AsTensorProduct -17.956⬝10⁹ (-7.70%)
File Instructions %
Mathlib.RingTheory.AlgebraicIndependent.Transcendental -18.190⬝10⁹ (-35.89%)
2 files, Instructions -20.0⬝10⁹
File Instructions %
Mathlib.FieldTheory.Galois.Basic -19.61⬝10⁹ (-19.92%)
Mathlib.FieldTheory.Minpoly.IsIntegrallyClosed -19.225⬝10⁹ (-33.46%)
File Instructions %
Mathlib.RingTheory.Valuation.AlgebraInstances -20.202⬝10⁹ (-30.62%)
Mathlib.RingTheory.Perfection -22.132⬝10⁹ (-27.15%)
Mathlib.AlgebraicGeometry.Spec -23.771⬝10⁹ (-18.58%)
3 files, Instructions -26.0⬝10⁹
File Instructions %
Mathlib.FieldTheory.IntermediateField.Adjoin.Defs -25.86⬝10⁹ (-24.61%)
Mathlib.FieldTheory.IntermediateField.Adjoin.Basic -25.385⬝10⁹ (-15.32%)
Mathlib.RingTheory.Etale.Kaehler -25.841⬝10⁹ (-7.73%)
File Instructions %
Mathlib.NumberTheory.NumberField.Discriminant.Basic -27.289⬝10⁹ (-15.72%)
Mathlib.NumberTheory.Padics.PadicIntegers -28.51⬝10⁹ (-33.87%)
Mathlib.Topology.Algebra.Valued.LocallyCompact -29.514⬝10⁹ (-47.22%)
Mathlib.FieldTheory.SeparableDegree -31.691⬝10⁹ (-17.25%)
Mathlib.AlgebraicGeometry.AffineSpace -32.374⬝10⁹ (-12.29%)
2 files, Instructions -35.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Valuation.ValuationSubring -34.12⬝10⁹ (-22.28%)
Mathlib.NumberTheory.FLT.Three -34.618⬝10⁹ (-22.77%)
2 files, Instructions -36.0⬝10⁹
File Instructions %
Mathlib.FieldTheory.Extension -35.432⬝10⁹ (-23.11%)
Mathlib.AlgebraicGeometry.Modules.Tilde -35.903⬝10⁹ (-21.40%)
3 files, Instructions -39.0⬝10⁹
File Instructions %
Mathlib.RingTheory.FiniteType -38.204⬝10⁹ (-43.17%)
Mathlib.FieldTheory.CardinalEmb -38.333⬝10⁹ (-11.40%)
Mathlib.FieldTheory.Galois.Infinite -38.355⬝10⁹ (-37.10%)
File Instructions %
Mathlib.FieldTheory.Galois.Profinite -39.177⬝10⁹ (-49.87%)
Mathlib.Algebra.Algebra.Subalgebra.Rank -41.209⬝10⁹ (-39.52%)
2 files, Instructions -45.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Valuation.LocalSubring -44.697⬝10⁹ (-53.25%)
Mathlib.FieldTheory.IntermediateField.Basic -44.752⬝10⁹ (-31.54%)
2 files, Instructions -47.0⬝10⁹
File Instructions %
Mathlib.FieldTheory.Fixed -46.152⬝10⁹ (-41.44%)
Mathlib.NumberTheory.Padics.Hensel -46.386⬝10⁹ (-34.20%)
File Instructions %
Mathlib.FieldTheory.PurelyInseparable -50.170⬝10⁹ (-23.67%)
Mathlib.FieldTheory.LinearDisjoint -57.906⬝10⁹ (-24.84%)
Mathlib.RingTheory.LinearDisjoint -62.896⬝10⁹ (-24.36%)
Mathlib.LinearAlgebra.TensorProduct.Graded.Internal -70.509⬝10⁹ (-27.32%)
Mathlib.RingTheory.Kaehler.JacobiZariski -105.805⬝10⁹ (-12.61%)
Mathlib.FieldTheory.Relrank -190.485⬝10⁹ (-60.94%)
CI run

@mattrobball
Copy link
Copy Markdown
Contributor Author

Only one outlier left for regressions now

@mattrobball
Copy link
Copy Markdown
Contributor Author

We drop well below +1b instructions for number 2.

@eric-wieser eric-wieser changed the title draft perf: use fast_instance% for instances constructed via (inj|surj)ectivity Jan 24, 2025
@mattrobball
Copy link
Copy Markdown
Contributor Author

!bench

toFun := Set.inclusion h
linear := Submodule.inclusion <| AffineSubspace.direction_le h
map_vadd' _ _ := rfl
map_vadd' := fun ⟨_,_⟩ ⟨_,_⟩ => rfl
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

These were already problematic on master. The kernel was doing a lot of work without telling it explicitly to expand the subtypes. It got worse with the changes to instance shapes. Since it is the kernel, there is not a ton of visibility as to the steps for further probing

@leanprover-bot
Copy link
Copy Markdown
Collaborator

Here are the benchmark results for commit 7551764.
There were significant changes against commit e1f9f04:

  Benchmark                                                 Metric          Change
  ================================================================================
+ build                                                     type checking    -5.1%
+ ~Mathlib.Algebra.Algebra.Subalgebra.Rank                  instructions    -39.4%
+ ~Mathlib.Algebra.Algebra.Subalgebra.Unitization           instructions    -25.5%
+ ~Mathlib.Algebra.Lie.Submodule                            instructions     -6.8%
+ ~Mathlib.Algebra.Lie.TensorProduct                        instructions    -14.0%
+ ~Mathlib.Algebra.Lie.TraceForm                            instructions     -7.6%
+ ~Mathlib.Algebra.Lie.Weights.Basic                        instructions     -9.3%
+ ~Mathlib.Algebra.Lie.Weights.Cartan                       instructions    -17.0%
+ ~Mathlib.Algebra.Lie.Weights.Linear                       instructions    -16.8%
+ ~Mathlib.Algebra.Module.ZLattice.Basic                    instructions     -8.5%
+ ~Mathlib.Algebra.Ring.Subring.Order                       instructions    -61.0%
+ ~Mathlib.Algebra.Ring.Subsemiring.Order                   instructions    -52.3%
+ ~Mathlib.Algebra.Star.NonUnitalSubalgebra                 instructions     -9.3%
+ ~Mathlib.AlgebraicGeometry.AffineSpace                    instructions    -12.3%
+ ~Mathlib.AlgebraicGeometry.GammaSpecAdjunction            instructions    -13.2%
+ ~Mathlib.AlgebraicGeometry.Modules.Tilde                  instructions    -21.4%
+ ~Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Basic       instructions    -18.7%
+ ~Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Scheme      instructions     -6.9%
+ ~Mathlib.AlgebraicGeometry.Spec                           instructions    -18.6%
+ ~Mathlib.FieldTheory.CardinalEmb                          instructions    -11.4%
+ ~Mathlib.FieldTheory.Extension                            instructions    -23.1%
+ ~Mathlib.FieldTheory.Fixed                                instructions    -41.5%
+ ~Mathlib.FieldTheory.Galois.Basic                         instructions    -20.0%
+ ~Mathlib.FieldTheory.Galois.Infinite                      instructions    -37.2%
+ ~Mathlib.FieldTheory.Galois.Profinite                     instructions    -50.0%
+ ~Mathlib.FieldTheory.IntermediateField.Adjoin.Basic       instructions    -15.4%
+ ~Mathlib.FieldTheory.IntermediateField.Adjoin.Defs        instructions    -24.6%
+ ~Mathlib.FieldTheory.IntermediateField.Basic              instructions    -31.6%
+ ~Mathlib.FieldTheory.LinearDisjoint                       instructions    -24.9%
+ ~Mathlib.FieldTheory.Minpoly.IsIntegrallyClosed           instructions    -33.5%
+ ~Mathlib.FieldTheory.PrimitiveElement                     instructions    -15.9%
+ ~Mathlib.FieldTheory.PurelyInseparable                    instructions    -23.7%
+ ~Mathlib.FieldTheory.Relrank                              instructions    -60.6%
+ ~Mathlib.FieldTheory.SeparableDegree                      instructions    -17.3%
+ ~Mathlib.Geometry.Euclidean.Angle.Oriented.Basic          instructions     -9.4%
+ ~Mathlib.Geometry.Euclidean.Circumcenter                  instructions    -15.7%
+ ~Mathlib.LinearAlgebra.AffineSpace.AffineSubspace         instructions    -10.7%
+ ~Mathlib.LinearAlgebra.CliffordAlgebra.Even               instructions    -15.1%
+ ~Mathlib.LinearAlgebra.TensorProduct.Graded.Internal      instructions    -27.3%
+ ~Mathlib.LinearAlgebra.TensorProduct.Subalgebra           instructions     -9.5%
+ ~Mathlib.NumberTheory.Cyclotomic.Basic                    instructions    -15.6%
+ ~Mathlib.NumberTheory.Cyclotomic.Rat                      instructions    -10.2%
+ ~Mathlib.NumberTheory.FLT.Three                           instructions    -22.8%
+ ~Mathlib.NumberTheory.NumberField.Discriminant.Basic      instructions    -15.6%
+ ~Mathlib.NumberTheory.NumberField.Units.Basic             instructions    -17.6%
+ ~Mathlib.NumberTheory.Padics.Hensel                       instructions    -34.2%
+ ~Mathlib.NumberTheory.Padics.PadicIntegers                instructions    -33.7%
+ ~Mathlib.NumberTheory.Padics.RingHoms                     instructions    -20.3%
+ ~Mathlib.RingTheory.AdicCompletion.AsTensorProduct        instructions     -7.7%
+ ~Mathlib.RingTheory.Algebraic.MvPolynomial                instructions    -27.9%
+ ~Mathlib.RingTheory.AlgebraicIndependent.Transcendental   instructions    -35.9%
+ ~Mathlib.RingTheory.Etale.Field                           instructions    -15.1%
+ ~Mathlib.RingTheory.Etale.Kaehler                         instructions     -7.7%
+ ~Mathlib.RingTheory.FiniteType                            instructions    -43.6%
+ ~Mathlib.RingTheory.Flat.Equalizer                        instructions     -7.0%
+ ~Mathlib.RingTheory.GradedAlgebra.Basic                   instructions    -22.5%
+ ~Mathlib.RingTheory.Kaehler.CotangentComplex              instructions     -5.4%
+ ~Mathlib.RingTheory.Kaehler.JacobiZariski                 instructions    -13.3%
+ ~Mathlib.RingTheory.Kaehler.Polynomial                    instructions     -9.7%
+ ~Mathlib.RingTheory.Kaehler.TensorProduct                 instructions     -7.9%
+ ~Mathlib.RingTheory.LinearDisjoint                        instructions    -24.6%
+ ~Mathlib.RingTheory.LocalRing.Subring                     instructions    -30.9%
+ ~Mathlib.RingTheory.Perfection                            instructions    -27.1%
+ ~Mathlib.RingTheory.Smooth.Kaehler                        instructions     -4.3%
+ ~Mathlib.RingTheory.Valuation.AlgebraInstances            instructions    -30.6%
+ ~Mathlib.RingTheory.Valuation.LocalSubring                instructions    -53.3%
+ ~Mathlib.RingTheory.Valuation.ValuationSubring            instructions    -22.2%
+ ~Mathlib.Topology.Algebra.Valued.LocallyCompact           instructions    -47.5%
+ ~Mathlib.Topology.ContinuousMap.Algebra                   instructions    -11.9%

@github-actions
Copy link
Copy Markdown

File Instructions %
build -2803.609⬝10⁹ (-1.81%)
lint -98.505⬝10⁹ (-1.29%)
101 files, Instructions -2.0⬝10⁹
File Instructions %
Mathlib.Data.NNReal.Basic -1.1⬝10⁹ (-8.08%)
Mathlib.NumberTheory.NumberField.Embeddings -1.5⬝10⁹ (-0.96%)
Mathlib.LinearAlgebra.TensorProduct.RightExactness -1.20⬝10⁹ (-1.03%)
Mathlib.Algebra.Star.Subalgebra -1.22⬝10⁹ (-1.20%)
Mathlib.Algebra.Lie.InvariantForm -1.24⬝10⁹ (-3.28%)
Mathlib.LinearAlgebra.Basis.VectorSpace -1.40⬝10⁹ (-4.62%)
Mathlib.Algebra.DirectSum.LinearMap -1.45⬝10⁹ (-3.07%)
Mathlib.Algebra.Algebra.Subalgebra.IsSimpleOrder -1.53⬝10⁹ (-12.54%)
Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure -1.57⬝10⁹ (-2.02%)
Mathlib.Algebra.Category.Grp.Limits -1.58⬝10⁹ (-1.95%)
Mathlib.LinearAlgebra.Projection -1.65⬝10⁹ (-1.57%)
Mathlib.RingTheory.IntegralClosure.IntegrallyClosed -1.66⬝10⁹ (-3.68%)
Mathlib.Data.ENNReal.Inv -1.67⬝10⁹ (-1.36%)
Mathlib.GroupTheory.HNNExtension -1.76⬝10⁹ (-1.11%)
Mathlib.Algebra.Module.Torsion -1.88⬝10⁹ (-1.41%)
Mathlib.Topology.Algebra.UniformRing -1.93⬝10⁹ (-3.17%)
Mathlib.Algebra.Module.Submodule.Order -1.97⬝10⁹ (-15.85%)
Mathlib.Analysis.Normed.Operator.Banach -1.112⬝10⁹ (-1.10%)
Mathlib.FieldTheory.SplittingField.Construction -1.112⬝10⁹ (-2.59%)
Mathlib.FieldTheory.Normal.Defs -1.128⬝10⁹ (-3.10%)
Mathlib.RingTheory.AdicCompletion.Algebra -1.130⬝10⁹ (-1.32%)
Mathlib.MeasureTheory.Measure.Haar.Disintegration -1.138⬝10⁹ (-1.88%)
Mathlib.Algebra.Algebra.Basic -1.142⬝10⁹ (-3.85%)
Mathlib.RingTheory.Valuation.Integers -1.143⬝10⁹ (-4.85%)
Mathlib.Analysis.CStarAlgebra.lpSpace -1.155⬝10⁹ (-3.87%)
Mathlib.LinearAlgebra.Eigenspace.Triangularizable -1.165⬝10⁹ (-4.30%)
Mathlib.FieldTheory.KrullTopology -1.170⬝10⁹ (-5.75%)
Mathlib.MeasureTheory.Function.ConditionalExpectation.CondexpL1 -1.200⬝10⁹ (-1.49%)
Mathlib.Topology.Algebra.Module.FiniteDimension -1.239⬝10⁹ (-1.50%)
Mathlib.Data.NNRat.Floor -1.239⬝10⁹ (-6.01%)
Mathlib.Topology.Algebra.Module.Equiv -1.241⬝10⁹ (-1.03%)
Mathlib.Algebra.Module.CharacterModule -1.242⬝10⁹ (-2.03%)
Mathlib.RingTheory.Unramified.Field -1.243⬝10⁹ (-2.04%)
Mathlib.RingTheory.Polynomial.GaussLemma -1.256⬝10⁹ (-5.04%)
Mathlib.RingTheory.Nullstellensatz -1.277⬝10⁹ (-4.62%)
Mathlib.LinearAlgebra.DFinsupp -1.279⬝10⁹ (-2.28%)
Mathlib.RingTheory.EssentialFiniteness -1.289⬝10⁹ (-4.44%)
Mathlib.Algebra.Category.ModuleCat.Subobject -1.309⬝10⁹ (-9.54%)
Mathlib.Algebra.Lie.Semisimple.Basic -1.338⬝10⁹ (-5.40%)
Mathlib.NumberTheory.ClassNumber.FunctionField -1.347⬝10⁹ (-10.82%)
Mathlib.RingTheory.Valuation.RamificationGroup -1.361⬝10⁹ (-8.29%)
Mathlib.LinearAlgebra.TensorProduct.Vanishing -1.379⬝10⁹ (-3.51%)
Mathlib.RingTheory.FractionalIdeal.Norm -1.399⬝10⁹ (-3.76%)
Mathlib.Algebra.Lie.OfAssociative -1.401⬝10⁹ (-3.29%)
Mathlib.Analysis.Normed.Affine.Isometry -1.403⬝10⁹ (-2.22%)
Mathlib.FieldTheory.Separable -1.404⬝10⁹ (-3.06%)
Mathlib.MeasureTheory.Function.ConditionalExpectation.CondexpL2 -1.421⬝10⁹ (-1.41%)
Mathlib.Algebra.Algebra.Subalgebra.Basic -1.428⬝10⁹ (-2.15%)
Mathlib.LinearAlgebra.Eigenspace.Semisimple -1.440⬝10⁹ (-9.66%)
Mathlib.Analysis.Normed.Module.Basic -1.443⬝10⁹ (-2.86%)
Mathlib.RingTheory.Spectrum.Prime.Polynomial -1.443⬝10⁹ (-1.07%)
Mathlib.Algebra.Polynomial.Basic -1.456⬝10⁹ (-3.11%)
Mathlib.Algebra.Colimit.Ring -1.462⬝10⁹ (-1.68%)
Mathlib.RingTheory.Flat.Basic -1.466⬝10⁹ (-2.14%)
Mathlib.Algebra.CharP.IntermediateField -1.486⬝10⁹ (-14.23%)
Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.Rpow.Basic -1.490⬝10⁹ (-1.01%)
Mathlib.Algebra.Group.Subgroup.Defs -1.523⬝10⁹ (-5.62%)
Mathlib.Analysis.CStarAlgebra.Basic -1.527⬝10⁹ (-5.34%)
Mathlib.LinearAlgebra.AffineSpace.Restrict -1.558⬝10⁹ (-14.72%)
Mathlib.LinearAlgebra.FiniteDimensional -1.583⬝10⁹ (-5.28%)
Mathlib.Algebra.MvPolynomial.Supported -1.593⬝10⁹ (-15.63%)
Mathlib.LinearAlgebra.PerfectPairing.Restrict -1.615⬝10⁹ (-2.29%)
Mathlib.Algebra.Algebra.Spectrum -1.645⬝10⁹ (-3.89%)
Mathlib.FieldTheory.IsAlgClosed.Basic -1.652⬝10⁹ (-1.34%)
Mathlib.RingTheory.Localization.Integral -1.676⬝10⁹ (-3.44%)
Mathlib.RingTheory.Ideal.IsPrincipalPowQuotient -1.681⬝10⁹ (-9.88%)
Mathlib.AlgebraicGeometry.PullbackCarrier -1.694⬝10⁹ (-3.07%)
Mathlib.RingTheory.MvPolynomial.WeightedHomogeneous -1.696⬝10⁹ (-4.86%)
Mathlib.LinearAlgebra.LinearDisjoint -1.707⬝10⁹ (-1.89%)
Mathlib.Algebra.Algebra.Subalgebra.Directed -1.708⬝10⁹ (-9.38%)
Mathlib.RingTheory.Localization.AsSubring -1.719⬝10⁹ (-8.98%)
Mathlib.Data.Finsupp.Defs -1.734⬝10⁹ (-8.56%)
Mathlib.Geometry.Euclidean.Angle.Oriented.Affine -1.736⬝10⁹ (-2.30%)
Mathlib.RingTheory.Polynomial.Bernstein -1.744⬝10⁹ (-3.76%)
Mathlib.MeasureTheory.Function.ConditionalExpectation.AEMeasurable -1.745⬝10⁹ (-3.36%)
Mathlib.RingTheory.GradedAlgebra.HomogeneousLocalization -1.748⬝10⁹ (-1.17%)
Mathlib.MeasureTheory.Integral.SetToL1 -1.767⬝10⁹ (-0.62%)
Mathlib.FieldTheory.Isaacs -1.773⬝10⁹ (-7.73%)
Mathlib.FieldTheory.Galois.GaloisClosure -1.788⬝10⁹ (-6.96%)
Mathlib.RingTheory.TensorProduct.MvPolynomial -1.801⬝10⁹ (-2.06%)
Mathlib.Algebra.MonoidAlgebra.Defs -1.803⬝10⁹ (-1.97%)
Mathlib.Analysis.CStarAlgebra.Spectrum -1.805⬝10⁹ (-3.41%)
Mathlib.Algebra.Module.FinitePresentation -1.823⬝10⁹ (-1.05%)
Mathlib.Geometry.Euclidean.MongePoint -1.853⬝10⁹ (-2.72%)
Mathlib.Algebra.Lie.CartanExists -1.866⬝10⁹ (-3.42%)
Mathlib.RingTheory.Polynomial.Basic -1.872⬝10⁹ (-2.66%)
Mathlib.Analysis.Normed.Operator.LinearIsometry -1.883⬝10⁹ (-1.08%)
Mathlib.NumberTheory.Cyclotomic.PrimitiveRoots -1.890⬝10⁹ (-2.74%)
Mathlib.RingTheory.DedekindDomain.AdicValuation -1.902⬝10⁹ (-2.98%)
Mathlib.GroupTheory.SpecificGroups.ZGroup -1.911⬝10⁹ (-5.23%)
Mathlib.NumberTheory.NumberField.FinitePlaces -1.915⬝10⁹ (-5.69%)
Mathlib.RingTheory.Smooth.StandardSmooth -1.915⬝10⁹ (-3.23%)
Mathlib.Analysis.Normed.Algebra.Spectrum -1.927⬝10⁹ (-1.47%)
Mathlib.NumberTheory.Padics.PadicNumbers -1.930⬝10⁹ (-2.96%)
Mathlib.Algebra.Module.GradedModule -1.946⬝10⁹ (-3.97%)
Mathlib.Analysis.NormedSpace.HahnBanach.Extension -1.964⬝10⁹ (-4.29%)
Mathlib.LinearAlgebra.TensorAlgebra.Grading -1.975⬝10⁹ (-13.02%)
Mathlib.FieldTheory.AbelRuffini -1.979⬝10⁹ (-4.57%)
Mathlib.RingTheory.Presentation -1.982⬝10⁹ (-2.71%)
Mathlib.Analysis.Calculus.Implicit -1.989⬝10⁹ (-2.01%)
Mathlib.AlgebraicGeometry.EllipticCurve.Affine -1.992⬝10⁹ (-1.07%)
40 files, Instructions -3.0⬝10⁹
File Instructions %
Mathlib.Algebra.Module.ZLattice.Covolume -2.6⬝10⁹ (-3.04%)
Mathlib.RingTheory.Idempotents -2.9⬝10⁹ (-3.59%)
Mathlib.LinearAlgebra.Eigenspace.Zero -2.10⬝10⁹ (-6.35%)
Mathlib.RingTheory.FiniteLength -2.20⬝10⁹ (-13.25%)
Mathlib.FieldTheory.JacobsonNoether -2.48⬝10⁹ (-6.45%)
Mathlib.LinearAlgebra.Matrix.BaseChange -2.55⬝10⁹ (-17.88%)
Mathlib.RingTheory.IntegralClosure.Algebra.Basic -2.64⬝10⁹ (-8.24%)
Mathlib.MeasureTheory.Function.SimpleFuncDenseLp -2.102⬝10⁹ (-2.07%)
Mathlib.NumberTheory.NumberField.ClassNumber -2.109⬝10⁹ (-10.42%)
Mathlib.Algebra.Field.Subfield.Basic -2.113⬝10⁹ (-5.71%)
Mathlib.Algebra.Ring.Subring.Defs -2.149⬝10⁹ (-13.09%)
Mathlib.LinearAlgebra.FreeModule.PID -2.152⬝10⁹ (-3.18%)
Mathlib.AlgebraicGeometry.ProjectiveSpectrum.StructureSheaf -2.161⬝10⁹ (-2.72%)
Mathlib.RingTheory.Polynomial.Ideal -2.164⬝10⁹ (-15.05%)
Mathlib.Geometry.Euclidean.Angle.Sphere -2.201⬝10⁹ (-5.70%)
Mathlib.Algebra.Lie.Solvable -2.206⬝10⁹ (-5.07%)
Mathlib.Algebra.Module.LocalizedModule.Basic -2.215⬝10⁹ (-1.18%)
Mathlib.Analysis.SpecialFunctions.Trigonometric.Angle -2.252⬝10⁹ (-4.12%)
Mathlib.Algebra.DirectSum.Internal -2.283⬝10⁹ (-4.77%)
Mathlib.AlgebraicGeometry.RationalMap -2.340⬝10⁹ (-3.15%)
Mathlib.Topology.Algebra.Valued.ValuedField -2.341⬝10⁹ (-8.54%)
Mathlib.RingTheory.Ideal.Cotangent -2.378⬝10⁹ (-2.93%)
Mathlib.Algebra.Lie.Weights.Killing -2.390⬝10⁹ (-1.12%)
Mathlib.Algebra.Ring.Subring.Basic -2.455⬝10⁹ (-5.08%)
Mathlib.Analysis.Normed.Module.FiniteDimension -2.461⬝10⁹ (-2.37%)
Mathlib.RingTheory.DedekindDomain.IntegralClosure -2.468⬝10⁹ (-6.12%)
Mathlib.Algebra.Lie.Nilpotent -2.487⬝10⁹ (-3.42%)
Mathlib.RingTheory.SimpleRing.Field -2.503⬝10⁹ (-29.72%)
Mathlib.LinearAlgebra.ExteriorPower.Basic -2.576⬝10⁹ (-5.37%)
Mathlib.LinearAlgebra.Dimension.RankNullity -2.589⬝10⁹ (-8.43%)
Mathlib.Algebra.Order.Monoid.Submonoid -2.612⬝10⁹ (-26.37%)
Mathlib.Algebra.Algebra.NonUnitalSubalgebra -2.627⬝10⁹ (-3.41%)
Mathlib.RingTheory.Ideal.Norm.AbsNorm -2.659⬝10⁹ (-3.81%)
Mathlib.LinearAlgebra.ExteriorAlgebra.Grading -2.788⬝10⁹ (-4.85%)
Mathlib.RingTheory.AlgebraicIndependent.Basic -2.815⬝10⁹ (-6.96%)
Mathlib.NumberTheory.NumberField.House -2.839⬝10⁹ (-6.86%)
Mathlib.RingTheory.NonUnitalSubring.Defs -2.852⬝10⁹ (-19.75%)
Mathlib.Algebra.Order.Nonneg.Ring -2.854⬝10⁹ (-10.47%)
Mathlib.RingTheory.DedekindDomain.FiniteAdeleRing -2.931⬝10⁹ (-7.54%)
Mathlib.NumberTheory.FunctionField -2.997⬝10⁹ (-8.54%)
27 files, Instructions -4.0⬝10⁹
File Instructions %
Mathlib.FieldTheory.RatFunc.Basic -3.6⬝10⁹ (-1.24%)
Mathlib.RingTheory.Adjoin.PowerBasis -3.31⬝10⁹ (-8.87%)
Mathlib.AlgebraicGeometry.EllipticCurve.DivisionPolynomial.Basic -3.59⬝10⁹ (-4.01%)
Mathlib.Algebra.DirectSum.Decomposition -3.155⬝10⁹ (-11.11%)
Mathlib.RingTheory.Polynomial.Chebyshev -3.168⬝10⁹ (-2.28%)
Mathlib.RingTheory.Trace.Basic -3.190⬝10⁹ (-3.65%)
Mathlib.Analysis.InnerProductSpace.PiL2 -3.195⬝10⁹ (-1.62%)
Mathlib.RingTheory.LocalRing.ResidueField.Ideal -3.216⬝10⁹ (-3.35%)
Mathlib.RingTheory.Polynomial.Quotient -3.340⬝10⁹ (-6.35%)
Mathlib.RingTheory.Ideal.Over -3.377⬝10⁹ (-3.99%)
Mathlib.RingTheory.Adjoin.Field -3.381⬝10⁹ (-12.38%)
Mathlib.Algebra.Category.AlgebraCat.Limits -3.477⬝10⁹ (-5.75%)
Mathlib.LinearAlgebra.Dimension.FreeAndStrongRankCondition -3.483⬝10⁹ (-10.07%)
Mathlib.Algebra.DirectSum.Module -3.495⬝10⁹ (-7.42%)
Mathlib.RingTheory.Flat.FaithfullyFlat.Basic -3.546⬝10⁹ (-4.81%)
Mathlib.RingTheory.LaurentSeries -3.550⬝10⁹ (-1.91%)
Mathlib.Algebra.Order.Nonneg.Field -3.559⬝10⁹ (-17.05%)
Mathlib.FieldTheory.Differential.Basic -3.632⬝10⁹ (-8.31%)
Mathlib.LinearAlgebra.Eigenspace.Pi -3.646⬝10⁹ (-10.82%)
Mathlib.Algebra.Homology.ShortComplex.ModuleCat -3.723⬝10⁹ (-2.68%)
Mathlib.LinearAlgebra.AffineSpace.FiniteDimensional -3.735⬝10⁹ (-8.46%)
Mathlib.RingTheory.AlgebraicIndependent.RankAndCardinality -3.739⬝10⁹ (-12.32%)
Mathlib.Topology.Instances.Complex -3.779⬝10⁹ (-19.64%)
Mathlib.RingTheory.Adjoin.Dimension -3.856⬝10⁹ (-20.73%)
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.ConvexBody -3.860⬝10⁹ (-2.82%)
Mathlib.FieldTheory.Differential.Liouville -3.892⬝10⁹ (-9.67%)
Mathlib.Algebra.MonoidAlgebra.Grading -3.915⬝10⁹ (-11.10%)
18 files, Instructions -5.0⬝10⁹
File Instructions %
Mathlib.RingTheory.LocalRing.ResidueField.Basic -4.15⬝10⁹ (-13.50%)
Mathlib.Algebra.Module.PID -4.16⬝10⁹ (-6.46%)
Mathlib.RingTheory.IntegralClosure.IsIntegral.Basic -4.41⬝10⁹ (-17.68%)
Mathlib.Analysis.CStarAlgebra.Classes -4.51⬝10⁹ (-11.98%)
Mathlib.RingTheory.Algebraic.Integral -4.93⬝10⁹ (-10.57%)
Mathlib.Algebra.Lie.LieTheorem -4.114⬝10⁹ (-5.44%)
Mathlib.FieldTheory.Normal.Closure -4.141⬝10⁹ (-8.58%)
Mathlib.RingTheory.IntegralClosure.IntegralRestrict -4.300⬝10⁹ (-1.76%)
Mathlib.LinearAlgebra.RootSystem.BaseChange -4.303⬝10⁹ (-6.01%)
Mathlib.Analysis.Normed.Field.Basic -4.388⬝10⁹ (-3.66%)
Mathlib.LinearAlgebra.Dual -4.392⬝10⁹ (-1.01%)
Mathlib.RingTheory.LocalRing.Module -4.428⬝10⁹ (-4.71%)
Mathlib.LinearAlgebra.CliffordAlgebra.Grading -4.449⬝10⁹ (-5.63%)
Mathlib.FieldTheory.IntermediateField.Adjoin.Algebra -4.517⬝10⁹ (-15.20%)
Mathlib.RingTheory.Valuation.ValuationRing -4.524⬝10⁹ (-9.20%)
Mathlib.RingTheory.Norm.Basic -4.657⬝10⁹ (-8.99%)
Mathlib.RingTheory.AlgebraicIndependent.Adjoin -4.855⬝10⁹ (-9.08%)
Mathlib.LinearAlgebra.Semisimple -4.999⬝10⁹ (-4.64%)
10 files, Instructions -6.0⬝10⁹
File Instructions %
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.Basic -5.118⬝10⁹ (-2.24%)
Mathlib.RepresentationTheory.GroupCohomology.LowDegree -5.172⬝10⁹ (-3.98%)
Mathlib.NumberTheory.NumberField.Units.DirichletTheorem -5.207⬝10⁹ (-5.17%)
Mathlib.Analysis.Fourier.AddCircle -5.230⬝10⁹ (-6.42%)
Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion -5.443⬝10⁹ (-14.16%)
Mathlib.Algebra.CharP.LinearMaps -5.462⬝10⁹ (-20.38%)
Mathlib.LinearAlgebra.Eigenspace.Basic -5.500⬝10⁹ (-4.45%)
Mathlib.Analysis.InnerProductSpace.Projection -5.505⬝10⁹ (-2.87%)
Mathlib.Algebra.Lie.Weights.Chain -5.529⬝10⁹ (-7.42%)
Mathlib.RingTheory.Kaehler.Basic -5.785⬝10⁹ (-1.86%)
16 files, Instructions -7.0⬝10⁹
File Instructions %
Mathlib.AlgebraicGeometry.EllipticCurve.Group -6.74⬝10⁹ (-3.11%)
Mathlib.RingTheory.Ideal.Quotient.Operations -6.116⬝10⁹ (-4.67%)
Mathlib.Algebra.Category.Ring.Under.Limits -6.147⬝10⁹ (-4.93%)
Mathlib.RingTheory.Valuation.ValExtension -6.267⬝10⁹ (-24.27%)
Mathlib.RingTheory.Algebraic.Basic -6.414⬝10⁹ (-9.37%)
Mathlib.AlgebraicGeometry.ValuativeCriterion -6.459⬝10⁹ (-12.16%)
Mathlib.Algebra.Category.Grp.Colimits -6.470⬝10⁹ (-6.24%)
Mathlib.Algebra.Module.Presentation.Differentials -6.470⬝10⁹ (-9.33%)
Mathlib.LinearAlgebra.FiniteDimensional.Defs -6.489⬝10⁹ (-9.90%)
Mathlib.LinearAlgebra.Goursat -6.638⬝10⁹ (-13.72%)
Mathlib.NumberTheory.NumberField.FractionalIdeal -6.654⬝10⁹ (-18.60%)
Mathlib.Algebra.Lie.Abelian -6.758⬝10⁹ (-12.61%)
Mathlib.RingTheory.SimpleModule -6.793⬝10⁹ (-10.17%)
Mathlib.Algebra.Field.Subfield.Defs -6.843⬝10⁹ (-24.17%)
Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Basic -6.914⬝10⁹ (-3.36%)
Mathlib.Geometry.Manifold.Instances.Sphere -6.956⬝10⁹ (-4.60%)
10 files, Instructions -8.0⬝10⁹
File Instructions %
Mathlib.AlgebraicGeometry.StructureSheaf -7.140⬝10⁹ (-2.77%)
Mathlib.RingTheory.Jacobson.Ring -7.327⬝10⁹ (-7.72%)
Mathlib.RingTheory.AlgebraicIndependent.TranscendenceBasis -7.361⬝10⁹ (-31.44%)
Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Proper -7.371⬝10⁹ (-14.64%)
Mathlib.NumberTheory.Cyclotomic.Three -7.518⬝10⁹ (-15.47%)
Mathlib.FieldTheory.AlgebraicClosure -7.530⬝10⁹ (-15.75%)
Mathlib.NumberTheory.NumberField.Basic -7.684⬝10⁹ (-13.27%)
Mathlib.RingTheory.IntegralClosure.IsIntegralClosure.Basic -7.715⬝10⁹ (-9.30%)
Mathlib.NumberTheory.Padics.MahlerBasis -7.813⬝10⁹ (-16.65%)
Mathlib.RingTheory.AlgebraicIndependent.AlgebraicClosure -7.894⬝10⁹ (-24.04%)
9 files, Instructions -9.0⬝10⁹
File Instructions %
Mathlib.FieldTheory.IntermediateField.Algebraic -8.114⬝10⁹ (-19.52%)
Mathlib.NumberTheory.KummerDedekind -8.172⬝10⁹ (-9.22%)
Mathlib.Algebra.Category.Ring.Limits -8.297⬝10⁹ (-8.62%)
Mathlib.NumberTheory.NumberField.Norm -8.400⬝10⁹ (-23.63%)
Mathlib.RingTheory.LittleWedderburn -8.496⬝10⁹ (-22.82%)
Mathlib.FieldTheory.SeparableClosure -8.508⬝10⁹ (-14.18%)
Mathlib.LinearAlgebra.CliffordAlgebra.EvenEquiv -8.813⬝10⁹ (-6.78%)
Mathlib.AlgebraicGeometry.Scheme -8.846⬝10⁹ (-9.50%)
Mathlib.RingTheory.AdjoinRoot -8.895⬝10⁹ (-6.48%)
8 files, Instructions -10.0⬝10⁹
File Instructions %
Mathlib.NumberTheory.NumberField.CanonicalEmbedding.FundamentalCone -9.130⬝10⁹ (-8.40%)
Mathlib.Geometry.Euclidean.Basic -9.307⬝10⁹ (-15.33%)
Mathlib.LinearAlgebra.Isomorphisms -9.311⬝10⁹ (-22.06%)
Mathlib.FieldTheory.Normal.Basic -9.333⬝10⁹ (-18.18%)
Mathlib.NumberTheory.RamificationInertia.Basic -9.389⬝10⁹ (-4.52%)
Mathlib.Algebra.Category.Ring.Constructions -9.446⬝10⁹ (-13.74%)
Mathlib.Algebra.Order.Field.Subfield -9.825⬝10⁹ (-49.94%)
Mathlib.AlgebraicGeometry.AffineScheme -9.854⬝10⁹ (-4.12%)
7 files, Instructions -11.0⬝10⁹
File Instructions %
Mathlib.Algebra.Lie.Submodule -10.22⬝10⁹ (-6.80%)
Mathlib.Topology.ContinuousMap.Algebra -10.58⬝10⁹ (-11.94%)
Mathlib.Algebra.Lie.TensorProduct -10.60⬝10⁹ (-14.04%)
Mathlib.FieldTheory.PrimitiveElement -10.108⬝10⁹ (-15.93%)
Mathlib.NumberTheory.Padics.RingHoms -10.423⬝10⁹ (-20.27%)
Mathlib.RingTheory.Etale.Field -10.636⬝10⁹ (-15.06%)
Mathlib.NumberTheory.NumberField.Units.Basic -10.745⬝10⁹ (-17.64%)
3 files, Instructions -12.0⬝10⁹
File Instructions %
Mathlib.Algebra.Lie.Weights.Linear -11.321⬝10⁹ (-16.77%)
Mathlib.Algebra.Lie.Weights.Basic -11.491⬝10⁹ (-9.28%)
Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Basic -11.616⬝10⁹ (-18.69%)
6 files, Instructions -13.0⬝10⁹
File Instructions %
Mathlib.Geometry.Euclidean.Angle.Oriented.Basic -12.301⬝10⁹ (-9.40%)
Mathlib.RingTheory.Algebraic.MvPolynomial -12.445⬝10⁹ (-27.87%)
Mathlib.RingTheory.GradedAlgebra.Basic -12.494⬝10⁹ (-22.53%)
Mathlib.NumberTheory.Cyclotomic.Rat -12.683⬝10⁹ (-10.23%)
Mathlib.RingTheory.Smooth.Kaehler -12.698⬝10⁹ (-4.31%)
Mathlib.Algebra.Module.ZLattice.Basic -12.936⬝10⁹ (-8.47%)
6 files, Instructions -14.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Kaehler.TensorProduct -13.278⬝10⁹ (-7.89%)
Mathlib.NumberTheory.Cyclotomic.Basic -13.665⬝10⁹ (-15.64%)
Mathlib.LinearAlgebra.AffineSpace.AffineSubspace -13.791⬝10⁹ (-10.72%)
Mathlib.Algebra.Lie.Weights.Cartan -13.810⬝10⁹ (-17.04%)
Mathlib.Algebra.Ring.Subsemiring.Order -13.855⬝10⁹ (-52.31%)
Mathlib.Algebra.Ring.Subring.Order -13.955⬝10⁹ (-60.97%)
4 files, Instructions -15.0⬝10⁹
File Instructions %
Mathlib.Algebra.Lie.TraceForm -14.24⬝10⁹ (-7.56%)
Mathlib.Geometry.Euclidean.Circumcenter -14.172⬝10⁹ (-15.70%)
Mathlib.Algebra.Star.NonUnitalSubalgebra -14.424⬝10⁹ (-9.33%)
Mathlib.RingTheory.Kaehler.CotangentComplex -14.809⬝10⁹ (-5.42%)
5 files, Instructions -16.0⬝10⁹
File Instructions %
Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Scheme -15.249⬝10⁹ (-6.90%)
Mathlib.LinearAlgebra.CliffordAlgebra.Even -15.414⬝10⁹ (-15.05%)
Mathlib.RingTheory.Flat.Equalizer -15.582⬝10⁹ (-6.96%)
Mathlib.AlgebraicGeometry.GammaSpecAdjunction -15.673⬝10⁹ (-13.19%)
Mathlib.RingTheory.Kaehler.Polynomial -15.875⬝10⁹ (-9.65%)
2 files, Instructions -17.0⬝10⁹
File Instructions %
Mathlib.RingTheory.LocalRing.Subring -16.150⬝10⁹ (-30.88%)
Mathlib.Algebra.Algebra.Subalgebra.Unitization -16.363⬝10⁹ (-25.52%)
File Instructions %
Mathlib.RingTheory.AdicCompletion.AsTensorProduct -17.912⬝10⁹ (-7.68%)
2 files, Instructions -19.0⬝10⁹
File Instructions %
Mathlib.RingTheory.AlgebraicIndependent.Transcendental -18.195⬝10⁹ (-35.90%)
Mathlib.LinearAlgebra.TensorProduct.Subalgebra -18.672⬝10⁹ (-9.51%)
2 files, Instructions -20.0⬝10⁹
File Instructions %
Mathlib.FieldTheory.Galois.Basic -19.147⬝10⁹ (-20.01%)
Mathlib.FieldTheory.Minpoly.IsIntegrallyClosed -19.249⬝10⁹ (-33.50%)
File Instructions %
Mathlib.RingTheory.Valuation.AlgebraInstances -20.191⬝10⁹ (-30.60%)
Mathlib.RingTheory.Perfection -22.123⬝10⁹ (-27.14%)
Mathlib.AlgebraicGeometry.Spec -23.771⬝10⁹ (-18.58%)
3 files, Instructions -26.0⬝10⁹
File Instructions %
Mathlib.FieldTheory.IntermediateField.Adjoin.Defs -25.66⬝10⁹ (-24.59%)
Mathlib.FieldTheory.IntermediateField.Adjoin.Basic -25.507⬝10⁹ (-15.39%)
Mathlib.RingTheory.Etale.Kaehler -25.590⬝10⁹ (-7.65%)
2 files, Instructions -28.0⬝10⁹
File Instructions %
Mathlib.NumberTheory.NumberField.Discriminant.Basic -27.153⬝10⁹ (-15.64%)
Mathlib.NumberTheory.Padics.PadicIntegers -27.886⬝10⁹ (-33.67%)
File Instructions %
Mathlib.Topology.Algebra.Valued.LocallyCompact -29.684⬝10⁹ (-47.50%)
Mathlib.FieldTheory.SeparableDegree -31.825⬝10⁹ (-17.32%)
Mathlib.AlgebraicGeometry.AffineSpace -32.377⬝10⁹ (-12.29%)
Mathlib.RingTheory.Valuation.ValuationSubring -33.845⬝10⁹ (-22.17%)
Mathlib.NumberTheory.FLT.Three -34.613⬝10⁹ (-22.77%)
2 files, Instructions -36.0⬝10⁹
File Instructions %
Mathlib.FieldTheory.Extension -35.394⬝10⁹ (-23.08%)
Mathlib.AlgebraicGeometry.Modules.Tilde -35.831⬝10⁹ (-21.35%)
3 files, Instructions -39.0⬝10⁹
File Instructions %
Mathlib.FieldTheory.Galois.Infinite -38.452⬝10⁹ (-37.19%)
Mathlib.FieldTheory.CardinalEmb -38.454⬝10⁹ (-11.43%)
Mathlib.RingTheory.FiniteType -38.590⬝10⁹ (-43.61%)
File Instructions %
Mathlib.FieldTheory.Galois.Profinite -39.266⬝10⁹ (-49.99%)
Mathlib.Algebra.Algebra.Subalgebra.Rank -41.70⬝10⁹ (-39.38%)
2 files, Instructions -45.0⬝10⁹
File Instructions %
Mathlib.RingTheory.Valuation.LocalSubring -44.695⬝10⁹ (-53.25%)
Mathlib.FieldTheory.IntermediateField.Basic -44.803⬝10⁹ (-31.57%)
2 files, Instructions -47.0⬝10⁹
File Instructions %
Mathlib.FieldTheory.Fixed -46.222⬝10⁹ (-41.50%)
Mathlib.NumberTheory.Padics.Hensel -46.376⬝10⁹ (-34.19%)
File Instructions %
Mathlib.FieldTheory.PurelyInseparable -50.261⬝10⁹ (-23.72%)
Mathlib.FieldTheory.LinearDisjoint -57.986⬝10⁹ (-24.88%)
Mathlib.RingTheory.LinearDisjoint -63.514⬝10⁹ (-24.60%)
Mathlib.LinearAlgebra.TensorProduct.Graded.Internal -70.554⬝10⁹ (-27.34%)
Mathlib.RingTheory.Kaehler.JacobiZariski -111.395⬝10⁹ (-13.28%)
Mathlib.FieldTheory.Relrank -189.551⬝10⁹ (-60.64%)
CI run

@mattrobball mattrobball changed the title perf: use fast_instance% for instances constructed via (inj|surj)ectivity perf: use fast_instance% for instances constructed via non-canonical constructors Jan 24, 2025
@mattrobball mattrobball marked this pull request as ready for review January 24, 2025 17:05
@eric-wieser
Copy link
Copy Markdown
Member

If every non-canonical constructor here is of the form Function.Injective.foo and Function.Surjective.foo, can you mention that in the commit message? If not, can you mention the other examples too?

@mattrobball
Copy link
Copy Markdown
Contributor Author

I think so but I don't know so. There are some that do not have those at the head of the expression yes (syntactically). Deeper in, I'm not going to figure that out easily. Feel free to clarify your request with this context.

@mattrobball
Copy link
Copy Markdown
Contributor Author

Alright, I wrote something

Copy link
Copy Markdown
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Thanks 🎉

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Jan 24, 2025
mathlib-bors bot pushed a commit that referenced this pull request Jan 24, 2025
…l constructors (#20993)

Most the applications have `Function.Injective/Surjective.class` at the head of their expressions except for `Submodule.addCommMonoid/addCommGroup/module'/module`. The latter probably have the former deeper inside. 

Co-authored-by: Eric Wieser <wieser.eric@gmail.com>



Co-authored-by: Kyle Miller <kmill31415@gmail.com>
Co-authored-by: Matthew Robert Ballard <100034030+mattrobball@users.noreply.github.com>
Co-authored-by: Anne C.A. Baanen <vierkantor@vierkantor.com>
subsheafToTypes (Tilde.isLocallyFraction M)

instance (U : (Opens (PrimeSpectrum.Top R))ᵒᵖ) :
noncomputable instance (U : (Opens (PrimeSpectrum.Top R))ᵒᵖ) :
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why was this not needed before?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think it got smarter because the instance was better structured. The next one is already noncomputable for the same one (probably) this is now.

"Mathlib.Lean.Expr.ExtraRecognizers": ["Mathlib.Data.Set.Operations"],
"Mathlib.Lean.Expr.Basic": ["Batteries.Logic"],
"Mathlib.GroupTheory.MonoidLocalization.Basic": ["Mathlib.Init.Data.Prod"],
"Mathlib.GroupTheory.Congruence.Defs": ["Mathlib.Tactic.FastInstance"],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If you add FastInstance in the first block, the IgnoreImport group, then you do not have to individually unshake it elsewhere.

Copy link
Copy Markdown
Contributor Author

@mattrobball mattrobball Jan 24, 2025

Choose a reason for hiding this comment

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

Great! I just did the mindless thing and would be happy to see something better done.

Copy link
Copy Markdown
Contributor

@adomani adomani left a comment

Choose a reason for hiding this comment

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

This is awesome! I am very happy to see this merged: my comments are simply intended to keep a record of the changes, not for any kind of immediate action!

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 24, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title perf: use fast_instance% for instances constructed via non-canonical constructors [Merged by Bors] - perf: use fast_instance% for instances constructed via non-canonical constructors Jan 24, 2025
@mathlib-bors mathlib-bors bot closed this Jan 24, 2025
@mathlib-bors mathlib-bors bot deleted the fast_instance_app branch January 24, 2025 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants