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

Add support for ; (or) in rules #23

Open
bvssvni opened this issue Oct 2, 2020 · 1 comment
Open

Add support for ; (or) in rules #23

bvssvni opened this issue Oct 2, 2020 · 1 comment

Comments

@bvssvni
Copy link
Contributor

bvssvni commented Oct 2, 2020

Currently, the only logical connectivity supported is , (and).

The way the inference rule should work, is that variables are bound and substituted as usual, but branches with OR reduces when any sub-expression is constant.

@bvssvni
Copy link
Contributor Author

bvssvni commented Oct 28, 2020

One idea is to support it in left-side expressions.

(a, b); (b, a) :- (a, prod), (b, prod).

Alternatively, this could be using commas:

(a, b), (b, a) :- (a, prod), (b, prod).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant