Skip to content

[Merged by Bors] - feat: port of Data.FunLike - #541

Closed
kim-em wants to merge 7 commits into
masterfrom
fun_like
Closed

kim-em wants to merge 7 commits into
masterfrom
fun_like

Conversation

@kim-em

@kim-em kim-em commented Nov 6, 2022

Copy link
Copy Markdown
Contributor

This is a very naive port of data.fun_like. I've never really engaged with this classes in mathlib3, and I haven't attempted to think about how they might work in Lean 4...

This PR is really just provocation, hoping that @Vierkantor may come and have a look. :-)

@kim-em kim-em mentioned this pull request Nov 7, 2022
2 tasks done
@Vierkantor

Copy link
Copy Markdown
Contributor

Going through a few reviews at the moment, and then I'll take a look at this and #550 :)

@Vierkantor Vierkantor 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.

With my current knowledge of Lean 4 I think this port in good shape, and it seems to work well for equiv, but I'm sure we'll run into some annoying detail once we get into more complicated stuff like semilinear_map_class.

@gebner

gebner commented Nov 10, 2022

Copy link
Copy Markdown
Member

I've added a commit which registers FunLike.coe as a coercion function so that norm_cast works.

bors d+

@bors

bors Bot commented Nov 10, 2022

Copy link
Copy Markdown

✌️ semorrison can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@kim-em

kim-em commented Nov 10, 2022

Copy link
Copy Markdown
Contributor Author

bors merge

bors Bot pushed a commit that referenced this pull request Nov 10, 2022
This is a very naive port of `data.fun_like`. I've never really engaged with this classes in mathlib3, and I haven't attempted to think about how they might work in Lean 4...

This PR is really just provocation, hoping that @Vierkantor may come and have a look. :-)

Co-authored-by: Scott Morrison <[email protected]>
Co-authored-by: Vierkantor <[email protected]>
Co-authored-by: Gabriel Ebner <[email protected]>
@bors

bors Bot commented Nov 10, 2022

Copy link
Copy Markdown

Pull request successfully merged into master.

Build succeeded:

@bors bors Bot changed the title feat: port of Data.FunLike [Merged by Bors] - feat: port of Data.FunLike Nov 10, 2022
@bors bors Bot closed this Nov 10, 2022
@bors
bors Bot deleted the fun_like branch November 10, 2022 22:52
bors Bot pushed a commit that referenced this pull request Nov 18, 2022
mathlib3 sha: 7951ed37deb3b2923a6f47d9bdcb4d69a8703550

~~Waiting on the release of [nightly-2022-11-17](https://github.com/leanprover/lean4-nightly/releases/tag/nightly-2022-11-17).~~

- [x] depends on: #541
- [x] depends on: #559

Co-authored-by: Scott Morrison <[email protected]>
Co-authored-by: Vierkantor <[email protected]>
Co-authored-by: Anne Baanen <[email protected]>
Co-authored-by: David Wärn <[email protected]>
Co-authored-by: Yakov Pechersky <[email protected]>
Co-authored-by: Ruben Van de Velde <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants