expreduce icon indicating copy to clipboard operation
expreduce copied to clipboard

An experimental computer algebra system written in Go

Results 63 expreduce issues
Sort by recently updated
recently updated
newest added

//&TestComment{"Notice how rules are applies until no further rules apply. If we only used `ReplaceAll`, only the first step of simplification would occur:"}, // Expreduce does not currently return the...

``` In[194]:= ToExpression["3 + x^2 - 4"] 2 2 2 2 Out[194]= {{-1 + a1 , -1 + b1 }, {-1 + a2 , -1 + b3 }} In[195]:= ToHeldExpression["3...

```mathematica In[1]:= 3+2+1 Out[1]= 6 In[2]:= 3+2+1! Out[2]= 720 In[3]:= 3+2+(1!) Out[3]= 6 ``` In common practice, the factorial operator has a higher priority than infix operators.

```mathematica In[27]:= Sum[Factorial[n], {n, 0, 3}] (* The program hangs here, then press Ctrl-C. *) ^COut[27]= 106468 + 3*Factorial[$Aborted] In[28]:= Table[Factorial[n], {n, 0, 3}] (* Ctrl-C *) ^COut[28]= {1, 1,...

In[2]:= Pause[1]; Print["Hello"]; Pause[1]; Print["World"] P:5:Hello P:5:World In[3]:=

just creating it to track this possible improvement so far options 1. do nothing, keep generated go files in git repo - cons - merge conflicts 2. investigate possible solution...

``` In[1]:= " \[DoubleLongRightArrow] " ``` (hangs unresponsive) desired: ``` In[3]:= " \[DoubleLongRightArrow] " Out[3]= ⟹ ```

current ``` In[10]:= {x, y} = {4, 3}; x Out[10]= x ``` desired ``` In[12]:= {x, y} = {4, 3}; x Out[12]= 4 ```