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] - feat: lemmas about partitions of unity #9635

Closed
wants to merge 3 commits into from

Conversation

grunweg
Copy link
Collaborator

@grunweg grunweg commented Jan 10, 2024

  • add finsupport: the support (the set of indices which functions are non-vanishing) at a point, as a Finset
  • every point has a neighbourhood on which only finitely many functions are non-vanishing

From sphere-eversion; I'm just upstreaming results.

@grunweg grunweg added awaiting-review The author would like community review of the PR t-differential-geometry Manifolds etc t-topology Topological spaces, uniform spaces, metric spaces, filters labels Jan 10, 2024
Copy link
Contributor

@ocfnash ocfnash left a comment

Choose a reason for hiding this comment

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

Thanks!

Please feel free to merge after applying the suggestions.

bors d+

Mathlib/Topology/PartitionOfUnity.lean Outdated Show resolved Hide resolved
simp only [finsupport, mem_support, Finite.mem_toFinset, mem_setOf_eq]

theorem sum_finsupport {s : Set X} (ρ : PartitionOfUnity ι X s) {x₀ : X}
(hx₀ : x₀ ∈ s := by trivial) :
Copy link
Contributor

Choose a reason for hiding this comment

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

I like this idea but we don't do it elsewhere in the library so I'd leave it out for now

Suggested change
(hx₀ : x₀ ∈ s := by trivial) :
(hx₀ : x₀ ∈ s) :

and raise it in Zulip if you're interested enough

Comment on lines 178 to 179
/-- The support of a partition of unity at a point `x₀`
(i.e., the set of `i` such that `f i` doesn't vanish at `x₀`), as a `Finset`. -/
Copy link
Contributor

Choose a reason for hiding this comment

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

We prefer whitespace after a section heading. Also this comment is a bit of a mouthful. Finally, every def / theorem in this section has the same arguments so let's use variables. Thus how about:

Suggested change
/-- The support of a partition of unity at a point `x₀`
(i.e., the set of `i` such that `f i` doesn't vanish at `x₀`), as a `Finset`. -/
variable {s : Set X} (ρ : PartitionOfUnity ι X s) (x₀ : X)
/-- The support of a partition of unity at a point `x₀` as a `Finset`. -/

and then I guess you'll need to add:

variable {x₀}

in between mem_finsupport and sum_finsupport.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changed. The explanation of "support" felt helpful to me, hence I had added it. I have demoted it to a parenthetical now.

Mathlib/Topology/PartitionOfUnity.lean Outdated Show resolved Hide resolved
Mathlib/Topology/PartitionOfUnity.lean Outdated Show resolved Hide resolved
Mathlib/Topology/PartitionOfUnity.lean Outdated Show resolved Hide resolved
Mathlib/Topology/PartitionOfUnity.lean Outdated Show resolved Hide resolved
Mathlib/Topology/PartitionOfUnity.lean Show resolved Hide resolved
Mathlib/Topology/PartitionOfUnity.lean Outdated Show resolved Hide resolved
Mathlib/Topology/PartitionOfUnity.lean Outdated Show resolved Hide resolved
@mathlib-bors
Copy link

mathlib-bors bot commented Jan 16, 2024

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

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added delegated and removed awaiting-review The author would like community review of the PR labels Jan 16, 2024
@grunweg
Copy link
Collaborator Author

grunweg commented Jan 16, 2024

Thanks for the review!
bors r+

mathlib-bors bot pushed a commit that referenced this pull request Jan 16, 2024
- add `finsupport`: the support (the set of indices which functions are non-vanishing) at a point, as a `Finset`
- every point has a neighbourhood on which only finitely many functions are non-vanishing

From sphere-eversion; I'm just upstreaming results.
@mathlib-bors
Copy link

mathlib-bors bot commented Jan 16, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat: lemmas about partitions of unity [Merged by Bors] - feat: lemmas about partitions of unity Jan 16, 2024
@mathlib-bors mathlib-bors bot closed this Jan 16, 2024
@mathlib-bors mathlib-bors bot deleted the MR-partition-of-unity branch January 16, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated t-differential-geometry Manifolds etc t-topology Topological spaces, uniform spaces, metric spaces, filters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants