Skip to content

[Merged by Bors] - feat: port Data.Quot#559

Closed
Vierkantor wants to merge 7 commits intomasterfrom
data_quot
Closed

[Merged by Bors] - feat: port Data.Quot#559
Vierkantor wants to merge 7 commits intomasterfrom
data_quot

Conversation

@Vierkantor
Copy link
Copy Markdown
Contributor

This is my first PR to mathlib4 so please check carefully!

This PR ports data.quot and the definition of eqv_gen from core Lean 3.

@Vierkantor Vierkantor added the help-wanted The author needs attention to resolve issues label Nov 9, 2022
@kbuzzard
Copy link
Copy Markdown
Member

Note that this PR crashes a linter, so we need help here.

@kim-em
Copy link
Copy Markdown
Contributor

kim-em commented Nov 10, 2022

bors merge

bors bot pushed a commit that referenced this pull request Nov 10, 2022
This is my first PR to mathlib4 so please check carefully!

This PR ports `data.quot` and the definition of `eqv_gen` from core Lean 3.

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@bors
Copy link
Copy Markdown

bors bot commented Nov 10, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat: port Data.Quot [Merged by Bors] - feat: port Data.Quot Nov 10, 2022
@bors bors bot closed this Nov 10, 2022
@bors bors bot deleted the data_quot branch November 10, 2022 23:41
bors bot pushed a commit that referenced this pull request Nov 16, 2022
mathlib3 sha: 5ca6e9d2bb25feeebdefe9bd9de163897bdecd05

Relatively straightforward.

Depends on ~~#559 (`EqvGen`)~~ and ~~#561 (`mk-iffs` attribute)~~

Co-authored-by: Vierkantor <vierkantor@vierkantor.com>
Co-authored-by: David Renshaw <dwrenshaw@gmail.com>
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
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 <scott.morrison@gmail.com>
Co-authored-by: Vierkantor <vierkantor@vierkantor.com>
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
Co-authored-by: David Wärn <codwarn@gmail.com>
Co-authored-by: Yakov Pechersky <ypechersky@treeline.bio>
Co-authored-by: Ruben Van de Velde <65514131+Ruben-VandeVelde@users.noreply.github.com>
variable {φ : Quotient sa → Quotient sb → Sort _}

@[inherit_doc]
notation:arg "⟦" a "⟧" => Quotient.mk _ a
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.

Did you mean to change the meaning of this notation from mathlib3? It used to use what's now called Quotient.mk', which takes the setoid as an instance argument, but this notation now only works if it can get the setoid instance from the expected type.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I recall changing some Quotient.mk's to mks because instance inference didn't work well (at least, back then). Perhaps now it is safe to turn it into mk' again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help-wanted The author needs attention to resolve issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants