-
Notifications
You must be signed in to change notification settings - Fork 19
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
Problems with implication-scope-to-implication-rule #5
Comments
I can see 3 ways
I don't know which way is better, but I suppose it doesn't hurt to offer scoped variations of deduction rules, experiment and see, etc. |
OK, I remember why the deduction rule is non-scoped, that is because the formula requires the probability of the predicates, and a mere |
I am going to try to implement |
Please excuse my random remarks. The bug report looks very valid. The intermdiate forms look broken:
There's nothing to connect the variables in the first clause to the variables in the second clause, except for an accidental name-collision. The above is the same as
and who's to say that X and Y should be A and B? How could one ever know? I think the rule that you want would be
Note that $A, $B and $X are unrelated (and bound) while $P will be pattern matched to Now I really do not understand the internals of the backward-chainer, but above seems like a reasonable kind of rule ... yes? |
The scoped implication deduction is reasonable, I agree, just want to point out that the non-scope implication rule using lambdas is also reasonable. |
I think what connects A and B with X and Y is the order. But i agree that this is a very flimsy representation. |
I have been thinking about ImplicationScope to Implication conversion (and the reverse) and found some issues.
Let's say we have:
It seems reasonable to think that we can infer the following:
But atm this does not work. Let's try to do it and see where we fail. First we will have to use the
implication-scope-to-implication-rule
as thededuction-implication-rule
we want to use only works on normal ImplicationLinks. This results in the following:And here we can see the issue. Namely that the LambdaLink wrapping the "isbeingdone" Predicate has 2 variables in one case and 1 in the other which stops the
decuction-implication-rule
from doing anything.And if I understand this correctly can't change the
implication-scope-to-implication-rule
to just drop the extra Variable as that would break the equivalence between ImplicationScopeLink and the ImplicationLink.So i think the correct solution would be to create a
decuction-implication-scope-rule
that can handle ImplicationScopeLinks by doing unification to get the mappings between variables and then using alpha-conversion to get 2 Links where the Variables Names line up correctly and then doing normal deduction.The text was updated successfully, but these errors were encountered: