-
Notifications
You must be signed in to change notification settings - Fork 31
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
Port Reduct #21
Comments
I think according to issue #3 , it is
|
Restructure moses/tests
Several remarks:
The upshot is -- you do not need ReductLink. You just need to write some reduction rules, and let the pattern matcher do the job it was designed to do. Yes, this is easy to say, and maybe harder to do. You should start out by writing few simple rules, and see how it goes. I'm here to help. |
would not reduce but just indicate that expression B is reduced form of expression A. We need to keep track of that because some reductions are defined recursively, such "if B1 is the reduced form of A1 and B2 is the reduced form of A2, then D = blahblah of B1 and B2 is the reduced form of C = blahblah of A1 and A2". The plan is indeed to have the URE performs the reduction (forward and backward chainer should be possible). |
The
but since it is gonna be used quite extensively a dedicated link sounds appropriate, though for starter we can probably go with an |
Maybe a better link name would be |
OH, OK. I'm pretty certain you want to assign them to named classes, and limit reduct so that it works only with the provided classes (instead of any old link it can find in the atomspace). The classic moses ones were "arithmetic" and "propositional logic". but there are many more: "linear algebra" is popular for "linear programming problems", and integer algebras are popular for "discrete linear programming", and then there are dozens? hundreds? of different kinds of modal logics, each with it's own set of reduction rules. |
See also issue #66 for more about arithmetic functions |
As suggested in issue #3, In order to proceed to porting other subsystems we choose to wrap the existing Combo reduct engine.
Given a program
P
to be reduced, first we want to convertP
to acombo::tree
CP
and reduce it using reduct toCP_reduced
then convert it back to AtomeseP_reduced
.Finally we need to store it in
ReductLink
,ReductLink
can beor just
The text was updated successfully, but these errors were encountered: