Repository navigation
[Merged by Bors] - feat(ValuativeRel): instance IsLinearTopology 𝒪[K] 𝒪[K] - #42817
WenrongZou wants to merge 2 commits into
Conversation
PR summary baae093cc6
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.Topology.Algebra.ValuativeRel.ValuativeTopology | 1888 | 1889 | +1 (+0.05%) |
Import changes for all files
| Files | Import difference |
|---|---|
82 filesMathlib.AlgebraicGeometry.EllipticCurve.Reduction Mathlib.AlgebraicGeometry.Group.Abelian Mathlib.AlgebraicGeometry.Morphisms.QuasiFinite Mathlib.AlgebraicGeometry.Normalization Mathlib.AlgebraicGeometry.OrderOfVanishing Mathlib.AlgebraicGeometry.ZariskisMainTheorem Mathlib.Analysis.Fourier.ZMod Mathlib.Analysis.SpecialFunctions.Complex.CircleAddChar Mathlib.FieldTheory.Laurent Mathlib.FieldTheory.RatFunc.AsPolynomial Mathlib.FieldTheory.RatFunc.Degree Mathlib.FieldTheory.RatFunc.IntermediateField Mathlib.FieldTheory.RatFunc.Luroth Mathlib.FieldTheory.RatFunc.Valuation Mathlib.NumberTheory.ClassNumber.FunctionField Mathlib.NumberTheory.Cyclotomic.Basic Mathlib.NumberTheory.Cyclotomic.Discriminant Mathlib.NumberTheory.Cyclotomic.Gal Mathlib.NumberTheory.Cyclotomic.PrimitiveRoots Mathlib.NumberTheory.DirichletCharacter.GaussSum Mathlib.NumberTheory.FLT.Three Mathlib.NumberTheory.Fermat Mathlib.NumberTheory.FunctionField 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.LSeries.ZetaZeros Mathlib.NumberTheory.LegendreSymbol.AddCharacter Mathlib.NumberTheory.LegendreSymbol.Complex Mathlib.NumberTheory.LegendreSymbol.JacobiSymbol Mathlib.NumberTheory.LegendreSymbol.QuadraticChar.GaussSum Mathlib.NumberTheory.LegendreSymbol.QuadraticReciprocity Mathlib.NumberTheory.LocalField.Basic Mathlib.NumberTheory.LucasLehmer Mathlib.NumberTheory.MahlerMeasure Mathlib.NumberTheory.NumberField.AdeleRing Mathlib.NumberTheory.NumberField.CMField Mathlib.NumberTheory.NumberField.Completion.FinitePlace Mathlib.NumberTheory.NumberField.Cyclotomic.Basic Mathlib.NumberTheory.NumberField.Cyclotomic.Embeddings Mathlib.NumberTheory.NumberField.Cyclotomic.Galois Mathlib.NumberTheory.NumberField.Cyclotomic.Ideal Mathlib.NumberTheory.NumberField.Cyclotomic.PID Mathlib.NumberTheory.NumberField.Cyclotomic.Three Mathlib.NumberTheory.NumberField.Ideal.Basic Mathlib.NumberTheory.NumberField.ProductFormula Mathlib.NumberTheory.Padics.HeightOneSpectrum Mathlib.NumberTheory.Padics.WithVal Mathlib.NumberTheory.PrimesCongruentOne Mathlib.NumberTheory.RamificationInertia.Valuation Mathlib.NumberTheory.RatFunc.Ostrowski Mathlib.RingTheory.DedekindDomain.AdicValuation Mathlib.RingTheory.DedekindDomain.FiniteAdeleRing Mathlib.RingTheory.DedekindDomain.GaussLemma Mathlib.RingTheory.DedekindDomain.SInteger Mathlib.RingTheory.DedekindDomain.SelmerGroup Mathlib.RingTheory.Etale.QuasiFinite Mathlib.RingTheory.LaurentSeries Mathlib.RingTheory.LittleWedderburn Mathlib.RingTheory.LocalRing.ResidueField.Polynomial Mathlib.RingTheory.OrderOfVanishing.Noetherian 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.QuasiFinite.Polynomial Mathlib.RingTheory.RootsOfUnity.AlgebraicallyClosed Mathlib.RingTheory.Smooth.IntegralClosure Mathlib.RingTheory.Unramified.LocalStructure Mathlib.RingTheory.Valuation.Discrete.IsDiscreteValuationRing Mathlib.RingTheory.ZariskisMainTheorem Mathlib.Tactic.NormNum.LegendreSymbol Mathlib.Tactic Mathlib.Topology.Algebra.ValuativeRel.ValuativeTopology Mathlib.Topology.Algebra.Valued.ValuativeRel Mathlib.Topology.Algebra.Valued.WithVal |
1 |
Declarations diff (regex)
++ instance [TopologicalSpace R] [IsValuativeTopology R] :
You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.
Declarations diff (Lean)
✅ Lean-aware diff — post-build, computed from the Lean environment (commit
baae093).
- +2 new declarations
- −0 removed declarations
+IsValuativeTopology.instIsLinearTopologySubtypeMemSubringIntegerValueGroupWithZeroValuation
+IsValuativeTopology.instIsLinearTopologySubtypeMemSubringIntegerValueGroupWithZeroValuation_1No changes to strong technical debt.
No changes to weak technical debt.
Current commit baae093cc6
Reference commit 274ed6d67d
This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py 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).
Ruben-VandeVelde
left a comment
There was a problem hiding this comment.
maintainer merge
|
🚀 Pull request has been placed on the maintainer queue by Ruben-VandeVelde. |
|
@Ruben-VandeVelde and @WenrongZou, I dint understand why you couldn't revive the other PR's other results also, given that the IsValuativeTopology and Valued have the same proof strategy. So like, the IsLinearTopology O[K] K, and the general constructions. Because all the reviews comments and improvements that that PR received are just as relevant here mathematically, even if the exact typeclass syntax differs. |
|
Thanks for your suggestion! I am happy to do that. |
|
Thanks for your suggestion! @pechersky I have a PR #42998, which prove that |
|
Do you have a plan on including the generalization in the other PR about the open embedding constructor for IsLinearTopology? Or the open embedding nature of the algebraMap? Separately, how do you think we can deal with the comment that @jcommelin made regarding finding a way to phrase this using a propositional predicate identifying the subring, without relying on defeq on valuation.integer? Is that for a separate TODO / PR? Because right now, Z_p is only propositionally equal to Q_p's ValuativeRel valuation's integer subring (as far as I understand), so the concrete instance you refer to won't automatically be available, I think it will have to be declared. |
I think I am happy to do this in a separated PR.
Yes, you are right. I will think about a way to do that. Btw, could you please point me to where Johan raised that. Edit: I found it in #24627. |
|
Note, we have Valuation.Integers.isIntegrallyClosed_integers. One can likely copy the proof of that, via showing |
|
What is the situation with this PR? @pechersky have your comments been taken into account? |
|
Pull request successfully merged into master. Build succeeded: |
IsLinearTopology 𝒪[K] 𝒪[K]IsLinearTopology 𝒪[K] 𝒪[K]
…-community#42817) In this PR, we prove the instance `IsLinearTopology 𝒪[K] 𝒪[K]`. There is a very old PR regarding this [leanprover-community#24627](leanprover-community#24627). But we are going to deprecate `Valued`.
In this PR, we prove the instance
IsLinearTopology 𝒪[K] 𝒪[K]. There is a very old PR regarding this #24627. But we are going to deprecateValued.