Skip to content

[Merged by Bors] - feat: Define ENorm notation class#20121

Closed
fpvandoorn wants to merge 4 commits intomasterfrom
fvd/enorm
Closed

[Merged by Bors] - feat: Define ENorm notation class#20121
fpvandoorn wants to merge 4 commits intomasterfrom
fvd/enorm

Conversation

@fpvandoorn
Copy link
Copy Markdown
Member

  • This PR only defines the notation class and two instances, but doesn't use it yet.
  • There is an existing unused definition of ENorm. Since I might use it in the future, I kept it around, but renamed it (and the file) ENormedSpace. I did not modify anything, and didn't add deprecations since it is unused and the main definition now has a different meaning.

Open in Gitpod

Zulip thread

@fpvandoorn fpvandoorn changed the title Define ENorm notation class feat: Define ENorm notation class Dec 20, 2024
@github-actions
Copy link
Copy Markdown

PR summary 02cceee8bc

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.Analysis.NormedSpace.ENorm -1350
Mathlib.Analysis.NormedSpace.ENormedSpace 1350

Declarations diff

+ ENormedSpace
+ enorm_eq_nnnorm
+ enorm_eq_self
+ instance : CoeFun (ENormedSpace 𝕜 V) fun _ => V → ℝ≥0∞
+ instance : ENorm ℝ≥0∞
+ instance : Inhabited (ENormedSpace 𝕜 V)
+ instance : OrderTop (ENormedSpace 𝕜 V)
+ instance : SemilatticeSup (ENormedSpace 𝕜 V)
+ instance : Top (ENormedSpace 𝕜 V)
+ instance {E : Type*} [NNNorm E] : ENorm E
- instance : CoeFun (ENorm 𝕜 V) fun _ => V → ℝ≥0∞
- instance : Inhabited (ENorm 𝕜 V)
- instance : OrderTop (ENorm 𝕜 V)
- instance : SemilatticeSup (ENorm 𝕜 V)
- instance : Top (ENorm 𝕜 V)

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.


Increase in tech debt: (relative, absolute) = (1.00, 0.03)
Current number Change Type
88 1 disabled deprecation lints
63 1 large files

Current commit 02cceee8bc
Reference commit a38db992d0

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

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 Dec 20, 2024
mathlib-bors bot pushed a commit that referenced this pull request Dec 20, 2024
* This PR only defines the notation class and two instances, but doesn't use it yet.
* There is an existing unused definition of `ENorm`. Since I might use it in the future, I kept it around, but renamed it (and the file) `ENormedSpace`. I did not modify anything, and didn't add deprecations since it is unused and the main definition now has a different meaning.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Dec 20, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat: Define ENorm notation class [Merged by Bors] - feat: Define ENorm notation class Dec 20, 2024
@mathlib-bors mathlib-bors bot closed this Dec 20, 2024
@mathlib-bors mathlib-bors bot deleted the fvd/enorm branch December 20, 2024 16:26
@fpvandoorn fpvandoorn added the carleson part of the ongoing formalization of Carleson's theorem label Feb 4, 2025
mathlib-bors bot pushed a commit that referenced this pull request Feb 4, 2025
Extracted from #21375: these lemmas only change the assumption on the co-domain, but not any hypothesis.

This continues the work started in #20121, #20122 and #21306: those PRs generalised the definitions resp. made lemma statements use the enorm. This PR starts generalising the lemmas using those definitions.

This work is part of (and a necessary pre-requisite for) the Carleson project.
pfaffelh pushed a commit that referenced this pull request Feb 7, 2025
Extracted from #21375: these lemmas only change the assumption on the co-domain, but not any hypothesis.

This continues the work started in #20121, #20122 and #21306: those PRs generalised the definitions resp. made lemma statements use the enorm. This PR starts generalising the lemmas using those definitions.

This work is part of (and a necessary pre-requisite for) the Carleson project.
noncomputable section

attribute [local instance] Classical.propDecidable
set_option linter.deprecated false
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@fpvandoorn, why did you add this? I've removed it again in #24001 and everything seems fine.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oh, probably because I was considering deprecating the whole file. Thanks for the fix.

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

Labels

carleson part of the ongoing formalization of Carleson's theorem ready-to-merge This PR has been sent to bors. t-analysis Analysis (normed *, calculus)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants