Skip to content

[Merged by Bors] - refactor(*): abbreviation for non-dependent FunLike#9833

Closed
Vierkantor wants to merge 7 commits intomasterfrom
non-dependent-FunLike
Closed

[Merged by Bors] - refactor(*): abbreviation for non-dependent FunLike#9833
Vierkantor wants to merge 7 commits intomasterfrom
non-dependent-FunLike

Conversation

@Vierkantor
Copy link
Copy Markdown
Contributor

This follows up from #9785, which renamed FunLike to DFunLike, by introducing a new abbreviation FunLike F α β := DFunLike F α (fun _ => β), to make the non-dependent use of FunLike easier.

I searched for the pattern DFunLike.*fun and DFunLike.*λ in all files to replace expressions of the form DFunLike F α (fun _ => β) with FunLike F α β. I did this everywhere except for extends clauses for two reasons: it would conflict with #8386, and more importantly extends must directly refer to a structure with no unfolding of defs or abbrevs.


Open in Gitpod

This follows up from #9785, which renamed `FunLike` to `DFunLike`,
by introducing a new abbreviation `FunLike F α β := DFunLike F α (fun _ => β)`,
to make the non-dependent use of `FunLike` easier.
@Vierkantor Vierkantor added awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. labels Jan 18, 2024
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Jan 18, 2024
@jcommelin
Copy link
Copy Markdown
Member

Thanks 🎉

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Jan 19, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jan 19, 2024
This follows up from #9785, which renamed `FunLike` to `DFunLike`, by introducing a new abbreviation `FunLike F α β := DFunLike F α (fun _ => β)`, to make the non-dependent use of `FunLike` easier.

I searched for the pattern `DFunLike.*fun` and `DFunLike.*λ` in all files to replace expressions of the form `DFunLike F α (fun _ => β)` with `FunLike F α β`. I did this everywhere except for `extends` clauses for two reasons: it would conflict with #8386, and more importantly `extends` must directly refer to a structure with no unfolding of `def`s or `abbrev`s.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 19, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title refactor(*): abbreviation for non-dependent FunLike [Merged by Bors] - refactor(*): abbreviation for non-dependent FunLike Jan 19, 2024
@mathlib-bors mathlib-bors bot closed this Jan 19, 2024
@mathlib-bors mathlib-bors bot deleted the non-dependent-FunLike branch January 19, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants