Skip to content

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

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

grunweg wants to merge 3 commits into
masterfrom
MR-porting-notes-geometry

Conversation

@grunweg

@grunweg grunweg commented Apr 11, 2024 •

Copy link
Copy Markdown
Contributor

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

grunweg commented Apr 11, 2024

Copy link
Copy Markdown
Contributor Author

Inspired by #12059.

@Ruben-VandeVelde Ruben-VandeVelde 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.

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

mathlib-bors Bot commented Apr 11, 2024

Copy link
Copy Markdown
Contributor

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