Skip to content

[Merged by Bors] - chore: remove "CoeFun -> FunLike" porting/adaptation notes#17871

Closed
Vierkantor wants to merge 1 commit intomasterfrom
remove-CoeFun-porting-notes
Closed

[Merged by Bors] - chore: remove "CoeFun -> FunLike" porting/adaptation notes#17871
Vierkantor wants to merge 1 commit intomasterfrom
remove-CoeFun-porting-notes

Conversation

@Vierkantor
Copy link
Copy Markdown
Contributor

We prefer FunLike over CoeFun if possible, so we don't care that we made that change during the port.

See also #17870 for applying the change that was porting noted consistently across the entirety of Mathlib.


Open in Gitpod

We prefer `FunLike` over `CoeFun` if possible, so we don't care that we made that change during the port.

See also #17870 for applying the change that was porting noted consistently across the entirety of Mathlib.
@Vierkantor Vierkantor added porting-notes Mathlib3 to Mathlib4 porting notes. tech debt Tracking cross-cutting technical debt, see e.g. the "Technical debt counters" stream on zulip labels Oct 17, 2024
@github-actions
Copy link
Copy Markdown

PR summary b8dda95b6d

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

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.

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.

Thanks 🎉

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Oct 17, 2024
mathlib-bors bot pushed a commit that referenced this pull request Oct 17, 2024
We prefer `FunLike` over `CoeFun` if possible, so we don't care that we made that change during the port.

See also #17870 for applying the change that was porting noted consistently across the entirety of Mathlib.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Oct 17, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: remove "CoeFun -> FunLike" porting/adaptation notes [Merged by Bors] - chore: remove "CoeFun -> FunLike" porting/adaptation notes Oct 17, 2024
@mathlib-bors mathlib-bors bot closed this Oct 17, 2024
@mathlib-bors mathlib-bors bot deleted the remove-CoeFun-porting-notes branch October 17, 2024 15:03
mathlib-bors bot pushed a commit that referenced this pull request Oct 22, 2024
During the port we found that `FunLike` is robust enough not to need an extra `CoeFun` shortcut. Let's see if that rule can be consistently applied to the whole of the library.

There is still duplication between `FunLike` and `CoeFun` for `Grp`, `Mon`, `CommGrp` and `CommMon`, which will need a more thorough fix. See also #17866.

There is also a shortcut instance that we need for speed reasons: `SemilinearIsometry.instCoeFun`. I don't know why this is so performance-sensitive but the benchmarks tell us that it is.

See also #17871 for removing porting notes and comments where this change happened earlier on.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

porting-notes Mathlib3 to Mathlib4 porting notes. ready-to-merge This PR has been sent to bors. tech debt Tracking cross-cutting technical debt, see e.g. the "Technical debt counters" stream on zulip

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants