[Merged by Bors] - feat: forward-port leanprover-community/mathlib#18517#2543
[Merged by Bors] - feat: forward-port leanprover-community/mathlib#18517#2543
Conversation
We prove an insert result for directed sets when the relation is reflexive. This is then used to show that a Scott continuous function is monotone. This result is required in the [construction of the Scott topology on a preorder](leanprover-community/mathlib4#2508) (see also #18448). Holding PR for mathlib4: leanprover-community/mathlib4#2543 Co-authored-by: Christopher Hoskin <mans0954@users.noreply.github.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
91a801a to
a424a69
Compare
This one-line change lets us forward-port this other PR simultaneously.
|
leanprover-community/mathlib3#8475 isn't through mathport yet. Are you sure this ports it? |
Mathlib/Order/Directed.lean
Outdated
|
|
||
| ! This file was ported from Lean 3 source module order.directed | ||
| ! leanprover-community/mathlib commit 18a5306c091183ac90884daa9373fa3b178e8607 | ||
| ! leanprover-community/mathlib commit e8cf0cfec5fcab9baf46dc17d30c5e22048468be |
There was a problem hiding this comment.
Are you sure you don't mean leanprover-community/mathlib3@485b24e?
There was a problem hiding this comment.
@eric-wieser The diff here says:
-! leanprover-community/mathlib commit 485b24ed47b1b7978d38a1e445158c6224c3f42c
+! leanprover-community/mathlib commit e8cf0cfec5fcab9baf46dc17d30c5e22048468be
So I assumed e8cf0cfec5fcab9baf46dc17d30c5e22048468be was the new value to use?
There was a problem hiding this comment.
I was the one updating the SHA to this. It should be the right value.
There was a problem hiding this comment.
I backed this change out anyway because it's less confusing to port it in #3588.
@mans0954: the dashboard presents multiple diffs; an overall diff, and a diff per commit. I was confused because your PR title suggested this was for just one commit. In general, prefer porting one commit at a time because it's easier for reviewers to diff against the mathport output in the dashboard, and gives a cleaner git history.
It's a one-line change, so yes. |
It's easier to revert this change than come up with a sensible title for this PR. We can forward-port this single line along with the rest of leanprover-community/mathlib3#8475
|
bors d+ |
|
✌️ mans0954 can now approve this pull request. To approve and merge a pull request, simply reply with |
|
bors r+ |
Matches leanprover-community/mathlib3#18517 This result is required in #2508. Co-authored-by: Yaël Dillies <yael.dillies@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
Pull request successfully merged into master. Build succeeded: |
Matches leanprover-community/mathlib3#18517 This result is required in #2508. Co-authored-by: Yaël Dillies <yael.dillies@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Matches leanprover-community/mathlib3#18517 This result is required in #2508. Co-authored-by: Yaël Dillies <yael.dillies@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Matches leanprover-community/mathlib3#18517 This result is required in #2508. Co-authored-by: Yaël Dillies <yael.dillies@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Matches leanprover-community/mathlib3#18517
This result is required in #2508.
We prove an insert result for directed sets when the relation is reflexive. This is then used to show that a Scott continuous function is monotone.