Skip to content

[Merged by Bors] - chore(Geometry): remove a few porting notes#12061

Closed
grunweg wants to merge 3 commits intomasterfrom
MR-porting-notes-geometry
Closed

[Merged by Bors] - chore(Geometry): remove a few porting notes#12061
grunweg wants to merge 3 commits intomasterfrom
MR-porting-notes-geometry

Conversation

@grunweg
Copy link
Copy Markdown
Contributor

@grunweg grunweg commented Apr 11, 2024

In all cases, the original proof fixed itself.


I haven't tried to track down why.

The proof mem_smoothFiberwiseLinear_iff seemingly still requires mem_aux; I'm not quite sure why.

Open in Gitpod

@grunweg grunweg added awaiting-review t-differential-geometry Manifolds etc porting-notes Mathlib3 to Mathlib4 porting notes. labels Apr 11, 2024
@grunweg
Copy link
Copy Markdown
Contributor Author

grunweg commented Apr 11, 2024

Inspired by #12059.

Copy link
Copy Markdown
Contributor

@Ruben-VandeVelde Ruben-VandeVelde left a comment

Choose a reason for hiding this comment

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

maintainer merge

@github-actions
Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by Ruben-VandeVelde.

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

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Apr 11, 2024
mathlib-bors bot pushed a commit that referenced this pull request Apr 11, 2024
In all cases, the original proof fixed itself.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Apr 11, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(Geometry): remove a few porting notes [Merged by Bors] - chore(Geometry): remove a few porting notes Apr 11, 2024
@mathlib-bors mathlib-bors bot closed this Apr 11, 2024
@mathlib-bors mathlib-bors bot deleted the MR-porting-notes-geometry branch April 11, 2024 22:59
xgenereux pushed a commit that referenced this pull request Apr 15, 2024
In all cases, the original proof fixed itself.
atarnoam pushed a commit that referenced this pull request Apr 16, 2024
In all cases, the original proof fixed itself.
uniwuni pushed a commit that referenced this pull request Apr 19, 2024
In all cases, the original proof fixed itself.
callesonne pushed a commit that referenced this pull request Apr 22, 2024
In all cases, the original proof fixed itself.
grunweg added a commit that referenced this pull request Jun 2, 2024
#12061 regressed this file pretty badly; try to speed it up again
mathlib-bors bot pushed a commit that referenced this pull request Jun 10, 2024
#12061 regressed this file pretty badly; speed it up again by mostly reverting a change from that PR, and pushing it further: instead of applying `mem_iUnion` (which is slow), extract a more specialised statement `mem_aux` and use it.

Before these changes, the `profiler` output on `smoothFiberwiseLinear` was
```
simp took 2.01s
tactic execution of Lean.Parser.Tactic.rintro took 103ms
simp took 905ms
simp took 507ms
simp took 1.26s
simp took 1.14s
elaboration took 645ms
```
after these changes, it is
```
simp took 534ms
simp took 183ms
simp took 127ms
simp took 421ms
simp took 365ms
elaboration took 350ms
```
Still not great at all, but deeper fixes require more time and expertise than I currently have.
AntoineChambert-Loir pushed a commit that referenced this pull request Jun 20, 2024
#12061 regressed this file pretty badly; speed it up again by mostly reverting a change from that PR, and pushing it further: instead of applying `mem_iUnion` (which is slow), extract a more specialised statement `mem_aux` and use it.

Before these changes, the `profiler` output on `smoothFiberwiseLinear` was
```
simp took 2.01s
tactic execution of Lean.Parser.Tactic.rintro took 103ms
simp took 905ms
simp took 507ms
simp took 1.26s
simp took 1.14s
elaboration took 645ms
```
after these changes, it is
```
simp took 534ms
simp took 183ms
simp took 127ms
simp took 421ms
simp took 365ms
elaboration took 350ms
```
Still not great at all, but deeper fixes require more time and expertise than I currently have.
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. porting-notes Mathlib3 to Mathlib4 porting notes. ready-to-merge This PR has been sent to bors. t-differential-geometry Manifolds etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants