vermaseren / form

The FORM project for symbolic manipulation of very big expressions
GNU General Public License v3.0
1.13k stars 135 forks source link

id all does not generate all options for arguments that are terms #224

Open benruijl opened 7 years ago

benruijl commented 7 years ago

In principle id all should go through all permutations in the following example:

  #-
  S   x1,x2,x3;
  CF f;
  L F = f(x1*x2*x3);

  id all f(x1?*x2?*x3?) = f(x1,x2,x3);

  Print +s;
  .end

but it only yields

   F =
       + f(x1,x2,x3)
      ;
vermaseren commented 7 years ago

Same problem as always: matching products involving symbols (or functions and symbols) are separate routines. This is still waiting for the new pattern matcher.

Jos

On 20 jul. 2017, at 11:45, Ben Ruijl notifications@github.com wrote:

In principle id all should go through all permutations in the following example:

-

S x1,x2,x3; CF f; L F = f(x1x2x3);

id all f(x1?x2?x3?) = f(x1,x2,x3);

Print +s; .end but it only yields

F =