Skip to content

[Merged by Bors] - feat: more lemmas for enorm#20966

Closed
YaelDillies wants to merge 4 commits intomasterfrom
enorm_lemmas
Closed

[Merged by Bors] - feat: more lemmas for enorm#20966
YaelDillies wants to merge 4 commits intomasterfrom
enorm_lemmas

Conversation

@YaelDillies
Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies commented Jan 22, 2025

These follow the existing norm and nnnorm.

The large import comes from the fact that we need to import Topology.Instances.ENNReal to state continuous_enorm : Continuous (‖·‖ₑ).


Note that this is not exhaustive. See #20806

Open in Gitpod

These follow the existing `norm` and `nnnorm`.
@github-actions github-actions bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Jan 22, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 22, 2025

PR summary 09e089b92b

Import changes exceeding 2%

% File
+4.38% Mathlib.Analysis.Normed.Field.Basic
+11.27% Mathlib.Analysis.Normed.Group.Basic
+11.14% Mathlib.Analysis.Normed.Group.Constructions
+11.25% Mathlib.Analysis.NormedSpace.IndicatorFunction

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Analysis.Normed.Group.Basic 1020 1135 +115 (+11.27%)
Mathlib.Analysis.NormedSpace.IndicatorFunction 1022 1137 +115 (+11.25%)
Mathlib.Analysis.Normed.Group.Constructions 1023 1137 +114 (+11.14%)
Mathlib.Analysis.Normed.Field.Basic 1164 1215 +51 (+4.38%)
Mathlib.Analysis.Normed.MulAction 1253 1278 +25 (+2.00%)
Mathlib.Analysis.Normed.Group.Completion 1253 1261 +8 (+0.64%)
Mathlib.Analysis.NormedSpace.Int 1309 1313 +4 (+0.31%)
Mathlib.Analysis.NormedSpace.OperatorNorm.NNNorm 1427 1430 +3 (+0.21%)
Import changes for all files
Files Import difference
60 files Mathlib.Analysis.BoxIntegral.Partition.Additive Mathlib.Analysis.CStarAlgebra.Classes Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.NonUnital Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Restrict Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Unitary Mathlib.Analysis.CStarAlgebra.ContinuousMap Mathlib.Analysis.CStarAlgebra.Unitization Mathlib.Analysis.Calculus.FormalMultilinearSeries Mathlib.Analysis.Complex.Asymptotics Mathlib.Analysis.Complex.Basic Mathlib.Analysis.Complex.Convex Mathlib.Analysis.Complex.IntegerCompl Mathlib.Analysis.Complex.IsIntegral Mathlib.Analysis.Complex.OperatorNorm Mathlib.Analysis.Complex.ReImTopology Mathlib.Analysis.Complex.UpperHalfPlane.Basic Mathlib.Analysis.Complex.UpperHalfPlane.FunctionsBoundedAtInfty Mathlib.Analysis.Complex.UpperHalfPlane.Topology Mathlib.Analysis.InnerProductSpace.Defs Mathlib.Analysis.LocallyConvex.ContinuousOfBounded Mathlib.Analysis.LocallyConvex.WeakDual Mathlib.Analysis.LocallyConvex.WithSeminorms Mathlib.Analysis.Normed.Affine.ContinuousAffineMap Mathlib.Analysis.Normed.Algebra.Unitization Mathlib.Analysis.Normed.Group.Tannery Mathlib.Analysis.Normed.Group.ZeroAtInfty Mathlib.Analysis.Normed.Module.Completion Mathlib.Analysis.Normed.Ring.WithAbs Mathlib.Analysis.NormedSpace.Extend Mathlib.Analysis.NormedSpace.Multilinear.Basic Mathlib.Analysis.NormedSpace.Multilinear.Curry Mathlib.Analysis.NormedSpace.OperatorNorm.Asymptotics Mathlib.Analysis.NormedSpace.OperatorNorm.Basic Mathlib.Analysis.NormedSpace.OperatorNorm.Bilinear Mathlib.Analysis.NormedSpace.OperatorNorm.Completeness Mathlib.Analysis.NormedSpace.OperatorNorm.Mul Mathlib.Analysis.NormedSpace.OperatorNorm.NNNorm Mathlib.Analysis.NormedSpace.OperatorNorm.NormedSpace Mathlib.Analysis.NormedSpace.OperatorNorm.Prod Mathlib.Analysis.NormedSpace.PiTensorProduct.InjectiveSeminorm Mathlib.Analysis.NormedSpace.PiTensorProduct.ProjectiveSeminorm Mathlib.Analysis.RCLike.Basic Mathlib.Dynamics.BirkhoffSum.NormedSpace Mathlib.LinearAlgebra.QuadraticForm.Real Mathlib.NumberTheory.ModularForms.EisensteinSeries.Defs Mathlib.NumberTheory.ModularForms.Identities Mathlib.NumberTheory.ModularForms.SlashActions Mathlib.NumberTheory.ModularForms.SlashInvariantForms Mathlib.NumberTheory.Modular Mathlib.Topology.Category.DeltaGenerated Mathlib.Topology.Compactness.DeltaGeneratedSpace Mathlib.Topology.ContinuousMap.Bounded.Basic Mathlib.Topology.ContinuousMap.Bounded.Star Mathlib.Topology.ContinuousMap.BoundedCompactlySupported Mathlib.Topology.ContinuousMap.Compact Mathlib.Topology.ContinuousMap.CompactlySupported Mathlib.Topology.ContinuousMap.ContinuousMapZero Mathlib.Topology.ContinuousMap.StarOrdered Mathlib.Topology.ContinuousMap.ZeroAtInfty Mathlib.Topology.MetricSpace.Ultra.ContinuousMaps
3
54 files Mathlib.Analysis.Asymptotics.AsymptoticEquivalent Mathlib.Analysis.Asymptotics.Lemmas Mathlib.Analysis.Asymptotics.SpecificAsymptotics Mathlib.Analysis.Asymptotics.SuperpolynomialDecay Mathlib.Analysis.Asymptotics.Theta Mathlib.Analysis.CStarAlgebra.Basic Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Unital Mathlib.Analysis.Convex.EGauge Mathlib.Analysis.LocallyConvex.BalancedCoreHull Mathlib.Analysis.LocallyConvex.Basic Mathlib.Analysis.LocallyConvex.Bounded Mathlib.Analysis.LocallyConvex.StrongTopology Mathlib.Analysis.Normed.Affine.AddTorsor Mathlib.Analysis.Normed.Affine.Isometry Mathlib.Analysis.Normed.Affine.MazurUlam Mathlib.Analysis.Normed.Algebra.Ultra Mathlib.Analysis.Normed.Field.Lemmas Mathlib.Analysis.Normed.Field.UnitBall Mathlib.Analysis.Normed.Group.InfiniteSum Mathlib.Analysis.Normed.Group.Lemmas Mathlib.Analysis.Normed.Module.Basic Mathlib.Analysis.Normed.Module.Ray Mathlib.Analysis.Normed.Module.Span Mathlib.Analysis.Normed.Operator.Compact Mathlib.Analysis.Normed.Order.Basic Mathlib.Analysis.NormedSpace.BallAction Mathlib.Analysis.NormedSpace.ConformalLinearMap Mathlib.Analysis.NormedSpace.ENormedSpace Mathlib.Analysis.NormedSpace.Extr Mathlib.Analysis.NormedSpace.Int Mathlib.Analysis.NormedSpace.Real Mathlib.Analysis.NormedSpace.SphereNormEquiv Mathlib.Analysis.Polynomial.Basic Mathlib.Analysis.Seminorm Mathlib.NumberTheory.Harmonic.Int Mathlib.NumberTheory.LegendreSymbol.GaussEisensteinLemmas Mathlib.NumberTheory.NumberField.Discriminant.Defs Mathlib.NumberTheory.Padics.PadicIntegers Mathlib.NumberTheory.Padics.PadicNumbers Mathlib.NumberTheory.Padics.RingHoms Mathlib.NumberTheory.SumTwoSquares Mathlib.NumberTheory.Zsqrtd.QuadraticReciprocity Mathlib.Order.Filter.ZeroAndBoundedAtFilter Mathlib.RingTheory.WittVector.Compare Mathlib.Topology.Algebra.Module.Alternating.Topology Mathlib.Topology.Algebra.Module.FiniteDimension Mathlib.Topology.Algebra.Module.Multilinear.Bounded Mathlib.Topology.Algebra.Module.Multilinear.Topology Mathlib.Topology.Algebra.Module.StrongTopology Mathlib.Topology.Algebra.Module.UniformConvergence Mathlib.Topology.Algebra.Polynomial Mathlib.Topology.Bornology.BoundedOperation Mathlib.Topology.ContinuousMap.Polynomial Mathlib.Topology.Germ
4
Mathlib.Topology.UniformSpace.Dini 6
4 files Mathlib.Analysis.Normed.Group.Completion Mathlib.Analysis.Normed.Group.HomCompletion Mathlib.Analysis.Normed.Group.SemiNormedGrp.Completion Mathlib.Analysis.Normed.Order.Lattice
8
Mathlib.Analysis.Normed.Group.Rat 13
4 files Mathlib.Analysis.Normed.Group.Hom Mathlib.Analysis.Normed.Group.SemiNormedGrp Mathlib.Topology.Algebra.Valued.LocallyCompact Mathlib.Topology.Algebra.Valued.NormedValued
17
3 files Mathlib.Analysis.Normed.Field.Ultra Mathlib.Analysis.Normed.Operator.LinearIsometry Mathlib.Analysis.Normed.Ring.Ultra
20
3 files Mathlib.Analysis.Normed.Group.Ultra Mathlib.Analysis.Normed.Operator.ContinuousLinearMap Mathlib.Data.Real.IsNonarchimedean
21
Mathlib.Analysis.Normed.Group.BallSphere Mathlib.Analysis.Normed.Group.Uniform 23
Mathlib.Analysis.Normed.Group.AddTorsor 24
Mathlib.Analysis.Normed.Group.NullSubmodule Mathlib.Analysis.Normed.MulAction 25
Mathlib.Analysis.LocallyConvex.Polar 44
Mathlib.LinearAlgebra.Matrix.Gershgorin Mathlib.NumberTheory.DirichletCharacter.Bounds 45
Mathlib.Analysis.Polynomial.CauchyBound Mathlib.Topology.MetricSpace.CauSeqFilter 50
3 files Mathlib.Analysis.Asymptotics.Defs Mathlib.Analysis.Normed.Field.Basic Mathlib.Topology.Algebra.InfiniteSum.Field
51
Mathlib.Analysis.Normed.Group.Int 100
Mathlib.Analysis.Normed.Group.Bounded Mathlib.Analysis.Normed.Group.CocompactMap 104
Mathlib.Analysis.Normed.Group.Submodule 112
Mathlib.Analysis.Normed.Group.Constructions Mathlib.Analysis.NormedSpace.MStructure 114
5 files Mathlib.Analysis.Normed.Group.Basic Mathlib.Analysis.Normed.Order.Hom.Basic Mathlib.Analysis.Normed.Order.Hom.Ultra Mathlib.Analysis.NormedSpace.IndicatorFunction Mathlib.InformationTheory.Hamming
115

Declarations diff

+ Continuous.enorm'
+ ContinuousAt.enorm'
+ ContinuousOn.enorm'
+ ContinuousWithinAt.enorm'
+ Filter.Tendsto.enorm'
+ NNNorm.toENorm
+ Pi.enorm_single
+ _root_.Real.enorm_rpow_of_nonneg
+ coe_le_enorm
+ coe_lt_enorm
+ continuous_enorm'
+ enorm_abs
+ enorm_coe
+ enorm_div_le
+ enorm_eq
+ enorm_eq_zero'
+ enorm_fderiv_norm_rpow_le
+ enorm_indicator_eq_indicator_enorm
+ enorm_inv
+ enorm_inv'
+ enorm_le_coe
+ enorm_lt_coe
+ enorm_lt_top
+ enorm_mul
+ enorm_mul_le'
+ enorm_ne_top
+ enorm_ne_zero'
+ enorm_norm'
+ enorm_of_nonneg
+ enorm_one
+ enorm_one'
+ enorm_pos'
+ enorm_pow
+ enorm_smul
+ enorm_smul_le
+ le_opENorm
+ nnnorm_norm'
+ norm_norm'
+ ofReal_norm'
+ opENorm_comp_le
+ toReal_enorm'
++ enorm_natCast
- instance {E : Type*} [NNNorm E] : ENorm E
- nnnorm_norm
- norm_norm

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

@jcommelin
Copy link
Copy Markdown
Member

Thanks 🎉

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Jan 23, 2025
mathlib-bors bot pushed a commit that referenced this pull request Jan 23, 2025
These follow the existing `norm` and `nnnorm`.

The large import comes from the fact that we need to import `Topology.Instances.ENNReal` to state `continuous_enorm : Continuous (‖·‖ₑ)`.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 23, 2025

Build failed (retrying...):

mathlib-bors bot pushed a commit that referenced this pull request Jan 23, 2025
These follow the existing `norm` and `nnnorm`.

The large import comes from the fact that we need to import `Topology.Instances.ENNReal` to state `continuous_enorm : Continuous (‖·‖ₑ)`.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 23, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat: more lemmas for enorm [Merged by Bors] - feat: more lemmas for enorm Jan 23, 2025
@mathlib-bors mathlib-bors bot closed this Jan 23, 2025
@mathlib-bors mathlib-bors bot deleted the enorm_lemmas branch January 23, 2025 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

large-import Automatically added label for PRs with a significant increase in transitive imports ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants