Skip to content

[Merged by Bors] - chore(Topology): golf, move#13935

Closed
urkud wants to merge 1 commit intomasterfrom
YK-nhdsWithin-golf
Closed

[Merged by Bors] - chore(Topology): golf, move#13935
urkud wants to merge 1 commit intomasterfrom
YK-nhdsWithin-golf

Conversation

@urkud
Copy link
Copy Markdown
Member

@urkud urkud commented Jun 18, 2024

Golf and move Prod.instNeBotNhdsWithinIio etc.


Open in Gitpod

Golf and move `Prod.instNeBotNhdsWithinIio` etc.
@urkud urkud added awaiting-review t-topology Topological spaces, uniform spaces, metric spaces, filters labels Jun 18, 2024
@github-actions
Copy link
Copy Markdown

PR summary fdf0346e6e

Import changes

No significant changes to the import graph


Declarations diff

+ instNeBotNhdsWithinUnivPi

You can run this locally as follows
## summary with just the declaration names:
./scripts/no_lost_declarations.sh short <optional_commit>

## more verbose report:
./scripts/no_lost_declarations.sh <optional_commit>

Copy link
Copy Markdown
Contributor

@grunweg grunweg 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 doing this - the changes look good to me!
maintainer merge

exact forall₂_congr fun U _ ↦
⟨fun h ↦ h (mem_principal_self _), fun h u hsu ↦ h.mono $ inter_subset_inter_right _ hsu⟩

@[gcongr]
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.

For other reviewers: this was just moved (and the gcongr tag is new).

simp [neBot_iff, nhdsWithin_pi_eq_bot]
#align nhds_within_pi_ne_bot nhdsWithin_pi_neBot

instance instNeBotNhdsWithinUnivPi {s : ∀ i, Set (π i)} {x : ∀ i, π i}
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.

This instance is new.

[∀ i, (𝓝[s i] x i).NeBot] : (𝓝[pi univ s] x).NeBot := by
simpa [nhdsWithin_pi_neBot]

instance Pi.instNeBotNhdsWithinIio [Nonempty ι] [∀ i, Preorder (π i)] {x : ∀ i, π i}
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.

And these proofs are golfed (nice!).

@github-actions
Copy link
Copy Markdown

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

@github-actions github-actions bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jun 18, 2024
@github-actions
Copy link
Copy Markdown

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

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.

bors merge

@ghost ghost added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Jun 19, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jun 19, 2024
Golf and move `Prod.instNeBotNhdsWithinIio` etc.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jun 19, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(Topology): golf, move [Merged by Bors] - chore(Topology): golf, move Jun 19, 2024
@mathlib-bors mathlib-bors bot closed this Jun 19, 2024
@mathlib-bors mathlib-bors bot deleted the YK-nhdsWithin-golf branch June 19, 2024 10:33
AntoineChambert-Loir pushed a commit that referenced this pull request Jun 20, 2024
Golf and move `Prod.instNeBotNhdsWithinIio` etc.
grunweg pushed a commit that referenced this pull request Jun 20, 2024
Golf and move `Prod.instNeBotNhdsWithinIio` etc.
kbuzzard pushed a commit that referenced this pull request Jun 26, 2024
Golf and move `Prod.instNeBotNhdsWithinIio` etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. 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