bug69 661 B

123456789101112131415161718192021
  1. % Date: Wed, 11 Jan 1995 14:00:53 +0100
  2. % From: melenk@ZIB-Berlin.DE (Herbert Melenk)
  3. % Subject: *match and noncom
  4. operator x,dta;
  5. noncom x;
  6. for all j,k let dta(j,k)*x(j)=x(k),dta(k,j)*x(j)=x(k);
  7. x(j)*x(b)*dta(j,k);
  8. % gives x(j)*x(b)*x(j)**(-1)*x(k) and not x(k)*x(b);
  9. % I think that subs3q needs to be modified such that in a product
  10. % match with one noncom factor the replacement is done in the
  11. % position of that factor and not in the rightmost one.
  12. % Or you might pull out the noncom parts of the pattern and the object
  13. % first because they are non critical with respect to the ordering and
  14. % can be cancelled later by commutative division.
  15. end;