Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - refactor(Topology/Constructible): use QuasiSeparatedSpace #21325

Closed
wants to merge 3 commits into from

Conversation

YaelDillies
Copy link
Collaborator

A few lemmas took assumptions of the formIsTopologicalBasis (range b) + ∀ i j, IsCompact (b i ∩ b j). But this is equivalent to the more natural set of assumptions IsTopologicalBasis (range b) + ∀ i, IsCompact (b i) + QuasiSeparatedSpace X.

Also link to Stacks 0069.


Open in Gitpod

A few lemmas took assumptions of the form`IsTopologicalBasis (range b)` +  `∀ i j, IsCompact (b i ∩ b j)`. But this is equivalent to the more natural set of assumptions `IsTopologicalBasis (range b)` + `∀ i, IsCompact (b i)` + `QuasiSeparatedSpace X`.

Also link to [Stacks 0069](https://stacks.math.columbia.edu/tag/0069).
@YaelDillies YaelDillies changed the title refactor(Topology/Constructible): use QuasiSeparatedSpace refactor(Topology/Constructible): use QuasiSeparatedSpace Feb 1, 2025
@github-actions github-actions bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Feb 1, 2025
Copy link

github-actions bot commented Feb 1, 2025

PR summary f0afbe0f4f

Import changes exceeding 2%

% File
+2.48% Mathlib.Topology.Constructible

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.Topology.Constructible 726 744 +18 (+2.48%)
Import changes for all files
Files Import difference
Mathlib.Topology.Constructible 18

Declarations diff

+ IsCompact.inter_of_isOpen
+ QuasiSeparatedSpace.of_isTopologicalBasis

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

@YaelDillies YaelDillies mentioned this pull request Feb 1, 2025
1 task
Copy link
Contributor

@alreadydone alreadydone 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
(this is a recent leaf file so I won't worry about import increase)

Copy link

github-actions bot commented Feb 1, 2025

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

@YaelDillies
Copy link
Collaborator Author

I think it would make sense to split the file to avoid the import increase, but at this point in time it feels premature and I would rather wait to see what a meaningful split would be.

Copy link
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 🎉

If CI passes, please remove the label awaiting-CI and merge this yourself, by adding a comment bors r+.

bors d+

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Feb 3, 2025

✌️ YaelDillies can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@YaelDillies
Copy link
Collaborator Author

CI already passes 😁

bors merge

mathlib-bors bot pushed a commit that referenced this pull request Feb 3, 2025
A few lemmas took assumptions of the form`IsTopologicalBasis (range b)` +  `∀ i j, IsCompact (b i ∩ b j)`. But this is equivalent to the more natural set of assumptions `IsTopologicalBasis (range b)` + `∀ i, IsCompact (b i)` + `QuasiSeparatedSpace X`.

Also link to [Stacks 0069](https://stacks.math.columbia.edu/tag/0069).
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Feb 3, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title refactor(Topology/Constructible): use QuasiSeparatedSpace [Merged by Bors] - refactor(Topology/Constructible): use QuasiSeparatedSpace Feb 3, 2025
@mathlib-bors mathlib-bors bot closed this Feb 3, 2025
@mathlib-bors mathlib-bors bot deleted the constructible_quasi_separated branch February 3, 2025 08:01
YaelDillies added a commit that referenced this pull request Feb 3, 2025
Also golf the `QuasiSeparatedSpace` instance for affine schemes (the common proof was abstracted out i #21325) and prove that open sets are retrocompact iff they are compact (this should eventually become a lemma about spectral spaces).
jt496 pushed a commit that referenced this pull request Feb 3, 2025
A few lemmas took assumptions of the form`IsTopologicalBasis (range b)` +  `∀ i j, IsCompact (b i ∩ b j)`. But this is equivalent to the more natural set of assumptions `IsTopologicalBasis (range b)` + `∀ i, IsCompact (b i)` + `QuasiSeparatedSpace X`.

Also link to [Stacks 0069](https://stacks.math.columbia.edu/tag/0069).
mathlib-bors bot pushed a commit that referenced this pull request Feb 4, 2025
Also golf the `QuasiSeparatedSpace` instance for affine schemes (the common proof was abstracted out in #21325) and prove that open sets are retrocompact iff they are compact (this should eventually become a lemma about spectral spaces).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated large-import Automatically added label for PRs with a significant increase in transitive imports
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants