Skip to content

[Merged by Bors] - feat(Analysis/Normed/Group/Seminorm): define SupSet instances - #32841

Closed
0xTerencePrime wants to merge 2 commits into
leanprover-community:masterfrom
0xTerencePrime:fix/seminorm-todo
Closed

0xTerencePrime wants to merge 2 commits into
leanprover-community:masterfrom
0xTerencePrime:fix/seminorm-todo

Conversation

@0xTerencePrime

@0xTerencePrime 0xTerencePrime commented Dec 13, 2025 •

Copy link
Copy Markdown
Contributor

Define SupSet instances for GroupSeminorm and NonarchAddGroupSeminorm.
For bounded sets, these return the pointwise supremum; for unbounded or empty sets, they return the zero seminorm.
Also add a comment explaining why SupSet is not implemented for GroupNorm.

Addresses part of #7987.

- Add SupSet instance for GroupSeminorm
- Add SupSet instance for NonarchAddGroupSeminorm
- Add explanatory note for GroupNorm (not implemented due to lack of canonical bottom element)

Addresses part of leanprover-community#7987
@github-actions github-actions Bot added the new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! label Dec 13, 2025
@github-actions

github-actions Bot commented Dec 13, 2025 •

Copy link
Copy Markdown

PR summary 45d036c35b

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ instance : SupSet (GroupSeminorm E)
+ instance : SupSet (NonarchAddGroupSeminorm E)
++ coe_iSup_apply
++ coe_sSup_apply
++ coe_sSup_apply'
++ sSup_of_not_bddAbove

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

@github-actions github-actions Bot added the t-analysis Analysis (normed *, calculus) label Dec 13, 2025
@themathqueen themathqueen added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Dec 20, 2025
@0xTerencePrime

Copy link
Copy Markdown
Contributor Author

Thanks for the suggestions! I've applied them and golfed the proofs.

@themathqueen

themathqueen commented Dec 21, 2025 •

Copy link
Copy Markdown
Member

Can you please also rewrite the PR top post/details (whatever it's called)? You don't need to include headings, verification, or any of that. It should just be clear and concise. Please see other PRs as an example.

Everything before the --- will be in the commit message, so that's why.

@0xTerencePrime

Copy link
Copy Markdown
Contributor Author

I have updated the PR description to be concise as requested. Thank you!

@themathqueen themathqueen removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Dec 22, 2025
@sgouezel sgouezel removed their assignment Dec 25, 2025
@j-loreaux j-loreaux added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Dec 30, 2025
@0xTerencePrime

Copy link
Copy Markdown
Contributor Author

-awaiting-author

Done. Refactored the instances to use where and gcongr, added the suggested helper lemmas, and fixed the note.

@github-actions github-actions Bot removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Jan 1, 2026

@j-loreaux j-loreaux left a comment

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.

bors merge

mathlib-bors Bot pushed a commit that referenced this pull request Jan 6, 2026
Define `SupSet` instances for `GroupSeminorm` and `NonarchAddGroupSeminorm`.
For bounded sets, these return the pointwise supremum; for unbounded or empty sets, they return the zero seminorm.
Also add a comment explaining why `SupSet` is not implemented for `GroupNorm`.

Addresses part of #7987.

Co-authored-by: 0xTerencePrime <[email protected]>
@ghost ghost added the ready-to-merge This PR has been sent to bors. label Jan 6, 2026
@mathlib-bors

mathlib-bors Bot commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(Analysis/Normed/Group/Seminorm): define SupSet instances [Merged by Bors] - feat(Analysis/Normed/Group/Seminorm): define SupSet instances Jan 6, 2026
@mathlib-bors mathlib-bors Bot closed this Jan 6, 2026
@github-actions github-actions Bot mentioned this pull request Jan 16, 2026
goliath-klein pushed a commit to PrParadoxy/mathlib4 that referenced this pull request Jan 24, 2026
…over-community#32841)

Define `SupSet` instances for `GroupSeminorm` and `NonarchAddGroupSeminorm`.
For bounded sets, these return the pointwise supremum; for unbounded or empty sets, they return the zero seminorm.
Also add a comment explaining why `SupSet` is not implemented for `GroupNorm`.

Addresses part of leanprover-community#7987.

Co-authored-by: 0xTerencePrime <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-contributor This PR was made by a contributor with at most 5 merged PRs. Welcome to the community! 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.

4 participants