Details

Time bar (total: 8.5s)

analyze544.0ms (6.4%)

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.2s (73.4%)

Results
3.0s4212×body1024valid
1.1s1997×body1024invalid
869.0ms2135×body512valid
371.0ms1018×body512invalid
273.0ms1052×body256valid
247.0ms244×body2048valid
133.0ms531×body256invalid
127.0ms800×body128invalid
104.0ms613×body128valid
Compiler

Compiled 28 to 22 computations (21.4% saved)

preprocess41.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)

simplify26.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
41.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
41.8b
(*.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 3 expressions with local error:

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

series9.0ms (0.1%)

Counts
3 → 36
Calls

12 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
@-inf
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))

rewrite112.0ms (1.3%)

Algorithm
egg-rewrite
egg-rewrite-iter-limit
batch-egg-rewrite
Rules
272×pow1_binary64
262×add-sqr-sqrt_binary64
257×*-un-lft-identity_binary64
250×add-log-exp_binary64
250×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01130
122830
2351030
0610
112710
2208510
0610
01118
122818
2350918
01118
033
1583
26733
Stop Event
node limit
iter limit
unsound
iter limit
unsound
unsound
Counts
3 → 38
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)))
(sin.f64 re)
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 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 expm1.f64 (log1p.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 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))))))))) (#(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 +.f64 0 (sin.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (sin.f64 re)))) (log.f64 (sqrt.f64 (exp.f64 (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (exp.f64 (sin.f64 re))) (cbrt.f64 (exp.f64 (sin.f64 re))))) (log.f64 (cbrt.f64 (exp.f64 (sin.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (sin.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (sin.f64 (+.f64 1 re)) (cos.f64 1)) (*.f64 (cos.f64 (+.f64 1 re)) (sin.f64 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sin.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sin.f64 re)) (pow.f64 (cbrt.f64 (sin.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (sin.f64 re)) 2) (cbrt.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 re)) (sqrt.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sin.f64 re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sin.f64 re) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sin.f64 re)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (sin.f64 re)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sin.f64 re) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sin.f64 re) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sin.f64 re)))))))

simplify45.0ms (0.5%)

Algorithm
egg-herbie
Rules
742×fma-def_binary64
285×cancel-sign-sub-inv_binary64
255×associate-*l*_binary64
245×associate-*r*_binary64
208×associate--r+_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0108786
1334768
21133714
34921714
Stop Event
node limit
Counts
74 → 73
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))))
re
(-.f64 re (*.f64 1/6 (pow.f64 re 3)))
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 re 5)) re) (*.f64 1/6 (pow.f64 re 3)))
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 re 5)) re) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 1/5040 (pow.f64 re 7))))
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 im 2))
(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/2520 (pow.f64 im 7) (*.f64 1/3 (pow.f64 im 3)))))
(-.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 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) re))
(*.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 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3)))) (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 1/240 (*.f64 (exp.f64 im) (pow.f64 re 5))))))
(-.f64 (fma.f64 (/.f64 1/2 (exp.f64 im)) re (fma.f64 (/.f64 1/240 (exp.f64 im)) (pow.f64 re 5) (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3))))) (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)))))))
(fma.f64 1/10080 (*.f64 (exp.f64 im) (pow.f64 re 7)) (-.f64 (fma.f64 (/.f64 1/2 (exp.f64 im)) re (fma.f64 (/.f64 1/240 (exp.f64 im)) (pow.f64 re 5) (*.f64 1/12 (*.f64 (exp.f64 im) (pow.f64 re 3))))) (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 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re)))
(*.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 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re)))
(*.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 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re)))
(*.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 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re)))
(*.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 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re)))
(*.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 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re)))
(*.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 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re)))
(*.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 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re)))
(*.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))
(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 (*.f64 (sin.f64 re) (-.f64 (neg.f64 im) (*.f64 (pow.f64 im 3) 1/6))) (*.f64 (sin.f64 re) (+.f64 (*.f64 (pow.f64 im 5) 1/120) (*.f64 (pow.f64 im 7) 1/5040))))
(*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re)))
(*.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 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re)))
(*.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 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re)))
(*.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 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re)))
(*.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 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re)))
(*.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 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re)))
(*.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 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re)))
(*.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 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (sin.f64 re)))
(*.f64 (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))) (sin.f64 re))
re
(-.f64 re (*.f64 1/6 (pow.f64 re 3)))
(+.f64 re (*.f64 -1/6 (pow.f64 re 3)))
(+.f64 re (*.f64 (pow.f64 re 3) -1/6))
(fma.f64 (pow.f64 re 3) -1/6 re)
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 re 5)) re) (*.f64 1/6 (pow.f64 re 3)))
(+.f64 (fma.f64 1/120 (pow.f64 re 5) re) (*.f64 -1/6 (pow.f64 re 3)))
(+.f64 (fma.f64 (pow.f64 re 5) 1/120 re) (*.f64 (pow.f64 re 3) -1/6))
(fma.f64 (pow.f64 re 3) -1/6 (fma.f64 (pow.f64 re 5) 1/120 re))
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 re 5)) re) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 1/5040 (pow.f64 re 7))))
(-.f64 (fma.f64 1/120 (pow.f64 re 5) re) (fma.f64 1/6 (pow.f64 re 3) (*.f64 (pow.f64 re 7) 1/5040)))
(-.f64 (fma.f64 (pow.f64 re 5) 1/120 re) (fma.f64 (pow.f64 re 3) 1/6 (*.f64 (pow.f64 re 7) 1/5040)))
(+.f64 (fma.f64 (pow.f64 re 3) -1/6 (fma.f64 (pow.f64 re 5) 1/120 re)) (*.f64 (pow.f64 re 7) -1/5040))

prune53.0ms (0.6%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New69473
Fresh000
Picked101
Done000
Total70474
Error
0.1b
Counts
74 → 4
Alt Table
StatusErrorProgram
41.8b
(*.f64 (*.f64 1/2 (pow.f64 (cbrt.f64 (sin.f64 re)) 3)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.3b
(*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
0.4b
(neg.f64 (+.f64 (*.f64 (sin.f64 re) im) (*.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)))))
43.3b
(log.f64 (exp.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))
Compiler

Compiled 1527 to 774 computations (49.3% saved)

localize13.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sin.f64 re)
0.1b
(*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))

series9.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
3.0ms
re
@inf
(*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
2.0ms
re
@0
(*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
1.0ms
im
@-inf
(*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
1.0ms
im
@inf
(*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
1.0ms
re
@-inf
(*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))

rewrite47.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
292×expm1-udef_binary64
292×log1p-udef_binary64
188×prod-diff_binary64
169×add-sqr-sqrt_binary64
161×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01726
136026
2386526
Stop Event
node limit
Counts
1 → 17
Calls
Call 1
Inputs
(*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (pow.f64 im 5) -1/60) (*.f64 1/2 (sin.f64 re))) (*.f64 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)) (*.f64 1/2 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/2 (sin.f64 re)) (*.f64 (pow.f64 im 5) -1/60)) (*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 1/2) (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 1/2 (sin.f64 re)) 3) (pow.f64 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))) 3) (pow.f64 (*.f64 1/2 (sin.f64 re)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))))))))

simplify27.0ms (0.3%)

Algorithm
egg-herbie
Rules
764×fma-def_binary64
551×associate-*l*_binary64
475×associate-*r*_binary64
326×associate--r+_binary64
244×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
090818
1290800
21237728
Stop Event
node limit
Counts
41 → 37
Calls
Call 1
Inputs
(*.f64 -1 (*.f64 re (+.f64 (*.f64 1/120 (pow.f64 im 5)) (+.f64 (*.f64 1/6 (pow.f64 im 3)) im))))
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im))))
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3))) (+.f64 (*.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im)))))))
(-.f64 (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/5040 (*.f64 (pow.f64 re 7) im)) (+.f64 (*.f64 1/30240 (*.f64 (pow.f64 re 7) (pow.f64 im 3))) (+.f64 (*.f64 1/604800 (*.f64 (pow.f64 re 7) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3)))))))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3))) (+.f64 (*.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im)))))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 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 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
(*.f64 -1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)))
(neg.f64 (+.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 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))))))
(*.f64 -1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)))
(neg.f64 (+.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 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))))))
Outputs
(*.f64 -1 (*.f64 re (+.f64 (*.f64 1/120 (pow.f64 im 5)) (+.f64 (*.f64 1/6 (pow.f64 im 3)) im))))
(neg.f64 (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))
(*.f64 (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)) (neg.f64 re))
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im))))
(-.f64 (fma.f64 1/6 (*.f64 im (pow.f64 re 3)) (fma.f64 1/720 (*.f64 (pow.f64 im 5) (pow.f64 re 3)) (*.f64 1/36 (*.f64 (pow.f64 im 3) (pow.f64 re 3))))) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (fma.f64 1/6 (*.f64 re (pow.f64 im 3)) (*.f64 re im))))
(-.f64 (fma.f64 1/6 (*.f64 im (pow.f64 re 3)) (fma.f64 1/720 (*.f64 (pow.f64 im 5) (pow.f64 re 3)) (*.f64 (pow.f64 im 3) (*.f64 (pow.f64 re 3) 1/36)))) (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))
(-.f64 (fma.f64 im (*.f64 1/6 (pow.f64 re 3)) (*.f64 (pow.f64 re 3) (+.f64 (*.f64 1/720 (pow.f64 im 5)) (*.f64 1/36 (pow.f64 im 3))))) (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3))) (+.f64 (*.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im)))))))
(-.f64 (fma.f64 1/6 (*.f64 im (pow.f64 re 3)) (fma.f64 1/720 (*.f64 (pow.f64 im 5) (pow.f64 re 3)) (*.f64 1/36 (*.f64 (pow.f64 im 3) (pow.f64 re 3))))) (fma.f64 1/720 (*.f64 (pow.f64 im 3) (pow.f64 re 5)) (fma.f64 1/14400 (*.f64 (pow.f64 im 5) (pow.f64 re 5)) (fma.f64 1/120 (*.f64 im (pow.f64 re 5)) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (fma.f64 1/6 (*.f64 re (pow.f64 im 3)) (*.f64 re im)))))))
(-.f64 (fma.f64 1/6 (*.f64 im (pow.f64 re 3)) (fma.f64 1/720 (*.f64 (pow.f64 im 5) (pow.f64 re 3)) (*.f64 (pow.f64 im 3) (*.f64 (pow.f64 re 3) 1/36)))) (fma.f64 1/720 (*.f64 (pow.f64 im 3) (pow.f64 re 5)) (fma.f64 1/14400 (*.f64 (pow.f64 im 5) (pow.f64 re 5)) (fma.f64 1/120 (*.f64 im (pow.f64 re 5)) (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))))))
(+.f64 (*.f64 (pow.f64 re 3) (+.f64 (*.f64 1/6 im) (*.f64 1/720 (pow.f64 im 5)))) (-.f64 (*.f64 (pow.f64 im 3) (-.f64 (*.f64 (pow.f64 re 3) 1/36) (*.f64 1/720 (pow.f64 re 5)))) (fma.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)) (*.f64 (pow.f64 re 5) (+.f64 (*.f64 1/14400 (pow.f64 im 5)) (*.f64 1/120 im))))))
(-.f64 (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/5040 (*.f64 (pow.f64 re 7) im)) (+.f64 (*.f64 1/30240 (*.f64 (pow.f64 re 7) (pow.f64 im 3))) (+.f64 (*.f64 1/604800 (*.f64 (pow.f64 re 7) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3)))))))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3))) (+.f64 (*.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im)))))))
(-.f64 (fma.f64 1/720 (*.f64 (pow.f64 im 5) (pow.f64 re 3)) (fma.f64 1/6 (*.f64 im (pow.f64 re 3)) (fma.f64 1/5040 (*.f64 im (pow.f64 re 7)) (fma.f64 1/30240 (*.f64 (pow.f64 im 3) (pow.f64 re 7)) (fma.f64 1/604800 (*.f64 (pow.f64 im 5) (pow.f64 re 7)) (*.f64 1/36 (*.f64 (pow.f64 im 3) (pow.f64 re 3)))))))) (fma.f64 1/720 (*.f64 (pow.f64 im 3) (pow.f64 re 5)) (fma.f64 1/14400 (*.f64 (pow.f64 im 5) (pow.f64 re 5)) (fma.f64 1/120 (*.f64 im (pow.f64 re 5)) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (fma.f64 1/6 (*.f64 re (pow.f64 im 3)) (*.f64 re im)))))))
(-.f64 (fma.f64 1/720 (*.f64 (pow.f64 im 5) (pow.f64 re 3)) (fma.f64 1/6 (*.f64 im (pow.f64 re 3)) (fma.f64 1/5040 (*.f64 im (pow.f64 re 7)) (fma.f64 1/30240 (*.f64 (pow.f64 im 3) (pow.f64 re 7)) (fma.f64 1/36 (*.f64 (pow.f64 im 3) (pow.f64 re 3)) (*.f64 (pow.f64 re 7) (*.f64 (pow.f64 im 5) 1/604800))))))) (fma.f64 1/720 (*.f64 (pow.f64 im 3) (pow.f64 re 5)) (fma.f64 1/14400 (*.f64 (pow.f64 im 5) (pow.f64 re 5)) (fma.f64 1/120 (*.f64 im (pow.f64 re 5)) (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))))))
(-.f64 (fma.f64 (pow.f64 im 5) (*.f64 (pow.f64 re 3) 1/720) (+.f64 (fma.f64 im (fma.f64 1/6 (pow.f64 re 3) (*.f64 1/5040 (pow.f64 re 7))) (*.f64 (pow.f64 re 7) (+.f64 (*.f64 1/604800 (pow.f64 im 5)) (*.f64 1/30240 (pow.f64 im 3))))) (*.f64 (pow.f64 im 3) (-.f64 (*.f64 (pow.f64 re 3) 1/36) (*.f64 1/720 (pow.f64 re 5)))))) (fma.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)) (*.f64 (pow.f64 re 5) (+.f64 (*.f64 1/14400 (pow.f64 im 5)) (*.f64 1/120 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2)))))
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))) (*.f64 -1/2 (sin.f64 re)))
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2)))))
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))) (*.f64 -1/2 (sin.f64 re)))
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2)))))
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))) (*.f64 -1/2 (sin.f64 re)))
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2)))))
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))) (*.f64 -1/2 (sin.f64 re)))
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2)))))
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))) (*.f64 -1/2 (sin.f64 re)))
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2)))))
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))) (*.f64 -1/2 (sin.f64 re)))
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2)))))
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))) (*.f64 -1/2 (sin.f64 re)))
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 im 2)))))
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2))) (*.f64 -1/2 (sin.f64 re)))
(*.f64 -1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 (pow.f64 im 3) 1/3 (*.f64 im 2)))))
(*.f64 -1 (*.f64 (sin.f64 re) im))
(neg.f64 (*.f64 im (sin.f64 re)))
(*.f64 (sin.f64 re) (neg.f64 im))
(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))))
(neg.f64 (fma.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3) (*.f64 im (sin.f64 re))))
(neg.f64 (*.f64 (sin.f64 re) (fma.f64 1/6 (pow.f64 im 3) im)))
(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/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re))))))
(-.f64 (*.f64 (pow.f64 im 3) (*.f64 (sin.f64 re) -1/6)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im)))
(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/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re))))))
(-.f64 (*.f64 (pow.f64 im 3) (*.f64 (sin.f64 re) -1/6)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im)))
(*.f64 -1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)))
(*.f64 (*.f64 (pow.f64 im 5) (sin.f64 re)) -1/120)
(*.f64 (sin.f64 re) (*.f64 (pow.f64 im 5) -1/120))
(*.f64 (pow.f64 im 5) (*.f64 (sin.f64 re) -1/120))
(neg.f64 (+.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 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))
(-.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 5) -1/120)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re))))
(*.f64 (sin.f64 re) (-.f64 (*.f64 (pow.f64 im 5) -1/120) (*.f64 1/6 (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 (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/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re))))))
(-.f64 (*.f64 (pow.f64 im 3) (*.f64 (sin.f64 re) -1/6)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im)))
(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/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re))))))
(-.f64 (*.f64 (pow.f64 im 3) (*.f64 (sin.f64 re) -1/6)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im)))
(*.f64 -1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)))
(*.f64 (*.f64 (pow.f64 im 5) (sin.f64 re)) -1/120)
(*.f64 (sin.f64 re) (*.f64 (pow.f64 im 5) -1/120))
(*.f64 (pow.f64 im 5) (*.f64 (sin.f64 re) -1/120))
(neg.f64 (+.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 1/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))
(-.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 5) -1/120)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re))))
(*.f64 (sin.f64 re) (-.f64 (*.f64 (pow.f64 im 5) -1/120) (*.f64 1/6 (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 (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/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re))))))
(-.f64 (*.f64 (pow.f64 im 3) (*.f64 (sin.f64 re) -1/6)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im)))
(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/120 (*.f64 (pow.f64 im 5) (sin.f64 re)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re))))))
(-.f64 (*.f64 (pow.f64 im 3) (*.f64 (sin.f64 re) -1/6)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im)))

prune94.0ms (1.1%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New541064
Fresh123
Picked011
Done000
Total551368
Error
0.0b
Counts
68 → 13
Alt Table
StatusErrorProgram
41.8b
(*.f64 (*.f64 1/2 (pow.f64 (cbrt.f64 (sin.f64 re)) 3)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.3b
(*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
1.1b
(*.f64 (*.f64 1/2 (pow.f64 (cbrt.f64 (sin.f64 re)) 3)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
43.3b
(log.f64 (exp.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))
24.0b
(pow.f64 (sqrt.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 2)
1.2b
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 3)
15.2b
(*.f64 (*.f64 1/2 (-.f64 (+.f64 1 (sin.f64 re)) 1)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
30.1b
(*.f64 (*.f64 1/2 (pow.f64 (sqrt.f64 (sin.f64 re)) 2)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
15.2b
(*.f64 (*.f64 1/2 (log.f64 (exp.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
7.5b
(*.f64 (*.f64 1/2 (cbrt.f64 (pow.f64 (sin.f64 re) 3))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
0.3b
(*.f64 (*.f64 1/2 (log1p.f64 (expm1.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
0.3b
(*.f64 (*.f64 1/2 (expm1.f64 (log1p.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
34.9b
(cbrt.f64 (*.f64 (pow.f64 (*.f64 1/2 (sin.f64 re)) 3) (pow.f64 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))) 3)))
Compiler

Compiled 2136 to 1621 computations (24.1% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sin.f64 re)
0.1b
(*.f64 (*.f64 1/2 (expm1.f64 (log1p.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
0.1b
(expm1.f64 (log1p.f64 (sin.f64 re)))
0.2b
(log1p.f64 (sin.f64 re))

series56.0ms (0.7%)

Counts
3 → 48
Calls

12 calls:

TimeVariablePointExpression
26.0ms
re
@inf
(log1p.f64 (sin.f64 re))
25.0ms
re
@-inf
(log1p.f64 (sin.f64 re))
1.0ms
re
@0
(log1p.f64 (sin.f64 re))
0.0ms
re
@0
(*.f64 (*.f64 1/2 (expm1.f64 (log1p.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
0.0ms
re
@0
(expm1.f64 (log1p.f64 (sin.f64 re)))

rewrite58.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
307×log1p-udef_binary64
223×prod-diff_binary64
177×add-sqr-sqrt_binary64
171×expm1-log1p-u_binary64
170×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01934
138134
2407234
Stop Event
node limit
Counts
3 → 54
Calls
Call 1
Inputs
(log1p.f64 (sin.f64 re))
(expm1.f64 (log1p.f64 (sin.f64 re)))
(*.f64 (*.f64 1/2 (expm1.f64 (log1p.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (log1p.f64 (sin.f64 re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log1p.f64 (sin.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log1p.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2) (cbrt.f64 (log1p.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log1p.f64 (sin.f64 re))) (sqrt.f64 (log1p.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log1p.f64 (sin.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log1p.f64 (sin.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 (sin.f64 re) 1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log1p.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (log1p.f64 (sin.f64 re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log1p.f64 (sin.f64 re))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (sin.f64 re) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (sin.f64 re) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sin.f64 re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sin.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (sin.f64 re)) (cbrt.f64 (pow.f64 (sin.f64 re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (sin.f64 re) 2)) (cbrt.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (sin.f64 re)) (sqrt.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 (sin.f64 re) 1) 3) 1) (+.f64 (*.f64 (+.f64 (sin.f64 re) 1) (+.f64 (sin.f64 re) 1)) (+.f64 1 (*.f64 (+.f64 (sin.f64 re) 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (sin.f64 re) 1) (+.f64 (sin.f64 re) 1)) 1) (+.f64 (+.f64 (sin.f64 re) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sin.f64 re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (sin.f64 re) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (sin.f64 re)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (sin.f64 re)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (sin.f64 re) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sin.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (sin.f64 re) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sin.f64 re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sin.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x sin.f64 re)))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (pow.f64 im 5) -1/60) (*.f64 (sin.f64 re) 1/2)) (*.f64 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)) (*.f64 (sin.f64 re) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (sin.f64 re) 1/2) (*.f64 (pow.f64 im 5) -1/60)) (*.f64 (*.f64 (sin.f64 re) 1/2) (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))) (*.f64 (sin.f64 re) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 (sin.f64 re) 1/2) 3) (pow.f64 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))) 3) (pow.f64 (*.f64 (sin.f64 re) 1/2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 re) (*.f64 1/2 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))))))))

simplify32.0ms (0.4%)

Algorithm
egg-herbie
Rules
885×fma-def_binary64
608×associate-*l*_binary64
535×associate-*r*_binary64
340×cancel-sign-sub-inv_binary64
167×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0113986
1359967
21436890
Stop Event
node limit
Counts
102 → 89
Calls
Call 1
Inputs
re
(-.f64 re (*.f64 1/2 (pow.f64 re 2)))
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re) (*.f64 1/2 (pow.f64 re 2)))
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/12 (pow.f64 re 4))))
(log.f64 (+.f64 1 (sin.f64 re)))
(log.f64 (+.f64 1 (sin.f64 re)))
(log.f64 (+.f64 1 (sin.f64 re)))
(log.f64 (+.f64 1 (sin.f64 re)))
(log.f64 (+.f64 1 (sin.f64 re)))
(log.f64 (+.f64 1 (sin.f64 re)))
(log.f64 (+.f64 1 (sin.f64 re)))
(log.f64 (+.f64 1 (sin.f64 re)))
re
(-.f64 re (*.f64 1/6 (pow.f64 re 3)))
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 re 5)) re) (*.f64 1/6 (pow.f64 re 3)))
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 re 5)) re) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 1/5040 (pow.f64 re 7))))
(sin.f64 re)
(sin.f64 re)
(sin.f64 re)
(sin.f64 re)
(sin.f64 re)
(sin.f64 re)
(sin.f64 re)
(sin.f64 re)
(*.f64 -1 (*.f64 re (+.f64 (*.f64 1/120 (pow.f64 im 5)) (+.f64 (*.f64 1/6 (pow.f64 im 3)) im))))
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im))))
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3))) (+.f64 (*.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im)))))))
(-.f64 (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/5040 (*.f64 (pow.f64 re 7) im)) (+.f64 (*.f64 1/30240 (*.f64 (pow.f64 re 7) (pow.f64 im 3))) (+.f64 (*.f64 1/604800 (*.f64 (pow.f64 re 7) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3)))))))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3))) (+.f64 (*.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im)))))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 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 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3))))))
(*.f64 -1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)))
(neg.f64 (+.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 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))))))
(*.f64 -1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)))
(neg.f64 (+.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 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))))))
Outputs
re
(-.f64 re (*.f64 1/2 (pow.f64 re 2)))
(+.f64 re (*.f64 -1/2 (*.f64 re re)))
(+.f64 re (*.f64 (*.f64 re re) -1/2))
(fma.f64 (*.f64 re re) -1/2 re)
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re) (*.f64 1/2 (pow.f64 re 2)))
(+.f64 (fma.f64 1/6 (pow.f64 re 3) re) (*.f64 -1/2 (*.f64 re re)))
(-.f64 (fma.f64 1/6 (pow.f64 re 3) re) (*.f64 (*.f64 1/2 re) re))
(fma.f64 (*.f64 re re) -1/2 (fma.f64 1/6 (pow.f64 re 3) re))
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/12 (pow.f64 re 4))))
(-.f64 (fma.f64 1/6 (pow.f64 re 3) re) (fma.f64 1/2 (*.f64 re re) (*.f64 1/12 (pow.f64 re 4))))
(+.f64 (fma.f64 1/6 (pow.f64 re 3) re) (fma.f64 (*.f64 re re) -1/2 (*.f64 (pow.f64 re 4) -1/12)))
(log.f64 (+.f64 1 (sin.f64 re)))
(log1p.f64 (sin.f64 re))
(log.f64 (+.f64 1 (sin.f64 re)))
(log1p.f64 (sin.f64 re))
(log.f64 (+.f64 1 (sin.f64 re)))
(log1p.f64 (sin.f64 re))
(log.f64 (+.f64 1 (sin.f64 re)))
(log1p.f64 (sin.f64 re))
(log.f64 (+.f64 1 (sin.f64 re)))
(log1p.f64 (sin.f64 re))
(log.f64 (+.f64 1 (sin.f64 re)))
(log1p.f64 (sin.f64 re))
(log.f64 (+.f64 1 (sin.f64 re)))
(log1p.f64 (sin.f64 re))
(log.f64 (+.f64 1 (sin.f64 re)))
(log1p.f64 (sin.f64 re))
re
(-.f64 re (*.f64 1/6 (pow.f64 re 3)))
(+.f64 re (*.f64 -1/6 (pow.f64 re 3)))
(+.f64 re (*.f64 (pow.f64 re 3) -1/6))
(fma.f64 (pow.f64 re 3) -1/6 re)
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 re 5)) re) (*.f64 1/6 (pow.f64 re 3)))
(+.f64 (fma.f64 1/120 (pow.f64 re 5) re) (*.f64 -1/6 (pow.f64 re 3)))
(+.f64 (fma.f64 1/120 (pow.f64 re 5) re) (*.f64 (pow.f64 re 3) -1/6))
(fma.f64 (pow.f64 re 3) -1/6 (fma.f64 1/120 (pow.f64 re 5) re))
(-.f64 (+.f64 (*.f64 1/120 (pow.f64 re 5)) re) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 1/5040 (pow.f64 re 7))))
(-.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 (fma.f64 1/120 (pow.f64 re 5) (fma.f64 (pow.f64 re 3) -1/6 (*.f64 (pow.f64 re 7) -1/5040))))
(sin.f64 re)
(sin.f64 re)
(sin.f64 re)
(sin.f64 re)
(sin.f64 re)
(sin.f64 re)
(sin.f64 re)
(sin.f64 re)
(*.f64 -1 (*.f64 re (+.f64 (*.f64 1/120 (pow.f64 im 5)) (+.f64 (*.f64 1/6 (pow.f64 im 3)) im))))
(neg.f64 (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))
(*.f64 re (neg.f64 (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))
(*.f64 (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)) (neg.f64 re))
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im))))
(-.f64 (fma.f64 1/6 (*.f64 (pow.f64 re 3) im) (fma.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5)) (*.f64 (*.f64 1/36 (pow.f64 re 3)) (pow.f64 im 3)))) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (fma.f64 1/6 (*.f64 re (pow.f64 im 3)) (*.f64 re im))))
(-.f64 (fma.f64 1/6 (*.f64 (pow.f64 re 3) im) (fma.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5)) (*.f64 (pow.f64 re 3) (*.f64 (pow.f64 im 3) 1/36)))) (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))
(-.f64 (fma.f64 1/6 (*.f64 (pow.f64 re 3) im) (*.f64 (pow.f64 re 3) (+.f64 (*.f64 (pow.f64 im 3) 1/36) (*.f64 (pow.f64 im 5) 1/720)))) (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3))))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3))) (+.f64 (*.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im)))))))
(-.f64 (fma.f64 1/6 (*.f64 (pow.f64 re 3) im) (fma.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5)) (*.f64 (*.f64 1/36 (pow.f64 re 3)) (pow.f64 im 3)))) (fma.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3)) (fma.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5)) (fma.f64 1/120 (*.f64 (pow.f64 re 5) im) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (fma.f64 1/6 (*.f64 re (pow.f64 im 3)) (*.f64 re im)))))))
(-.f64 (fma.f64 1/6 (*.f64 (pow.f64 re 3) im) (fma.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5)) (*.f64 (pow.f64 re 3) (*.f64 (pow.f64 im 3) 1/36)))) (fma.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3)) (fma.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5)) (fma.f64 1/120 (*.f64 (pow.f64 re 5) im) (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))))))
(-.f64 (+.f64 (*.f64 (pow.f64 re 3) (+.f64 (*.f64 1/6 im) (*.f64 (pow.f64 im 5) 1/720))) (*.f64 (pow.f64 im 3) (-.f64 (*.f64 (pow.f64 re 3) 1/36) (*.f64 (pow.f64 re 5) 1/720)))) (fma.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)) (*.f64 (pow.f64 re 5) (+.f64 (*.f64 (pow.f64 im 5) 1/14400) (*.f64 im 1/120)))))
(-.f64 (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) im)) (+.f64 (*.f64 1/5040 (*.f64 (pow.f64 re 7) im)) (+.f64 (*.f64 1/30240 (*.f64 (pow.f64 re 7) (pow.f64 im 3))) (+.f64 (*.f64 1/604800 (*.f64 (pow.f64 re 7) (pow.f64 im 5))) (*.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3)))))))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3))) (+.f64 (*.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5))) (+.f64 (*.f64 1/120 (*.f64 (pow.f64 re 5) im)) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (+.f64 (*.f64 1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im)))))))
(-.f64 (fma.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5)) (fma.f64 1/6 (*.f64 (pow.f64 re 3) im) (fma.f64 1/5040 (*.f64 (pow.f64 re 7) im) (fma.f64 1/30240 (*.f64 (pow.f64 re 7) (pow.f64 im 3)) (fma.f64 1/604800 (*.f64 (pow.f64 re 7) (pow.f64 im 5)) (*.f64 (*.f64 1/36 (pow.f64 re 3)) (pow.f64 im 3))))))) (fma.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3)) (fma.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5)) (fma.f64 1/120 (*.f64 (pow.f64 re 5) im) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (fma.f64 1/6 (*.f64 re (pow.f64 im 3)) (*.f64 re im)))))))
(-.f64 (fma.f64 1/720 (*.f64 (pow.f64 re 3) (pow.f64 im 5)) (+.f64 (fma.f64 1/30240 (*.f64 (pow.f64 re 7) (pow.f64 im 3)) (fma.f64 1/36 (*.f64 (pow.f64 re 3) (pow.f64 im 3)) (*.f64 (pow.f64 im 5) (*.f64 (pow.f64 re 7) 1/604800)))) (*.f64 im (fma.f64 1/6 (pow.f64 re 3) (*.f64 1/5040 (pow.f64 re 7)))))) (fma.f64 1/720 (*.f64 (pow.f64 re 5) (pow.f64 im 3)) (fma.f64 1/14400 (*.f64 (pow.f64 re 5) (pow.f64 im 5)) (fma.f64 1/120 (*.f64 (pow.f64 re 5) im) (*.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))))))
(-.f64 (fma.f64 (pow.f64 re 3) (*.f64 (pow.f64 im 5) 1/720) (fma.f64 im (fma.f64 1/6 (pow.f64 re 3) (*.f64 1/5040 (pow.f64 re 7))) (fma.f64 (pow.f64 re 7) (*.f64 (pow.f64 im 5) 1/604800) (*.f64 (pow.f64 im 3) (+.f64 (*.f64 (pow.f64 re 3) 1/36) (*.f64 (pow.f64 re 7) 1/30240)))))) (fma.f64 (pow.f64 re 5) (*.f64 (pow.f64 im 3) 1/720) (fma.f64 re (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)) (*.f64 (pow.f64 re 5) (+.f64 (*.f64 (pow.f64 im 5) 1/14400) (*.f64 im 1/120))))))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 (*.f64 -1/2 (sin.f64 re)) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 2 im))))
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 2 im (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2))
(*.f64 (fma.f64 2 im (fma.f64 (pow.f64 im 5) 1/60 (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 (*.f64 -1/2 (sin.f64 re)) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 2 im))))
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 2 im (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2))
(*.f64 (fma.f64 2 im (fma.f64 (pow.f64 im 5) 1/60 (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 (*.f64 -1/2 (sin.f64 re)) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 2 im))))
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 2 im (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2))
(*.f64 (fma.f64 2 im (fma.f64 (pow.f64 im 5) 1/60 (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 (*.f64 -1/2 (sin.f64 re)) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 2 im))))
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 2 im (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2))
(*.f64 (fma.f64 2 im (fma.f64 (pow.f64 im 5) 1/60 (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 (*.f64 -1/2 (sin.f64 re)) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 2 im))))
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 2 im (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2))
(*.f64 (fma.f64 2 im (fma.f64 (pow.f64 im 5) 1/60 (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 (*.f64 -1/2 (sin.f64 re)) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 2 im))))
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 2 im (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2))
(*.f64 (fma.f64 2 im (fma.f64 (pow.f64 im 5) 1/60 (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 (*.f64 -1/2 (sin.f64 re)) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 2 im))))
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 2 im (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2))
(*.f64 (fma.f64 2 im (fma.f64 (pow.f64 im 5) 1/60 (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2))
(*.f64 -1/2 (*.f64 (sin.f64 re) (+.f64 (*.f64 1/60 (pow.f64 im 5)) (+.f64 (*.f64 1/3 (pow.f64 im 3)) (*.f64 2 im)))))
(*.f64 (*.f64 -1/2 (sin.f64 re)) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (*.f64 2 im))))
(*.f64 (fma.f64 (pow.f64 im 5) 1/60 (fma.f64 2 im (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2))
(*.f64 (fma.f64 2 im (fma.f64 (pow.f64 im 5) 1/60 (*.f64 (pow.f64 im 3) 1/3))) (*.f64 (sin.f64 re) -1/2))
(*.f64 -1 (*.f64 (sin.f64 re) im))
(neg.f64 (*.f64 (sin.f64 re) im))
(*.f64 (sin.f64 re) (neg.f64 im))
(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 (sin.f64 re) (pow.f64 im 3)) -1/6) (*.f64 (sin.f64 re) im))
(neg.f64 (*.f64 (sin.f64 re) (fma.f64 1/6 (pow.f64 im 3) im)))
(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 (sin.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3)))))
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re))))))
(neg.f64 (fma.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im))))
(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 (sin.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3)))))
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re))))))
(neg.f64 (fma.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im))))
(*.f64 -1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)))
(*.f64 (*.f64 -1/120 (sin.f64 re)) (pow.f64 im 5))
(*.f64 (sin.f64 re) (*.f64 (pow.f64 im 5) -1/120))
(neg.f64 (+.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 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))
(-.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 5) -1/120)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re))))
(*.f64 (sin.f64 re) (-.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 1/6 (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 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3)))))
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re))))))
(neg.f64 (fma.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im))))
(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 (sin.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3)))))
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re))))))
(neg.f64 (fma.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im))))
(*.f64 -1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)))
(*.f64 (*.f64 -1/120 (sin.f64 re)) (pow.f64 im 5))
(*.f64 (sin.f64 re) (*.f64 (pow.f64 im 5) -1/120))
(neg.f64 (+.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 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3))))
(-.f64 (*.f64 (sin.f64 re) (*.f64 (pow.f64 im 5) -1/120)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re))))
(*.f64 (sin.f64 re) (-.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 1/6 (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 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3)))))
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re))))))
(neg.f64 (fma.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im))))
(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 (sin.f64 re) (pow.f64 im 5)) (*.f64 (*.f64 1/6 (sin.f64 re)) (pow.f64 im 3)))))
(neg.f64 (fma.f64 (sin.f64 re) im (fma.f64 1/120 (*.f64 (sin.f64 re) (pow.f64 im 5)) (*.f64 (pow.f64 im 3) (*.f64 1/6 (sin.f64 re))))))
(neg.f64 (fma.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im))))

prune191.0ms (2.2%)

Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1133116
Fresh2911
Picked011
Done011
Total11514129
Error
0.0b
Counts
129 → 14
Alt Table
StatusErrorProgram
1.0b
(*.f64 (*.f64 1/2 (expm1.f64 (*.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
1.2b
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 3)
41.8b
(*.f64 (*.f64 1/2 (pow.f64 (cbrt.f64 (sin.f64 re)) 3)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.3b
(*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
1.1b
(*.f64 (*.f64 1/2 (pow.f64 (cbrt.f64 (sin.f64 re)) 3)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
43.3b
(log.f64 (exp.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))
34.9b
(cbrt.f64 (*.f64 (pow.f64 (*.f64 1/2 (sin.f64 re)) 3) (pow.f64 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))) 3)))
15.3b
(*.f64 (*.f64 1/2 (/.f64 (-.f64 (*.f64 (+.f64 (sin.f64 re) 1) (+.f64 (sin.f64 re) 1)) 1) (+.f64 (+.f64 (sin.f64 re) 1) 1))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
3.8b
(*.f64 (*.f64 1/2 (*.f64 (cbrt.f64 (sin.f64 re)) (cbrt.f64 (pow.f64 (sin.f64 re) 2)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
24.0b
(pow.f64 (sqrt.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 2)
30.1b
(*.f64 (*.f64 1/2 (pow.f64 (sqrt.f64 (sin.f64 re)) 2)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
15.2b
(*.f64 (*.f64 1/2 (log.f64 (exp.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
7.5b
(*.f64 (*.f64 1/2 (cbrt.f64 (pow.f64 (sin.f64 re) 3))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
0.3b
(*.f64 (*.f64 1/2 (expm1.f64 (log1p.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
Compiler

Compiled 3528 to 2647 computations (25% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(log1p.f64 (sin.f64 re))
0.3b
(*.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2))
0.5b
(pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2)
0.6b
(cbrt.f64 (log1p.f64 (sin.f64 re)))

series9.0ms (0.1%)

Counts
3 → 28
Calls

9 calls:

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

rewrite73.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
547×pow1_binary64
506×add-log-exp_binary64
506×expm1-log1p-u_binary64
505×log1p-expm1-u_binary64
493×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify28.0ms (0.3%)

Algorithm
egg-herbie
Rules
322×distribute-rgt-neg-in_binary64
281×distribute-lft-neg-in_binary64
261×fma-def_binary64
209×associate-*l*_binary64
209×distribute-lft-out--_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
027228
175228
2170224
3547216
42159216
Stop Event
node limit
Counts
75 → 58
Calls
Call 1
Inputs
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3)
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3)
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3)
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3)
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3)
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3)
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3)
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3)
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3)
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3)
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3)
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3)
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3)
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3)
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3)
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3)
re
(-.f64 re (*.f64 1/2 (pow.f64 re 2)))
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re) (*.f64 1/2 (pow.f64 re 2)))
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/12 (pow.f64 re 4))))
(log.f64 (+.f64 1 (sin.f64 re)))
(log.f64 (+.f64 1 (sin.f64 re)))
(log.f64 (+.f64 1 (sin.f64 re)))
(log.f64 (+.f64 1 (sin.f64 re)))
(log.f64 (+.f64 1 (sin.f64 re)))
(log.f64 (+.f64 1 (sin.f64 re)))
(log.f64 (+.f64 1 (sin.f64 re)))
(log.f64 (+.f64 1 (sin.f64 re)))
Outputs
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3)
(cbrt.f64 (log1p.f64 (sin.f64 re)))
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3)
(cbrt.f64 (log1p.f64 (sin.f64 re)))
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3)
(cbrt.f64 (log1p.f64 (sin.f64 re)))
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3)
(cbrt.f64 (log1p.f64 (sin.f64 re)))
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3)
(cbrt.f64 (log1p.f64 (sin.f64 re)))
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3)
(cbrt.f64 (log1p.f64 (sin.f64 re)))
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3)
(cbrt.f64 (log1p.f64 (sin.f64 re)))
(pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 1/3)
(cbrt.f64 (log1p.f64 (sin.f64 re)))
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3)
(cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2))
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3)
(cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2))
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3)
(cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2))
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3)
(cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2))
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3)
(cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2))
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3)
(cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2))
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3)
(cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2))
(pow.f64 (pow.f64 (log.f64 (+.f64 1 (sin.f64 re))) 2) 1/3)
(cbrt.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 2))
re
(-.f64 re (*.f64 1/2 (pow.f64 re 2)))
(+.f64 re (*.f64 -1/2 (*.f64 re re)))
(+.f64 re (*.f64 (*.f64 re re) -1/2))
(fma.f64 (*.f64 re -1/2) re re)
(*.f64 re (fma.f64 re -1/2 1))
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re) (*.f64 1/2 (pow.f64 re 2)))
(+.f64 (fma.f64 1/6 (pow.f64 re 3) re) (*.f64 -1/2 (*.f64 re re)))
(+.f64 (fma.f64 1/6 (pow.f64 re 3) re) (*.f64 (*.f64 re re) -1/2))
(fma.f64 (*.f64 re re) -1/2 (fma.f64 1/6 (pow.f64 re 3) re))
(fma.f64 (*.f64 re re) (fma.f64 re 1/6 -1/2) re)
(fma.f64 re (*.f64 re (fma.f64 re 1/6 -1/2)) re)
(-.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/12 (pow.f64 re 4))))
(-.f64 (fma.f64 1/6 (pow.f64 re 3) re) (fma.f64 1/2 (*.f64 re re) (*.f64 1/12 (pow.f64 re 4))))
(+.f64 re (fma.f64 1/6 (pow.f64 re 3) (fma.f64 (*.f64 re re) -1/2 (*.f64 (pow.f64 re 4) -1/12))))
(fma.f64 (pow.f64 re 4) -1/12 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 -1/2) re))
(fma.f64 (pow.f64 re 4) -1/12 (fma.f64 re (*.f64 re (fma.f64 re 1/6 -1/2)) re))
(log.f64 (+.f64 1 (sin.f64 re)))
(log1p.f64 (sin.f64 re))
(log.f64 (+.f64 1 (sin.f64 re)))
(log1p.f64 (sin.f64 re))
(log.f64 (+.f64 1 (sin.f64 re)))
(log1p.f64 (sin.f64 re))
(log.f64 (+.f64 1 (sin.f64 re)))
(log1p.f64 (sin.f64 re))
(log.f64 (+.f64 1 (sin.f64 re)))
(log1p.f64 (sin.f64 re))
(log.f64 (+.f64 1 (sin.f64 re)))
(log1p.f64 (sin.f64 re))
(log.f64 (+.f64 1 (sin.f64 re)))
(log1p.f64 (sin.f64 re))
(log.f64 (+.f64 1 (sin.f64 re)))
(log1p.f64 (sin.f64 re))

prune207.0ms (2.4%)

Pruning

15 alts after pruning (12 fresh and 3 done)

PrunedKeptTotal
New1291130
Fresh01111
Picked011
Done022
Total12915144
Error
0.0b
Counts
144 → 15
Alt Table
StatusErrorProgram
1.0b
(*.f64 (*.f64 1/2 (expm1.f64 (*.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) (pow.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) 2)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
1.2b
(pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 3)
41.8b
(*.f64 (*.f64 1/2 (pow.f64 (cbrt.f64 (sin.f64 re)) 3)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.3b
(*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
1.1b
(*.f64 (*.f64 1/2 (pow.f64 (cbrt.f64 (sin.f64 re)) 3)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
43.3b
(log.f64 (exp.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))
7.5b
(*.f64 (*.f64 1/2 (cbrt.f64 (pow.f64 (sin.f64 re) 3))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
30.7b
(*.f64 (*.f64 1/2 (expm1.f64 (*.f64 (cbrt.f64 (log1p.f64 (sin.f64 re))) (pow.f64 (pow.f64 (log1p.f64 (sin.f64 re)) 1/3) 2)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
34.9b
(cbrt.f64 (*.f64 (pow.f64 (*.f64 1/2 (sin.f64 re)) 3) (pow.f64 (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2))) 3)))
15.3b
(*.f64 (*.f64 1/2 (/.f64 (-.f64 (*.f64 (+.f64 (sin.f64 re) 1) (+.f64 (sin.f64 re) 1)) 1) (+.f64 (+.f64 (sin.f64 re) 1) 1))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
3.8b
(*.f64 (*.f64 1/2 (*.f64 (cbrt.f64 (sin.f64 re)) (cbrt.f64 (pow.f64 (sin.f64 re) 2)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
24.0b
(pow.f64 (sqrt.f64 (*.f64 1/2 (*.f64 (sin.f64 re) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 im -2)))))) 2)
30.1b
(*.f64 (*.f64 1/2 (pow.f64 (sqrt.f64 (sin.f64 re)) 2)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
15.2b
(*.f64 (*.f64 1/2 (log.f64 (exp.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
0.3b
(*.f64 (*.f64 1/2 (expm1.f64 (log1p.f64 (sin.f64 re)))) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
Compiler

Compiled 4400 to 2905 computations (34% saved)

regimes219.0ms (2.6%)

Accuracy

Total 0.6b remaining (90.3%)

Threshold costs 0.6b (90.3%)

Counts
60 → 1
Compiler

Compiled 1161 to 763 computations (34.3% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01527
12127
22327
32427
Stop Event
saturated
Calls
Call 1
Inputs
(neg.f64 (fma.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im))))
Outputs
(neg.f64 (fma.f64 1/6 (*.f64 (sin.f64 re) (pow.f64 im 3)) (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) im))))

end325.0ms (3.8%)

Stop Event
fuel
Compiler

Compiled 399 to 316 computations (20.8% saved)

Profiling

Loading profile data...