Details

Time bar (total: 8.6s)

analyze523.0ms (6.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
50%50%0.1%5
50%50%0.1%6
50%40.6%9.5%7
50%39%11%8
50%33.6%16.5%9
50%32.4%17.7%10
50%29.5%20.6%11
50%28.8%21.3%12
50%27.3%22.8%13
50%26.9%23.1%14
Compiler

Compiled 14 to 11 computations (21.4% saved)

sample6.3s (73.3%)

Results
3.1s4204×body1024valid
1.1s2019×body1024invalid
860.0ms2116×body512valid
348.0ms984×body512invalid
296.0ms1029×body256valid
242.0ms242×body2048valid
120.0ms773×body128invalid
112.0ms460×body256invalid
99.0ms665×body128valid
1.0msbody2048invalid
Compiler

Compiled 28 to 22 computations (21.4% saved)

preprocess39.0ms (0.5%)

Algorithm
egg-herbie
Rules
816×fma-def_binary64
600×times-frac_binary64
456×fma-neg_binary64
228×distribute-rgt-neg-in_binary64
146×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01836
13936
29336
324736
455734
5113034
6209234
7401934
022
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (*.f64 1/2 (sin.f64 im)) (-.f64 (exp.f64 (neg.f64 re)) (exp.f64 re)))
Outputs
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (sin.f64 re) (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))))
(*.f64 (*.f64 1/2 (sin.f64 im)) (-.f64 (exp.f64 (neg.f64 re)) (exp.f64 re)))
(*.f64 1/2 (*.f64 (sin.f64 im) (-.f64 (exp.f64 (neg.f64 re)) (exp.f64 re))))
(*.f64 (sin.f64 im) (fma.f64 (exp.f64 re) -1/2 (/.f64 1/2 (exp.f64 re))))
Compiler

Compiled 13 to 10 computations (23.1% saved)

simplify23.0ms (0.3%)

Algorithm
egg-herbie
Rules
454×fma-def_binary64
444×times-frac_binary64
365×distribute-rgt-neg-in_binary64
340×fma-neg_binary64
297×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01118
12318
25118
312618
428617
558117
6138417
7279317
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Outputs
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (sin.f64 re) (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))))

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
45.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
45.2b
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Compiler

Compiled 50 to 35 computations (30% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
5.2b
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

series8.0ms (0.1%)

Counts
2 → 32
Calls

9 calls:

TimeVariablePointExpression
1.0ms
re
@0
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
1.0ms
im
@0
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
1.0ms
im
@inf
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
1.0ms
re
@inf
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
1.0ms
im
@0
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

rewrite166.0ms (1.9%)

Algorithm
egg-rewrite-iter-limit
egg-rewrite
batch-egg-rewrite
Rules
118×add-sqr-sqrt_binary64
118×add-sqr-sqrt_binary64
113×*-un-lft-identity_binary64
113×pow1_binary64
113×*-un-lft-identity_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01120
122820
2351020
0610
112710
2208510
0610
01118
122818
2350918
01118
Stop Event
iter limit
unsound
iter limit
unsound
unsound
Counts
2 → 18
Calls
Call 1
Inputs
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (neg.f64 im)) (neg.f64 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (cbrt.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (cbrt.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (sqrt.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 (neg.f64 im)) 3) (pow.f64 (exp.f64 im) 3)) (+.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (+.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (*.f64 (exp.f64 im) (exp.f64 im))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))
((#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))) (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))))

simplify39.0ms (0.5%)

Algorithm
egg-herbie
Rules
698×fma-def_binary64
411×sub-neg_binary64
240×associate-*l*_binary64
225×cancel-sign-sub-inv_binary64
221×associate-*r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0100734
1305716
21029666
34524666
Stop Event
node limit
Counts
50 → 46
Calls
Call 1
Inputs
(*.f64 -2 im)
(neg.f64 (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))
(neg.f64 (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))
(neg.f64 (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (+.f64 (*.f64 1/2520 (pow.f64 im 7)) (*.f64 2 im)))))
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))
(*.f64 (-.f64 (*.f64 1/2 (exp.f64 (neg.f64 im))) (*.f64 1/2 (exp.f64 im))) re)
(-.f64 (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re)) (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3)))) (+.f64 (*.f64 1/2 (*.f64 re (exp.f64 im))) (*.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3)))))
(-.f64 (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re)) (+.f64 (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3))) (*.f64 1/240 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 5))))) (+.f64 (*.f64 1/2 (*.f64 re (exp.f64 im))) (+.f64 (*.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3))) (*.f64 1/240 (*.f64 (pow.f64 re 5) (exp.f64 im))))))
(-.f64 (+.f64 (*.f64 1/10080 (*.f64 (pow.f64 re 7) (exp.f64 im))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re)) (+.f64 (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3))) (*.f64 1/240 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 5)))))) (+.f64 (*.f64 1/2 (*.f64 re (exp.f64 im))) (+.f64 (*.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3))) (+.f64 (*.f64 1/240 (*.f64 (pow.f64 re 5) (exp.f64 im))) (*.f64 1/10080 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 7)))))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 -1 (*.f64 (sin.f64 re) im))
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))) (*.f64 1/5040 (*.f64 (sin.f64 re) (pow.f64 im 7)))))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))))
Outputs
(*.f64 -2 im)
(neg.f64 (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))
(neg.f64 (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2)))
(+.f64 (*.f64 (pow.f64 im 3) -1/3) (*.f64 -2 im))
(fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))
(neg.f64 (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im))))
(neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2))))
(-.f64 (*.f64 (pow.f64 im 5) -1/60) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2)))
(fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im)))
(neg.f64 (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (+.f64 (*.f64 1/2520 (pow.f64 im 7)) (*.f64 2 im)))))
(neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 1/2520 (pow.f64 im 7) (*.f64 im 2)))))
(-.f64 (*.f64 (pow.f64 im 5) -1/60) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))
(-.f64 (*.f64 (pow.f64 im 5) -1/60) (fma.f64 im 2 (fma.f64 1/3 (pow.f64 im 3) (*.f64 1/2520 (pow.f64 im 7)))))
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(*.f64 (-.f64 (*.f64 1/2 (exp.f64 (neg.f64 im))) (*.f64 1/2 (exp.f64 im))) re)
(*.f64 (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) re)
(*.f64 (*.f64 1/2 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) re)
(-.f64 (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re)) (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3)))) (+.f64 (*.f64 1/2 (*.f64 re (exp.f64 im))) (*.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3)))))
(-.f64 (fma.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re) (*.f64 (*.f64 1/12 (exp.f64 im)) (pow.f64 re 3))) (fma.f64 1/2 (*.f64 (exp.f64 im) re) (*.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3)))))
(-.f64 (fma.f64 (/.f64 1/2 (exp.f64 im)) re (*.f64 (exp.f64 im) (*.f64 (pow.f64 re 3) 1/12))) (fma.f64 1/2 (*.f64 (exp.f64 im) re) (*.f64 (pow.f64 re 3) (/.f64 1/12 (exp.f64 im)))))
(fma.f64 1/2 (/.f64 re (exp.f64 im)) (+.f64 (*.f64 (*.f64 1/12 (pow.f64 re 3)) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (exp.f64 im) (*.f64 re -1/2))))
(-.f64 (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re)) (+.f64 (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3))) (*.f64 1/240 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 5))))) (+.f64 (*.f64 1/2 (*.f64 re (exp.f64 im))) (+.f64 (*.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3))) (*.f64 1/240 (*.f64 (pow.f64 re 5) (exp.f64 im))))))
(-.f64 (fma.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re) (fma.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3)) (*.f64 1/240 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 5))))) (fma.f64 1/2 (*.f64 (exp.f64 im) re) (fma.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3)) (*.f64 (*.f64 1/240 (pow.f64 re 5)) (exp.f64 im)))))
(-.f64 (fma.f64 (/.f64 1/2 (exp.f64 im)) re (fma.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3)) (*.f64 (pow.f64 re 5) (/.f64 1/240 (exp.f64 im))))) (fma.f64 1/2 (*.f64 (exp.f64 im) re) (fma.f64 1/240 (*.f64 (exp.f64 im) (pow.f64 re 5)) (*.f64 (pow.f64 re 3) (/.f64 1/12 (exp.f64 im))))))
(fma.f64 1/2 (/.f64 re (exp.f64 im)) (fma.f64 1/240 (/.f64 (pow.f64 re 5) (exp.f64 im)) (-.f64 (*.f64 (*.f64 1/12 (pow.f64 re 3)) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (exp.f64 im) (+.f64 (*.f64 1/2 re) (*.f64 1/240 (pow.f64 re 5)))))))
(-.f64 (+.f64 (*.f64 1/10080 (*.f64 (pow.f64 re 7) (exp.f64 im))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re)) (+.f64 (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3))) (*.f64 1/240 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 5)))))) (+.f64 (*.f64 1/2 (*.f64 re (exp.f64 im))) (+.f64 (*.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3))) (+.f64 (*.f64 1/240 (*.f64 (pow.f64 re 5) (exp.f64 im))) (*.f64 1/10080 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 7)))))))
(-.f64 (fma.f64 1/10080 (*.f64 (exp.f64 im) (pow.f64 re 7)) (fma.f64 1/2 (*.f64 (exp.f64 (neg.f64 im)) re) (fma.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3)) (*.f64 1/240 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 5)))))) (fma.f64 1/2 (*.f64 (exp.f64 im) re) (fma.f64 1/12 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 3)) (fma.f64 1/240 (*.f64 (exp.f64 im) (pow.f64 re 5)) (*.f64 1/10080 (*.f64 (exp.f64 (neg.f64 im)) (pow.f64 re 7)))))))
(-.f64 (fma.f64 1/10080 (*.f64 (exp.f64 im) (pow.f64 re 7)) (fma.f64 (/.f64 1/2 (exp.f64 im)) re (fma.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3)) (*.f64 (pow.f64 re 5) (/.f64 1/240 (exp.f64 im)))))) (fma.f64 1/2 (*.f64 (exp.f64 im) re) (fma.f64 (/.f64 1/12 (exp.f64 im)) (pow.f64 re 3) (fma.f64 1/240 (*.f64 (exp.f64 im) (pow.f64 re 5)) (*.f64 (pow.f64 re 7) (/.f64 1/10080 (exp.f64 im)))))))
(fma.f64 (exp.f64 im) (*.f64 1/10080 (pow.f64 re 7)) (-.f64 (fma.f64 1/2 (/.f64 re (exp.f64 im)) (fma.f64 1/240 (/.f64 (pow.f64 re 5) (exp.f64 im)) (-.f64 (*.f64 (*.f64 1/12 (pow.f64 re 3)) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (exp.f64 im) (+.f64 (*.f64 1/2 re) (*.f64 1/240 (pow.f64 re 5))))))) (*.f64 1/10080 (/.f64 (pow.f64 re 7) (exp.f64 im)))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))
(*.f64 -1 (*.f64 (sin.f64 re) im))
(neg.f64 (*.f64 im (sin.f64 re)))
(*.f64 (neg.f64 im) (sin.f64 re))
(*.f64 im (neg.f64 (sin.f64 re)))
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))
(neg.f64 (fma.f64 (sin.f64 re) im (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))
(-.f64 (*.f64 (*.f64 (pow.f64 im 3) (sin.f64 re)) -1/6) (*.f64 im (sin.f64 re)))
(*.f64 (sin.f64 re) (-.f64 (neg.f64 im) (*.f64 (pow.f64 im 3) 1/6)))
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3)))))
(neg.f64 (fma.f64 im (sin.f64 re) (fma.f64 1/6 (*.f64 (pow.f64 im 3) (sin.f64 re)) (*.f64 (pow.f64 im 5) (*.f64 (sin.f64 re) 1/120)))))
(-.f64 (*.f64 (pow.f64 im 3) (*.f64 (sin.f64 re) -1/6)) (*.f64 (sin.f64 re) (+.f64 im (*.f64 (pow.f64 im 5) 1/120))))
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))) (*.f64 1/5040 (*.f64 (sin.f64 re) (pow.f64 im 7)))))))
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (fma.f64 1/6 (*.f64 (pow.f64 im 3) (sin.f64 re)) (*.f64 1/5040 (*.f64 (pow.f64 im 7) (sin.f64 re)))))))
(neg.f64 (fma.f64 im (sin.f64 re) (fma.f64 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (fma.f64 1/6 (*.f64 (pow.f64 im 3) (sin.f64 re)) (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 7) 1/5040))))))
(-.f64 (neg.f64 (*.f64 (sin.f64 re) (+.f64 (*.f64 (pow.f64 im 3) 1/6) (*.f64 (pow.f64 im 5) 1/120)))) (*.f64 (sin.f64 re) (+.f64 (*.f64 (pow.f64 im 7) 1/5040) im)))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))

prune42.0ms (0.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New44246
Fresh000
Picked101
Done000
Total45247
Error
0.1b
Counts
47 → 2
Alt Table
StatusErrorProgram
0.3b
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
47.0b
(fma.f64 1/2 (/.f64 re (exp.f64 im)) (+.f64 (*.f64 (*.f64 1/12 (pow.f64 re 3)) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (exp.f64 im) (*.f64 re -1/2))))
Compiler

Compiled 1049 to 542 computations (48.3% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (sin.f64 re) (pow.f64 im 5))
0.1b
(*.f64 (sin.f64 re) (pow.f64 im 3))
0.1b
(*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))
0.1b
(*.f64 (sin.f64 re) im)

series17.0ms (0.2%)

Counts
4 → 16
Calls

24 calls:

TimeVariablePointExpression
4.0ms
re
@0
(*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))
1.0ms
re
@inf
(*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))
1.0ms
re
@inf
(*.f64 (sin.f64 re) (pow.f64 im 5))
1.0ms
re
@0
(*.f64 (sin.f64 re) (pow.f64 im 5))
1.0ms
re
@0
(*.f64 (sin.f64 re) im)

rewrite56.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
614×log-prod_binary64
225×expm1-udef_binary64
225×log1p-udef_binary64
191×log-pow_binary64
130×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01336
127536
2305736
Stop Event
node limit
Counts
4 → 70
Calls
Call 1
Inputs
(*.f64 (sin.f64 re) im)
(*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))
(*.f64 (sin.f64 re) (pow.f64 im 3))
(*.f64 (sin.f64 re) (pow.f64 im 5))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (sin.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 re)) im)) (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 re)) im)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 re)) im))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sin.f64 re)) im))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sin.f64 re)) im))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 re) im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 re) im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 re) im) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sin.f64 re) im)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (sin.f64 re) im) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sin.f64 re)) im))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 re) im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (sin.f64 re) 3) (pow.f64 im 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 im 3) (pow.f64 (sin.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sin.f64 re) im)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 re) im)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 3) 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (sin.f64 re)) 1/6)) (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (sin.f64 re)) 1/6)))) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (sin.f64 re)) 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (sin.f64 re)) 1/6))) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (sin.f64 re)) 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 3) 1/6)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 3) 1/6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 3) 1/6)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 (*.f64 (sin.f64 re) 1/6)) im) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (*.f64 (sin.f64 re) 1/6)) (pow.f64 im 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (*.f64 (pow.f64 im 6) (pow.f64 (sin.f64 re) 2)) 1/36))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (sin.f64 re)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 3) 1/6)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 3) 1/6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 3) 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 3) 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 3) 1/6))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 3) 1/6))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (sin.f64 re) (pow.f64 im 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (sin.f64 re))) (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (sin.f64 re))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (sin.f64 re)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 re) (pow.f64 im 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 re) (pow.f64 im 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 re) (pow.f64 im 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (cbrt.f64 (sin.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (sin.f64 re)) (pow.f64 im 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 im 6) (pow.f64 (sin.f64 re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 re) (pow.f64 im 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 re) (pow.f64 im 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (sin.f64 re) 3) (pow.f64 (pow.f64 im 3) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 im 3) 3) (pow.f64 (sin.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 re) (pow.f64 im 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 re) (pow.f64 im 3))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sin.f64 re) (pow.f64 im 3))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 re) (pow.f64 im 3))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (sin.f64 re) (pow.f64 im 5)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 im 5)) (sin.f64 re))) (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 im 5)) (sin.f64 re))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 im 5)) (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 im 5)) (sin.f64 re)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 im 5)) (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 re) (pow.f64 im 5)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 re) (pow.f64 im 5)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 re) (pow.f64 im 5)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) (pow.f64 im 5))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (sin.f64 re)) (pow.f64 im 5/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (sin.f64 re) (pow.f64 im 5)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 im 5)) (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 re) (pow.f64 im 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 re) (pow.f64 im 5)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (sin.f64 re) 3) (pow.f64 (pow.f64 im 5) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 im 5) 3) (pow.f64 (sin.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 re) (pow.f64 im 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 re) (pow.f64 im 5))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sin.f64 re) (pow.f64 im 5))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 re) (pow.f64 im 5))))))))

simplify33.0ms (0.4%)

Algorithm
egg-herbie
Rules
580×associate-*l*_binary64
525×associate-*r*_binary64
413×fma-def_binary64
360×cancel-sign-sub-inv_binary64
272×unswap-sqr_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
062430
1207362
2855302
34536302
Stop Event
node limit
Counts
86 → 99
Calls
Call 1
Inputs
(*.f64 re im)
(-.f64 (*.f64 re im) (*.f64 1/6 (*.f64 (pow.f64 re 3) im)))
(-.f64 (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (*.f64 re im)) (*.f64 1/6 (*.f64 (pow.f64 re 3) im)))
(-.f64 (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (*.f64 re im)) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (*.f64 1/5040 (*.f64 (pow.f64 re 7) im))))
(*.f64 1/6 (*.f64 re (pow.f64 im 3)))
(-.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))
(-.f64 (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3)))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))
(-.f64 (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3)))) (+.f64 (*.f64 1/30240 (*.f64 (pow.f64 re 7) (pow.f64 im 3))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3)))))
(*.f64 re (pow.f64 im 3))
(-.f64 (*.f64 re (pow.f64 im 3)) (*.f64 1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))
(-.f64 (+.f64 (*.f64 re (pow.f64 im 3)) (*.f64 1/120 (*.f64 (pow.f64 re 5) (pow.f64 im 3)))) (*.f64 1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))
(-.f64 (+.f64 (*.f64 re (pow.f64 im 3)) (*.f64 1/120 (*.f64 (pow.f64 re 5) (pow.f64 im 3)))) (+.f64 (*.f64 1/5040 (*.f64 (pow.f64 re 7) (pow.f64 im 3))) (*.f64 1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 3)))))
(*.f64 re (pow.f64 im 5))
(-.f64 (*.f64 re (pow.f64 im 5)) (*.f64 1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 5))))
(-.f64 (+.f64 (*.f64 re (pow.f64 im 5)) (*.f64 1/120 (*.f64 (pow.f64 re 5) (pow.f64 im 5)))) (*.f64 1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 5))))
(-.f64 (+.f64 (*.f64 re (pow.f64 im 5)) (*.f64 1/120 (*.f64 (pow.f64 re 5) (pow.f64 im 5)))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/5040 (*.f64 (pow.f64 re 7) (pow.f64 im 5)))))
Outputs
(*.f64 re im)
(-.f64 (*.f64 re im) (*.f64 1/6 (*.f64 (pow.f64 re 3) im)))
(+.f64 (*.f64 re im) (*.f64 -1/6 (*.f64 im (pow.f64 re 3))))
(*.f64 im (-.f64 re (*.f64 1/6 (pow.f64 re 3))))
(*.f64 im (+.f64 re (*.f64 (pow.f64 re 3) -1/6)))
(-.f64 (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (*.f64 re im)) (*.f64 1/6 (*.f64 (pow.f64 re 3) im)))
(+.f64 (fma.f64 1/120 (*.f64 im (pow.f64 re 5)) (*.f64 re im)) (*.f64 -1/6 (*.f64 im (pow.f64 re 3))))
(fma.f64 1/120 (*.f64 im (pow.f64 re 5)) (*.f64 im (-.f64 re (*.f64 1/6 (pow.f64 re 3)))))
(*.f64 im (-.f64 (fma.f64 1/120 (pow.f64 re 5) re) (*.f64 1/6 (pow.f64 re 3))))
(*.f64 im (+.f64 (fma.f64 1/120 (pow.f64 re 5) re) (*.f64 (pow.f64 re 3) -1/6)))
(-.f64 (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (*.f64 re im)) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (*.f64 1/5040 (*.f64 (pow.f64 re 7) im))))
(-.f64 (fma.f64 1/120 (*.f64 im (pow.f64 re 5)) (*.f64 re im)) (fma.f64 1/6 (*.f64 im (pow.f64 re 3)) (*.f64 1/5040 (*.f64 im (pow.f64 re 7)))))
(-.f64 (*.f64 im (+.f64 re (*.f64 1/120 (pow.f64 re 5)))) (*.f64 im (+.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 1/5040 (pow.f64 re 7)))))
(*.f64 im (-.f64 (fma.f64 1/120 (pow.f64 re 5) re) (fma.f64 1/6 (pow.f64 re 3) (*.f64 1/5040 (pow.f64 re 7)))))
(*.f64 1/6 (*.f64 re (pow.f64 im 3)))
(*.f64 re (*.f64 (pow.f64 im 3) 1/6))
(-.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))
(+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 -1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))
(*.f64 (pow.f64 im 3) (-.f64 (*.f64 re 1/6) (*.f64 (pow.f64 re 3) 1/36)))
(*.f64 (pow.f64 im 3) (fma.f64 re 1/6 (*.f64 (pow.f64 re 3) -1/36)))
(-.f64 (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3)))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))
(+.f64 (fma.f64 1/6 (*.f64 re (pow.f64 im 3)) (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3)))) (*.f64 -1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))
(fma.f64 1/6 (*.f64 re (pow.f64 im 3)) (*.f64 (pow.f64 im 3) (-.f64 (*.f64 (pow.f64 re 5) 1/720) (*.f64 (pow.f64 re 3) 1/36))))
(*.f64 (pow.f64 im 3) (-.f64 (fma.f64 re 1/6 (*.f64 (pow.f64 re 5) 1/720)) (*.f64 (pow.f64 re 3) 1/36)))
(*.f64 (pow.f64 im 3) (+.f64 (fma.f64 re 1/6 (*.f64 (pow.f64 re 5) 1/720)) (*.f64 (pow.f64 re 3) -1/36)))
(-.f64 (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3)))) (+.f64 (*.f64 1/30240 (*.f64 (pow.f64 re 7) (pow.f64 im 3))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3)))))
(-.f64 (fma.f64 1/6 (*.f64 re (pow.f64 im 3)) (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3)))) (fma.f64 1/30240 (*.f64 (pow.f64 re 7) (pow.f64 im 3)) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3)))))
(-.f64 (*.f64 (pow.f64 im 3) (+.f64 (*.f64 re 1/6) (*.f64 (pow.f64 re 5) 1/720))) (*.f64 (pow.f64 im 3) (+.f64 (*.f64 (pow.f64 re 7) 1/30240) (*.f64 (pow.f64 re 3) 1/36))))
(*.f64 (pow.f64 im 3) (-.f64 (fma.f64 re 1/6 (*.f64 (pow.f64 re 5) 1/720)) (fma.f64 (pow.f64 re 3) 1/36 (*.f64 (pow.f64 re 7) 1/30240))))
(*.f64 re (pow.f64 im 3))
(-.f64 (*.f64 re (pow.f64 im 3)) (*.f64 1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))
(+.f64 (*.f64 re (pow.f64 im 3)) (*.f64 -1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))
(*.f64 (pow.f64 im 3) (-.f64 re (*.f64 1/6 (pow.f64 re 3))))
(*.f64 (pow.f64 im 3) (+.f64 re (*.f64 (pow.f64 re 3) -1/6)))
(-.f64 (+.f64 (*.f64 re (pow.f64 im 3)) (*.f64 1/120 (*.f64 (pow.f64 re 5) (pow.f64 im 3)))) (*.f64 1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))
(+.f64 (fma.f64 re (pow.f64 im 3) (*.f64 1/120 (*.f64 (pow.f64 re 5) (pow.f64 im 3)))) (*.f64 -1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))
(fma.f64 re (pow.f64 im 3) (*.f64 (pow.f64 im 3) (-.f64 (*.f64 1/120 (pow.f64 re 5)) (*.f64 1/6 (pow.f64 re 3)))))
(*.f64 (pow.f64 im 3) (-.f64 (fma.f64 1/120 (pow.f64 re 5) re) (*.f64 1/6 (pow.f64 re 3))))
(*.f64 (pow.f64 im 3) (+.f64 (fma.f64 1/120 (pow.f64 re 5) re) (*.f64 (pow.f64 re 3) -1/6)))
(-.f64 (+.f64 (*.f64 re (pow.f64 im 3)) (*.f64 1/120 (*.f64 (pow.f64 re 5) (pow.f64 im 3)))) (+.f64 (*.f64 1/5040 (*.f64 (pow.f64 re 7) (pow.f64 im 3))) (*.f64 1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 3)))))
(-.f64 (fma.f64 re (pow.f64 im 3) (*.f64 1/120 (*.f64 (pow.f64 re 5) (pow.f64 im 3)))) (fma.f64 1/5040 (*.f64 (pow.f64 re 7) (pow.f64 im 3)) (*.f64 1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 3)))))
(-.f64 (*.f64 (pow.f64 im 3) (+.f64 re (*.f64 1/120 (pow.f64 re 5)))) (*.f64 (pow.f64 im 3) (+.f64 (*.f64 1/5040 (pow.f64 re 7)) (*.f64 1/6 (pow.f64 re 3)))))
(*.f64 (pow.f64 im 3) (-.f64 (fma.f64 1/120 (pow.f64 re 5) re) (fma.f64 1/6 (pow.f64 re 3) (*.f64 1/5040 (pow.f64 re 7)))))
(*.f64 re (pow.f64 im 5))
(-.f64 (*.f64 re (pow.f64 im 5)) (*.f64 1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 5))))
(+.f64 (*.f64 re (pow.f64 im 5)) (*.f64 -1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 5))))
(*.f64 (pow.f64 im 5) (-.f64 re (*.f64 1/6 (pow.f64 re 3))))
(*.f64 (pow.f64 im 5) (+.f64 re (*.f64 (pow.f64 re 3) -1/6)))
(-.f64 (+.f64 (*.f64 re (pow.f64 im 5)) (*.f64 1/120 (*.f64 (pow.f64 re 5) (pow.f64 im 5)))) (*.f64 1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 5))))
(+.f64 (fma.f64 re (pow.f64 im 5) (*.f64 1/120 (*.f64 (pow.f64 re 5) (pow.f64 im 5)))) (*.f64 -1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 5))))
(fma.f64 re (pow.f64 im 5) (*.f64 (pow.f64 im 5) (-.f64 (*.f64 1/120 (pow.f64 re 5)) (*.f64 1/6 (pow.f64 re 3)))))
(*.f64 (pow.f64 im 5) (-.f64 (fma.f64 1/120 (pow.f64 re 5) re) (*.f64 1/6 (pow.f64 re 3))))
(*.f64 (pow.f64 im 5) (+.f64 (fma.f64 1/120 (pow.f64 re 5) re) (*.f64 (pow.f64 re 3) -1/6)))
(-.f64 (+.f64 (*.f64 re (pow.f64 im 5)) (*.f64 1/120 (*.f64 (pow.f64 re 5) (pow.f64 im 5)))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/5040 (*.f64 (pow.f64 re 7) (pow.f64 im 5)))))
(-.f64 (fma.f64 re (pow.f64 im 5) (*.f64 1/120 (*.f64 (pow.f64 re 5) (pow.f64 im 5)))) (fma.f64 1/6 (*.f64 (pow.f64 re 3) (pow.f64 im 5)) (*.f64 1/5040 (*.f64 (pow.f64 re 7) (pow.f64 im 5)))))
(-.f64 (*.f64 (pow.f64 im 5) (+.f64 re (*.f64 1/120 (pow.f64 re 5)))) (*.f64 (pow.f64 im 5) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 1/5040 (pow.f64 re 7)))))
(*.f64 (pow.f64 im 5) (-.f64 (fma.f64 1/120 (pow.f64 re 5) re) (fma.f64 1/6 (pow.f64 re 3) (*.f64 1/5040 (pow.f64 re 7)))))

prune133.0ms (1.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New96399
Fresh011
Picked011
Done000
Total965101
Error
0.1b
Counts
101 → 5
Alt Table
StatusErrorProgram
1.3b
(neg.f64 (+.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 3) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
0.3b
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
47.0b
(fma.f64 1/2 (/.f64 re (exp.f64 im)) (+.f64 (*.f64 (*.f64 1/12 (pow.f64 re 3)) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (exp.f64 im) (*.f64 re -1/2))))
34.6b
(neg.f64 (+.f64 (cbrt.f64 (*.f64 (pow.f64 (sin.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
34.6b
(neg.f64 (+.f64 (cbrt.f64 (pow.f64 (*.f64 (sin.f64 re) im) 3)) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
Compiler

Compiled 3186 to 2036 computations (36.1% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))
0.1b
(*.f64 (sin.f64 re) im)
0.6b
(pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 3)
13.6b
(cbrt.f64 (*.f64 (sin.f64 re) im))

series19.0ms (0.2%)

Counts
2 → 16
Calls

12 calls:

TimeVariablePointExpression
3.0ms
re
@inf
(cbrt.f64 (*.f64 (sin.f64 re) im))
3.0ms
im
@inf
(pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 3)
2.0ms
im
@-inf
(pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 3)
2.0ms
im
@-inf
(cbrt.f64 (*.f64 (sin.f64 re) im))
2.0ms
re
@-inf
(cbrt.f64 (*.f64 (sin.f64 re) im))

rewrite37.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
638×pow1_binary64
596×add-log-exp_binary64
596×log1p-expm1-u_binary64
596×expm1-log1p-u_binary64
71×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0814
116614
2166914
Stop Event
node limit
Counts
2 → 56
Calls
Call 1
Inputs
(cbrt.f64 (*.f64 (sin.f64 re) im))
(pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (*.f64 (sin.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))) (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))) 2) (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sin.f64 re)) (cbrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 im) (cbrt.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (sin.f64 re) im) 1/6) (pow.f64 (*.f64 (sin.f64 re) im) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2) 1/3) (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (*.f64 (sin.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 (sin.f64 re) im)) 1/3) (pow.f64 (sqrt.f64 (*.f64 (sin.f64 re) im)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 re) im) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 re) im) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 re) im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 re) im)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 im (sin.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 re) im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (sin.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2) (cbrt.f64 (*.f64 (sin.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))) (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sin.f64 re)) (*.f64 (cbrt.f64 im) (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 re)) 2) (*.f64 (cbrt.f64 (sin.f64 re)) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 im) 2) (*.f64 (cbrt.f64 im) (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (sin.f64 re) im)) (sqrt.f64 (*.f64 (sin.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (sin.f64 re) im) 1/6) (*.f64 (pow.f64 (*.f64 (sin.f64 re) im) 1/6) (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 re)) (*.f64 (sqrt.f64 (sin.f64 re)) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))) 2) 3) (cbrt.f64 (*.f64 (sin.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (sin.f64 re) im) 1/6) 3) (pow.f64 (pow.f64 (*.f64 (sin.f64 re) im) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 re) (pow.f64 (cbrt.f64 im) 2)) (cbrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sin.f64 re) (sqrt.f64 im)) (sqrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 im (pow.f64 (cbrt.f64 (sin.f64 re)) 2)) (cbrt.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 im (sqrt.f64 (sin.f64 re))) (sqrt.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2) 1) (cbrt.f64 (*.f64 (sin.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2) (cbrt.f64 (sin.f64 re))) (cbrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2) (pow.f64 (*.f64 (sin.f64 re) im) 1/6)) (pow.f64 (*.f64 (sin.f64 re) im) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (sin.f64 re) im) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sin.f64 re)) im))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 re) im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (sin.f64 re) 3) (pow.f64 im 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 im 3) (pow.f64 (sin.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 re) im)))))))

simplify72.0ms (0.8%)

Algorithm
egg-herbie
Rules
730×sqr-pow_binary64
370×cube-prod_binary64
362×unswap-sqr_binary64
313×pow-sqr_binary64
283×fabs-mul_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07112
114112
219112
328112
450112
5139112
6519112
71180112
81270112
91406112
101567112
111798112
122123112
132547112
143050112
153650112
164375112
174698112
184984112
Stop Event
node limit
Counts
72 → 57
Calls
Call 1
Inputs
(pow.f64 (*.f64 (sin.f64 re) im) 1/3)
(pow.f64 (*.f64 (sin.f64 re) im) 1/3)
(pow.f64 (*.f64 (sin.f64 re) im) 1/3)
(pow.f64 (*.f64 (sin.f64 re) im) 1/3)
(pow.f64 (*.f64 (sin.f64 re) im) 1/3)
(pow.f64 (*.f64 (sin.f64 re) im) 1/3)
(pow.f64 (*.f64 (sin.f64 re) im) 1/3)
(pow.f64 (*.f64 (sin.f64 re) im) 1/3)
(*.f64 (sin.f64 re) im)
(*.f64 (sin.f64 re) im)
(*.f64 (sin.f64 re) im)
(*.f64 (sin.f64 re) im)
(*.f64 (sin.f64 re) im)
(*.f64 (sin.f64 re) im)
(*.f64 (sin.f64 re) im)
(*.f64 (sin.f64 re) im)
Outputs
(pow.f64 (*.f64 (sin.f64 re) im) 1/3)
(cbrt.f64 (*.f64 (sin.f64 re) im))
(pow.f64 (*.f64 (sin.f64 re) im) 1/3)
(cbrt.f64 (*.f64 (sin.f64 re) im))
(pow.f64 (*.f64 (sin.f64 re) im) 1/3)
(cbrt.f64 (*.f64 (sin.f64 re) im))
(pow.f64 (*.f64 (sin.f64 re) im) 1/3)
(cbrt.f64 (*.f64 (sin.f64 re) im))
(pow.f64 (*.f64 (sin.f64 re) im) 1/3)
(cbrt.f64 (*.f64 (sin.f64 re) im))
(pow.f64 (*.f64 (sin.f64 re) im) 1/3)
(cbrt.f64 (*.f64 (sin.f64 re) im))
(pow.f64 (*.f64 (sin.f64 re) im) 1/3)
(cbrt.f64 (*.f64 (sin.f64 re) im))
(pow.f64 (*.f64 (sin.f64 re) im) 1/3)
(cbrt.f64 (*.f64 (sin.f64 re) im))
(*.f64 (sin.f64 re) im)
(*.f64 (sin.f64 re) im)
(*.f64 (sin.f64 re) im)
(*.f64 (sin.f64 re) im)
(*.f64 (sin.f64 re) im)
(*.f64 (sin.f64 re) im)
(*.f64 (sin.f64 re) im)
(*.f64 (sin.f64 re) im)

prune191.0ms (2.2%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New988106
Fresh123
Picked101
Done011
Total10011111
Error
0.0b
Counts
111 → 11
Alt Table
StatusErrorProgram
2.2b
(neg.f64 (+.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))) 3) 3) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
0.3b
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
1.9b
(neg.f64 (+.f64 (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))) 2) 3) (cbrt.f64 (*.f64 (sin.f64 re) im))) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
47.0b
(fma.f64 1/2 (/.f64 re (exp.f64 im)) (+.f64 (*.f64 (*.f64 1/12 (pow.f64 re 3)) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (exp.f64 im) (*.f64 re -1/2))))
1.6b
(neg.f64 (+.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))) (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2))) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
1.3b
(neg.f64 (+.f64 (*.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2)) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
1.4b
(neg.f64 (+.f64 (*.f64 (*.f64 (sin.f64 re) (pow.f64 (cbrt.f64 im) 2)) (cbrt.f64 im)) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
31.2b
(neg.f64 (+.f64 (*.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (sin.f64 re))) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
28.9b
(neg.f64 (+.f64 (*.f64 (sqrt.f64 (sin.f64 re)) (*.f64 (sqrt.f64 (sin.f64 re)) im)) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
34.6b
(neg.f64 (+.f64 (cbrt.f64 (*.f64 (pow.f64 (sin.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
1.2b
(neg.f64 (+.f64 (*.f64 (cbrt.f64 (sin.f64 re)) (*.f64 (cbrt.f64 im) (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2))) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
Compiler

Compiled 3984 to 2451 computations (38.5% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2)
0.6b
(cbrt.f64 (sin.f64 re))
0.7b
(cbrt.f64 im)
13.6b
(cbrt.f64 (*.f64 (sin.f64 re) im))

series10.0ms (0.1%)

Counts
3 → 16
Calls

12 calls:

TimeVariablePointExpression
2.0ms
re
@inf
(cbrt.f64 (sin.f64 re))
1.0ms
re
@-inf
(cbrt.f64 (sin.f64 re))
1.0ms
im
@-inf
(pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2)
1.0ms
re
@0
(pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2)
1.0ms
im
@inf
(pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2)

rewrite43.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
790×pow1_binary64
726×log1p-expm1-u_binary64
726×expm1-log1p-u_binary64
90×add-sqr-sqrt_binary64
87×*-un-lft-identity_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01019
119419
2207819
Stop Event
node limit
Counts
3 → 63
Calls
Call 1
Inputs
(cbrt.f64 im)
(cbrt.f64 (sin.f64 re))
(pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 im)) (cbrt.f64 (cbrt.f64 (*.f64 im im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (*.f64 im im))) (cbrt.f64 (cbrt.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 im 1/6) (pow.f64 im 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 im im)) 1/3) (cbrt.f64 (cbrt.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 im) 1/3) (pow.f64 (sqrt.f64 im) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 im 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 im)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 im 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (*.f64 im im)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 im) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 im)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 im)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (cbrt.f64 (sin.f64 re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sin.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (sin.f64 re))) (cbrt.f64 (cbrt.f64 (pow.f64 (sin.f64 re) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (pow.f64 (sin.f64 re) 2))) (cbrt.f64 (cbrt.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sin.f64 re) 1/6) (pow.f64 (sin.f64 re) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (pow.f64 (sin.f64 re) 2)) 1/3) (cbrt.f64 (cbrt.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (sin.f64 re)) 1/3) (pow.f64 (sqrt.f64 (sin.f64 re)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sin.f64 re) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sin.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (sin.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sin.f64 re) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (cbrt.f64 (pow.f64 (sin.f64 re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (cbrt.f64 (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (cbrt.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sin.f64 re)) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (sin.f64 re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (sin.f64 re))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (cbrt.f64 (*.f64 im (sin.f64 re))) 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sin.f64 re)) (*.f64 (cbrt.f64 im) (cbrt.f64 (*.f64 im (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 im (sin.f64 re))) (cbrt.f64 (*.f64 im (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 im (sin.f64 re))) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (cbrt.f64 (*.f64 im (sin.f64 re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (sin.f64 re) 2)) (cbrt.f64 (*.f64 im im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 im (sin.f64 re)))) 2) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 im (sin.f64 re))) 4)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 im (sin.f64 re)))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 im (sin.f64 re)))) (cbrt.f64 (*.f64 im (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 im (sin.f64 re))) 4)) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 im (sin.f64 re)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 im (sin.f64 re)) 1/6) (*.f64 (pow.f64 (*.f64 im (sin.f64 re)) 1/6) (cbrt.f64 (*.f64 im (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 im (sin.f64 re))) (pow.f64 (*.f64 im (sin.f64 re)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 im (sin.f64 re))) (cbrt.f64 (sin.f64 re))) (cbrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 im (sin.f64 re))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 im (sin.f64 re)))) 2)) (cbrt.f64 (cbrt.f64 (*.f64 im (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (*.f64 im (sin.f64 re))) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (cbrt.f64 (*.f64 im (sin.f64 re))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (cbrt.f64 (*.f64 im (sin.f64 re))) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 im (sin.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (cbrt.f64 (*.f64 im (sin.f64 re))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log.f64 (cbrt.f64 (*.f64 im (sin.f64 re))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (cbrt.f64 (*.f64 im (sin.f64 re))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (cbrt.f64 (*.f64 im (sin.f64 re))) 2)))))))

simplify92.0ms (1.1%)

Algorithm
egg-herbie
Rules
2215×associate-*l*_binary64
724×sqr-pow_binary64
290×pow-sqr_binary64
276×unswap-sqr_binary64
248×cube-prod_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011152
128152
256152
3137152
4512152
51058152
61149152
71288152
81461152
91650152
101886152
112163152
122483152
132855152
143264152
153697152
163893152
173997152
184069152
194123152
Stop Event
node limit
Counts
79 → 66
Calls
Call 1
Inputs
(pow.f64 (sin.f64 re) 1/3)
(pow.f64 (sin.f64 re) 1/3)
(pow.f64 (sin.f64 re) 1/3)
(pow.f64 (sin.f64 re) 1/3)
(pow.f64 (sin.f64 re) 1/3)
(pow.f64 (sin.f64 re) 1/3)
(pow.f64 (sin.f64 re) 1/3)
(pow.f64 (sin.f64 re) 1/3)
(pow.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (pow.f64 im 2)) 1/3)
(pow.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (pow.f64 im 2)) 1/3)
(pow.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (pow.f64 im 2)) 1/3)
(pow.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (pow.f64 im 2)) 1/3)
(pow.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (pow.f64 im 2)) 1/3)
(pow.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (pow.f64 im 2)) 1/3)
(pow.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (pow.f64 im 2)) 1/3)
(pow.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (pow.f64 im 2)) 1/3)
Outputs
(pow.f64 (sin.f64 re) 1/3)
(cbrt.f64 (sin.f64 re))
(pow.f64 (sin.f64 re) 1/3)
(cbrt.f64 (sin.f64 re))
(pow.f64 (sin.f64 re) 1/3)
(cbrt.f64 (sin.f64 re))
(pow.f64 (sin.f64 re) 1/3)
(cbrt.f64 (sin.f64 re))
(pow.f64 (sin.f64 re) 1/3)
(cbrt.f64 (sin.f64 re))
(pow.f64 (sin.f64 re) 1/3)
(cbrt.f64 (sin.f64 re))
(pow.f64 (sin.f64 re) 1/3)
(cbrt.f64 (sin.f64 re))
(pow.f64 (sin.f64 re) 1/3)
(cbrt.f64 (sin.f64 re))
(pow.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (pow.f64 im 2)) 1/3)
(cbrt.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (*.f64 im im)))
(pow.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (pow.f64 im 2)) 1/3)
(cbrt.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (*.f64 im im)))
(pow.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (pow.f64 im 2)) 1/3)
(cbrt.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (*.f64 im im)))
(pow.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (pow.f64 im 2)) 1/3)
(cbrt.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (*.f64 im im)))
(pow.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (pow.f64 im 2)) 1/3)
(cbrt.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (*.f64 im im)))
(pow.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (pow.f64 im 2)) 1/3)
(cbrt.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (*.f64 im im)))
(pow.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (pow.f64 im 2)) 1/3)
(cbrt.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (*.f64 im im)))
(pow.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (pow.f64 im 2)) 1/3)
(cbrt.f64 (*.f64 (pow.f64 (sin.f64 re) 2) (*.f64 im im)))

prune156.0ms (1.8%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New87289
Fresh279
Picked101
Done011
Total9010100
Error
0.0b
Counts
100 → 10
Alt Table
StatusErrorProgram
2.2b
(neg.f64 (+.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))) 3) 3) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
0.3b
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
1.6b
(neg.f64 (+.f64 (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (*.f64 (sin.f64 re) im))) (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2))) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
5.4b
(neg.f64 (+.f64 (*.f64 (*.f64 (pow.f64 (cbrt.f64 (pow.f64 (sin.f64 re) 2)) 1/3) (cbrt.f64 (cbrt.f64 (sin.f64 re)))) (*.f64 (cbrt.f64 im) (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2))) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
1.4b
(neg.f64 (+.f64 (*.f64 (*.f64 (sin.f64 re) (pow.f64 (cbrt.f64 im) 2)) (cbrt.f64 im)) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
47.0b
(fma.f64 1/2 (/.f64 re (exp.f64 im)) (+.f64 (*.f64 (*.f64 1/12 (pow.f64 re 3)) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 (exp.f64 im) (*.f64 re -1/2))))
31.2b
(neg.f64 (+.f64 (*.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (sin.f64 re))) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
28.9b
(neg.f64 (+.f64 (*.f64 (sqrt.f64 (sin.f64 re)) (*.f64 (sqrt.f64 (sin.f64 re)) im)) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
34.6b
(neg.f64 (+.f64 (cbrt.f64 (*.f64 (pow.f64 (sin.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
1.3b
(neg.f64 (+.f64 (*.f64 (log1p.f64 (expm1.f64 (cbrt.f64 (sin.f64 re)))) (*.f64 (cbrt.f64 im) (pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) im)) 2))) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
Compiler

Compiled 3636 to 1991 computations (45.2% saved)

regimes312.0ms (3.6%)

Accuracy

Total 0.4b remaining (50.7%)

Threshold costs 0.4b (50.7%)

Counts
82 → 1
Compiler

Compiled 2017 to 1149 computations (43% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Rules
16×*-commutative_binary64
13×+-commutative_binary64
11×sub-neg_binary64
11×neg-sub0_binary64
11×neg-mul-1_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01836
13236
25034
38034
410434
511634
612234
712434
Stop Event
saturated
Calls
Call 1
Inputs
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
Outputs
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
(-.f64 (*.f64 (sin.f64 re) (neg.f64 im)) (+.f64 (*.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5))) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))
(-.f64 (+.f64 (*.f64 (*.f64 (sin.f64 re) (pow.f64 im 5)) -1/120) (*.f64 (*.f64 (sin.f64 re) (pow.f64 im 3)) -1/6)) (*.f64 (sin.f64 re) im))

end213.0ms (2.5%)

Stop Event
fuel
Compiler

Compiled 376 to 253 computations (32.7% saved)

Profiling

Loading profile data...