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

Contain direction in core package is wrong for formal logic and math #335

Open
Konard opened this issue May 15, 2024 · 0 comments
Open

Contain direction in core package is wrong for formal logic and math #335

Konard opened this issue May 15, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request question Further information is requested

Comments

@Konard
Copy link
Member

Konard commented May 15, 2024

Now we have Contain link, that is going from container to conteined.

That means that for example if container is set A, we have:

{
  A ↦ 1,
  A ↦ 2,
  A ↦ 3,
  A ↦ 4,
}

That leads to a contradiction, that A ↦ 1 and A ↦ 2 cannot exist at the same time, thus it is not possible to combine them into a single function.

On the other hand, if we change the direction:

{
  1 ↦ A,
  2 ↦ A,
  3 ↦ A,
  4 ↦ A,
}

We can correctly define a set using links, and we have function f(element) = A for element = 1, or 2, or 3, or 4.

The name Contain also implies that it goes from container to conteined, that means we need not only another direction, but also need different name for new link type for example IsContainedBy.

IsContainedBy will go from conteined to container and it will be aligned with current math traditions.

@Konard Konard added bug Something isn't working enhancement New feature or request question Further information is requested labels May 15, 2024
@Konard Konard moved this to Todo in Deep Architecture May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request question Further information is requested
Projects
Status: Todo
Development

No branches or pull requests

1 participant