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

Replace specialized/incomplete type intersection code in unifier by TypeSetLink #20

Open
ngeiswei opened this issue Nov 15, 2018 · 1 comment

Comments

@ngeiswei
Copy link
Member

It looks like the pattern matcher already implements a form of type intersection https://wiki.opencog.org/w/TypeSetLink. So it might be possible to replace the adhoc type intersection code of the unifier Unify::type_intersection by something more generic (perhaps improving TypeSetLink along the way if necessary).

This could be a better way to address https://github.com/opencog/atomspace/issues/1906 as well.

@ngeiswei
Copy link
Member Author

ngeiswei commented Nov 15, 2018

What would probably be needed as well is to have atomese reduct works for type links, so for instance

TypeSetLink
  TypeNode "ConceptNode"
  TypeNode "ConceptNode"

could be reduced to

TypeNode "ConceptNode"

this way the resulting types of the unified variables would note consistently overgrow after each unification.

@linas linas transferred this issue from opencog/atomspace Jul 26, 2019
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

No branches or pull requests

1 participant