Skip to content

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

Closed
Vierkantor wants to merge 7 commits into
masterfrom
data_quot
Closed

Vierkantor wants to merge 7 commits into
masterfrom
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.

Comment thread Mathlib/Data/Quot.lean Resolved
@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

kim-em commented Nov 10, 2022

Copy link
Copy Markdown
Contributor

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 <[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 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 <[email protected]>
Co-authored-by: David Renshaw <[email protected]>
Co-authored-by: Scott Morrison <[email protected]>
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]>
Comment thread Mathlib/Data/Quot.lean
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