Skip to content

[Merged by Bors] - feat(Topology/ContinuousMap/CompactlySupported): add partialOrder#21206

Closed
yoh-tanimoto wants to merge 23 commits intomasterfrom
yoh-tanimoto-C_c_partialorder
Closed

[Merged by Bors] - feat(Topology/ContinuousMap/CompactlySupported): add partialOrder#21206
yoh-tanimoto wants to merge 23 commits intomasterfrom
yoh-tanimoto-C_c_partialorder

Conversation

@yoh-tanimoto
Copy link
Copy Markdown
Collaborator

@yoh-tanimoto yoh-tanimoto commented Jan 29, 2025

Add instance : PartialOrder C_c(α, β) using pointwise PartialOrder β, following ContinuousMap.partialOrder


Split from #20040

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 29, 2025

PR summary 77fb1c6fee

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Topology.ContinuousMap.CompactlySupported 1493 1495 +2 (+0.13%)
Import changes for all files
Files Import difference
Mathlib.MeasureTheory.Integral.RieszMarkovKakutani 1
Mathlib.Topology.ContinuousMap.CompactlySupported 2
Mathlib.Topology.Algebra.Order.Support (new file) 715

Declarations diff

+ HasCompactMulSupport.inf
+ HasCompactMulSupport.sup
+ coe_finsetInf'
+ coe_finsetSup'
+ coe_inf
+ coe_sup
+ finsetInf'_apply
+ finsetSup'_apply
+ inf_apply
+ instInf
+ instSup
+ instance [Lattice β] [TopologicalSpace β] [TopologicalLattice β] [Zero β] :
+ le_def
+ lt_def
+ partialOrder
+ semilatticeInf
+ semilatticeSup
+ sup_apply

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

Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

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

Thank you for splitting! Could you prove things of the form "If β is a lattice, then so is C_c(α, β)"?

@YaelDillies YaelDillies added the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 29, 2025
yoh-tanimoto and others added 3 commits January 30, 2025 00:26
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
@yoh-tanimoto yoh-tanimoto added awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. and removed awaiting-author A reviewer has asked the author a question or requested changes. labels Jan 30, 2025
@yoh-tanimoto
Copy link
Copy Markdown
Collaborator Author

I thought the lemmas HasCompactSupport.sup and inf should be in the file Mathlib.Topology.Algebra.Support, but I couldn't because of the effects of the import elsewhere. So I put them here temporarily.

@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Jan 30, 2025
@YaelDillies YaelDillies added the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 30, 2025
yoh-tanimoto and others added 7 commits January 31, 2025 01:02
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
@yoh-tanimoto yoh-tanimoto added awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. and removed awaiting-author A reviewer has asked the author a question or requested changes. labels Jan 31, 2025
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Jan 31, 2025
@YaelDillies YaelDillies added the awaiting-author A reviewer has asked the author a question or requested changes. label Jan 31, 2025
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
yoh-tanimoto and others added 4 commits February 2, 2025 02:04
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
@yoh-tanimoto yoh-tanimoto added awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. and removed awaiting-author A reviewer has asked the author a question or requested changes. labels Feb 2, 2025
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Feb 2, 2025
yoh-tanimoto and others added 3 commits February 2, 2025 13:11
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Comment on lines +20 to +21
* We do not put the definitions in the `Function` namespace, following many other topological
definitions that are in the root namespace (compare `Embedding` vs `Function.Embedding`).
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.

That's outdated. They are in the Topology namespace. Probably just remove this bullet point entirely (and unbullet the first point (if we even care about it? to_additive is already explained in many places, I don't think we need to duplicate the documentation)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I removed both points.

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.

I'm fixing the module doc you got that from in #21345

Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

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

Thanks! 🚀

maintainer merge

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 2, 2025

🚀 Pull request has been placed on the maintainer queue by YaelDillies.

@github-actions github-actions bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Feb 2, 2025
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 ready-to-merge This PR has been sent to bors. and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Feb 3, 2025
mathlib-bors bot pushed a commit that referenced this pull request Feb 3, 2025
…21206)

Add `instance : PartialOrder C_c(α, β)` using pointwise `PartialOrder β`, following [ContinuousMap.partialOrder](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Topology/ContinuousMap/Ordered.html#ContinuousMap.partialOrder)



Co-authored-by: Yoh Tanimoto <57562556+yoh-tanimoto@users.noreply.github.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Feb 3, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(Topology/ContinuousMap/CompactlySupported): add partialOrder [Merged by Bors] - feat(Topology/ContinuousMap/CompactlySupported): add partialOrder Feb 3, 2025
@mathlib-bors mathlib-bors bot closed this Feb 3, 2025
@mathlib-bors mathlib-bors bot deleted the yoh-tanimoto-C_c_partialorder branch February 3, 2025 08:01
jt496 pushed a commit that referenced this pull request Feb 3, 2025
…21206)

Add `instance : PartialOrder C_c(α, β)` using pointwise `PartialOrder β`, following [ContinuousMap.partialOrder](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Topology/ContinuousMap/Ordered.html#ContinuousMap.partialOrder)



Co-authored-by: Yoh Tanimoto <57562556+yoh-tanimoto@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-topology Topological spaces, uniform spaces, metric spaces, filters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants