Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

feat(topology/order/scott): Introduce the Scott topology on a preorder#18448

Closed
mans0954 wants to merge 226 commits intomasterfrom
mans0954/scott-topology
Closed

feat(topology/order/scott): Introduce the Scott topology on a preorder#18448
mans0954 wants to merge 226 commits intomasterfrom
mans0954/scott-topology

Conversation

@mans0954
Copy link
Copy Markdown
Collaborator

Introduces the Scott topology on a preorder, defined in terms of directed sets.

There is already a related notion of Scott topology defined in topology.omega_complete_partial_order, where it is defined on ω-complete partial orders in terms of ω-chains. In some circumstances the definition given here coincides with that given in topology.omega_complete_partial_order but in general they are different. Abramsky and Jung ([Domain Theory, 2.2.4][abramsky_gabbay_maibaum_1994]) argue that the ω-chain approach has pedagogical advantages, but the directed sets approach is more appropriate as a theoretical foundation.


Open in Gitpod

mans0954 and others added 2 commits February 16, 2023 17:28
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
end,
rw with_scott_topology.is_open_eq_upper_and_lub_mem_implies_inter_nonempty at hu,
have e2: ((f '' d) ∩ u).nonempty :=
begin
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

probably you can use show_term {} to turn this whole block into a 1-liner

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@alexjbest Do you mean:

have e2: ((f '' d) ∩ u).nonempty,
show_term { sorry, },

? How do I know what tatic to replace sorry with? There don't seem to be any examples of use of show_term in mathlib outside of tatics.

@YaelDillies
Copy link
Copy Markdown
Collaborator

All prerequisites are ported. Would you mind closing this PR and reopening it on the mathlib4 side, so that we have one less file to port?

@mans0954
Copy link
Copy Markdown
Collaborator Author

All prerequisites are ported. Would you mind closing this PR and reopening it on the mathlib4 side, so that we have one less file to port?

Sure!

@mans0954
Copy link
Copy Markdown
Collaborator Author

PR opened (needs more work) leanprover-community/mathlib4#2508

@YaelDillies YaelDillies deleted the mans0954/scott-topology branch February 27, 2023 00:01
@YaelDillies YaelDillies removed the awaiting-review The author would like community review of the PR label Feb 27, 2023
bors bot pushed a commit that referenced this pull request Apr 20, 2023
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>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants