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

Correcting an incorrect definition of discrete relations and discrete graphs #1222

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

EgbertRijke
Copy link
Collaborator

This PR corrects an incorrect definition.

@EgbertRijke
Copy link
Collaborator Author

Maybe an even more correct definition of discrete directed graph is that it is (0 -> 1)-null. This is a proposition again.

@EgbertRijke
Copy link
Collaborator Author

EgbertRijke commented Nov 14, 2024

Maybe an even more correct definition of discrete directed graph is that it is (0 -> 1)-null. This is a proposition again.

Nevermind, if a graph is (0 -> 1)-null then the type of vertices for which there exists an outgoing edge is a set. That is too restrictive.

@EgbertRijke
Copy link
Collaborator Author

I think the definition in this pull request is the way to go.

@fredrik-bakke
Copy link
Collaborator

I'm confused by why discreteness can't be a property, and I'm too tired to think at the moment, but thanks for fixing the definitions. I'll complete a review when I've rested :)

@EgbertRijke
Copy link
Collaborator Author

I'm confused by why discreteness can't be a property, and I'm too tired to think at the moment, but thanks for fixing the definitions. I'll complete a review when I've rested :)

For reflexive graphs it is still a property. For directed graphs, the notion of discreteness that was implemented included some examples of directed graphs that are typically not considered to be discrete, since they are not reflexive. One example is given in the idea text. The simplest solution is to add the condition that directed graphs must be reflexive. However, this is structure.

Rest well!

@EgbertRijke
Copy link
Collaborator Author

It appears that I still had it wrong: A directed graph should be discrete if its edge relation is empty. This makes it so that the inclusion of discrete directed graphs is left adjoint to the forgetful functor (V , E) |-> V from directed graphs to types. Correcting it now.

@EgbertRijke EgbertRijke marked this pull request as draft November 15, 2024 12:45
@EgbertRijke EgbertRijke marked this pull request as ready for review November 15, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants