[Merged by Bors] - feat(ValuationSubring): eq_self_or_eq_top_of_le#33634
[Merged by Bors] - feat(ValuationSubring): eq_self_or_eq_top_of_le#33634xgenereux wants to merge 3 commits intoleanprover-community:masterfrom
Conversation
PR summary 5833ef5cdfImport changes exceeding 2%
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.RingTheory.Valuation.ValuationSubring | 1377 | 1775 | +398 (+28.90%) |
Import changes for all files
| Files | Import difference |
|---|---|
25 filesMathlib.Analysis.Fourier.ZMod Mathlib.Analysis.SpecialFunctions.Complex.CircleAddChar Mathlib.NumberTheory.DirichletCharacter.GaussSum Mathlib.NumberTheory.Fermat Mathlib.NumberTheory.GaussSum Mathlib.NumberTheory.Height.NumberField Mathlib.NumberTheory.JacobiSum.Basic Mathlib.NumberTheory.LSeries.DirichletContinuation Mathlib.NumberTheory.LSeries.Nonvanishing Mathlib.NumberTheory.LSeries.PrimesInAP Mathlib.NumberTheory.LSeries.ZMod Mathlib.NumberTheory.LegendreSymbol.AddCharacter Mathlib.NumberTheory.LegendreSymbol.JacobiSymbol Mathlib.NumberTheory.LegendreSymbol.QuadraticChar.GaussSum Mathlib.NumberTheory.LegendreSymbol.QuadraticReciprocity Mathlib.NumberTheory.LucasLehmer Mathlib.NumberTheory.MahlerMeasure Mathlib.NumberTheory.NumberField.AdeleRing Mathlib.NumberTheory.NumberField.CMField Mathlib.NumberTheory.NumberField.Completion.FinitePlace Mathlib.NumberTheory.NumberField.Cyclotomic.Embeddings Mathlib.NumberTheory.NumberField.FinitePlaces Mathlib.NumberTheory.NumberField.ProductFormula Mathlib.Tactic.NormNum.LegendreSymbol Mathlib.Tactic |
18 |
30 filesMathlib.AlgebraicGeometry.EllipticCurve.Reduction Mathlib.FieldTheory.Laurent Mathlib.FieldTheory.RatFunc.AsPolynomial Mathlib.FieldTheory.RatFunc.Degree Mathlib.FieldTheory.RatFunc.Luroth Mathlib.NumberTheory.ClassNumber.FunctionField Mathlib.NumberTheory.Cyclotomic.Basic Mathlib.NumberTheory.Cyclotomic.Discriminant Mathlib.NumberTheory.Cyclotomic.Gal Mathlib.NumberTheory.Cyclotomic.PrimitiveRoots Mathlib.NumberTheory.FunctionField Mathlib.NumberTheory.NumberField.Cyclotomic.Galois Mathlib.NumberTheory.Padics.HeightOneSpectrum Mathlib.NumberTheory.PrimesCongruentOne Mathlib.RingTheory.DedekindDomain.AdicValuation Mathlib.RingTheory.DedekindDomain.FiniteAdeleRing Mathlib.RingTheory.DedekindDomain.GaussLemma Mathlib.RingTheory.DedekindDomain.SInteger Mathlib.RingTheory.DedekindDomain.SelmerGroup Mathlib.RingTheory.LaurentSeries Mathlib.RingTheory.LittleWedderburn Mathlib.RingTheory.Polynomial.Cyclotomic.Basic Mathlib.RingTheory.Polynomial.Cyclotomic.Eval Mathlib.RingTheory.Polynomial.Cyclotomic.Expand Mathlib.RingTheory.Polynomial.Cyclotomic.Factorization Mathlib.RingTheory.Polynomial.Cyclotomic.Roots Mathlib.RingTheory.Polynomial.Eisenstein.IsIntegral Mathlib.RingTheory.RootsOfUnity.AlgebraicallyClosed Mathlib.RingTheory.Valuation.Discrete.Basic Mathlib.RingTheory.Valuation.Discrete.RankOne |
22 |
3 filesMathlib.NumberTheory.Padics.Complex Mathlib.NumberTheory.Padics.WithVal Mathlib.Topology.Algebra.Valued.WithVal |
29 |
Mathlib.RingTheory.Valuation.LocalSubring |
116 |
Mathlib.RingTheory.Valuation.AlgebraInstances |
138 |
Mathlib.NumberTheory.LocalField.Basic Mathlib.Topology.Algebra.Valued.LocallyCompact |
218 |
Mathlib.Topology.Algebra.Valued.NormedValued |
223 |
Mathlib.Topology.Algebra.Valued.WithZeroMulInt |
294 |
Mathlib.Analysis.Real.Hyperreal |
310 |
Mathlib.Algebra.Order.Ring.StandardPart Mathlib.Topology.Algebra.Valued.ValuedField |
311 |
Mathlib.Topology.Algebra.Valued.ValuativeRel |
312 |
Mathlib.Topology.Algebra.Valued.ValuationTopology |
313 |
Mathlib.RingTheory.Valuation.Extension |
397 |
Mathlib.RingTheory.Valuation.RamificationGroup Mathlib.RingTheory.Valuation.ValuationSubring |
398 |
Declarations diff
+ eq_of_le_of_ne_self
+ eq_of_le_of_ne_top
+ eq_of_lt
+ eq_self_or_eq_top_of_le
You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.
No changes to technical debt.
You can run this locally as
./scripts/reporting/technical-debt-metrics.sh pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
|
Question:
Or is it fine like this? Thanks! |
|
This pull request has conflicts, please merge |
38f340a to
391223c
Compare
|
!bench |
|
Checking if the large import is an issue. |
|
Benchmark results for 391223c against 5833ef5 are in. Significant changes detected! @xgenereux
Small changes (1✅, 20🟥) Too many entries to display here. View the full report on radar instead. |
dagurtomas
left a comment
There was a problem hiding this comment.
Thanks!
maintainer delegate
| obtain h | h := IsLocalRing.Ring.KrullDimLE.eq_bot_or_eq_top | ||
| ((primeSpectrumEquiv A).symm ⟨B, hle⟩) <;> | ||
| (replace h := congr((primeSpectrumEquiv A) $h); simp_all [← idealOfLE_self]) |
There was a problem hiding this comment.
| obtain h | h := IsLocalRing.Ring.KrullDimLE.eq_bot_or_eq_top | |
| ((primeSpectrumEquiv A).symm ⟨B, hle⟩) <;> | |
| (replace h := congr((primeSpectrumEquiv A) $h); simp_all [← idealOfLE_self]) | |
| obtain h | h := IsLocalRing.Ring.KrullDimLE.eq_bot_or_eq_top | |
| ((primeSpectrumEquiv A).symm ⟨B, hle⟩) | |
| all_goals | |
| replace h := congrArg (primeSpectrumEquiv A) h | |
| simp_all |
This is more readable
|
🚀 Pull request has been placed on the maintainer queue by dagurtomas. |
|
Thanks! bors d+ |
|
✌️ xgenereux can now approve this pull request. To approve and merge a pull request, simply reply with |
|
bors r+ |
Using `primeSpectrumEquiv` we get the the corresponding results of `IsLocalRing.primeSpectrum_eq_of_KrullDimLEOne`(see #33607) for valuation subrings. Co-authored-by: María Inés de Frutos Fernández <[[email protected]](mailto:[email protected])> Co-authored-by: Xavier Genereux <[email protected]>
|
Pull request successfully merged into master. Build succeeded:
|
…#33634) Using `primeSpectrumEquiv` we get the the corresponding results of `IsLocalRing.primeSpectrum_eq_of_KrullDimLEOne`(see leanprover-community#33607) for valuation subrings. Co-authored-by: María Inés de Frutos Fernández <[[email protected]](mailto:[email protected])> Co-authored-by: Xavier Genereux <[email protected]>
Using
primeSpectrumEquivwe get the the corresponding results ofIsLocalRing.primeSpectrum_eq_of_KrullDimLEOne(see #33607) for valuation subrings.Co-authored-by: María Inés de Frutos Fernández <[email protected]>