Skip to content

[Merged by Bors] - feat: the maximal atlas is closed under restriction#28701

Closed
grunweg wants to merge 7 commits intoleanprover-community:masterfrom
grunweg:restr-memmaxatlas
Closed

[Merged by Bors] - feat: the maximal atlas is closed under restriction#28701
grunweg wants to merge 7 commits intoleanprover-community:masterfrom
grunweg:restr-memmaxatlas

Conversation

@grunweg
Copy link
Copy Markdown
Contributor

@grunweg grunweg commented Aug 20, 2025

If G is a StructureGroupoid that is ClosedUnderRestriction,
if e is a chart in the maximal atlas of G, then so is any restriction e.restr s to an open set s.

In #28793, I will use this to give a more natural constructor for "f is an immersion at x".
From the path towards smooth immersions, embeddings and embedded submanifolds.


Open in Gitpod

@grunweg grunweg added the t-differential-geometry Manifolds etc label Aug 20, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 20, 2025

PR summary cefe7b7756

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ StructureGroupoid.subtypeRestr_mem_maximalAtlas
+ restr_eqOnSource_restr
+ restr_inter_source
+ restr_mem_maximalAtlas
+ restr_symm_trans
+ symm_trans_restr

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.


Increase in tech debt: (relative, absolute) = (2.00, 0.67)
Current number Change Type
3 2 large files

Current commit 0941d88a71
Reference commit cefe7b7756

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

@grunweg grunweg force-pushed the restr-memmaxatlas branch 2 times, most recently from 9e9b266 to 52b53b3 Compare August 23, 2025 07:08
The old name did not follow the naming convention;
when adding restrOpen in the next commit, the distinction starts to matter.
These are analogues to existing lemmas about subtypeRestr, but I want to
use .restr (not .subtypeRestr).
if e is in the maximal atlas, so is e.restr s for any open set s.
Copy link
Copy Markdown
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!

bors d+

Comment on lines +910 to +911
· simp
exact fun ⦃x⦄ ↦ congrFun rfl
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.

Technically this is a non-terminal simp: can you turn it into a simpa using ...?

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.

Good point! In this case, simpa using ... does not work --- but simp is doing way too much anyway. I've pared the squeezed simp down to just a few rewrites I want to do: now, the code is longer, but the change of goal state is (imho) clearer.

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Sep 1, 2025

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

@ghost ghost added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Sep 1, 2025
grunweg and others added 3 commits September 8, 2025 19:04
Co-authored-by: Oliver Nash <7734364+ocfnash@users.noreply.github.com>
@grunweg
Copy link
Copy Markdown
Contributor Author

grunweg commented Sep 8, 2025

Thanks for the review!
bors merge

mathlib-bors bot pushed a commit that referenced this pull request Sep 8, 2025
If `G` is a `StructureGroupoid` that is `ClosedUnderRestriction`,
if `e` is a chart in the maximal atlas of `G`, then so is any restriction `e.restr s` to an open set `s`.

In #28793, I will use this to give a more natural constructor for "f is an immersion at x".
From the path towards smooth immersions, embeddings and embedded submanifolds.

Co-authored-by: Michael Rothgang <rothgang@math.uni-bonn.de>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Sep 8, 2025

Build failed (retrying...):

@bryangingechen
Copy link
Copy Markdown
Contributor

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Sep 8, 2025

Canceled.

@ghost ghost removed the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Sep 8, 2025
@grunweg
Copy link
Copy Markdown
Contributor Author

grunweg commented Sep 8, 2025

Thanks! Fixed now.
bors merge

mathlib-bors bot pushed a commit that referenced this pull request Sep 8, 2025
If `G` is a `StructureGroupoid` that is `ClosedUnderRestriction`,
if `e` is a chart in the maximal atlas of `G`, then so is any restriction `e.restr s` to an open set `s`.

In #28793, I will use this to give a more natural constructor for "f is an immersion at x".
From the path towards smooth immersions, embeddings and embedded submanifolds.

Co-authored-by: Michael Rothgang <rothgang@math.uni-bonn.de>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Sep 8, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat: the maximal atlas is closed under restriction [Merged by Bors] - feat: the maximal atlas is closed under restriction Sep 8, 2025
@mathlib-bors mathlib-bors bot closed this Sep 8, 2025
@grunweg grunweg deleted the restr-memmaxatlas branch September 8, 2025 20:18
yuanyi-350 pushed a commit to yuanyi-350/yuanyi_mathlib4 that referenced this pull request Sep 10, 2025
…nity#28701)

If `G` is a `StructureGroupoid` that is `ClosedUnderRestriction`,
if `e` is a chart in the maximal atlas of `G`, then so is any restriction `e.restr s` to an open set `s`.

In leanprover-community#28793, I will use this to give a more natural constructor for "f is an immersion at x".
From the path towards smooth immersions, embeddings and embedded submanifolds.

Co-authored-by: Michael Rothgang <rothgang@math.uni-bonn.de>
robertmaxton42 pushed a commit to robertmaxton42/mathlib4 that referenced this pull request Sep 11, 2025
…nity#28701)

If `G` is a `StructureGroupoid` that is `ClosedUnderRestriction`,
if `e` is a chart in the maximal atlas of `G`, then so is any restriction `e.restr s` to an open set `s`.

In leanprover-community#28793, I will use this to give a more natural constructor for "f is an immersion at x".
From the path towards smooth immersions, embeddings and embedded submanifolds.

Co-authored-by: Michael Rothgang <rothgang@math.uni-bonn.de>
joelriou pushed a commit to joelriou/mathlib4 that referenced this pull request Oct 2, 2025
…nity#28701)

If `G` is a `StructureGroupoid` that is `ClosedUnderRestriction`,
if `e` is a chart in the maximal atlas of `G`, then so is any restriction `e.restr s` to an open set `s`.

In leanprover-community#28793, I will use this to give a more natural constructor for "f is an immersion at x".
From the path towards smooth immersions, embeddings and embedded submanifolds.

Co-authored-by: Michael Rothgang <rothgang@math.uni-bonn.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants