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

Have the unifier supports deep types #21

Open
ngeiswei opened this issue Nov 9, 2018 · 0 comments
Open

Have the unifier supports deep types #21

ngeiswei opened this issue Nov 9, 2018 · 0 comments

Comments

@ngeiswei
Copy link
Member

ngeiswei commented Nov 9, 2018

Motivation

The unifier https://github.com/opencog/atomspace/tree/master/opencog/unify, a crucial component of the URE https://github.com/opencog/atomspace/tree/master/opencog/rule-engine, must perform type intersection in the unification process.

Unfortunately type intersection has not been implemented for deep types, as a consequence deep types cannot be used in URE rules, or source or target variable declarations.

Task

To have the unifier support type intersection one would need to upgrade Unify::type_intersection to support deep types, so assuming we only bother about the inheritance cases of intersection, one would need to add deept type support to Unify::inherit https://github.com/opencog/atomspace/blob/master/opencog/unify/Unify.cc#L923.

@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