Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 226 commits into from

Conversation

mans0954
Copy link
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>
docs/references.bib Outdated Show resolved Hide resolved
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
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
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
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
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
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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants