Skip to content

[Merged by Bors] - chore: Rename UniformInducing to IsUniformInducing - #17398

Closed
YaelDillies wants to merge 3 commits into
masterfrom
rename_uniform_inducing
Closed

YaelDillies wants to merge 3 commits into
masterfrom
rename_uniform_inducing

Conversation

@YaelDillies

@YaelDillies YaelDillies commented Oct 4, 2024 •

Copy link
Copy Markdown
Contributor

Function.Embedding is a type while Embedding is a proposition, and there are many other kinds of embeddings than topological embeddings. Hence this PR is a step towards

  1. renaming Embedding to IsEmbedding and similarly for neighborhing declarations (which UniformInducing is)
  2. namespacing it inside Topology

Zulip. See #15993 for context.


Open in Gitpod

@github-actions

github-actions Bot commented Oct 4, 2024 •

Copy link
Copy Markdown

PR summary 4f895c9eb6

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ Equicontinuous.isUniformInducing_uniformFun_iff_pi
+ EquicontinuousOn.isUniformInducing_uniformOnFun_iff_pi
+ EquicontinuousOn.isUniformInducing_uniformOnFun_iff_pi'
+ Equiv.toUniformEquivOfIsUniformInducing
+ Filter.HasBasis.isUniformInducing_iff
+ IsUniformEmbedding.isUniformInducing
+ IsUniformInducing
+ IsUniformInducing.basis_uniformity
+ IsUniformInducing.cauchy_map_iff
+ IsUniformInducing.comapPseudoMetricSpace
+ IsUniformInducing.comp
+ IsUniformInducing.completableTopField
+ IsUniformInducing.completeSpace
+ IsUniformInducing.completeSpace_congr
+ IsUniformInducing.equicontinuousAt_iff
+ IsUniformInducing.equicontinuousOn_iff
+ IsUniformInducing.equicontinuousWithinAt_iff
+ IsUniformInducing.equicontinuous_iff
+ IsUniformInducing.id
+ IsUniformInducing.inducing
+ IsUniformInducing.injective
+ IsUniformInducing.isComplete_iff
+ IsUniformInducing.isComplete_range
+ IsUniformInducing.isDenseInducing
+ IsUniformInducing.isUniformEmbedding
+ IsUniformInducing.isUniformInducing_comp_iff
+ IsUniformInducing.mk'
+ IsUniformInducing.of_comp
+ IsUniformInducing.of_comp_iff
+ IsUniformInducing.prod
+ IsUniformInducing.uniformContinuous
+ IsUniformInducing.uniformContinuousConstSMul
+ IsUniformInducing.uniformContinuousOn_iff
+ IsUniformInducing.uniformContinuous_iff
+ IsUniformInducing.uniformEmbedding
+ IsUniformInducing.uniformEquicontinuousOn_iff
+ IsUniformInducing.uniformEquicontinuous_iff
+ IsUniformInducing.uniformGroup
+ SeparationQuotient.isUniformInducing_mk
+ UniformInducing.comap_uniformSpace
+ closure_image_mem_nhds_of_isUniformInducing
+ isUniformEmbedding_iff_isUniformInducing
+ isUniformInducing_coe
+ isUniformInducing_comp
+ isUniformInducing_equivBoundedOfCompact
+ isUniformInducing_iff'
+ isUniformInducing_iff_uniformSpace
+ isUniformInducing_pureCauchy
+ isUniformInducing_toContinuousMap
+ outCLM_isUniformInducing
+ uniformEmbedding_iff_isUniformInducing
+ ⟨IsUniformInducing.comap_uniformSpace,
++ isUniformInducing_iff
++ postcomp_isUniformInducing
+++++ isUniformInducing
++++++----- uniformInducing
++-- postcomp_uniformInducing
++-- uniformInducing_iff
- Equiv.toUniformEquivOfUniformInducing
- UniformInducing.completableTopField
- UniformInducing.uniformEmbedding
- uniformEmbedding_iff_uniformInducing
- ⟨UniformInducing.comap_uniformSpace,

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.

@YaelDillies YaelDillies added awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. t-topology Topological spaces, uniform spaces, metric spaces, filters labels Oct 4, 2024
@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 Oct 4, 2024
@YaelDillies
YaelDillies force-pushed the rename_uniform_inducing branch from b8da38d to c8245d2 Compare October 5, 2024 20:46
@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Oct 7, 2024
`Function.Embedding` is a type while `Embedding` is a proposition, and there are many other kinds of embeddings than topological embeddings. Hence this PR is a step towards
1. renaming `Embedding` to `IsEmbedding` and similarly for neighborhing declarations (which `UniformInducing` is)
2. namespacing it inside `Topology`

[Zulip](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/rename.20.60Inducing.60.20and.20.60Embedding.60.3F). See #15993 for context.
@YaelDillies
YaelDillies force-pushed the rename_uniform_inducing branch from b7d5f40 to fe5b5c8 Compare October 8, 2024 05:04
@leanprover-community-bot-assistant leanprover-community-bot-assistant removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Oct 8, 2024

@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 d+

separation : T0Space space
/-- The map into the completion is uniform-inducing. -/
uniformInducing : UniformInducing coe
isUniformInducing : IsUniformInducing coe

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 realize this is a structure field. Do we provide deprecations for these? It seems less necessary because Lean should normally be able to tell the user what the problem is.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Doesn't cost much to add it, so I've added it.

cc @adomani if you want to modify the script to account for structure field renames

@mathlib-bors

mathlib-bors Bot commented Oct 8, 2024

Copy link
Copy Markdown
Contributor

✌️ 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.

@ghost ghost added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Oct 8, 2024
@YaelDillies

Copy link
Copy Markdown
Contributor Author

bors merge

mathlib-bors Bot pushed a commit that referenced this pull request Oct 8, 2024
`Function.Embedding` is a type while `Embedding` is a proposition, and there are many other kinds of embeddings than topological embeddings. Hence this PR is a step towards
1. renaming `Embedding` to `IsEmbedding` and similarly for neighborhing declarations (which `UniformInducing` is)
2. namespacing it inside `Topology`

[Zulip](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/rename.20.60Inducing.60.20and.20.60Embedding.60.3F). See #15993 for context.
@mathlib-bors

mathlib-bors Bot commented Oct 8, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore: Rename UniformInducing to IsUniformInducing [Merged by Bors] - chore: Rename UniformInducing to IsUniformInducing Oct 8, 2024
@mathlib-bors mathlib-bors Bot closed this Oct 8, 2024
@mathlib-bors
mathlib-bors Bot deleted the rename_uniform_inducing branch October 8, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). t-topology Topological spaces, uniform spaces, metric spaces, filters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants