Skip to content

[Merged by Bors] - feat: port Logic.Relation - #565

Closed
kbuzzard wants to merge 40 commits into
masterfrom
kbuzzard-port-logic-relation
Closed

kbuzzard wants to merge 40 commits into
masterfrom
kbuzzard-port-logic-relation

Conversation

@kbuzzard

@kbuzzard kbuzzard commented Nov 10, 2022 •

Copy link
Copy Markdown
Member

mathlib3 sha: 5ca6e9d2bb25feeebdefe9bd9de163897bdecd05

Relatively straightforward.

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

@kbuzzard

Copy link
Copy Markdown
Member Author

Remark: Lean 3 apply ih sometimes didn't work here, I had to give the motive explicitly. See lines 268 and 358 (or search for refine @)

Comment thread Mathlib/Logic/Relation.lean Resolved
@kim-em kim-em added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Nov 10, 2022
@kim-em

kim-em commented Nov 11, 2022

Copy link
Copy Markdown
Contributor

It looks like you did many of the renames without simultaneously writing the #aligns? You do you, but I'm confused how you're going to write the #align's later. It seems prone to error!

@kbuzzard

kbuzzard commented Nov 11, 2022 •

Copy link
Copy Markdown
Member Author

Yeah, I think Yakov was also talking about this at the porting meeting. What I did with the bool files was just got everything working and then diffed the file with the mathbin port and did the aligns after :-)

Comment thread Mathlib/Logic/Relation.lean Resolved
Comment thread Mathlib/Logic/Relation.lean Resolved
@digama0 digama0 added the mathlib-port This is a port of a theory file from mathlib. label Nov 13, 2022
@dwrensha dwrensha mentioned this pull request Nov 14, 2022
@kbuzzard kbuzzard added awaiting-review and removed awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. labels Nov 16, 2022
@kbuzzard

kbuzzard commented Nov 16, 2022 •

Copy link
Copy Markdown
Member Author

This is now compiling and ready for review (thanks for the comments even when the PR wasn't ready!) I don't know what the tag needs-mathlib-SHA means. The last mathlib3 commit which changed logic.relation is 5ca6e9d2bb25feeebdefe9bd9de163897bdecd05 and the changes made in that commit have been ported here. I took this file from a version of mathlib3port from about two weeks ago and have updated mathlib3port since.

Comment thread Mathlib/Logic/Relation.lean Resolved
@kim-em

kim-em commented Nov 16, 2022

Copy link
Copy Markdown
Contributor

bors merge

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

bors Bot commented Nov 16, 2022

Copy link
Copy Markdown

Pull request successfully merged into master.

Build succeeded:

@bors bors Bot changed the title feat: port Logic.Relation [Merged by Bors] - feat: port Logic.Relation Nov 16, 2022
@bors bors Bot closed this Nov 16, 2022
@bors
bors Bot deleted the kbuzzard-port-logic-relation branch November 16, 2022 23:24
@digama0

digama0 commented Nov 17, 2022

Copy link
Copy Markdown
Member

This is now compiling and ready for review (thanks for the comments even when the PR wasn't ready!) I don't know what the tag needs-mathlib-SHA means. The last mathlib3 commit which changed logic.relation is 5ca6e9d2bb25feeebdefe9bd9de163897bdecd05 and the changes made in that commit have been ported here. I took this file from a version of mathlib3port from about two weeks ago and have updated mathlib3port since.

@kbuzzard Just to directly answer this question: the mathport SHA you should provide is the latest version of mathlib for which you have incorporated changes from the file that is considered to be ported by this PR (namely logic.relation in this case). So if you started with the version from two weeks ago, then during the PR you incorporated changes to the mathlib3 file and consider it up to date with today's logic.relation, then you would use today's mathlib SHA in the PR comment. It's also okay to not update your PR with changes in the meantime and just report a SHA from two weeks ago.

The important part is that you shouldn't use mathlib from two weeks ago and report today's mathlib SHA if there were important changes in those two weeks, since then those changes will fall through the cracks when we go to do upgrades later.

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

Labels

mathlib-port This is a port of a theory file from mathlib.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants