Details

Time bar (total: 10.4s)

analyze146.0ms (1.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%37.5%12.6%7
50%37.5%12.6%8
50%31.2%18.8%9
50%31.2%18.8%10
50%28.1%22%11
50%28.1%22%12
Compiler

Compiled 15 to 12 computations (20% saved)

sample5.7s (54.9%)

Results
3.0s5064×body1024valid
891.0ms2030×body1024invalid
553.0ms1757×body512valid
522.0ms964×body512invalid
352.0ms397×body2048valid
208.0ms1473×body256invalid
172.0ms1038×body256valid
1.0msbody2048invalid

preprocess67.0ms (0.6%)

Algorithm
egg-herbie
Rules
738×div-sub_binary64
692×fma-def_binary64
564×times-frac_binary64
459×associate-/r*_binary64
454×fma-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01936
14036
29536
325536
453934
591234
6181234
7375134
8732734
022
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
(*.f64 (*.f64 1/2 (cos.f64 im)) (-.f64 (exp.f64 (-.f64 0 re)) (exp.f64 re)))
Outputs
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (cos.f64 re) (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))))
(*.f64 (*.f64 1/2 (cos.f64 im)) (-.f64 (exp.f64 (-.f64 0 re)) (exp.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 im) (-.f64 (exp.f64 (neg.f64 re)) (exp.f64 re))))
(*.f64 (*.f64 1/2 (cos.f64 im)) (-.f64 (exp.f64 (neg.f64 re)) (exp.f64 re)))
(*.f64 (cos.f64 im) (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 re)) (exp.f64 re))))
(*.f64 (cos.f64 im) (fma.f64 (exp.f64 re) -1/2 (/.f64 1/2 (exp.f64 re))))
Compiler

Compiled 16 to 13 computations (18.8% saved)

simplify49.0ms (0.5%)

Algorithm
egg-herbie
Rules
623×associate-/l*_binary64
546×div-sub_binary64
462×times-frac_binary64
367×associate-/r*_binary64
358×distribute-neg-frac_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01218
12318
25218
313218
428117
547317
692917
7237617
8622417
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
Outputs
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (cos.f64 re) (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))))

eval1.0ms (0%)

Compiler

Compiled 25 to 16 computations (36% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
58.1b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
58.1b
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
Compiler

Compiled 14 to 11 computations (21.4% saved)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
6.6b
(-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
6.6b
(-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))
Compiler

Compiled 40 to 24 computations (40% saved)

series7.0ms (0.1%)

Counts
2 → 36
Calls

9 calls:

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

rewrite150.0ms (1.4%)

Algorithm
egg-rewrite-iter-limit
egg-rewrite
batch-egg-rewrite
Rules
557×pow1_binary64
523×add-log-exp_binary64
521×log1p-expm1-u_binary64
521×expm1-log1p-u_binary64
512×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01228
125228
2343428
0710
11518
222428
01218
125218
2343418
01218
Stop Event
iter limit
node limit
node limit
node limit
Counts
2 → 41
Calls
Call 1
Inputs
(-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 im) (neg.f64 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 im) (*.f64 (neg.f64 (exp.f64 im)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (exp.f64 im) (exp.f64 im)) (fma.f64 (neg.f64 (exp.f64 im)) 1 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (exp.f64 im) (exp.f64 im)) (fma.f64 (neg.f64 (cbrt.f64 (exp.f64 im))) (pow.f64 (cbrt.f64 (exp.f64 im)) 2) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (exp.f64 im) (exp.f64 im)) (fma.f64 (neg.f64 (sqrt.f64 (exp.f64 im))) (sqrt.f64 (exp.f64 im)) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (exp.f64 im)) (exp.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (exp.f64 im) (exp.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (exp.f64 im) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (exp.f64 im) (exp.f64 im))) (pow.f64 (cbrt.f64 (-.f64 (exp.f64 im) (exp.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (exp.f64 im) (exp.f64 im))) 2) (cbrt.f64 (-.f64 (exp.f64 im) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (exp.f64 im) (exp.f64 im))) (sqrt.f64 (-.f64 (exp.f64 im) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (exp.f64 im) 3) (pow.f64 (exp.f64 im) 3)) (/.f64 1 (fma.f64 (exp.f64 im) (exp.f64 im) (*.f64 (exp.f64 im) (+.f64 (exp.f64 im) (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (exp.f64 im) 2) (pow.f64 (exp.f64 im) 2)) (/.f64 1 (+.f64 (exp.f64 im) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (exp.f64 im)) (sqrt.f64 (exp.f64 im))) (-.f64 (sqrt.f64 (exp.f64 im)) (sqrt.f64 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (exp.f64 im) (exp.f64 im) (*.f64 (exp.f64 im) (+.f64 (exp.f64 im) (exp.f64 im)))) (-.f64 (pow.f64 (exp.f64 im) 3) (pow.f64 (exp.f64 im) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (exp.f64 im) (exp.f64 im)) (-.f64 (pow.f64 (exp.f64 im) 2) (pow.f64 (exp.f64 im) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 im) 3) (pow.f64 (exp.f64 im) 3)) (fma.f64 (exp.f64 im) (exp.f64 im) (*.f64 (exp.f64 im) (+.f64 (exp.f64 im) (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 im) 2) (pow.f64 (exp.f64 im) 2)) (+.f64 (exp.f64 im) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (exp.f64 im) 3) (pow.f64 (exp.f64 im) 3))) (neg.f64 (fma.f64 (exp.f64 im) (exp.f64 im) (*.f64 (exp.f64 im) (+.f64 (exp.f64 im) (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (exp.f64 im) 2) (pow.f64 (exp.f64 im) 2))) (neg.f64 (+.f64 (exp.f64 im) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 im) 3) (pow.f64 (neg.f64 (exp.f64 im)) 3)) (+.f64 (pow.f64 (exp.f64 im) 2) (-.f64 (*.f64 (neg.f64 (exp.f64 im)) (neg.f64 (exp.f64 im))) (*.f64 (exp.f64 im) (neg.f64 (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 im) 2) (*.f64 (neg.f64 (exp.f64 im)) (neg.f64 (exp.f64 im)))) (-.f64 (exp.f64 im) (neg.f64 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (exp.f64 im) (exp.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (exp.f64 im) (exp.f64 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (exp.f64 im) (exp.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (exp.f64 im) (exp.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (exp.f64 im) (exp.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (exp.f64 im) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (exp.f64 im) (exp.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (exp.f64 im) (neg.f64 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (exp.f64 im)) 2) (cbrt.f64 (exp.f64 im)) (neg.f64 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (exp.f64 im)) (sqrt.f64 (exp.f64 im)) (neg.f64 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (exp.f64 im) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (exp.f64 im) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (exp.f64 im) (exp.f64 im))))))))
((#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))))

simplify101.0ms (1%)

Algorithm
egg-herbie
Rules
469×unswap-sqr_binary64
413×distribute-rgt-in_binary64
354×*-commutative_binary64
335×distribute-lft-in_binary64
334×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
071698
1183696
2507642
31865612
44492612
Stop Event
node limit
Counts
77 → 69
Calls
Call 1
Inputs
(*.f64 -2 im)
(+.f64 (*.f64 -2 im) (*.f64 -1/3 (pow.f64 im 3)))
(+.f64 (*.f64 -2 im) (+.f64 (*.f64 -1/60 (pow.f64 im 5)) (*.f64 -1/3 (pow.f64 im 3))))
(+.f64 (*.f64 -1/2520 (pow.f64 im 7)) (+.f64 (*.f64 -2 im) (+.f64 (*.f64 -1/60 (pow.f64 im 5)) (*.f64 -1/3 (pow.f64 im 3)))))
(-.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))
(-.f64 (exp.f64 (neg.f64 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 (exp.f64 (*.f64 -1 im)) (exp.f64 im))
(*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(+.f64 (*.f64 -1/4 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (pow.f64 re 2))) (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(+.f64 (*.f64 1/48 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (pow.f64 re 4))) (+.f64 (*.f64 -1/4 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (pow.f64 re 2))) (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
(+.f64 (*.f64 -1/1440 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (pow.f64 re 6))) (+.f64 (*.f64 1/48 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (pow.f64 re 4))) (+.f64 (*.f64 -1/4 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (pow.f64 re 2))) (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))))
Outputs
(*.f64 -2 im)
(+.f64 (*.f64 -2 im) (*.f64 -1/3 (pow.f64 im 3)))
(fma.f64 -2 im (*.f64 -1/3 (pow.f64 im 3)))
(fma.f64 -1/3 (pow.f64 im 3) (*.f64 -2 im))
(+.f64 (*.f64 -2 im) (+.f64 (*.f64 -1/60 (pow.f64 im 5)) (*.f64 -1/3 (pow.f64 im 3))))
(fma.f64 -2 im (fma.f64 -1/60 (pow.f64 im 5) (*.f64 -1/3 (pow.f64 im 3))))
(fma.f64 -2 im (fma.f64 -1/3 (pow.f64 im 3) (*.f64 -1/60 (pow.f64 im 5))))
(fma.f64 -1/3 (pow.f64 im 3) (fma.f64 -1/60 (pow.f64 im 5) (*.f64 -2 im)))
(+.f64 (*.f64 -1/2520 (pow.f64 im 7)) (+.f64 (*.f64 -2 im) (+.f64 (*.f64 -1/60 (pow.f64 im 5)) (*.f64 -1/3 (pow.f64 im 3)))))
(fma.f64 -1/2520 (pow.f64 im 7) (fma.f64 -2 im (fma.f64 -1/60 (pow.f64 im 5) (*.f64 -1/3 (pow.f64 im 3)))))
(fma.f64 -1/2520 (pow.f64 im 7) (fma.f64 -2 im (fma.f64 -1/3 (pow.f64 im 3) (*.f64 -1/60 (pow.f64 im 5)))))
(fma.f64 -1/2520 (pow.f64 im 7) (fma.f64 -1/3 (pow.f64 im 3) (fma.f64 -1/60 (pow.f64 im 5) (*.f64 -2 im))))
(-.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))
(-.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 (exp.f64 (*.f64 -1 im)) (exp.f64 im))
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
(*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2)
(+.f64 (*.f64 -1/4 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (pow.f64 re 2))) (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(fma.f64 -1/4 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 re re)) (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))))
(+.f64 (*.f64 1/48 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (pow.f64 re 4))) (+.f64 (*.f64 -1/4 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (pow.f64 re 2))) (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
(fma.f64 1/48 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (pow.f64 re 4)) (fma.f64 -1/4 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 re re)) (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2)))
(fma.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 -1/4 (*.f64 re re)) (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (*.f64 1/48 (pow.f64 re 4)) 1/2)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 1/2 (+.f64 (*.f64 1/48 (pow.f64 re 4)) (*.f64 -1/4 (*.f64 re re)))))
(+.f64 (*.f64 -1/1440 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (pow.f64 re 6))) (+.f64 (*.f64 1/48 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (pow.f64 re 4))) (+.f64 (*.f64 -1/4 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (pow.f64 re 2))) (*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))
(fma.f64 -1/1440 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (pow.f64 re 6)) (fma.f64 1/48 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (pow.f64 re 4)) (fma.f64 -1/4 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 re re)) (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1/2))))
(+.f64 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 1/2 (*.f64 -1/4 (*.f64 re re)))) (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (*.f64 1/48 (pow.f64 re 4)) (*.f64 -1/1440 (pow.f64 re 6)))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (+.f64 (*.f64 -1/1440 (pow.f64 re 6)) (*.f64 1/48 (pow.f64 re 4)))))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (+.f64 (*.f64 1/48 (pow.f64 re 4)) (*.f64 -1/4 (*.f64 re re))) (+.f64 1/2 (*.f64 -1/1440 (pow.f64 re 6)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (neg.f64 im) (cos.f64 re))
(*.f64 im (neg.f64 (cos.f64 re)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (neg.f64 (*.f64 im (cos.f64 re))))
(-.f64 (*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6)) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (fma.f64 -1 (*.f64 im (cos.f64 re)) (*.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)))))
(fma.f64 (*.f64 (cos.f64 re) -1/6) (pow.f64 im 3) (fma.f64 (*.f64 (cos.f64 re) -1/120) (pow.f64 im 5) (*.f64 (neg.f64 im) (cos.f64 re))))
(fma.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6) (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 5) -1/120) im)))
(*.f64 (cos.f64 re) (+.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im) (*.f64 (pow.f64 im 5) -1/120)))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) im))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))))))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (fma.f64 -1 (*.f64 im (cos.f64 re)) (fma.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)) (*.f64 -1/5040 (*.f64 (pow.f64 im 7) (cos.f64 re))))))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (-.f64 (fma.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)) (*.f64 (pow.f64 im 7) (*.f64 (cos.f64 re) -1/5040))) (*.f64 im (cos.f64 re))))
(+.f64 (*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 7) -1/5040) (*.f64 (pow.f64 im 5) -1/120))) (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))
(*.f64 (cos.f64 re) (+.f64 (+.f64 (*.f64 (pow.f64 im 7) -1/5040) (*.f64 (pow.f64 im 5) -1/120)) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) (+.f64 im (*.f64 (pow.f64 im 7) 1/5040))))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (-.f64 (exp.f64 (*.f64 -1 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (cos.f64 re)))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))

eval19.0ms (0.2%)

Compiler

Compiled 1223 to 564 computations (53.9% saved)

prune20.0ms (0.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New60969
Fresh000
Picked101
Done000
Total61970
Error
0.1b
Counts
70 → 9
Alt Table
Click to see full alt table
StatusErrorProgram
0.7b
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) im))
59.3b
(*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.6b
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) (+.f64 im (*.f64 (pow.f64 im 7) 1/5040))))
0.6b
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))))))
0.8b
(*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))
0.8b
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
1.3b
(*.f64 im (neg.f64 (cos.f64 re)))
58.1b
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
58.7b
(log.f64 (exp.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
Compiler

Compiled 302 to 226 computations (25.2% saved)

localize50.0ms (0.5%)

Local error

Found 8 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (cos.f64 re) (pow.f64 im 5))
0.0b
(*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))
0.0b
(*.f64 (cos.f64 re) (pow.f64 im 7))
0.0b
(+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))))
0.0b
(*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))
0.1b
(*.f64 (cos.f64 re) (pow.f64 im 3))
0.1b
(*.f64 (cos.f64 re) im)
0.1b
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
Compiler

Compiled 148 to 88 computations (40.5% saved)

series15.0ms (0.1%)

Counts
4 → 16
Calls

24 calls:

TimeVariablePointExpression
2.0ms
im
@0
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
1.0ms
re
@inf
(*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))
1.0ms
re
@inf
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
1.0ms
im
@0
(*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))
1.0ms
re
@0
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))

rewrite145.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
715×log-prod_binary64
427×pow-prod-down_binary64
372×pow2_binary64
304×pow-unpow_binary64
260×pow1/3_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01539
131839
2353339
Stop Event
node limit
Counts
4 → 70
Calls
Call 1
Inputs
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) (pow.f64 im 3))
(*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)) -1/6)) 2)) (log.f64 (cbrt.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)) -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)) -1/6))) (log.f64 (sqrt.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)) -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (*.f64 im (cbrt.f64 (cos.f64 re))) 6) 1/36) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cbrt.f64 (*.f64 -1/6 (cos.f64 re))) im) 9) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cbrt.f64 (*.f64 -1/6 (cos.f64 re))) im) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (*.f64 im (cbrt.f64 (cos.f64 re))) 6) 1/36))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cbrt.f64 (*.f64 -1/6 (cos.f64 re))) im) 9))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 im) (cos.f64 re))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 im) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 im) (cos.f64 re)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 im) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 re) im)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) im)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 re) (pow.f64 im 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) (pow.f64 im 3)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (pow.f64 im 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 im (cbrt.f64 (cos.f64 re))) 6) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 im (cbrt.f64 (cos.f64 re))) 9) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (cbrt.f64 (cos.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (cos.f64 re)) (pow.f64 im 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) im) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (sqrt.f64 (*.f64 (cos.f64 re) im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 im (cbrt.f64 (cos.f64 re))) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) (pow.f64 im 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 im (cbrt.f64 (cos.f64 re))) 9))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 3 (log.f64 im) (log.f64 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 3 (log.f64 im) (log.f64 (cos.f64 re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) (pow.f64 im 3))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) (pow.f64 im 3))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040))))) (log.f64 (sqrt.f64 (exp.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 re) -1/5040)) (pow.f64 im 7/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040))))))))

simplify121.0ms (1.2%)

Algorithm
egg-herbie
Rules
1064×distribute-rgt-in_binary64
654×fma-def_binary64
621×distribute-lft-out_binary64
602×distribute-rgt-out_binary64
462×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
069376
1195337
2685281
33144276
44420276
55002276
65125276
75260276
85413276
96720276
106950276
Stop Event
node limit
Counts
86 → 98
Calls
Call 1
Inputs
(*.f64 -1/6 (pow.f64 im 3))
(+.f64 (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (*.f64 -1/6 (pow.f64 im 3)))
(+.f64 (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1/144 (*.f64 (pow.f64 re 4) (pow.f64 im 3)))))
(+.f64 (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (+.f64 (*.f64 1/4320 (*.f64 (pow.f64 re 6) (pow.f64 im 3))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1/144 (*.f64 (pow.f64 re 4) (pow.f64 im 3))))))
im
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) im)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) im))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) im)) im)))
(pow.f64 im 3)
(+.f64 (pow.f64 im 3) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 3))))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (pow.f64 im 3) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 3)))))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (pow.f64 im 3) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (pow.f64 im 3))) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 3))))))
(*.f64 -1/5040 (pow.f64 im 7))
(+.f64 (*.f64 1/10080 (*.f64 (pow.f64 re 2) (pow.f64 im 7))) (*.f64 -1/5040 (pow.f64 im 7)))
(+.f64 (*.f64 1/10080 (*.f64 (pow.f64 re 2) (pow.f64 im 7))) (+.f64 (*.f64 -1/120960 (*.f64 (pow.f64 re 4) (pow.f64 im 7))) (*.f64 -1/5040 (pow.f64 im 7))))
(+.f64 (*.f64 1/10080 (*.f64 (pow.f64 re 2) (pow.f64 im 7))) (+.f64 (*.f64 -1/120960 (*.f64 (pow.f64 re 4) (pow.f64 im 7))) (+.f64 (*.f64 -1/5040 (pow.f64 im 7)) (*.f64 1/3628800 (*.f64 (pow.f64 re 6) (pow.f64 im 7))))))
Outputs
(*.f64 -1/6 (pow.f64 im 3))
(+.f64 (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (*.f64 -1/6 (pow.f64 im 3)))
(fma.f64 1/12 (*.f64 (pow.f64 im 3) (*.f64 re re)) (*.f64 -1/6 (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (+.f64 -1/6 (*.f64 1/12 (*.f64 re re))))
(*.f64 (pow.f64 im 3) (fma.f64 1/12 (*.f64 re re) -1/6))
(+.f64 (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1/144 (*.f64 (pow.f64 re 4) (pow.f64 im 3)))))
(fma.f64 1/12 (*.f64 (pow.f64 im 3) (*.f64 re re)) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 -1/144 (*.f64 (pow.f64 im 3) (pow.f64 re 4)))))
(fma.f64 1/12 (*.f64 (pow.f64 im 3) (*.f64 re re)) (*.f64 (pow.f64 im 3) (+.f64 -1/6 (*.f64 -1/144 (pow.f64 re 4)))))
(*.f64 (pow.f64 im 3) (+.f64 (*.f64 1/12 (*.f64 re re)) (fma.f64 -1/144 (pow.f64 re 4) -1/6)))
(*.f64 (pow.f64 im 3) (+.f64 (*.f64 -1/144 (pow.f64 re 4)) (fma.f64 1/12 (*.f64 re re) -1/6)))
(+.f64 (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (+.f64 (*.f64 1/4320 (*.f64 (pow.f64 re 6) (pow.f64 im 3))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1/144 (*.f64 (pow.f64 re 4) (pow.f64 im 3))))))
(fma.f64 1/12 (*.f64 (pow.f64 im 3) (*.f64 re re)) (fma.f64 1/4320 (*.f64 (pow.f64 im 3) (pow.f64 re 6)) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 -1/144 (*.f64 (pow.f64 im 3) (pow.f64 re 4))))))
(+.f64 (*.f64 (pow.f64 im 3) (+.f64 -1/6 (*.f64 -1/144 (pow.f64 re 4)))) (*.f64 (pow.f64 im 3) (+.f64 (*.f64 1/12 (*.f64 re re)) (*.f64 1/4320 (pow.f64 re 6)))))
(*.f64 (pow.f64 im 3) (+.f64 (fma.f64 1/12 (*.f64 re re) (*.f64 1/4320 (pow.f64 re 6))) (fma.f64 -1/144 (pow.f64 re 4) -1/6)))
im
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) im)
(fma.f64 -1/2 (*.f64 im (*.f64 re re)) im)
(fma.f64 im (*.f64 (*.f64 re re) -1/2) im)
(fma.f64 (*.f64 re re) (*.f64 im -1/2) im)
(*.f64 im (fma.f64 (*.f64 re -1/2) re 1))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) im))
(fma.f64 -1/2 (*.f64 im (*.f64 re re)) (fma.f64 1/24 (*.f64 im (pow.f64 re 4)) im))
(fma.f64 im (fma.f64 (*.f64 re re) -1/2 (*.f64 (pow.f64 re 4) 1/24)) im)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) im)) im)))
(fma.f64 -1/2 (*.f64 im (*.f64 re re)) (fma.f64 1/24 (*.f64 im (pow.f64 re 4)) (fma.f64 -1/720 (*.f64 im (pow.f64 re 6)) im)))
(fma.f64 im (fma.f64 (*.f64 re re) -1/2 (*.f64 (pow.f64 re 4) 1/24)) (*.f64 im (fma.f64 (pow.f64 re 6) -1/720 1)))
(*.f64 im (+.f64 (fma.f64 (pow.f64 re 6) -1/720 1) (fma.f64 (*.f64 re re) -1/2 (*.f64 (pow.f64 re 4) 1/24))))
(*.f64 im (+.f64 (fma.f64 (pow.f64 re 4) 1/24 1) (fma.f64 (pow.f64 re 6) -1/720 (*.f64 re (*.f64 re -1/2)))))
(pow.f64 im 3)
(+.f64 (pow.f64 im 3) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 3))))
(+.f64 (pow.f64 im 3) (*.f64 (*.f64 (pow.f64 im 3) (*.f64 re re)) -1/2))
(*.f64 (+.f64 (*.f64 (*.f64 re re) -1/2) 1) (pow.f64 im 3))
(*.f64 (pow.f64 im 3) (fma.f64 (*.f64 re re) -1/2 1))
(*.f64 (pow.f64 im 3) (fma.f64 (*.f64 re -1/2) re 1))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (pow.f64 im 3) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 3)))))
(fma.f64 1/24 (*.f64 (pow.f64 im 3) (pow.f64 re 4)) (+.f64 (pow.f64 im 3) (*.f64 (*.f64 (pow.f64 im 3) (*.f64 re re)) -1/2)))
(fma.f64 (*.f64 (pow.f64 im 3) (pow.f64 re 4)) 1/24 (*.f64 (+.f64 (*.f64 (*.f64 re re) -1/2) 1) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (+.f64 (*.f64 (*.f64 re re) -1/2) (fma.f64 (pow.f64 re 4) 1/24 1)))
(*.f64 (pow.f64 im 3) (+.f64 1 (fma.f64 (*.f64 re re) -1/2 (*.f64 (pow.f64 re 4) 1/24))))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (pow.f64 im 3))) (+.f64 (pow.f64 im 3) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (pow.f64 im 3))) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 3))))))
(fma.f64 1/24 (*.f64 (pow.f64 im 3) (pow.f64 re 4)) (+.f64 (pow.f64 im 3) (fma.f64 -1/720 (*.f64 (pow.f64 im 3) (pow.f64 re 6)) (*.f64 (*.f64 (pow.f64 im 3) (*.f64 re re)) -1/2))))
(+.f64 (*.f64 (pow.f64 im 3) (+.f64 (*.f64 (pow.f64 re 6) -1/720) (*.f64 (*.f64 re re) -1/2))) (*.f64 (+.f64 (*.f64 (pow.f64 re 4) 1/24) 1) (pow.f64 im 3)))
(fma.f64 (pow.f64 im 3) (fma.f64 (pow.f64 re 6) -1/720 (*.f64 (*.f64 re re) -1/2)) (*.f64 (pow.f64 im 3) (fma.f64 (pow.f64 re 4) 1/24 1)))
(*.f64 (pow.f64 im 3) (+.f64 (fma.f64 (pow.f64 re 6) -1/720 (*.f64 re (*.f64 re -1/2))) (fma.f64 (pow.f64 re 4) 1/24 1)))
(*.f64 (pow.f64 im 3) (+.f64 (fma.f64 (pow.f64 re 6) -1/720 1) (fma.f64 (*.f64 re re) -1/2 (*.f64 (pow.f64 re 4) 1/24))))
(*.f64 (pow.f64 im 3) (+.f64 (fma.f64 (pow.f64 re 4) 1/24 1) (fma.f64 (pow.f64 re 6) -1/720 (*.f64 re (*.f64 re -1/2)))))
(*.f64 -1/5040 (pow.f64 im 7))
(+.f64 (*.f64 1/10080 (*.f64 (pow.f64 re 2) (pow.f64 im 7))) (*.f64 -1/5040 (pow.f64 im 7)))
(fma.f64 1/10080 (*.f64 (*.f64 re re) (pow.f64 im 7)) (*.f64 -1/5040 (pow.f64 im 7)))
(*.f64 (pow.f64 im 7) (+.f64 -1/5040 (*.f64 (*.f64 re re) 1/10080)))
(*.f64 (pow.f64 im 7) (fma.f64 (*.f64 re re) 1/10080 -1/5040))
(*.f64 (pow.f64 im 7) (fma.f64 (*.f64 re 1/10080) re -1/5040))
(+.f64 (*.f64 1/10080 (*.f64 (pow.f64 re 2) (pow.f64 im 7))) (+.f64 (*.f64 -1/120960 (*.f64 (pow.f64 re 4) (pow.f64 im 7))) (*.f64 -1/5040 (pow.f64 im 7))))
(fma.f64 1/10080 (*.f64 (*.f64 re re) (pow.f64 im 7)) (fma.f64 -1/120960 (*.f64 (pow.f64 re 4) (pow.f64 im 7)) (*.f64 -1/5040 (pow.f64 im 7))))
(fma.f64 1/10080 (*.f64 re (*.f64 re (pow.f64 im 7))) (*.f64 (pow.f64 im 7) (+.f64 -1/5040 (*.f64 (pow.f64 re 4) -1/120960))))
(*.f64 (pow.f64 im 7) (+.f64 (*.f64 (pow.f64 re 4) -1/120960) (fma.f64 (*.f64 re re) 1/10080 -1/5040)))
(*.f64 (pow.f64 im 7) (+.f64 (*.f64 (pow.f64 re 4) -1/120960) (fma.f64 (*.f64 re 1/10080) re -1/5040)))
(+.f64 (*.f64 1/10080 (*.f64 (pow.f64 re 2) (pow.f64 im 7))) (+.f64 (*.f64 -1/120960 (*.f64 (pow.f64 re 4) (pow.f64 im 7))) (+.f64 (*.f64 -1/5040 (pow.f64 im 7)) (*.f64 1/3628800 (*.f64 (pow.f64 re 6) (pow.f64 im 7))))))
(fma.f64 1/10080 (*.f64 (*.f64 re re) (pow.f64 im 7)) (fma.f64 -1/120960 (*.f64 (pow.f64 re 4) (pow.f64 im 7)) (fma.f64 -1/5040 (pow.f64 im 7) (*.f64 1/3628800 (*.f64 (pow.f64 re 6) (pow.f64 im 7))))))
(+.f64 (*.f64 (pow.f64 im 7) (+.f64 (*.f64 (pow.f64 re 6) 1/3628800) -1/5040)) (*.f64 (pow.f64 im 7) (+.f64 (*.f64 (*.f64 re re) 1/10080) (*.f64 (pow.f64 re 4) -1/120960))))
(*.f64 (pow.f64 im 7) (+.f64 (fma.f64 (*.f64 re re) 1/10080 (*.f64 (pow.f64 re 4) -1/120960)) (fma.f64 (pow.f64 re 6) 1/3628800 -1/5040)))

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(*.f64 im (neg.f64 (cos.f64 re)))
0.1b
(*.f64 im (neg.f64 (cos.f64 re)))
Compiler

Compiled 14 to 5 computations (64.3% saved)

series2.0ms (0%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
im
@0
(*.f64 im (neg.f64 (cos.f64 re)))
0.0ms
re
@-inf
(*.f64 im (neg.f64 (cos.f64 re)))
0.0ms
re
@0
(*.f64 im (neg.f64 (cos.f64 re)))
0.0ms
re
@inf
(*.f64 im (neg.f64 (cos.f64 re)))
0.0ms
im
@inf
(*.f64 im (neg.f64 (cos.f64 re)))

rewrite40.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
495×pow1_binary64
474×add-sqr-sqrt_binary64
454×add-log-exp_binary64
453×log1p-expm1-u_binary64
453×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
068
11226
215436
Stop Event
node limit
Counts
1 → 13
Calls
Call 1
Inputs
(*.f64 im (neg.f64 (cos.f64 re)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (*.f64 im (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 im (cos.f64 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (cos.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 im (cos.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 im (cos.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 im (cos.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 im (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 im (cos.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 im (cos.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 im (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 im (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 im (cos.f64 re))))))))

simplify48.0ms (0.5%)

Algorithm
egg-herbie
Rules
494×cancel-sign-sub-inv_binary64
491×distribute-rgt-neg-in_binary64
455×distribute-lft-neg-in_binary64
438×fma-def_binary64
418×distribute-rgt-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
026235
166232
2173221
3580219
42433219
57104219
Stop Event
node limit
Counts
37 → 23
Calls
Call 1
Inputs
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 im)
(+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))
(+.f64 (*.f64 -1/24 (*.f64 (pow.f64 re 4) im)) (+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im))))
(+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 6) im)) (+.f64 (*.f64 -1/24 (*.f64 (pow.f64 re 4) im)) (+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
Outputs
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 im)
(neg.f64 im)
(+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))
(fma.f64 -1 im (*.f64 1/2 (*.f64 im (*.f64 re re))))
(-.f64 (*.f64 1/2 (*.f64 im (*.f64 re re))) im)
(*.f64 im (fma.f64 1/2 (*.f64 re re) -1))
(*.f64 im (fma.f64 re (*.f64 re 1/2) -1))
(+.f64 (*.f64 -1/24 (*.f64 (pow.f64 re 4) im)) (+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im))))
(fma.f64 -1/24 (*.f64 im (pow.f64 re 4)) (fma.f64 -1 im (*.f64 1/2 (*.f64 im (*.f64 re re)))))
(fma.f64 -1/24 (*.f64 im (pow.f64 re 4)) (-.f64 (*.f64 1/2 (*.f64 im (*.f64 re re))) im))
(*.f64 im (+.f64 (fma.f64 -1/24 (pow.f64 re 4) -1) (*.f64 re (*.f64 re 1/2))))
(*.f64 im (fma.f64 re (*.f64 re 1/2) (fma.f64 -1/24 (pow.f64 re 4) -1)))
(+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 6) im)) (+.f64 (*.f64 -1/24 (*.f64 (pow.f64 re 4) im)) (+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))))
(fma.f64 1/720 (*.f64 im (pow.f64 re 6)) (fma.f64 -1/24 (*.f64 im (pow.f64 re 4)) (fma.f64 -1 im (*.f64 1/2 (*.f64 im (*.f64 re re))))))
(fma.f64 1/720 (*.f64 im (pow.f64 re 6)) (fma.f64 -1/24 (*.f64 im (pow.f64 re 4)) (-.f64 (*.f64 1/2 (*.f64 im (*.f64 re re))) im)))
(*.f64 im (+.f64 (fma.f64 1/2 (*.f64 re re) -1) (fma.f64 1/720 (pow.f64 re 6) (*.f64 -1/24 (pow.f64 re 4)))))
(*.f64 im (+.f64 (*.f64 -1/24 (pow.f64 re 4)) (fma.f64 1/720 (pow.f64 re 6) (fma.f64 1/2 (*.f64 re re) -1))))
(*.f64 im (+.f64 (*.f64 -1/24 (pow.f64 re 4)) (fma.f64 1/720 (pow.f64 re 6) (fma.f64 re (*.f64 re 1/2) -1))))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (pow.f64 im 3) -1/6)
0.1b
(*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))
0.1b
(*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))
0.1b
(*.f64 (pow.f64 im 3) -1/6)
Compiler

Compiled 33 to 22 computations (33.3% saved)

series8.0ms (0.1%)

Counts
2 → 36
Calls

9 calls:

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

rewrite48.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
646×prod-diff_binary64
478×log-prod_binary64
333×fma-def_binary64
311×pow-prod-down_binary64
266×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01022
121822
2264022
Stop Event
node limit
Counts
2 → 48
Calls
Call 1
Inputs
(*.f64 (pow.f64 im 3) -1/6)
(*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (pow.f64 im 3) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 -1/6) (pow.f64 im 3))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 -1/6) (pow.f64 im 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -1/6) (pow.f64 im 3)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 -1/6) (pow.f64 im 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (pow.f64 im 3) -1/6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 im 3) -1/6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/36 (pow.f64 im 6)) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (cbrt.f64 -1/6)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 -1/6) (pow.f64 im 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/216 (pow.f64 im 9)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/36 (pow.f64 im 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1/6) (pow.f64 im 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 3) -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 -1/216 (pow.f64 im 9)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 im 3) -1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 im 3) -1/6)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 im (cbrt.f64 -1/6))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sqrt.f64 -1/6) (pow.f64 im 3/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 -1/216 (pow.f64 im 9))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 im 3) -1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 im 3) -1/6)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re)) (*.f64 (neg.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6)) (*.f64 (cos.f64 re) (neg.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im)))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 -1/216 (pow.f64 im 9)) (pow.f64 im 3)) (cos.f64 re)) (fma.f64 1/36 (pow.f64 im 6) (fma.f64 -1/6 (pow.f64 im 4) (*.f64 im im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 1/36 (pow.f64 im 6) (*.f64 (neg.f64 im) im)) (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 im))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 -1/216 (pow.f64 im 9)) (pow.f64 im 3))) (fma.f64 1/36 (pow.f64 im 6) (fma.f64 -1/6 (pow.f64 im 4) (*.f64 im im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (fma.f64 1/36 (pow.f64 im 6) (*.f64 (neg.f64 im) im))) (fma.f64 (pow.f64 im 3) -1/6 im))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re) (*.f64 (neg.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6) (*.f64 (cos.f64 re) (neg.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im)))))))))

simplify49.0ms (0.5%)

Algorithm
egg-herbie
Rules
727×fma-neg_binary64
642×cancel-sign-sub-inv_binary64
558×unsub-neg_binary64
458×associate-+l+_binary64
348×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
040525
1109508
2343484
31711466
44376466
Stop Event
node limit
Counts
84 → 64
Calls
Call 1
Inputs
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (*.f64 -1/6 (pow.f64 im 3))) im)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 1/24 (*.f64 (pow.f64 re 4) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))))) im)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (*.f64 1/24 (*.f64 (pow.f64 re 4) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))))) im)
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
Outputs
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(*.f64 -1/6 (pow.f64 im 3))
(-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)
(fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (*.f64 -1/6 (pow.f64 im 3))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (*.f64 re re)) (*.f64 -1/6 (pow.f64 im 3))) im)
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (fma.f64 -1/2 (*.f64 re re) 1))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (fma.f64 -1/2 (*.f64 re re) 1))
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 1/24 (*.f64 (pow.f64 re 4) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (*.f64 re re)) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 1/24 (*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (pow.f64 re 4))))) im)
(fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (-.f64 (fma.f64 -1/6 (pow.f64 im 3) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 1/24 (pow.f64 re 4)))) im))
(-.f64 (fma.f64 -1/6 (pow.f64 im 3) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4))))) im)
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (+.f64 (fma.f64 -1/2 (*.f64 re re) 1) (*.f64 1/24 (pow.f64 re 4))))
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (*.f64 1/24 (*.f64 (pow.f64 re 4) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (*.f64 re re)) (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 -1/720 (*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (pow.f64 re 6)) (*.f64 1/24 (*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (pow.f64 re 4)))))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (*.f64 -1/720 (pow.f64 re 6)))))) im)
(-.f64 (fma.f64 -1/6 (pow.f64 im 3) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 (fma.f64 1/24 (pow.f64 re 4) (*.f64 -1/720 (pow.f64 re 6))) (*.f64 -1/2 (*.f64 re re))))) im)
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (+.f64 (fma.f64 -1/2 (*.f64 re re) 1) (fma.f64 1/24 (pow.f64 re 4) (*.f64 -1/720 (pow.f64 re 6)))))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)))
(*.f64 (pow.f64 im 3) (*.f64 -1/6 (cos.f64 re)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)))
(*.f64 (pow.f64 im 3) (*.f64 -1/6 (cos.f64 re)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (cos.f64 re))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))

localize19.0ms (0.2%)

Local error

Found 6 expressions with local error:

NewErrorProgram
0.1b
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
0.1b
(*.f64 (cos.f64 re) im)
0.1b
(*.f64 (cos.f64 re) (pow.f64 im 3))
0.1b
(*.f64 (cos.f64 re) (pow.f64 im 3))
0.1b
(*.f64 (cos.f64 re) im)
0.1b
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
Compiler

Compiled 51 to 27 computations (47.1% saved)

rewrite0.0ms (0%)

Counts
0 → 0

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
0 → 0
Calls
Call 1
Inputs
Outputs

localize42.0ms (0.4%)

Local error

Found 8 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (pow.f64 im 7) 1/5040)
0.0b
(*.f64 (pow.f64 im 5) -1/120)
0.0b
(+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120))
0.0b
(-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) (+.f64 im (*.f64 (pow.f64 im 7) 1/5040)))
0.0b
(*.f64 (pow.f64 im 5) -1/120)
0.0b
(*.f64 (pow.f64 im 7) 1/5040)
0.1b
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) (+.f64 im (*.f64 (pow.f64 im 7) 1/5040))))
0.1b
(*.f64 (pow.f64 im 3) -1/6)
Compiler

Compiled 95 to 72 computations (24.2% saved)

series10.0ms (0.1%)

Counts
3 → 48
Calls

12 calls:

TimeVariablePointExpression
3.0ms
re
@inf
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) (+.f64 im (*.f64 (pow.f64 im 7) 1/5040))))
1.0ms
re
@0
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) (+.f64 im (*.f64 (pow.f64 im 7) 1/5040))))
1.0ms
im
@inf
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) (+.f64 im (*.f64 (pow.f64 im 7) 1/5040))))
1.0ms
im
@-inf
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) (+.f64 im (*.f64 (pow.f64 im 7) 1/5040))))
1.0ms
im
@0
(*.f64 (pow.f64 im 5) -1/120)

rewrite77.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
520×fma-neg_binary64
383×expm1-udef_binary64
383×log1p-udef_binary64
224×add-sqr-sqrt_binary64
214×add-log-exp_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02045
145643
2595743
Stop Event
node limit
Counts
3 → 49
Calls
Call 1
Inputs
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) (+.f64 im (*.f64 (pow.f64 im 7) 1/5040))))
(*.f64 (pow.f64 im 7) 1/5040)
(*.f64 (pow.f64 im 5) -1/120)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re)) (*.f64 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) (cos.f64 re)) (*.f64 (neg.f64 (fma.f64 (pow.f64 im 7) 1/5040 im)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6)) (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120))) (*.f64 (cos.f64 re) (neg.f64 (fma.f64 (pow.f64 im 7) 1/5040 im))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 3) (pow.f64 (fma.f64 (pow.f64 im 7) 1/5040 im) 3)) (cos.f64 re)) (+.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 2) (*.f64 (fma.f64 (pow.f64 im 7) 1/5040 im) (+.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) (fma.f64 (pow.f64 im 7) 1/5040 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 2) (pow.f64 (fma.f64 (pow.f64 im 7) 1/5040 im) 2)) (cos.f64 re)) (+.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) (fma.f64 (pow.f64 im 7) 1/5040 im)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (-.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 3) (pow.f64 (fma.f64 (pow.f64 im 7) 1/5040 im) 3))) (+.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 2) (*.f64 (fma.f64 (pow.f64 im 7) 1/5040 im) (+.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) (fma.f64 (pow.f64 im 7) 1/5040 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (-.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 2) (pow.f64 (fma.f64 (pow.f64 im 7) 1/5040 im) 2))) (+.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) (fma.f64 (pow.f64 im 7) 1/5040 im)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im))) 3) (pow.f64 (cos.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im))))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (pow.f64 im 7) 1/5040))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 im 7) 1/5040) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 im 7) 1/5040)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 1/5040) (pow.f64 im 7/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (pow.f64 im 7) 3) 1/128024064000) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 im 14) 1/25401600))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (pow.f64 im 7) 1/5040)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 7) 1/5040))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (pow.f64 im 7) 3) 1/128024064000))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 im 7) 1/5040)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 im 7) 1/5040)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 im 7) 1/5040)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 im 7) 1/5040)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (pow.f64 im 5) -1/120))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 im 5) -1/120) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (pow.f64 im 5) -1/120)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 -1/120) (pow.f64 im 5/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (pow.f64 im 5) -1/120) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/14400 (pow.f64 im 10)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1/120) (pow.f64 im 5)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 5) -1/120))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (pow.f64 im 5) -1/120) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (pow.f64 im 5) -1/120)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (pow.f64 im 5) -1/120)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (pow.f64 im 5) -1/120)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (pow.f64 im 5) -1/120)))))))

simplify43.0ms (0.4%)

Algorithm
egg-herbie
Rules
757×distribute-rgt-in_binary64
728×distribute-lft-in_binary64
651×associate--l+_binary64
484×fma-def_binary64
403×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
061986
1180985
2631907
33069849
Stop Event
node limit
Counts
97 → 74
Calls
Call 1
Inputs
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im))
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1/2 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)) (pow.f64 re 2))))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im))
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 1/24 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)) (pow.f64 re 4))) (*.f64 -1/2 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)) (pow.f64 re 2)))))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im))
(-.f64 (+.f64 (*.f64 -1/720 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)) (pow.f64 re 6))) (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 1/24 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)) (pow.f64 re 4))) (*.f64 -1/2 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)) (pow.f64 re 2))))))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))))))
(*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))
(+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))))))
(*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))
(+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))))))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
Outputs
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im))
(-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im))
(fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im)))
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1/2 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)) (pow.f64 re 2))))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im))
(-.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 -1/2 (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (*.f64 re re))))) (fma.f64 1/5040 (pow.f64 im 7) im))
(-.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (*.f64 (*.f64 re re) -1/2)))) (fma.f64 1/5040 (pow.f64 im 7) im))
(-.f64 (fma.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (*.f64 -1/2 (*.f64 re re)) (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3)))) (fma.f64 1/5040 (pow.f64 im 7) im))
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))))
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 1/24 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)) (pow.f64 re 4))) (*.f64 -1/2 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)) (pow.f64 re 2)))))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im))
(-.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 1/24 (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (pow.f64 re 4)) (*.f64 -1/2 (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (*.f64 re re)))))) (fma.f64 1/5040 (pow.f64 im 7) im))
(-.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) -1/2) (*.f64 re re) (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (*.f64 (pow.f64 re 4) 1/24))))) (fma.f64 1/5040 (pow.f64 im 7) im))
(-.f64 (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 -1/120 (pow.f64 im 5) (*.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4)))))) (fma.f64 1/5040 (pow.f64 im 7) im))
(fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (-.f64 (fma.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (*.f64 (*.f64 re re) (+.f64 -1/2 (*.f64 1/24 (*.f64 re re)))) (*.f64 (pow.f64 im 7) -1/5040)) im)))
(-.f64 (+.f64 (*.f64 -1/720 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)) (pow.f64 re 6))) (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 1/24 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)) (pow.f64 re 4))) (*.f64 -1/2 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)) (pow.f64 re 2))))))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im))
(-.f64 (fma.f64 -1/720 (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (pow.f64 re 6)) (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 1/24 (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (pow.f64 re 4)) (*.f64 -1/2 (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (*.f64 re re))))))) (fma.f64 1/5040 (pow.f64 im 7) im))
(-.f64 (fma.f64 -1/720 (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (pow.f64 re 6)) (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) -1/2) (*.f64 re re) (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (*.f64 (pow.f64 re 4) 1/24)))))) (fma.f64 1/5040 (pow.f64 im 7) im))
(-.f64 (fma.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (*.f64 -1/720 (pow.f64 re 6)) (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 -1/120 (pow.f64 im 5) (*.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4))))))) (fma.f64 1/5040 (pow.f64 im 7) im))
(+.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (*.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (+.f64 (*.f64 (*.f64 re re) (+.f64 -1/2 (*.f64 1/24 (*.f64 re re)))) (*.f64 -1/720 (pow.f64 re 6)))))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im)))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (cos.f64 re))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (neg.f64 (*.f64 im (cos.f64 re))))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (*.f64 (cos.f64 re) (neg.f64 im)))
(*.f64 (cos.f64 re) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (fma.f64 -1 (*.f64 im (cos.f64 re)) (*.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)))))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (-.f64 (*.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re))) (*.f64 im (cos.f64 re))))
(fma.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))))
(*.f64 (cos.f64 re) (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))))))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (cos.f64 re))
(*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))
(*.f64 -1/5040 (*.f64 (pow.f64 im 7) (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040))
(*.f64 (pow.f64 im 7) (*.f64 (cos.f64 re) -1/5040))
(+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))))
(fma.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)) (*.f64 -1/5040 (*.f64 (pow.f64 im 7) (cos.f64 re))))
(fma.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)) (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040)))
(*.f64 (cos.f64 re) (fma.f64 -1/120 (pow.f64 im 5) (*.f64 (pow.f64 im 7) -1/5040)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (fma.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)) (*.f64 -1/5040 (*.f64 (pow.f64 im 7) (cos.f64 re)))))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (fma.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)) (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040))))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 -1/120 (pow.f64 im 5) (*.f64 (pow.f64 im 7) -1/5040))))
(*.f64 (cos.f64 re) (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 -1/120 (pow.f64 im 5) (*.f64 (pow.f64 im 7) -1/5040))))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))))))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (cos.f64 re))
(*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))
(*.f64 -1/5040 (*.f64 (pow.f64 im 7) (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040))
(*.f64 (pow.f64 im 7) (*.f64 (cos.f64 re) -1/5040))
(+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))))
(fma.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)) (*.f64 -1/5040 (*.f64 (pow.f64 im 7) (cos.f64 re))))
(fma.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)) (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040)))
(*.f64 (cos.f64 re) (fma.f64 -1/120 (pow.f64 im 5) (*.f64 (pow.f64 im 7) -1/5040)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (fma.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)) (*.f64 -1/5040 (*.f64 (pow.f64 im 7) (cos.f64 re)))))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (fma.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)) (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 7) -1/5040))))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 -1/120 (pow.f64 im 5) (*.f64 (pow.f64 im 7) -1/5040))))
(*.f64 (cos.f64 re) (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 -1/120 (pow.f64 im 5) (*.f64 (pow.f64 im 7) -1/5040))))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))))))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 1/5040 (pow.f64 im 7) im)) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 1/5040 (pow.f64 im 7) im))) (cos.f64 re))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 1/5040 (pow.f64 im 7))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))
(*.f64 -1/120 (pow.f64 im 5))

eval353.0ms (3.4%)

Compiler

Compiled 8984 to 5944 computations (33.8% saved)

prune67.0ms (0.6%)

Pruning

19 alts after pruning (17 fresh and 2 done)

PrunedKeptTotal
New34113354
Fresh044
Picked101
Done224
Total34419363
Error
0.0b
Counts
363 → 19
Alt Table
Click to see full alt table
StatusErrorProgram
0.7b
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) im))
59.3b
(*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
31.1b
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 2)))
40.8b
(cbrt.f64 (*.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (-.f64 (*.f64 (pow.f64 im 5) -1/120) (fma.f64 (pow.f64 im 7) 1/5040 im))) 3) (pow.f64 (cos.f64 re) 3)))
0.8b
(*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))
29.7b
(-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)
31.4b
(/.f64 (*.f64 (cos.f64 re) (fma.f64 1/36 (pow.f64 im 6) (*.f64 (neg.f64 im) im))) (fma.f64 (pow.f64 im 3) -1/6 im))
29.5b
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 im) (+.f64 (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))) (*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7))))))
58.1b
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
29.9b
(neg.f64 im)
58.7b
(log.f64 (exp.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
60.2b
(*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))
34.1b
(pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im)))) 2)
2.2b
(pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im)))) 3)
29.5b
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im))
1.3b
(*.f64 im (neg.f64 (cos.f64 re)))
33.2b
(+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))
41.1b
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 3))
0.8b
(+.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re)) (*.f64 (neg.f64 im) (cos.f64 re)))
Compiler

Compiled 567 to 436 computations (23.1% saved)

localize32.0ms (0.3%)

Local error

Found 8 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) im))
0.0b
(*.f64 (pow.f64 im 5) -1/120)
0.0b
(+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120))
0.0b
(-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) im)
0.0b
(+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120))
0.0b
(*.f64 (pow.f64 im 5) -1/120)
0.1b
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) im))
0.1b
(*.f64 (pow.f64 im 3) -1/6)
Compiler

Compiled 66 to 49 computations (25.8% saved)

series4.0ms (0%)

Counts
2 → 36
Calls

9 calls:

TimeVariablePointExpression
1.0ms
re
@0
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) im))
1.0ms
im
@inf
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) im))
1.0ms
re
@inf
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) im))
1.0ms
re
@-inf
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) im))
0.0ms
im
@0
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) im))

rewrite169.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
719×log-prod_binary64
709×fma-def_binary64
319×fma-neg_binary64
284×expm1-udef_binary64
284×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01536
133736
2428836
Stop Event
node limit
Counts
2 → 89
Calls
Call 1
Inputs
(*.f64 (cos.f64 re) (-.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120)) im))
(+.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re)) (*.f64 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) (cos.f64 re)) (*.f64 (neg.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6)) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120))) (*.f64 (cos.f64 re) (neg.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im))))) (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im))))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im)))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 3) (pow.f64 im 3)) (cos.f64 re)) (fma.f64 im (fma.f64 (pow.f64 im 5) -1/120 (fma.f64 (pow.f64 im 3) -1/6 im)) (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 2) (*.f64 im im)) (cos.f64 re)) (fma.f64 (pow.f64 im 5) -1/120 (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (-.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 3) (pow.f64 im 3))) (fma.f64 im (fma.f64 (pow.f64 im 5) -1/120 (fma.f64 (pow.f64 im 3) -1/6 im)) (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (-.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 2) (*.f64 im im))) (fma.f64 (pow.f64 im 5) -1/120 (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im)))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im))))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im))))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im))) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im))) 3) (pow.f64 (cos.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) (*.f64 (cos.f64 re) (neg.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re) (*.f64 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) (cos.f64 re) (*.f64 (neg.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (fma.f64 (pow.f64 im 5) -1/120 (neg.f64 im))))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 im 6) 1/36) (fma.f64 (pow.f64 im 3) -1/6 (*.f64 1/120 (pow.f64 im 5)))) (/.f64 (*.f64 1/14400 (pow.f64 im 10)) (fma.f64 (pow.f64 im 3) -1/6 (*.f64 1/120 (pow.f64 im 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120))) (pow.f64 (cbrt.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120))) 2) (cbrt.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120))) (sqrt.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 -1/1728000 (pow.f64 (pow.f64 im 5) 3) (*.f64 (pow.f64 (pow.f64 im 3) 3) -1/216)) (/.f64 1 (-.f64 (fma.f64 (pow.f64 im 6) 1/36 (*.f64 1/14400 (pow.f64 im 10))) (*.f64 (pow.f64 im 3) (*.f64 -1/6 (*.f64 (pow.f64 im 5) -1/120))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 im 6) 1/36) (*.f64 1/14400 (pow.f64 im 10))) (/.f64 1 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 1/120 (pow.f64 im 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (fma.f64 (pow.f64 im 6) 1/36 (*.f64 1/14400 (pow.f64 im 10))) (*.f64 (pow.f64 im 3) (*.f64 -1/6 (*.f64 (pow.f64 im 5) -1/120)))) (fma.f64 -1/1728000 (pow.f64 (pow.f64 im 5) 3) (*.f64 (pow.f64 (pow.f64 im 3) 3) -1/216))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 1/120 (pow.f64 im 5))) (-.f64 (*.f64 (pow.f64 im 6) 1/36) (*.f64 1/14400 (pow.f64 im 10)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 -1/1728000 (pow.f64 (pow.f64 im 5) 3) (*.f64 (pow.f64 (pow.f64 im 3) 3) -1/216)) (-.f64 (fma.f64 (pow.f64 im 6) 1/36 (*.f64 1/14400 (pow.f64 im 10))) (*.f64 (pow.f64 im 3) (*.f64 -1/6 (*.f64 (pow.f64 im 5) -1/120)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 -1/1728000 (pow.f64 (pow.f64 im 5) 3) (*.f64 (pow.f64 (pow.f64 im 3) 3) -1/216)) (fma.f64 1/14400 (pow.f64 im 10) (-.f64 (*.f64 (pow.f64 im 6) 1/36) (*.f64 (pow.f64 im 3) (*.f64 -1/6 (*.f64 (pow.f64 im 5) -1/120))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 im 6) 1/36) (*.f64 1/14400 (pow.f64 im 10))) (fma.f64 (pow.f64 im 3) -1/6 (*.f64 1/120 (pow.f64 im 5))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 -1/1728000 (pow.f64 (pow.f64 im 5) 3) (*.f64 (pow.f64 (pow.f64 im 3) 3) -1/216))) (neg.f64 (-.f64 (fma.f64 (pow.f64 im 6) 1/36 (*.f64 1/14400 (pow.f64 im 10))) (*.f64 (pow.f64 im 3) (*.f64 -1/6 (*.f64 (pow.f64 im 5) -1/120))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (*.f64 (pow.f64 im 6) 1/36) (*.f64 1/14400 (pow.f64 im 10)))) (neg.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 1/120 (pow.f64 im 5)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 1/14400 (pow.f64 im 10)) (*.f64 (pow.f64 im 6) 1/36)) (-.f64 (*.f64 (pow.f64 im 5) -1/120) (*.f64 (pow.f64 im 3) -1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 3) -1/6))) (pow.f64 (exp.f64 -1/120) (pow.f64 im 5))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) -1/6) (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 5) -1/120)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 3) -1/6))) (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 5) -1/120)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 5) -1/120))) (pow.f64 (exp.f64 (pow.f64 im 3)) -1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 -1/120) (pow.f64 im 5)) (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 3) -1/6)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 5) -1/120))) (+.f64 1 (expm1.f64 (*.f64 (pow.f64 im 3) -1/6)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 im (*.f64 (*.f64 im im) -1/6) (*.f64 (pow.f64 im 5) -1/120))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/6 (pow.f64 im 3) (*.f64 (pow.f64 im 5) -1/120))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 im 3) -1/6) 1 (*.f64 (pow.f64 im 5) -1/120))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 im 5) -1/120 (*.f64 (pow.f64 im 3) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/120 (pow.f64 im 5) (*.f64 (pow.f64 im 3) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 im 5) -1/120) 1 (*.f64 (pow.f64 im 3) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 5) -1/120))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (pow.f64 im 5) -1/120) (*.f64 (pow.f64 im 3) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im im) (*.f64 im -1/6) (*.f64 (pow.f64 im 5) -1/120))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 im 5) -1/120)) (cbrt.f64 (*.f64 1/14400 (pow.f64 im 10))) (*.f64 (pow.f64 im 3) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 1/14400 (pow.f64 im 10))) (cbrt.f64 (*.f64 (pow.f64 im 5) -1/120)) (*.f64 (pow.f64 im 3) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im (cbrt.f64 -1/6)) (cbrt.f64 (*.f64 (pow.f64 im 6) 1/36)) (*.f64 (pow.f64 im 5) -1/120))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 im 6) 1/36)) (*.f64 im (cbrt.f64 -1/6)) (*.f64 (pow.f64 im 5) -1/120))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 im 10)) (*.f64 (cbrt.f64 (pow.f64 im 5)) -1/120) (*.f64 (pow.f64 im 3) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 -1/120) (pow.f64 im 5/2)) (*.f64 (sqrt.f64 -1/120) (pow.f64 im 5/2)) (*.f64 (pow.f64 im 3) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 -1/6) (pow.f64 im 3/2)) (*.f64 (sqrt.f64 -1/6) (pow.f64 im 3/2)) (*.f64 (pow.f64 im 5) -1/120))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 im 3/2) (*.f64 (pow.f64 im 3/2) -1/6) (*.f64 (pow.f64 im 5) -1/120))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 im 5/2) (*.f64 (pow.f64 im 5/2) -1/120) (*.f64 (pow.f64 im 3) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 im) (*.f64 im im) (*.f64 (pow.f64 im 5) -1/120))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 (*.f64 im im)) im (*.f64 (pow.f64 im 5) -1/120))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/6 (pow.f64 im 3/2)) (pow.f64 im 3/2) (*.f64 (pow.f64 im 5) -1/120))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/120 (cbrt.f64 (pow.f64 im 10))) (cbrt.f64 (pow.f64 im 5)) (*.f64 (pow.f64 im 3) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 -1/120 (pow.f64 im 5/2)) (pow.f64 im 5/2) (*.f64 (pow.f64 im 3) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (pow.f64 im 3) -1/6 (*.f64 (pow.f64 im 5) -1/120))))))))

simplify51.0ms (0.5%)

Algorithm
egg-herbie
Rules
525×fma-neg_binary64
465×cancel-sign-sub-inv_binary64
416×distribute-rgt-in_binary64
399×distribute-lft-in_binary64
370×*-commutative_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
050779
1139779
2473730
32201701
44900687
Stop Event
node limit
Counts
125 → 112
Calls
Call 1
Inputs
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im)
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1/2 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (pow.f64 re 2))))) im)
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 -1/2 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (pow.f64 re 2))) (*.f64 1/24 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (pow.f64 re 4)))))) im)
(-.f64 (+.f64 (*.f64 -1/720 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (pow.f64 re 6))) (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 -1/2 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (pow.f64 re 2))) (*.f64 1/24 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (pow.f64 re 4))))))) im)
(*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))
(*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))
(*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))
(*.f64 -1/6 (pow.f64 im 3))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(*.f64 -1/120 (pow.f64 im 5))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(*.f64 -1/120 (pow.f64 im 5))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
Outputs
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im)
(-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im)
(fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)))
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1/2 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (pow.f64 re 2))))) im)
(-.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 -1/2 (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (*.f64 re re))))) im)
(-.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (*.f64 (*.f64 re re) -1/2)))) im)
(-.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (*.f64 -1/2 (*.f64 re re)) (*.f64 -1/6 (pow.f64 im 3)))) im)
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im))
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 -1/2 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (pow.f64 re 2))) (*.f64 1/24 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (pow.f64 re 4)))))) im)
(-.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 -1/2 (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (*.f64 re re)) (*.f64 1/24 (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (pow.f64 re 4)))))) im)
(-.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 1/24 (*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (pow.f64 re 4)) (*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (*.f64 (*.f64 re re) -1/2))))) im)
(-.f64 (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 -1/120 (pow.f64 im 5) (*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4)))))) im)
(fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4))) (neg.f64 im))))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (+.f64 (*.f64 -1/2 (*.f64 re re)) 1)))
(-.f64 (+.f64 (*.f64 -1/720 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (pow.f64 re 6))) (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 -1/2 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (pow.f64 re 2))) (*.f64 1/24 (*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (pow.f64 re 4))))))) im)
(-.f64 (fma.f64 -1/720 (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (pow.f64 re 6)) (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 -1/2 (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (*.f64 re re)) (*.f64 1/24 (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (pow.f64 re 4))))))) im)
(-.f64 (fma.f64 -1/720 (*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (pow.f64 re 6)) (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 1/24 (*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (pow.f64 re 4)) (*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (*.f64 (*.f64 re re) -1/2)))))) im)
(fma.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (*.f64 -1/720 (pow.f64 re 6)) (-.f64 (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 -1/120 (pow.f64 im 5) (*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4)))))) im))
(+.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (+.f64 (*.f64 -1/720 (pow.f64 re 6)) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4))))))
(+.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (fma.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (+.f64 (*.f64 -1/720 (pow.f64 re 6)) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4)))) (neg.f64 im)))
(*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (cos.f64 re))
(*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (cos.f64 re))
(*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (cos.f64 re))
(*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (cos.f64 re))
(*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (cos.f64 re))
(*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (cos.f64 re))
(*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (cos.f64 re))
(*.f64 (-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (cos.f64 re))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (neg.f64 (*.f64 im (cos.f64 re))))
(-.f64 (*.f64 (pow.f64 im 3) (*.f64 -1/6 (cos.f64 re))) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (cos.f64 re))
(*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))
(*.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)))
(*.f64 (pow.f64 im 5) (*.f64 -1/120 (cos.f64 re)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (*.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re))))
(fma.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)) (*.f64 (pow.f64 im 3) (*.f64 -1/6 (cos.f64 re))))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (cos.f64 re))
(*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))
(*.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)))
(*.f64 (pow.f64 im 5) (*.f64 -1/120 (cos.f64 re)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5))))
(fma.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)) (*.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re))))
(fma.f64 -1/120 (*.f64 (pow.f64 im 5) (cos.f64 re)) (*.f64 (pow.f64 im 3) (*.f64 -1/6 (cos.f64 re))))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (cos.f64 re) im)) (*.f64 -1/120 (*.f64 (cos.f64 re) (pow.f64 im 5)))))
(*.f64 (-.f64 (fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3))) im) (cos.f64 re))
(*.f64 (fma.f64 -1/120 (pow.f64 im 5) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))) (cos.f64 re))
(*.f64 -1/6 (pow.f64 im 3))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3)))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3)))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3)))
(*.f64 -1/120 (pow.f64 im 5))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3)))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3)))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3)))
(*.f64 -1/120 (pow.f64 im 5))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3)))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3)))
(+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))
(fma.f64 -1/120 (pow.f64 im 5) (*.f64 -1/6 (pow.f64 im 3)))

localize2.0ms (0%)

Compiler

Compiled 5 to 3 computations (40% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
6.6b
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
6.6b
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Compiler

Compiled 25 to 9 computations (64% saved)

series1.0ms (0%)

Counts
1 → 8
Calls

3 calls:

TimeVariablePointExpression
0.0ms
im
@0
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
0.0ms
im
@-inf
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
0.0ms
im
@inf
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

rewrite55.0ms (0.5%)

Algorithm
egg-rewrite-iter-limit
batch-egg-rewrite
Rules
68×add-sqr-sqrt_binary64
65×*-un-lft-identity_binary64
65×add-log-exp_binary64
65×pow1_binary64
63×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
112710
2208510
0610
Stop Event
iter limit
unsound
Counts
1 → 12
Calls
Call 1
Inputs
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (neg.f64 im)) (neg.f64 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (cbrt.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (cbrt.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (sqrt.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 (neg.f64 im)) 3) (pow.f64 (exp.f64 im) 3)) (+.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (+.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (*.f64 (exp.f64 im) (exp.f64 im))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x 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))))))))

simplify45.0ms (0.4%)

Algorithm
egg-herbie
Rules
676×unswap-sqr_binary64
664×fma-def_binary64
377×associate-/l/_binary64
367×associate-/r*_binary64
311×associate-/l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02598
16398
214198
333698
470298
5152898
6244098
7392598
8541698
Stop Event
node limit
Counts
20 → 21
Calls
Call 1
Inputs
(*.f64 -2 im)
(+.f64 (*.f64 -2 im) (*.f64 -1/3 (pow.f64 im 3)))
(+.f64 (*.f64 -2 im) (+.f64 (*.f64 -1/60 (pow.f64 im 5)) (*.f64 -1/3 (pow.f64 im 3))))
(+.f64 (*.f64 -1/2520 (pow.f64 im 7)) (+.f64 (*.f64 -2 im) (+.f64 (*.f64 -1/60 (pow.f64 im 5)) (*.f64 -1/3 (pow.f64 im 3)))))
(-.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))
Outputs
(*.f64 -2 im)
(+.f64 (*.f64 -2 im) (*.f64 -1/3 (pow.f64 im 3)))
(fma.f64 -2 im (*.f64 -1/3 (pow.f64 im 3)))
(fma.f64 -1/3 (pow.f64 im 3) (*.f64 -2 im))
(*.f64 im (fma.f64 im (*.f64 im -1/3) -2))
(+.f64 (*.f64 -2 im) (+.f64 (*.f64 -1/60 (pow.f64 im 5)) (*.f64 -1/3 (pow.f64 im 3))))
(fma.f64 -2 im (fma.f64 -1/60 (pow.f64 im 5) (*.f64 -1/3 (pow.f64 im 3))))
(fma.f64 -2 im (fma.f64 -1/3 (pow.f64 im 3) (*.f64 -1/60 (pow.f64 im 5))))
(fma.f64 im (fma.f64 im (*.f64 im -1/3) -2) (*.f64 -1/60 (pow.f64 im 5)))
(+.f64 (*.f64 -1/2520 (pow.f64 im 7)) (+.f64 (*.f64 -2 im) (+.f64 (*.f64 -1/60 (pow.f64 im 5)) (*.f64 -1/3 (pow.f64 im 3)))))
(fma.f64 -1/2520 (pow.f64 im 7) (fma.f64 -2 im (fma.f64 -1/60 (pow.f64 im 5) (*.f64 -1/3 (pow.f64 im 3)))))
(fma.f64 -1/2520 (pow.f64 im 7) (fma.f64 -2 im (fma.f64 -1/3 (pow.f64 im 3) (*.f64 -1/60 (pow.f64 im 5)))))
(fma.f64 -2 im (fma.f64 -1/2520 (pow.f64 im 7) (fma.f64 -1/3 (pow.f64 im 3) (*.f64 -1/60 (pow.f64 im 5)))))
(fma.f64 -2 im (fma.f64 -1/60 (pow.f64 im 5) (fma.f64 -1/3 (pow.f64 im 3) (*.f64 -1/2520 (pow.f64 im 7)))))
(fma.f64 im (fma.f64 im (*.f64 im -1/3) -2) (fma.f64 -1/60 (pow.f64 im 5) (*.f64 -1/2520 (pow.f64 im 7))))
(fma.f64 -2 im (fma.f64 -1/3 (pow.f64 im 3) (fma.f64 -1/60 (pow.f64 im 5) (*.f64 -1/2520 (pow.f64 im 7)))))
(fma.f64 -2 im (fma.f64 -1/60 (pow.f64 im 5) (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))

localize27.0ms (0.3%)

Local error

Found 8 expressions with local error:

NewErrorProgram
40.3b
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 3))
0.1b
(pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 3)
0.1b
(*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im)))
0.0b
(fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))
0.0b
(fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))
0.1b
(*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im)))
0.1b
(pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 3)
40.3b
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 3))
Compiler

Compiled 55 to 32 computations (41.8% saved)

series13.0ms (0.1%)

Counts
4 → 84
Calls

21 calls:

TimeVariablePointExpression
2.0ms
re
@0
(pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 3)
1.0ms
im
@-inf
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 3))
1.0ms
re
@inf
(pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 3)
1.0ms
re
@-inf
(pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 3)
1.0ms
im
@0
(pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 3)

rewrite72.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
938×pow1_binary64
877×add-log-exp_binary64
876×log1p-expm1-u_binary64
876×expm1-log1p-u_binary64
113×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01258
125850
2272850
Stop Event
node limit
Counts
4 → 96
Calls
Call 1
Inputs
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 3))
(pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))) 3)
(*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im)))
(fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re)) (*.f64 im (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6)) (*.f64 (cos.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 im 3) -1/6 im) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (pow.f64 im 3) -1/6 im)) 2) (*.f64 (cbrt.f64 (fma.f64 (pow.f64 im 3) -1/6 im)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 2) (*.f64 (cbrt.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) (pow.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) 2) (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (pow.f64 im 3) -1/6 im)) (*.f64 (sqrt.f64 (fma.f64 (pow.f64 im 3) -1/6 im)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 re)) (*.f64 (sqrt.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 2) 1/3) (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 3/2) 1/3) (pow.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (pow.f64 (cbrt.f64 (fma.f64 (pow.f64 im 3) -1/6 im)) 2)) (cbrt.f64 (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (sqrt.f64 (fma.f64 (pow.f64 im 3) -1/6 im))) (sqrt.f64 (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 (pow.f64 im 3) -1/6 im) (pow.f64 (cbrt.f64 (cos.f64 re)) 2)) (cbrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 (pow.f64 im 3) -1/6 im) (sqrt.f64 (cos.f64 re))) (sqrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) (*.f64 (fma.f64 (pow.f64 im 3) -1/6 im) (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 im 3) -1/6 im) (*.f64 (cos.f64 re) (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 2) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) 2) (*.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) (*.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 im) 3) (pow.f64 (cos.f64 re) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 3/2) (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) 2) 3) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) 3) (pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 2) (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 2) (fma.f64 (pow.f64 im 3) -1/6 im)) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 2) 1) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 2) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) 2)) (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 2) (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)))) (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 3)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re)) (*.f64 im (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6)) (*.f64 (cos.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 im))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 im (*.f64 (pow.f64 im 3) -1/6))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (pow.f64 im 3) -1/6) im)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) 1) im)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 (pow.f64 im 3) -1/6) im)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (pow.f64 im 3) -1/6 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 (pow.f64 im 3) -1/6) 0) im)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 im 3) -1/6 im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (pow.f64 im 3) -1/6 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (pow.f64 im 3) -1/6 im)) (pow.f64 (cbrt.f64 (fma.f64 (pow.f64 im 3) -1/6 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (pow.f64 im 3) -1/6 im)) 2) (cbrt.f64 (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (pow.f64 im 3) -1/6 im)) (sqrt.f64 (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (pow.f64 im 3) -1/6) 3) (pow.f64 im 3)) (+.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 3) -1/6)) (-.f64 (*.f64 im im) (*.f64 (*.f64 (pow.f64 im 3) -1/6) im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (*.f64 (pow.f64 im 3) -1/6)) (*.f64 im im)) (fma.f64 (pow.f64 im 3) -1/6 im))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (pow.f64 im 3) -1/6 im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (pow.f64 im 3) -1/6 im)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (pow.f64 im 3) -1/6 im)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 im) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 im) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (pow.f64 im 3) -1/6 im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (pow.f64 im 3) -1/6 im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (pow.f64 im 3) -1/6 im)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (pow.f64 im 3) -1/6 im)))))))

simplify74.0ms (0.7%)

Algorithm
egg-herbie
Rules
921×fma-neg_binary64
475×associate-+l+_binary64
465×associate-+r+_binary64
400×*-commutative_binary64
391×distribute-rgt-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01261959
13711824
214771664
364271656
Stop Event
node limit
Counts
180 → 129
Calls
Call 1
Inputs
(-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (*.f64 -1/6 (pow.f64 im 3))) im)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 1/24 (*.f64 (pow.f64 re 4) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))))) im)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (*.f64 1/24 (*.f64 (pow.f64 re 4) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))))) im)
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)
(+.f64 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 -1 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))) (pow.f64 re 2)))
(+.f64 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (+.f64 (*.f64 1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2)) (*.f64 1/4 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2))) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))) (pow.f64 re 4)) (+.f64 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 -1 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))) (pow.f64 re 2))))
(+.f64 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (+.f64 (*.f64 1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2)) (*.f64 1/4 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2))) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))) (pow.f64 re 4)) (+.f64 (*.f64 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2)) (*.f64 1/4 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2))) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/720 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (+.f64 (*.f64 -1/24 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (+.f64 (*.f64 -1/360 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2)) (*.f64 -1/24 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2))))))) (pow.f64 re 6)) (+.f64 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 -1 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))) (pow.f64 re 2)))))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5)))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5)))))
(*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5)))))
(*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7))) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5)))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7))) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5))))))
(-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (*.f64 -1/6 (pow.f64 im 3))) im)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 1/24 (*.f64 (pow.f64 re 4) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))))) im)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (*.f64 1/24 (*.f64 (pow.f64 re 4) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))))) im)
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 -1 im)
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(*.f64 -1/6 (pow.f64 im 3))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(*.f64 -1/6 (pow.f64 im 3))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
Outputs
(-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)
(fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (*.f64 -1/6 (pow.f64 im 3))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (*.f64 -1/6 (pow.f64 im 3))) im)
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 1 (*.f64 -1/2 (*.f64 re re))))
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 1/24 (*.f64 (pow.f64 re 4) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 (*.f64 1/24 (pow.f64 re 4)) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 1/24 (pow.f64 re 4))))) im)
(+.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4)))))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4))) (neg.f64 im)))
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (*.f64 1/24 (*.f64 (pow.f64 re 4) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 -1/720 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (pow.f64 re 6)) (*.f64 (*.f64 1/24 (pow.f64 re 4)) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)))))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (*.f64 -1/720 (pow.f64 re 6)))))) im)
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (-.f64 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 (*.f64 -1/2 (*.f64 re re)) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (*.f64 -1/720 (pow.f64 re 6))))) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)))
(*.f64 (pow.f64 im 3) (*.f64 -1/6 (cos.f64 re)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)))
(*.f64 (pow.f64 im 3) (*.f64 -1/6 (cos.f64 re)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)
(pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3)
(+.f64 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 -1 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))) (pow.f64 re 2)))
(+.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (*.f64 (*.f64 re re) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -3/2)))
(fma.f64 (*.f64 re re) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -3/2) (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3))
(+.f64 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (+.f64 (*.f64 1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2)) (*.f64 1/4 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2))) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))) (pow.f64 re 4)) (+.f64 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 -1 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))) (pow.f64 re 2))))
(fma.f64 (fma.f64 1/24 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (fma.f64 1/2 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 2) 1/3)))) (pow.f64 re 4) (+.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (*.f64 (*.f64 re re) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -3/2))))
(fma.f64 (pow.f64 re 4) (+.f64 (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) 1/3) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) 13/24)) (fma.f64 (*.f64 re re) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -3/2) (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3)))
(fma.f64 (pow.f64 re 4) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) 7/8) (fma.f64 (*.f64 re re) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -3/2) (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3)))
(+.f64 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (+.f64 (*.f64 1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2)) (*.f64 1/4 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2))) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))) (pow.f64 re 4)) (+.f64 (*.f64 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2)) (*.f64 1/4 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2))) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/720 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (+.f64 (*.f64 -1/24 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (+.f64 (*.f64 -1/360 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2)) (*.f64 -1/24 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2))))))) (pow.f64 re 6)) (+.f64 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 -1 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))) (pow.f64 re 2)))))
(fma.f64 (fma.f64 1/24 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (fma.f64 1/2 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 2) 1/3)))) (pow.f64 re 4) (fma.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 2) 1/3)) (fma.f64 -1/720 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (fma.f64 -1/24 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 2) -2/45))))) (pow.f64 re 6) (+.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (*.f64 (*.f64 re re) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -3/2)))))
(fma.f64 (pow.f64 re 4) (+.f64 (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) 1/3) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) 13/24)) (fma.f64 (pow.f64 re 6) (fma.f64 -1/2 (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) 1/3) (+.f64 (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -2/45) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -31/720))) (fma.f64 (*.f64 re re) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -3/2) (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3))))
(fma.f64 (pow.f64 re 4) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) 7/8) (fma.f64 (pow.f64 re 6) (fma.f64 -1/2 (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) 1/3) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -7/80)) (fma.f64 (*.f64 re re) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -3/2) (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3))))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (pow.f64 (cos.f64 re) 3))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5)))
(fma.f64 -1 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/2) (pow.f64 im 5)))
(-.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/2 (pow.f64 im 5))) (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/2 (pow.f64 im 5)) (pow.f64 im 3)))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5))))
(fma.f64 -1 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)) (fma.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/2) (pow.f64 im 5))))
(-.f64 (fma.f64 (*.f64 -1/2 (pow.f64 (cos.f64 re) 3)) (pow.f64 im 5) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/12 (pow.f64 im 7)))) (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(+.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 (pow.f64 im 7) -1/12)) (*.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/2 (pow.f64 im 5)) (pow.f64 im 3))))
(fma.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/2 (pow.f64 im 5)) (pow.f64 im 3)) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 (pow.f64 im 7) -1/12)))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5)))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (fma.f64 -1 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)) (fma.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/2) (pow.f64 im 5)))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (-.f64 (fma.f64 (*.f64 -1/2 (pow.f64 (cos.f64 re) 3)) (pow.f64 im 5) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/12 (pow.f64 im 7)))) (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3))))
(+.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 -1/2 (pow.f64 im 5)) (*.f64 (pow.f64 im 7) -1/12))) (*.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/216 (pow.f64 im 9)) (pow.f64 im 3))))
(fma.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/216 (pow.f64 im 9)) (*.f64 1/12 (pow.f64 im 7))) (*.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/2 (pow.f64 im 5)) (pow.f64 im 3))))
(*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)))
(*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 (pow.f64 im 9) -1/216))
(*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/216 (pow.f64 im 9)))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7)))
(fma.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 (pow.f64 im 9) -1/216)))
(*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 (pow.f64 im 7) -1/12) (*.f64 -1/216 (pow.f64 im 9))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (fma.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/2) (pow.f64 im 5))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (fma.f64 (*.f64 -1/2 (pow.f64 (cos.f64 re) 3)) (pow.f64 im 5) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/12 (pow.f64 im 7)))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 -1/2 (pow.f64 im 5)) (*.f64 (pow.f64 im 7) -1/12))))
(fma.f64 -1/2 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 5)) (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 (pow.f64 im 7) -1/12) (*.f64 -1/216 (pow.f64 im 9)))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5)))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (fma.f64 -1 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)) (fma.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/2) (pow.f64 im 5)))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (-.f64 (fma.f64 (*.f64 -1/2 (pow.f64 (cos.f64 re) 3)) (pow.f64 im 5) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/12 (pow.f64 im 7)))) (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3))))
(+.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 -1/2 (pow.f64 im 5)) (*.f64 (pow.f64 im 7) -1/12))) (*.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/216 (pow.f64 im 9)) (pow.f64 im 3))))
(fma.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/216 (pow.f64 im 9)) (*.f64 1/12 (pow.f64 im 7))) (*.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/2 (pow.f64 im 5)) (pow.f64 im 3))))
(*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)))
(*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 (pow.f64 im 9) -1/216))
(*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/216 (pow.f64 im 9)))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7)))
(fma.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 (pow.f64 im 9) -1/216)))
(*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 (pow.f64 im 7) -1/12) (*.f64 -1/216 (pow.f64 im 9))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7))) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5)))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (fma.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/2) (pow.f64 im 5))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (fma.f64 (*.f64 -1/2 (pow.f64 (cos.f64 re) 3)) (pow.f64 im 5) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/12 (pow.f64 im 7)))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 -1/2 (pow.f64 im 5)) (*.f64 (pow.f64 im 7) -1/12))))
(fma.f64 -1/2 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 5)) (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 (pow.f64 im 7) -1/12) (*.f64 -1/216 (pow.f64 im 9)))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7))) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5))))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (fma.f64 -1 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)) (fma.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/2) (pow.f64 im 5)))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (-.f64 (fma.f64 (*.f64 -1/2 (pow.f64 (cos.f64 re) 3)) (pow.f64 im 5) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/12 (pow.f64 im 7)))) (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3))))
(+.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 -1/2 (pow.f64 im 5)) (*.f64 (pow.f64 im 7) -1/12))) (*.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/216 (pow.f64 im 9)) (pow.f64 im 3))))
(fma.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/216 (pow.f64 im 9)) (*.f64 1/12 (pow.f64 im 7))) (*.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/2 (pow.f64 im 5)) (pow.f64 im 3))))
(-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)
(fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (*.f64 -1/6 (pow.f64 im 3))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (*.f64 -1/6 (pow.f64 im 3))) im)
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 1 (*.f64 -1/2 (*.f64 re re))))
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 1/24 (*.f64 (pow.f64 re 4) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 (*.f64 1/24 (pow.f64 re 4)) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 1/24 (pow.f64 re 4))))) im)
(+.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4)))))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4))) (neg.f64 im)))
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (*.f64 1/24 (*.f64 (pow.f64 re 4) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 -1/720 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (pow.f64 re 6)) (*.f64 (*.f64 1/24 (pow.f64 re 4)) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)))))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (*.f64 -1/720 (pow.f64 re 6)))))) im)
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (-.f64 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 (*.f64 -1/2 (*.f64 re re)) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (*.f64 -1/720 (pow.f64 re 6))))) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)))
(*.f64 (pow.f64 im 3) (*.f64 -1/6 (cos.f64 re)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)))
(*.f64 (pow.f64 im 3) (*.f64 -1/6 (cos.f64 re)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 -1 im)
(neg.f64 im)
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))
(*.f64 -1/6 (pow.f64 im 3))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))
(*.f64 -1/6 (pow.f64 im 3))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 im))
(fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))

localize26.0ms (0.2%)

Local error

Found 8 expressions with local error:

NewErrorProgram
0.1b
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
0.1b
(*.f64 (cos.f64 re) im)
0.1b
(*.f64 (cos.f64 re) (pow.f64 im 3))
0.1b
(sqrt.f64 (*.f64 (cos.f64 re) im))
0.1b
(*.f64 (cos.f64 re) (pow.f64 im 3))
0.1b
(*.f64 (cos.f64 re) im)
0.1b
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
0.3b
(pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 2)
Compiler

Compiled 70 to 35 computations (50% saved)

series7.0ms (0.1%)

Counts
1 → 12
Calls

6 calls:

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

rewrite41.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
613×pow1_binary64
565×add-log-exp_binary64
565×log1p-expm1-u_binary64
565×expm1-log1p-u_binary64
551×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
086
11636
215916
Stop Event
node limit
Counts
1 → 28
Calls
Call 1
Inputs
(pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 2)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 re) im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) im)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 im (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) (sqrt.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) (*.f64 (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 re) im))) (sqrt.f64 (*.f64 (cos.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2) (cbrt.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 2) (*.f64 (cbrt.f64 (cos.f64 re)) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 im) 2) (*.f64 (cbrt.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 re) im) 1/4) (*.f64 (pow.f64 (*.f64 (cos.f64 re) im) 1/4) (sqrt.f64 (*.f64 (cos.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 re)) (*.f64 (sqrt.f64 (cos.f64 re)) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 re)) (*.f64 (sqrt.f64 im) (sqrt.f64 (*.f64 (cos.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) (pow.f64 (*.f64 (cos.f64 re) im) 1/4)) (pow.f64 (*.f64 (cos.f64 re) im) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (pow.f64 (cbrt.f64 im) 2)) (cbrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (sqrt.f64 im)) (sqrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 im (pow.f64 (cbrt.f64 (cos.f64 re)) 2)) (cbrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 im (sqrt.f64 (cos.f64 re))) (sqrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) (cbrt.f64 (*.f64 (cos.f64 re) im))) (cbrt.f64 (sqrt.f64 (*.f64 (cos.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) (sqrt.f64 (cos.f64 re))) (sqrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 re)) im))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) im)))))))

simplify53.0ms (0.5%)

Algorithm
egg-herbie
Rules
847×fma-def_binary64
691×associate-*l*_binary64
598×associate-*r*_binary64
415×cancel-sign-sub-inv_binary64
329×distribute-rgt-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
034134
187134
2226119
3869109
44943109
57641109
Stop Event
node limit
Counts
40 → 35
Calls
Call 1
Inputs
im
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) im)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 (pow.f64 re 4) (-.f64 (+.f64 (*.f64 1/16 im) (*.f64 1/24 im)) (pow.f64 (*.f64 -1/4 (sqrt.f64 im)) 2))) im))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 (pow.f64 re 4) (-.f64 (+.f64 (*.f64 1/16 im) (*.f64 1/24 im)) (pow.f64 (*.f64 -1/4 (sqrt.f64 im)) 2))) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) im)) im)))
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
Outputs
im
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) im)
(fma.f64 -1/2 (*.f64 im (*.f64 re re)) im)
(*.f64 im (fma.f64 -1/2 (*.f64 re re) 1))
(fma.f64 (*.f64 -1/2 re) (*.f64 im re) im)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 (pow.f64 re 4) (-.f64 (+.f64 (*.f64 1/16 im) (*.f64 1/24 im)) (pow.f64 (*.f64 -1/4 (sqrt.f64 im)) 2))) im))
(fma.f64 -1/2 (*.f64 im (*.f64 re re)) (fma.f64 (pow.f64 re 4) (-.f64 (*.f64 im 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 im)) 2)) im))
(fma.f64 im (*.f64 -1/2 (*.f64 re re)) (fma.f64 (pow.f64 re 4) (fma.f64 im 5/48 (*.f64 im -1/16)) im))
(fma.f64 -1/2 (*.f64 im (*.f64 re re)) (fma.f64 (pow.f64 re 4) (*.f64 im 1/24) im))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 (pow.f64 re 4) (-.f64 (+.f64 (*.f64 1/16 im) (*.f64 1/24 im)) (pow.f64 (*.f64 -1/4 (sqrt.f64 im)) 2))) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) im)) im)))
(fma.f64 -1/2 (*.f64 im (*.f64 re re)) (fma.f64 (pow.f64 re 4) (-.f64 (*.f64 im 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 im)) 2)) (fma.f64 -1/720 (*.f64 im (pow.f64 re 6)) im)))
(fma.f64 (pow.f64 re 4) (fma.f64 im 5/48 (*.f64 im -1/16)) (*.f64 im (+.f64 (fma.f64 -1/720 (pow.f64 re 6) 1) (*.f64 -1/2 (*.f64 re re)))))
(fma.f64 im (fma.f64 -1/2 (*.f64 re re) (fma.f64 -1/720 (pow.f64 re 6) 1)) (*.f64 im (*.f64 1/24 (pow.f64 re 4))))
(*.f64 (cos.f64 re) im)
(*.f64 im (cos.f64 re))
(*.f64 (cos.f64 re) im)
(*.f64 im (cos.f64 re))
(*.f64 (cos.f64 re) im)
(*.f64 im (cos.f64 re))
(*.f64 (cos.f64 re) im)
(*.f64 im (cos.f64 re))
(*.f64 (cos.f64 re) im)
(*.f64 im (cos.f64 re))
(*.f64 (cos.f64 re) im)
(*.f64 im (cos.f64 re))
(*.f64 (cos.f64 re) im)
(*.f64 im (cos.f64 re))
(*.f64 (cos.f64 re) im)
(*.f64 im (cos.f64 re))

eval345.0ms (3.3%)

Compiler

Compiled 8760 to 5874 computations (32.9% saved)

prune183.0ms (1.8%)

Pruning

22 alts after pruning (18 fresh and 4 done)

PrunedKeptTotal
New39610406
Fresh4812
Picked101
Done246
Total40322425
Error
0.0b
Counts
425 → 22
Alt Table
Click to see full alt table
StatusErrorProgram
16.9b
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (*.f64 im (sqrt.f64 (cos.f64 re))) (sqrt.f64 (cos.f64 re)))))
29.6b
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im)
59.3b
(*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
29.5b
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im))
29.7b
(-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)
41.5b
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (neg.f64 im)) 3))
29.5b
(*.f64 1/2 (fma.f64 -2 im (fma.f64 -1/60 (pow.f64 im 5) (fma.f64 -1/2520 (pow.f64 im 7) (*.f64 -1/3 (pow.f64 im 3))))))
31.4b
(/.f64 (*.f64 (cos.f64 re) (fma.f64 1/36 (pow.f64 im 6) (*.f64 (neg.f64 im) im))) (fma.f64 (pow.f64 im 3) -1/6 im))
1.3b
(*.f64 im (neg.f64 (cos.f64 re)))
41.5b
(cbrt.f64 (*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3))))
29.9b
(neg.f64 im)
58.7b
(log.f64 (exp.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
60.2b
(*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))
31.3b
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 2)))
34.1b
(pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 3) -1/6 (neg.f64 im)))) 2)
41.1b
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3))
0.8b
(*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))
31.6b
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (cos.f64 re)))))
58.1b
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
33.2b
(+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))
1.4b
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 2) (*.f64 (cbrt.f64 (cos.f64 re)) im))))
0.8b
(+.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re)) (*.f64 (neg.f64 im) (cos.f64 re)))
Compiler

Compiled 615 to 465 computations (24.4% saved)

localize18.0ms (0.2%)

Local error

Found 6 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (pow.f64 im 3) -1/6)
0.1b
(*.f64 (neg.f64 im) (cos.f64 re))
0.1b
(*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re))
0.1b
(*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re))
0.1b
(*.f64 (neg.f64 im) (cos.f64 re))
0.1b
(*.f64 (pow.f64 im 3) -1/6)
Compiler

Compiled 45 to 24 computations (46.7% saved)

series4.0ms (0%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
1.0ms
im
@0
(*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re))
0.0ms
im
@0
(*.f64 (neg.f64 im) (cos.f64 re))
0.0ms
im
@-inf
(*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re))
0.0ms
re
@0
(*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re))
0.0ms
re
@0
(*.f64 (neg.f64 im) (cos.f64 re))

rewrite71.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
946×pow1_binary64
880×add-log-exp_binary64
879×log1p-expm1-u_binary64
879×expm1-log1p-u_binary64
112×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01120
123418
2272518
Stop Event
node limit
Counts
2 → 30
Calls
Call 1
Inputs
(*.f64 (neg.f64 im) (cos.f64 re))
(*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (*.f64 im (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 im (cos.f64 re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (cos.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 im (cos.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 im (cos.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 im (cos.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 im (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 im (cos.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 im (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 im (cos.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 im (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 im (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 im (cos.f64 re))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (cbrt.f64 (*.f64 (cos.f64 re) -1/6))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 im 3/2) (sqrt.f64 (*.f64 (cos.f64 re) -1/6))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 (cos.f64 re) 2) (*.f64 (pow.f64 im 6) 1/36)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (pow.f64 im 3)) (*.f64 (cos.f64 re) -1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (*.f64 (pow.f64 im 3) -1/6) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 (pow.f64 im 3) -1/6) 3) (pow.f64 (cos.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6))))))))

simplify72.0ms (0.7%)

Algorithm
egg-herbie
Rules
787×distribute-lft-out_binary64
550×fma-neg_binary64
460×*-commutative_binary64
430×distribute-rgt-neg-in_binary64
327×distribute-rgt-out_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
046581
1124564
2419535
31833535
43826535
55374535
67509535
Stop Event
node limit
Counts
78 → 49
Calls
Call 1
Inputs
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 im)
(+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))
(+.f64 (*.f64 -1/24 (*.f64 (pow.f64 re 4) im)) (+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im))))
(+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 6) im)) (+.f64 (*.f64 -1/24 (*.f64 (pow.f64 re 4) im)) (+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (pow.f64 im 3))
(+.f64 (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (*.f64 -1/6 (pow.f64 im 3)))
(+.f64 (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1/144 (*.f64 (pow.f64 re 4) (pow.f64 im 3)))))
(+.f64 (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (+.f64 (*.f64 1/4320 (*.f64 (pow.f64 re 6) (pow.f64 im 3))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1/144 (*.f64 (pow.f64 re 4) (pow.f64 im 3))))))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
Outputs
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 im)
(neg.f64 im)
(+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))
(fma.f64 -1 im (*.f64 1/2 (*.f64 im (*.f64 re re))))
(-.f64 (*.f64 (*.f64 re re) (*.f64 im 1/2)) im)
(*.f64 im (fma.f64 1/2 (*.f64 re re) -1))
(+.f64 (*.f64 -1/24 (*.f64 (pow.f64 re 4) im)) (+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im))))
(fma.f64 -1/24 (*.f64 im (pow.f64 re 4)) (fma.f64 -1 im (*.f64 1/2 (*.f64 im (*.f64 re re)))))
(fma.f64 -1/24 (*.f64 im (pow.f64 re 4)) (-.f64 (*.f64 (*.f64 re re) (*.f64 im 1/2)) im))
(*.f64 im (+.f64 (*.f64 re (*.f64 re 1/2)) (fma.f64 -1/24 (pow.f64 re 4) -1)))
(*.f64 im (+.f64 (*.f64 -1/24 (pow.f64 re 4)) (fma.f64 1/2 (*.f64 re re) -1)))
(+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 6) im)) (+.f64 (*.f64 -1/24 (*.f64 (pow.f64 re 4) im)) (+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))))
(fma.f64 1/720 (*.f64 im (pow.f64 re 6)) (fma.f64 -1/24 (*.f64 im (pow.f64 re 4)) (fma.f64 -1 im (*.f64 1/2 (*.f64 im (*.f64 re re))))))
(fma.f64 1/720 (*.f64 im (pow.f64 re 6)) (fma.f64 -1/24 (*.f64 im (pow.f64 re 4)) (-.f64 (*.f64 (*.f64 re re) (*.f64 im 1/2)) im)))
(*.f64 im (+.f64 (fma.f64 1/2 (*.f64 re re) -1) (fma.f64 1/720 (pow.f64 re 6) (*.f64 -1/24 (pow.f64 re 4)))))
(*.f64 im (+.f64 (fma.f64 1/720 (pow.f64 re 6) (*.f64 -1/24 (pow.f64 re 4))) (fma.f64 1/2 (*.f64 re re) -1)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 (cos.f64 re) im))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (pow.f64 im 3))
(+.f64 (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (*.f64 -1/6 (pow.f64 im 3)))
(fma.f64 1/12 (*.f64 (*.f64 re re) (pow.f64 im 3)) (*.f64 -1/6 (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (+.f64 (*.f64 (*.f64 re re) 1/12) -1/6))
(*.f64 (pow.f64 im 3) (fma.f64 (*.f64 re re) 1/12 -1/6))
(+.f64 (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1/144 (*.f64 (pow.f64 re 4) (pow.f64 im 3)))))
(fma.f64 1/12 (*.f64 (*.f64 re re) (pow.f64 im 3)) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 -1/144 (*.f64 (pow.f64 re 4) (pow.f64 im 3)))))
(fma.f64 1/12 (*.f64 re (*.f64 re (pow.f64 im 3))) (*.f64 (pow.f64 im 3) (+.f64 -1/6 (*.f64 (pow.f64 re 4) -1/144))))
(*.f64 (pow.f64 im 3) (+.f64 (fma.f64 (pow.f64 re 4) -1/144 -1/6) (*.f64 re (*.f64 re 1/12))))
(*.f64 (pow.f64 im 3) (+.f64 (*.f64 re (*.f64 re 1/12)) (fma.f64 (pow.f64 re 4) -1/144 -1/6)))
(+.f64 (*.f64 1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (+.f64 (*.f64 1/4320 (*.f64 (pow.f64 re 6) (pow.f64 im 3))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1/144 (*.f64 (pow.f64 re 4) (pow.f64 im 3))))))
(fma.f64 1/12 (*.f64 (*.f64 re re) (pow.f64 im 3)) (fma.f64 1/4320 (*.f64 (pow.f64 re 6) (pow.f64 im 3)) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 -1/144 (*.f64 (pow.f64 re 4) (pow.f64 im 3))))))
(+.f64 (*.f64 (pow.f64 im 3) (+.f64 -1/6 (*.f64 (pow.f64 re 4) -1/144))) (*.f64 (pow.f64 im 3) (+.f64 (*.f64 (*.f64 re re) 1/12) (*.f64 (pow.f64 re 6) 1/4320))))
(*.f64 (pow.f64 im 3) (+.f64 (fma.f64 (pow.f64 re 4) -1/144 -1/6) (fma.f64 (*.f64 re re) 1/12 (*.f64 (pow.f64 re 6) 1/4320))))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) -1/6))

localize41.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(*.f64 -1/6 (pow.f64 im 3))
0.1b
(*.f64 -1/6 (pow.f64 im 3))
Compiler

Compiled 20 to 15 computations (25% saved)

series1.0ms (0%)

Counts
1 → 0
Calls

3 calls:

TimeVariablePointExpression
0.0ms
im
@0
(*.f64 -1/6 (pow.f64 im 3))
0.0ms
im
@inf
(*.f64 -1/6 (pow.f64 im 3))
0.0ms
im
@-inf
(*.f64 -1/6 (pow.f64 im 3))

rewrite38.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
505×pow1_binary64
499×add-sqr-sqrt_binary64
477×add-log-exp_binary64
477×log1p-expm1-u_binary64
477×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
11297
213257
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 -1/6 (pow.f64 im 3))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 -1/6 (pow.f64 im 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 -1/6 (pow.f64 im 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 -1/6 (pow.f64 im 3)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (cbrt.f64 -1/6)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 -1/6) (pow.f64 im 3/2)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 im 6) 1/36))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 -1/6) (pow.f64 im 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 -1/6 (pow.f64 im 3)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 -1/6 (pow.f64 im 3))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 -1/6 (pow.f64 im 3))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 -1/6 (pow.f64 im 3))))))))

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
11 → 11
Calls
Call 1
Inputs
Outputs

localize14.0ms (0.1%)

Local error

Found 6 expressions with local error:

NewErrorProgram
40.3b
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (neg.f64 im)) 3))
0.1b
(pow.f64 (*.f64 (cos.f64 re) (neg.f64 im)) 3)
0.1b
(*.f64 (cos.f64 re) (neg.f64 im))
0.1b
(*.f64 (cos.f64 re) (neg.f64 im))
0.1b
(pow.f64 (*.f64 (cos.f64 re) (neg.f64 im)) 3)
40.3b
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (neg.f64 im)) 3))
Compiler

Compiled 29 to 11 computations (62.1% saved)

series23.0ms (0.2%)

Counts
3 → 72
Calls

18 calls:

TimeVariablePointExpression
7.0ms
re
@inf
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (neg.f64 im)) 3))
5.0ms
re
@inf
(pow.f64 (*.f64 (cos.f64 re) (neg.f64 im)) 3)
2.0ms
im
@0
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (neg.f64 im)) 3))
1.0ms
re
@0
(pow.f64 (*.f64 (cos.f64 re) (neg.f64 im)) 3)
1.0ms
re
@0
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (neg.f64 im)) 3))

rewrite53.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
678×pow1_binary64
635×add-log-exp_binary64
634×log1p-expm1-u_binary64
634×expm1-log1p-u_binary64
618×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0927
119321
2213221
Stop Event
node limit
Counts
3 → 73
Calls
Call 1
Inputs
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (neg.f64 im)) 3))
(pow.f64 (*.f64 (cos.f64 re) (neg.f64 im)) 3)
(*.f64 (cos.f64 re) (neg.f64 im))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (*.f64 (cos.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 re) im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) im)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 im (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) (pow.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2) (cbrt.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 2) (*.f64 (cbrt.f64 (cos.f64 re)) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 im) 2) (*.f64 (cbrt.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) (sqrt.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 re)) (*.f64 (sqrt.f64 (cos.f64 re)) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (*.f64 (cos.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2) 1/3) (cbrt.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3/2) 1/3) (pow.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3/2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (cos.f64 re)) im)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) -1) im)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 im (pow.f64 (cbrt.f64 (cos.f64 re)) 2)) (cbrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 im (sqrt.f64 (cos.f64 re))) (sqrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (pow.f64 (cbrt.f64 im) 2)) (cbrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (sqrt.f64 im)) (sqrt.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (cos.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) im)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 (cos.f64 re) im) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) (*.f64 im (pow.f64 (*.f64 (cos.f64 re) im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 im (*.f64 (cos.f64 re) (pow.f64 (*.f64 (cos.f64 re) im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) im) (pow.f64 (*.f64 (cos.f64 re) im) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 (cos.f64 re) im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2) (*.f64 (cos.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2) (*.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) (pow.f64 (*.f64 (cos.f64 re) im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) (*.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) (pow.f64 (*.f64 (cos.f64 re) im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3/2) (pow.f64 (*.f64 (cos.f64 re) im) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2) 3) (*.f64 (cos.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 3) (pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2) (cos.f64 re)) im)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2) im) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2) 1) (*.f64 (cos.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 2)) (cbrt.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2) (sqrt.f64 (*.f64 (cos.f64 re) im))) (sqrt.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) im) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (*.f64 (cos.f64 re) im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (*.f64 (cos.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 re) im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) im)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (*.f64 (cos.f64 re) im))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) im) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) im)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) im)))))))

simplify53.0ms (0.5%)

Algorithm
egg-herbie
Rules
631×fma-def_binary64
546×fma-neg_binary64
518×distribute-lft-out_binary64
494×cancel-sign-sub-inv_binary64
481×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0831010
1251975
2853922
34520899
Stop Event
node limit
Counts
145 → 89
Calls
Call 1
Inputs
(*.f64 (cbrt.f64 -1) im)
(+.f64 (*.f64 (cbrt.f64 -1) im) (*.f64 -1/2 (*.f64 (cbrt.f64 -1) (*.f64 (pow.f64 re 2) im))))
(+.f64 (*.f64 1/24 (*.f64 (cbrt.f64 -1) (*.f64 (pow.f64 re 4) im))) (+.f64 (*.f64 (cbrt.f64 -1) im) (*.f64 -1/2 (*.f64 (cbrt.f64 -1) (*.f64 (pow.f64 re 2) im)))))
(+.f64 (*.f64 1/24 (*.f64 (cbrt.f64 -1) (*.f64 (pow.f64 re 4) im))) (+.f64 (*.f64 (cbrt.f64 -1) im) (+.f64 (*.f64 -1/720 (*.f64 (cbrt.f64 -1) (*.f64 (pow.f64 re 6) im))) (*.f64 -1/2 (*.f64 (cbrt.f64 -1) (*.f64 (pow.f64 re 2) im))))))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (pow.f64 im 3))
(+.f64 (*.f64 (+.f64 (pow.f64 im 3) (*.f64 1/2 (pow.f64 im 3))) (pow.f64 re 2)) (*.f64 -1 (pow.f64 im 3)))
(+.f64 (*.f64 (+.f64 (pow.f64 im 3) (*.f64 1/2 (pow.f64 im 3))) (pow.f64 re 2)) (+.f64 (*.f64 (+.f64 (*.f64 -1/24 (pow.f64 im 3)) (+.f64 (*.f64 -1/2 (pow.f64 im 3)) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 2)) (*.f64 1/4 (pow.f64 im 2))) im)))) (pow.f64 re 4)) (*.f64 -1 (pow.f64 im 3))))
(+.f64 (*.f64 (+.f64 (pow.f64 im 3) (*.f64 1/2 (pow.f64 im 3))) (pow.f64 re 2)) (+.f64 (*.f64 (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1/360 (pow.f64 im 2)) (*.f64 -1/24 (pow.f64 im 2))) im)) (+.f64 (*.f64 1/720 (pow.f64 im 3)) (+.f64 (*.f64 1/24 (pow.f64 im 3)) (*.f64 1/2 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 2)) (*.f64 1/4 (pow.f64 im 2))) im))))) (pow.f64 re 6)) (+.f64 (*.f64 (+.f64 (*.f64 -1/24 (pow.f64 im 3)) (+.f64 (*.f64 -1/2 (pow.f64 im 3)) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 2)) (*.f64 1/4 (pow.f64 im 2))) im)))) (pow.f64 re 4)) (*.f64 -1 (pow.f64 im 3)))))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(*.f64 -1 im)
(+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))
(+.f64 (*.f64 -1/24 (*.f64 (pow.f64 re 4) im)) (+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im))))
(+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 6) im)) (+.f64 (*.f64 -1/24 (*.f64 (pow.f64 re 4) im)) (+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
Outputs
(*.f64 (cbrt.f64 -1) im)
(+.f64 (*.f64 (cbrt.f64 -1) im) (*.f64 -1/2 (*.f64 (cbrt.f64 -1) (*.f64 (pow.f64 re 2) im))))
(fma.f64 (cbrt.f64 -1) im (*.f64 (*.f64 -1/2 (cbrt.f64 -1)) (*.f64 im (*.f64 re re))))
(fma.f64 (cbrt.f64 -1) im (*.f64 (cbrt.f64 -1) (*.f64 (*.f64 im (*.f64 re re)) -1/2)))
(*.f64 (cbrt.f64 -1) (+.f64 im (*.f64 -1/2 (*.f64 im (*.f64 re re)))))
(*.f64 (cbrt.f64 -1) (+.f64 im (*.f64 re (*.f64 (*.f64 im re) -1/2))))
(+.f64 (*.f64 1/24 (*.f64 (cbrt.f64 -1) (*.f64 (pow.f64 re 4) im))) (+.f64 (*.f64 (cbrt.f64 -1) im) (*.f64 -1/2 (*.f64 (cbrt.f64 -1) (*.f64 (pow.f64 re 2) im)))))
(fma.f64 1/24 (*.f64 (cbrt.f64 -1) (*.f64 im (pow.f64 re 4))) (fma.f64 (cbrt.f64 -1) im (*.f64 (*.f64 -1/2 (cbrt.f64 -1)) (*.f64 im (*.f64 re re)))))
(fma.f64 1/24 (*.f64 (cbrt.f64 -1) (*.f64 im (pow.f64 re 4))) (fma.f64 (cbrt.f64 -1) im (*.f64 (cbrt.f64 -1) (*.f64 (*.f64 im (*.f64 re re)) -1/2))))
(fma.f64 (cbrt.f64 -1) (*.f64 -1/2 (*.f64 im (*.f64 re re))) (*.f64 (cbrt.f64 -1) (+.f64 (*.f64 im (*.f64 (pow.f64 re 4) 1/24)) im)))
(*.f64 (cbrt.f64 -1) (+.f64 im (*.f64 im (+.f64 (*.f64 1/24 (pow.f64 re 4)) (*.f64 -1/2 (*.f64 re re))))))
(+.f64 (*.f64 1/24 (*.f64 (cbrt.f64 -1) (*.f64 (pow.f64 re 4) im))) (+.f64 (*.f64 (cbrt.f64 -1) im) (+.f64 (*.f64 -1/720 (*.f64 (cbrt.f64 -1) (*.f64 (pow.f64 re 6) im))) (*.f64 -1/2 (*.f64 (cbrt.f64 -1) (*.f64 (pow.f64 re 2) im))))))
(fma.f64 1/24 (*.f64 (cbrt.f64 -1) (*.f64 im (pow.f64 re 4))) (fma.f64 (cbrt.f64 -1) im (fma.f64 -1/720 (*.f64 (cbrt.f64 -1) (*.f64 im (pow.f64 re 6))) (*.f64 (*.f64 -1/2 (cbrt.f64 -1)) (*.f64 im (*.f64 re re))))))
(fma.f64 1/24 (*.f64 (cbrt.f64 -1) (*.f64 im (pow.f64 re 4))) (fma.f64 (cbrt.f64 -1) im (fma.f64 -1/2 (*.f64 (cbrt.f64 -1) (*.f64 im (*.f64 re re))) (*.f64 (cbrt.f64 -1) (*.f64 (*.f64 im (pow.f64 re 6)) -1/720)))))
(+.f64 (*.f64 (cbrt.f64 -1) (+.f64 (*.f64 -1/2 (*.f64 im (*.f64 re re))) (*.f64 -1/720 (*.f64 im (pow.f64 re 6))))) (*.f64 (cbrt.f64 -1) (+.f64 (*.f64 im (*.f64 (pow.f64 re 4) 1/24)) im)))
(*.f64 (cbrt.f64 -1) (+.f64 (*.f64 im (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4)))) (-.f64 im (*.f64 (pow.f64 re 6) (*.f64 im 1/720)))))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (*.f64 (cbrt.f64 -1) im) (cos.f64 re))
(*.f64 (cbrt.f64 -1) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (*.f64 (cbrt.f64 -1) im) (cos.f64 re))
(*.f64 (cbrt.f64 -1) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (*.f64 (cbrt.f64 -1) im) (cos.f64 re))
(*.f64 (cbrt.f64 -1) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (*.f64 (cbrt.f64 -1) im) (cos.f64 re))
(*.f64 (cbrt.f64 -1) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (*.f64 (cbrt.f64 -1) im) (cos.f64 re))
(*.f64 (cbrt.f64 -1) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (*.f64 (cbrt.f64 -1) im) (cos.f64 re))
(*.f64 (cbrt.f64 -1) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (*.f64 (cbrt.f64 -1) im) (cos.f64 re))
(*.f64 (cbrt.f64 -1) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (*.f64 (cbrt.f64 -1) im) (cos.f64 re))
(*.f64 (cbrt.f64 -1) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (*.f64 (cbrt.f64 -1) im) (cos.f64 re))
(*.f64 (cbrt.f64 -1) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (*.f64 (cbrt.f64 -1) im) (cos.f64 re))
(*.f64 (cbrt.f64 -1) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (*.f64 (cbrt.f64 -1) im) (cos.f64 re))
(*.f64 (cbrt.f64 -1) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (*.f64 (cbrt.f64 -1) im) (cos.f64 re))
(*.f64 (cbrt.f64 -1) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (*.f64 (cbrt.f64 -1) im) (cos.f64 re))
(*.f64 (cbrt.f64 -1) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (*.f64 (cbrt.f64 -1) im) (cos.f64 re))
(*.f64 (cbrt.f64 -1) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (*.f64 (cbrt.f64 -1) im) (cos.f64 re))
(*.f64 (cbrt.f64 -1) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im))
(*.f64 (*.f64 (cbrt.f64 -1) im) (cos.f64 re))
(*.f64 (cbrt.f64 -1) (*.f64 im (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (pow.f64 im 3))
(neg.f64 (pow.f64 im 3))
(+.f64 (*.f64 (+.f64 (pow.f64 im 3) (*.f64 1/2 (pow.f64 im 3))) (pow.f64 re 2)) (*.f64 -1 (pow.f64 im 3)))
(fma.f64 (*.f64 3/2 (pow.f64 im 3)) (*.f64 re re) (neg.f64 (pow.f64 im 3)))
(-.f64 (*.f64 (*.f64 re re) (*.f64 (pow.f64 im 3) 3/2)) (pow.f64 im 3))
(*.f64 (pow.f64 im 3) (+.f64 -1 (*.f64 re (*.f64 re 3/2))))
(+.f64 (*.f64 (+.f64 (pow.f64 im 3) (*.f64 1/2 (pow.f64 im 3))) (pow.f64 re 2)) (+.f64 (*.f64 (+.f64 (*.f64 -1/24 (pow.f64 im 3)) (+.f64 (*.f64 -1/2 (pow.f64 im 3)) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 2)) (*.f64 1/4 (pow.f64 im 2))) im)))) (pow.f64 re 4)) (*.f64 -1 (pow.f64 im 3))))
(fma.f64 (*.f64 3/2 (pow.f64 im 3)) (*.f64 re re) (fma.f64 (fma.f64 -1/24 (pow.f64 im 3) (fma.f64 -1/2 (pow.f64 im 3) (neg.f64 (*.f64 im (*.f64 (*.f64 im im) 1/3))))) (pow.f64 re 4) (neg.f64 (pow.f64 im 3))))
(-.f64 (fma.f64 (*.f64 re re) (*.f64 (pow.f64 im 3) 3/2) (*.f64 (pow.f64 re 4) (-.f64 (*.f64 (pow.f64 im 3) -13/24) (*.f64 (pow.f64 im 3) 1/3)))) (pow.f64 im 3))
(fma.f64 (pow.f64 re 4) (*.f64 (pow.f64 im 3) -7/8) (*.f64 (pow.f64 im 3) (+.f64 -1 (*.f64 re (*.f64 re 3/2)))))
(+.f64 (*.f64 (+.f64 (pow.f64 im 3) (*.f64 1/2 (pow.f64 im 3))) (pow.f64 re 2)) (+.f64 (*.f64 (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1/360 (pow.f64 im 2)) (*.f64 -1/24 (pow.f64 im 2))) im)) (+.f64 (*.f64 1/720 (pow.f64 im 3)) (+.f64 (*.f64 1/24 (pow.f64 im 3)) (*.f64 1/2 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 2)) (*.f64 1/4 (pow.f64 im 2))) im))))) (pow.f64 re 6)) (+.f64 (*.f64 (+.f64 (*.f64 -1/24 (pow.f64 im 3)) (+.f64 (*.f64 -1/2 (pow.f64 im 3)) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 im 2)) (*.f64 1/4 (pow.f64 im 2))) im)))) (pow.f64 re 4)) (*.f64 -1 (pow.f64 im 3)))))
(fma.f64 (*.f64 3/2 (pow.f64 im 3)) (*.f64 re re) (fma.f64 (fma.f64 -1 (*.f64 im (*.f64 (*.f64 im im) -2/45)) (fma.f64 1/720 (pow.f64 im 3) (fma.f64 1/24 (pow.f64 im 3) (*.f64 1/2 (*.f64 im (*.f64 (*.f64 im im) 1/3)))))) (pow.f64 re 6) (fma.f64 (fma.f64 -1/24 (pow.f64 im 3) (fma.f64 -1/2 (pow.f64 im 3) (neg.f64 (*.f64 im (*.f64 (*.f64 im im) 1/3))))) (pow.f64 re 4) (neg.f64 (pow.f64 im 3)))))
(fma.f64 (*.f64 re re) (*.f64 (pow.f64 im 3) 3/2) (-.f64 (fma.f64 (pow.f64 re 6) (-.f64 (+.f64 (*.f64 1/2 (*.f64 (pow.f64 im 3) 1/3)) (*.f64 (pow.f64 im 3) 31/720)) (*.f64 (pow.f64 im 3) -2/45)) (*.f64 (pow.f64 re 4) (-.f64 (*.f64 (pow.f64 im 3) -13/24) (*.f64 (pow.f64 im 3) 1/3)))) (pow.f64 im 3)))
(fma.f64 (pow.f64 re 6) (+.f64 (*.f64 (pow.f64 im 3) 2/45) (fma.f64 (pow.f64 im 3) 31/720 (*.f64 (pow.f64 im 3) 1/6))) (fma.f64 (pow.f64 re 4) (*.f64 (pow.f64 im 3) -7/8) (*.f64 (pow.f64 im 3) (+.f64 -1 (*.f64 re (*.f64 re 3/2))))))
(fma.f64 (pow.f64 re 6) (fma.f64 (pow.f64 im 3) 31/720 (*.f64 (pow.f64 im 3) 19/90)) (fma.f64 (pow.f64 re 4) (*.f64 (pow.f64 im 3) -7/8) (*.f64 (pow.f64 im 3) (+.f64 -1 (*.f64 re (*.f64 re 3/2))))))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (neg.f64 (pow.f64 im 3)) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(*.f64 -1 im)
(neg.f64 im)
(+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))
(fma.f64 -1 im (*.f64 (*.f64 im (*.f64 re re)) 1/2))
(fma.f64 (*.f64 im (*.f64 re re)) 1/2 (neg.f64 im))
(*.f64 im (fma.f64 (*.f64 re re) 1/2 -1))
(+.f64 (*.f64 -1/24 (*.f64 (pow.f64 re 4) im)) (+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im))))
(fma.f64 -1/24 (*.f64 im (pow.f64 re 4)) (fma.f64 -1 im (*.f64 (*.f64 im (*.f64 re re)) 1/2)))
(fma.f64 (*.f64 im (pow.f64 re 4)) -1/24 (fma.f64 (*.f64 im (*.f64 re re)) 1/2 (neg.f64 im)))
(*.f64 im (+.f64 (fma.f64 (*.f64 re re) 1/2 -1) (*.f64 (pow.f64 re 4) -1/24)))
(*.f64 im (+.f64 (*.f64 (*.f64 re re) 1/2) (fma.f64 (pow.f64 re 4) -1/24 -1)))
(+.f64 (*.f64 1/720 (*.f64 (pow.f64 re 6) im)) (+.f64 (*.f64 -1/24 (*.f64 (pow.f64 re 4) im)) (+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))))
(fma.f64 1/720 (*.f64 im (pow.f64 re 6)) (fma.f64 -1/24 (*.f64 im (pow.f64 re 4)) (fma.f64 -1 im (*.f64 (*.f64 im (*.f64 re re)) 1/2))))
(fma.f64 (*.f64 im (pow.f64 re 6)) 1/720 (fma.f64 (*.f64 im (pow.f64 re 4)) -1/24 (fma.f64 (*.f64 im (*.f64 re re)) 1/2 (neg.f64 im))))
(*.f64 im (+.f64 (fma.f64 (*.f64 re re) 1/2 -1) (fma.f64 (pow.f64 re 6) 1/720 (*.f64 (pow.f64 re 4) -1/24))))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))

localize39.0ms (0.4%)

Local error

Found 8 expressions with local error:

NewErrorProgram
40.3b
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3))
0.1b
(pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3)
0.1b
(*.f64 (pow.f64 im 3) -1/6)
0.1b
(*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))
0.1b
(*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))
0.1b
(*.f64 (pow.f64 im 3) -1/6)
0.1b
(pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3)
40.3b
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3))
Compiler

Compiled 58 to 39 computations (32.8% saved)

series108.0ms (1%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
102.0ms
re
@inf
(pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3)
1.0ms
re
@-inf
(pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3)
1.0ms
im
@inf
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3))
1.0ms
re
@0
(pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3)
1.0ms
re
@-inf
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3))

rewrite57.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
646×prod-diff_binary64
545×log-prod_binary64
370×pow-prod-down_binary64
343×fma-def_binary64
288×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01233
126533
2299533
Stop Event
node limit
Counts
2 → 73
Calls
Call 1
Inputs
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3))
(pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re)) (*.f64 (neg.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6)) (*.f64 (cos.f64 re) (neg.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 re)) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 2) (*.f64 (cbrt.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 re)) 2) (*.f64 (cbrt.f64 (cos.f64 re)) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) 2) (cbrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) (*.f64 (sqrt.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 re)) (*.f64 (sqrt.f64 (cos.f64 re)) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) (sqrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (pow.f64 (cbrt.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 2)) (cbrt.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (sqrt.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) (sqrt.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im) (pow.f64 (cbrt.f64 (cos.f64 re)) 2)) (cbrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im) (sqrt.f64 (cos.f64 re))) (sqrt.f64 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (pow.f64 im 9) -1/216 (neg.f64 (pow.f64 im 3))) (cos.f64 re)) (fma.f64 im (fma.f64 (pow.f64 im 3) -1/6 im) (*.f64 (pow.f64 im 6) 1/36)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (*.f64 (pow.f64 im 6) 1/36) (*.f64 im im)) (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 im))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 9) -1/216 (neg.f64 (pow.f64 im 3)))) (fma.f64 im (fma.f64 (pow.f64 im 3) -1/6 im) (*.f64 (pow.f64 im 6) 1/36)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 6) 1/36) (*.f64 im im))) (fma.f64 (pow.f64 im 3) -1/6 im))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 6) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 9) 1/9)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) 2) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3/2) 2/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 re)) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) -1/6) (*.f64 (cos.f64 re) (neg.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re) (*.f64 (neg.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3))) 2)) (log.f64 (cbrt.f64 (exp.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3)))) (log.f64 (sqrt.f64 (exp.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) (*.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im) (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im) (*.f64 (cos.f64 re) (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 2) (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) 2) (*.f64 (cbrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) (*.f64 (sqrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im) 3) (pow.f64 (cos.f64 re) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3/2) (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 2) (cos.f64 re)) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 2) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 2) 1) (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) (cbrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))) 2) (cbrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 2) (sqrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))) (sqrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 9))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (log.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3)))))))

simplify61.0ms (0.6%)

Algorithm
egg-herbie
Rules
909×fma-neg_binary64
440×cancel-sign-sub-inv_binary64
423×*-commutative_binary64
389×associate-+l+_binary64
377×associate-+r+_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01311455
13851337
215071169
358161161
Stop Event
node limit
Counts
121 → 119
Calls
Call 1
Inputs
(-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (*.f64 -1/6 (pow.f64 im 3))) im)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 1/24 (*.f64 (pow.f64 re 4) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))))) im)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (*.f64 1/24 (*.f64 (pow.f64 re 4) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))))) im)
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 1/6 (*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) (pow.f64 im 3))))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) (pow.f64 im 3)))) (*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im)))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) (pow.f64 im 3)))) (*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im)))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) (pow.f64 im 3)))) (*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)
(+.f64 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 -1 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))) (pow.f64 re 2)))
(+.f64 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (+.f64 (*.f64 1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2)) (*.f64 1/4 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2))) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))) (pow.f64 re 4)) (+.f64 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 -1 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))) (pow.f64 re 2))))
(+.f64 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (+.f64 (*.f64 1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2)) (*.f64 1/4 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2))) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))) (pow.f64 re 4)) (+.f64 (*.f64 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2)) (*.f64 1/4 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2))) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/720 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (+.f64 (*.f64 -1/24 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (+.f64 (*.f64 -1/360 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2)) (*.f64 -1/24 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2))))))) (pow.f64 re 6)) (+.f64 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 -1 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))) (pow.f64 re 2)))))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5)))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5)))))
(*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5)))))
(*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7))) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5)))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7))) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5))))))
Outputs
(-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)
(fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (*.f64 -1/6 (pow.f64 im 3))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (*.f64 -1/6 (pow.f64 im 3))) im)
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 1 (*.f64 -1/2 (*.f64 re re))))
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 1/24 (*.f64 (pow.f64 re 4) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 (*.f64 1/24 (pow.f64 re 4)) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im))))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 1/24 (pow.f64 re 4))))) im)
(+.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (*.f64 -1/2 (*.f64 re re)))))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (fma.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (*.f64 -1/2 (*.f64 re re))) (neg.f64 im)))
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (*.f64 1/24 (*.f64 (pow.f64 re 4) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (fma.f64 -1/6 (pow.f64 im 3) (fma.f64 -1/720 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (pow.f64 re 6)) (*.f64 (*.f64 1/24 (pow.f64 re 4)) (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)))))) im)
(-.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 re re)) (fma.f64 -1/6 (pow.f64 im 3) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (*.f64 -1/720 (pow.f64 re 6)))))) im)
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (-.f64 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (+.f64 (*.f64 -1/2 (*.f64 re re)) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (*.f64 -1/720 (pow.f64 re 6))))) im))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 (cos.f64 re) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 -1 (*.f64 (cos.f64 re) im))
(neg.f64 (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (neg.f64 im))
(*.f64 im (neg.f64 (cos.f64 re)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(*.f64 1/6 (*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) (pow.f64 im 3))))
(*.f64 1/6 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) (cbrt.f64 -1))))
(*.f64 (cos.f64 re) (*.f64 (*.f64 (pow.f64 im 3) (cbrt.f64 -1)) 1/6))
(*.f64 (pow.f64 im 3) (*.f64 1/6 (*.f64 (cos.f64 re) (cbrt.f64 -1))))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) (pow.f64 im 3)))) (*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im)))
(fma.f64 1/6 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) (cbrt.f64 -1))) (*.f64 (cos.f64 re) (*.f64 im (cbrt.f64 -1))))
(fma.f64 1/6 (*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) (cbrt.f64 -1))) (*.f64 im (*.f64 (cos.f64 re) (cbrt.f64 -1))))
(*.f64 (*.f64 (cos.f64 re) (cbrt.f64 -1)) (+.f64 (*.f64 (pow.f64 im 3) 1/6) im))
(*.f64 (*.f64 (cos.f64 re) (cbrt.f64 -1)) (+.f64 im (*.f64 (pow.f64 im 3) 1/6)))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) (pow.f64 im 3)))) (*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im)))
(fma.f64 1/6 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) (cbrt.f64 -1))) (*.f64 (cos.f64 re) (*.f64 im (cbrt.f64 -1))))
(fma.f64 1/6 (*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) (cbrt.f64 -1))) (*.f64 im (*.f64 (cos.f64 re) (cbrt.f64 -1))))
(*.f64 (*.f64 (cos.f64 re) (cbrt.f64 -1)) (+.f64 (*.f64 (pow.f64 im 3) 1/6) im))
(*.f64 (*.f64 (cos.f64 re) (cbrt.f64 -1)) (+.f64 im (*.f64 (pow.f64 im 3) 1/6)))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) (pow.f64 im 3)))) (*.f64 (cos.f64 re) (*.f64 (cbrt.f64 -1) im)))
(fma.f64 1/6 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 3) (cbrt.f64 -1))) (*.f64 (cos.f64 re) (*.f64 im (cbrt.f64 -1))))
(fma.f64 1/6 (*.f64 (pow.f64 im 3) (*.f64 (cos.f64 re) (cbrt.f64 -1))) (*.f64 im (*.f64 (cos.f64 re) (cbrt.f64 -1))))
(*.f64 (*.f64 (cos.f64 re) (cbrt.f64 -1)) (+.f64 (*.f64 (pow.f64 im 3) 1/6) im))
(*.f64 (*.f64 (cos.f64 re) (cbrt.f64 -1)) (+.f64 im (*.f64 (pow.f64 im 3) 1/6)))
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
(*.f64 -1/6 (*.f64 (pow.f64 im 3) (cos.f64 re)))
(*.f64 (pow.f64 im 3) (*.f64 -1/6 (cos.f64 re)))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3))) (*.f64 -1 (*.f64 (cos.f64 re) im)))
(*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (cos.f64 re))
(pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)
(pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3)
(+.f64 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 -1 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))) (pow.f64 re 2)))
(+.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (*.f64 (*.f64 re re) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -3/2)))
(fma.f64 (*.f64 re re) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -3/2) (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3))
(+.f64 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (+.f64 (*.f64 1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2)) (*.f64 1/4 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2))) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))) (pow.f64 re 4)) (+.f64 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 -1 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))) (pow.f64 re 2))))
(fma.f64 (fma.f64 1/24 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (fma.f64 1/2 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 2) 1/3)))) (pow.f64 re 4) (+.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (*.f64 (*.f64 re re) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -3/2))))
(fma.f64 (pow.f64 re 4) (+.f64 (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) 1/3) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) 13/24)) (fma.f64 (*.f64 re re) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -3/2) (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3)))
(fma.f64 (pow.f64 re 4) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) 7/8) (fma.f64 (*.f64 re re) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -3/2) (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3)))
(+.f64 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (+.f64 (*.f64 1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 (+.f64 (*.f64 1/12 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2)) (*.f64 1/4 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2))) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))) (pow.f64 re 4)) (+.f64 (*.f64 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/12 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2)) (*.f64 1/4 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2))) (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im))) (+.f64 (*.f64 -1/720 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (+.f64 (*.f64 -1/24 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) (+.f64 (*.f64 -1/360 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2)) (*.f64 -1/24 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 2))))))) (pow.f64 re 6)) (+.f64 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3)) (*.f64 -1 (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))) (pow.f64 re 2)))))
(fma.f64 (fma.f64 1/24 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (fma.f64 1/2 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 2) 1/3)))) (pow.f64 re 4) (fma.f64 (fma.f64 -1/2 (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 2) 1/3)) (fma.f64 -1/720 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (fma.f64 -1/24 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (*.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 2) -2/45))))) (pow.f64 re 6) (+.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (*.f64 (*.f64 re re) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -3/2)))))
(fma.f64 (pow.f64 re 4) (+.f64 (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) 1/3) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) 13/24)) (fma.f64 (pow.f64 re 6) (fma.f64 -1/2 (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) 1/3) (+.f64 (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -2/45) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -31/720))) (fma.f64 (*.f64 re re) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -3/2) (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3))))
(fma.f64 (pow.f64 re 4) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) 7/8) (fma.f64 (pow.f64 re 6) (fma.f64 -1/2 (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) 1/3) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -7/80)) (fma.f64 (*.f64 re re) (*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) -3/2) (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3))))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (pow.f64 (cos.f64 re) 3))
(*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (-.f64 (*.f64 -1/6 (pow.f64 im 3)) im) 3))
(*.f64 (pow.f64 (fma.f64 -1/6 (pow.f64 im 3) (neg.f64 im)) 3) (pow.f64 (cos.f64 re) 3))
(*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3)))
(neg.f64 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3)))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5)))
(fma.f64 -1 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/2) (pow.f64 im 5)))
(-.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/2 (pow.f64 im 5))) (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(*.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/2 (pow.f64 im 5)) (pow.f64 im 3)))
(+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5))))
(fma.f64 -1 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)) (fma.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/2) (pow.f64 im 5))))
(-.f64 (fma.f64 (*.f64 -1/2 (pow.f64 (cos.f64 re) 3)) (pow.f64 im 5) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/12 (pow.f64 im 7)))) (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)))
(+.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 (pow.f64 im 7) -1/12)) (*.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/2 (pow.f64 im 5)) (pow.f64 im 3))))
(fma.f64 (pow.f64 (cos.f64 re) 3) (*.f64 (pow.f64 im 7) -1/12) (*.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/2 (pow.f64 im 5)) (pow.f64 im 3))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5)))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (fma.f64 -1 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)) (fma.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/2) (pow.f64 im 5)))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (-.f64 (fma.f64 (*.f64 -1/2 (pow.f64 (cos.f64 re) 3)) (pow.f64 im 5) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/12 (pow.f64 im 7)))) (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3))))
(+.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 -1/2 (pow.f64 im 5)) (*.f64 (pow.f64 im 7) -1/12))) (*.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/216 (pow.f64 im 9)) (pow.f64 im 3))))
(fma.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/216 (pow.f64 im 9)) (pow.f64 im 3)) (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 -1/2 (pow.f64 im 5)) (*.f64 (pow.f64 im 7) -1/12))))
(*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)))
(*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 (pow.f64 im 9) -1/216))
(*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/216 (pow.f64 im 9)))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7)))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/12 (pow.f64 im 7))))
(*.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/216 (pow.f64 im 9)) (*.f64 1/12 (pow.f64 im 7))))
(*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 (pow.f64 im 7) -1/12) (*.f64 -1/216 (pow.f64 im 9))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (fma.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/2) (pow.f64 im 5))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (fma.f64 (*.f64 -1/2 (pow.f64 (cos.f64 re) 3)) (pow.f64 im 5) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/12 (pow.f64 im 7)))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 -1/2 (pow.f64 im 5)) (*.f64 (pow.f64 im 7) -1/12))))
(fma.f64 -1/2 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 5)) (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 (pow.f64 im 7) -1/12) (*.f64 -1/216 (pow.f64 im 9)))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 (+.f64 (*.f64 -1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7)) (*.f64 (+.f64 (*.f64 -1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 -1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5)))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (fma.f64 -1 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)) (fma.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/2) (pow.f64 im 5)))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (-.f64 (fma.f64 (*.f64 -1/2 (pow.f64 (cos.f64 re) 3)) (pow.f64 im 5) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/12 (pow.f64 im 7)))) (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3))))
(+.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 -1/2 (pow.f64 im 5)) (*.f64 (pow.f64 im 7) -1/12))) (*.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/216 (pow.f64 im 9)) (pow.f64 im 3))))
(fma.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/216 (pow.f64 im 9)) (pow.f64 im 3)) (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 -1/2 (pow.f64 im 5)) (*.f64 (pow.f64 im 7) -1/12))))
(*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)))
(*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 (pow.f64 im 9) -1/216))
(*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/216 (pow.f64 im 9)))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7)))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/12 (pow.f64 im 7))))
(*.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/216 (pow.f64 im 9)) (*.f64 1/12 (pow.f64 im 7))))
(*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 (pow.f64 im 7) -1/12) (*.f64 -1/216 (pow.f64 im 9))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7))) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5)))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (fma.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/2) (pow.f64 im 5))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (fma.f64 (*.f64 -1/2 (pow.f64 (cos.f64 re) 3)) (pow.f64 im 5) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/12 (pow.f64 im 7)))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 -1/2 (pow.f64 im 5)) (*.f64 (pow.f64 im 7) -1/12))))
(fma.f64 -1/2 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 5)) (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 (pow.f64 im 7) -1/12) (*.f64 -1/216 (pow.f64 im 9)))))
(+.f64 (*.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9))) (+.f64 (*.f64 -1 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 3))) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 1/36 (pow.f64 (cos.f64 re) 3)) (*.f64 1/18 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 7))) (*.f64 -1 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (cos.f64 re) 3)) (*.f64 1/6 (pow.f64 (cos.f64 re) 3))) (pow.f64 im 5))))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (fma.f64 -1 (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3)) (fma.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/12) (pow.f64 im 7) (*.f64 (*.f64 (pow.f64 (cos.f64 re) 3) -1/2) (pow.f64 im 5)))))
(fma.f64 -1/216 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 im 9)) (-.f64 (fma.f64 (*.f64 -1/2 (pow.f64 (cos.f64 re) 3)) (pow.f64 im 5) (*.f64 (pow.f64 (cos.f64 re) 3) (*.f64 -1/12 (pow.f64 im 7)))) (*.f64 (pow.f64 im 3) (pow.f64 (cos.f64 re) 3))))
(+.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 -1/2 (pow.f64 im 5)) (*.f64 (pow.f64 im 7) -1/12))) (*.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/216 (pow.f64 im 9)) (pow.f64 im 3))))
(fma.f64 (pow.f64 (cos.f64 re) 3) (-.f64 (*.f64 -1/216 (pow.f64 im 9)) (pow.f64 im 3)) (*.f64 (pow.f64 (cos.f64 re) 3) (+.f64 (*.f64 -1/2 (pow.f64 im 5)) (*.f64 (pow.f64 im 7) -1/12))))

localize103.0ms (1%)

Local error

Found 8 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (cos.f64 re)))
0.1b
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
0.1b
(*.f64 (sqrt.f64 im) (cos.f64 re))
0.1b
(*.f64 (cos.f64 re) (pow.f64 im 3))
0.1b
(*.f64 (cos.f64 re) (pow.f64 im 3))
0.1b
(*.f64 (sqrt.f64 im) (cos.f64 re))
0.1b
(*.f64 -1/6 (*.f64 (cos.f64 re) (pow.f64 im 3)))
0.2b
(*.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (cos.f64 re)))
Compiler

Compiled 70 to 29 computations (58.6% saved)

series6.0ms (0.1%)

Counts
2 → 36
Calls

12 calls:

TimeVariablePointExpression
1.0ms
im
@-inf
(*.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (cos.f64 re)))
1.0ms
im
@0
(*.f64 (sqrt.f64 im) (cos.f64 re))
1.0ms
im
@-inf
(*.f64 (sqrt.f64 im) (cos.f64 re))
1.0ms
re
@inf
(*.f64 (sqrt.f64 im) (cos.f64 re))
1.0ms
re
@0
(*.f64 (sqrt.f64 im) (cos.f64 re))

rewrite50.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
641×pow1_binary64
588×add-log-exp_binary64
588×log1p-expm1-u_binary64
588×expm1-log1p-u_binary64
573×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
113814
2164014
Stop Event
node limit
Counts
2 → 22
Calls
Call 1
Inputs
(*.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (cos.f64 re)))
(*.f64 (sqrt.f64 im) (cos.f64 re))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 im (cos.f64 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (cos.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 im (cos.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 im (cos.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 im (cos.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 im (cos.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 im) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 im (cos.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 im (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 im (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 im (cos.f64 re))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (sqrt.f64 im) (cos.f64 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 im) (cos.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sqrt.f64 im) (cos.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sqrt.f64 im) (cos.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sqrt.f64 im) (cos.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 im (pow.f64 (cos.f64 re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sqrt.f64 im)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 im) (cos.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sqrt.f64 im) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 im) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 im) (cos.f64 re))))))))

simplify65.0ms (0.6%)

Algorithm
egg-herbie
Rules
781×fma-def_binary64
628×unsub-neg_binary64
449×distribute-rgt-neg-in_binary64
352×distribute-lft-neg-in_binary64
320×neg-mul-1_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
043338
1114331
2326312
31013304
42310304
53184304
65254304
77401304
Stop Event
node limit
Counts
58 → 39
Calls
Call 1
Inputs
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 -1 (*.f64 (cos.f64 re) (*.f64 (pow.f64 (sqrt.f64 -1) 2) im)))
(*.f64 -1 (*.f64 (cos.f64 re) (*.f64 (pow.f64 (sqrt.f64 -1) 2) im)))
(*.f64 -1 (*.f64 (cos.f64 re) (*.f64 (pow.f64 (sqrt.f64 -1) 2) im)))
(*.f64 -1 (*.f64 (cos.f64 re) (*.f64 (pow.f64 (sqrt.f64 -1) 2) im)))
im
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) im)
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) im))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) im)) im)))
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(sqrt.f64 im)
(+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (sqrt.f64 im))))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (sqrt.f64 im))) (+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (sqrt.f64 im)))))
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (sqrt.f64 im))) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (sqrt.f64 im))) (+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (sqrt.f64 im))))))
(*.f64 (cos.f64 re) (sqrt.f64 im))
(*.f64 (cos.f64 re) (sqrt.f64 im))
(*.f64 (cos.f64 re) (sqrt.f64 im))
(*.f64 (cos.f64 re) (sqrt.f64 im))
(*.f64 (cos.f64 re) (sqrt.f64 im))
(*.f64 (cos.f64 re) (sqrt.f64 im))
(*.f64 (cos.f64 re) (sqrt.f64 im))
(*.f64 (cos.f64 re) (sqrt.f64 im))
Outputs
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 -1 (*.f64 (cos.f64 re) (*.f64 (pow.f64 (sqrt.f64 -1) 2) im)))
(*.f64 (cos.f64 re) im)
(*.f64 -1 (*.f64 (cos.f64 re) (*.f64 (pow.f64 (sqrt.f64 -1) 2) im)))
(*.f64 (cos.f64 re) im)
(*.f64 -1 (*.f64 (cos.f64 re) (*.f64 (pow.f64 (sqrt.f64 -1) 2) im)))
(*.f64 (cos.f64 re) im)
(*.f64 -1 (*.f64 (cos.f64 re) (*.f64 (pow.f64 (sqrt.f64 -1) 2) im)))
(*.f64 (cos.f64 re) im)
im
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) im)
(fma.f64 -1/2 (*.f64 im (*.f64 re re)) im)
(fma.f64 -1/2 (*.f64 (*.f64 im re) re) im)
(*.f64 im (fma.f64 -1/2 (*.f64 re re) 1))
(*.f64 im (fma.f64 re (*.f64 re -1/2) 1))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) im))
(fma.f64 -1/2 (*.f64 im (*.f64 re re)) (fma.f64 1/24 (*.f64 im (pow.f64 re 4)) im))
(fma.f64 -1/2 (*.f64 (*.f64 im re) re) (fma.f64 1/24 (*.f64 im (pow.f64 re 4)) im))
(fma.f64 im (fma.f64 -1/2 (*.f64 re re) (*.f64 1/24 (pow.f64 re 4))) im)
(fma.f64 im (fma.f64 1/24 (pow.f64 re 4) (*.f64 -1/2 (*.f64 re re))) im)
(fma.f64 im (fma.f64 1/24 (pow.f64 re 4) (*.f64 re (*.f64 re -1/2))) im)
(*.f64 im (fma.f64 1/24 (pow.f64 re 4) (fma.f64 re (*.f64 re -1/2) 1)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) im)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) im)) im)))
(fma.f64 -1/2 (*.f64 im (*.f64 re re)) (fma.f64 1/24 (*.f64 im (pow.f64 re 4)) (fma.f64 -1/720 (*.f64 im (pow.f64 re 6)) im)))
(fma.f64 -1/2 (*.f64 (*.f64 im re) re) (fma.f64 1/24 (*.f64 im (pow.f64 re 4)) (fma.f64 -1/720 (*.f64 im (pow.f64 re 6)) im)))
(fma.f64 im (*.f64 -1/2 (*.f64 re re)) (fma.f64 im (fma.f64 -1/720 (pow.f64 re 6) (*.f64 1/24 (pow.f64 re 4))) im))
(fma.f64 im (fma.f64 re (*.f64 re -1/2) (fma.f64 -1/720 (pow.f64 re 6) (*.f64 1/24 (pow.f64 re 4)))) im)
(fma.f64 im (fma.f64 re (*.f64 re -1/2) (fma.f64 1/24 (pow.f64 re 4) (*.f64 -1/720 (pow.f64 re 6)))) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(*.f64 (cos.f64 re) im)
(sqrt.f64 im)
(+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (sqrt.f64 im))))
(+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 (*.f64 re re) (sqrt.f64 im))))
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (sqrt.f64 im))
(*.f64 (sqrt.f64 im) (fma.f64 -1/2 (*.f64 re re) 1))
(*.f64 (sqrt.f64 im) (fma.f64 re (*.f64 re -1/2) 1))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (sqrt.f64 im))) (+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (sqrt.f64 im)))))
(fma.f64 1/24 (*.f64 (pow.f64 re 4) (sqrt.f64 im)) (+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 (*.f64 re re) (sqrt.f64 im)))))
(fma.f64 1/24 (*.f64 (pow.f64 re 4) (sqrt.f64 im)) (*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (sqrt.f64 im)))
(*.f64 (sqrt.f64 im) (+.f64 (*.f64 -1/2 (*.f64 re re)) (fma.f64 1/24 (pow.f64 re 4) 1)))
(*.f64 (sqrt.f64 im) (fma.f64 re (*.f64 re -1/2) (fma.f64 1/24 (pow.f64 re 4) 1)))
(*.f64 (sqrt.f64 im) (fma.f64 1/24 (pow.f64 re 4) (fma.f64 re (*.f64 re -1/2) 1)))
(+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (sqrt.f64 im))) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (sqrt.f64 im))) (+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (sqrt.f64 im))))))
(fma.f64 -1/720 (*.f64 (pow.f64 re 6) (sqrt.f64 im)) (fma.f64 1/24 (*.f64 (pow.f64 re 4) (sqrt.f64 im)) (+.f64 (sqrt.f64 im) (*.f64 -1/2 (*.f64 (*.f64 re re) (sqrt.f64 im))))))
(+.f64 (*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (sqrt.f64 im)) (*.f64 (sqrt.f64 im) (+.f64 (*.f64 -1/720 (pow.f64 re 6)) (*.f64 1/24 (pow.f64 re 4)))))
(fma.f64 (fma.f64 -1/2 (*.f64 re re) 1) (sqrt.f64 im) (*.f64 (sqrt.f64 im) (fma.f64 -1/720 (pow.f64 re 6) (*.f64 1/24 (pow.f64 re 4)))))
(*.f64 (sqrt.f64 im) (+.f64 (fma.f64 re (*.f64 re -1/2) (fma.f64 -1/720 (pow.f64 re 6) 1)) (*.f64 1/24 (pow.f64 re 4))))
(*.f64 (sqrt.f64 im) (+.f64 (fma.f64 -1/720 (pow.f64 re 6) 1) (fma.f64 1/24 (pow.f64 re 4) (*.f64 re (*.f64 re -1/2)))))
(fma.f64 (sqrt.f64 im) (fma.f64 re (*.f64 re -1/2) (fma.f64 1/24 (pow.f64 re 4) (*.f64 -1/720 (pow.f64 re 6)))) (sqrt.f64 im))
(*.f64 (cos.f64 re) (sqrt.f64 im))
(*.f64 (cos.f64 re) (sqrt.f64 im))
(*.f64 (cos.f64 re) (sqrt.f64 im))
(*.f64 (cos.f64 re) (sqrt.f64 im))
(*.f64 (cos.f64 re) (sqrt.f64 im))
(*.f64 (cos.f64 re) (sqrt.f64 im))
(*.f64 (cos.f64 re) (sqrt.f64 im))
(*.f64 (cos.f64 re) (sqrt.f64 im))

eval477.0ms (4.6%)

Compiler

Compiled 8478 to 5321 computations (37.2% saved)

prune93.0ms (0.9%)

Pruning

25 alts after pruning (17 fresh and 8 done)

PrunedKeptTotal
New4339442
Fresh5813
Picked101
Done088
Total43925464
Error
0.0b
Counts
464 → 25
Alt Table
Click to see full alt table
StatusErrorProgram
29.6b
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im)
59.3b
(*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
29.7b
(-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)
31.4b
(/.f64 (*.f64 (-.f64 (*.f64 (pow.f64 im 6) 1/36) (*.f64 im im)) (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 im))
29.5b
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im))
41.5b
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (neg.f64 im)) 3))
16.9b
(*.f64 (*.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im) (sqrt.f64 (cos.f64 re))) (sqrt.f64 (cos.f64 re)))
29.5b
(*.f64 1/2 (fma.f64 -2 im (fma.f64 -1/60 (pow.f64 im 5) (fma.f64 -1/2520 (pow.f64 im 7) (*.f64 -1/3 (pow.f64 im 3))))))
33.2b
(+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))
34.1b
(pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) 2)
32.0b
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 (*.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (cos.f64 re)))))
29.9b
(neg.f64 im)
29.7b
(-.f64 (-.f64 (+.f64 1 (*.f64 -1/6 (pow.f64 im 3))) 1) im)
58.7b
(log.f64 (exp.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
61.5b
(*.f64 im (cos.f64 re))
41.5b
(cbrt.f64 (*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3))))
60.2b
(*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))
31.3b
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 2)))
41.1b
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3))
0.8b
(*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))
1.3b
(*.f64 im (neg.f64 (cos.f64 re)))
33.6b
(*.f64 (*.f64 (cos.f64 re) (sqrt.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) (sqrt.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))
58.1b
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
2.2b
(pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) 3)
0.8b
(+.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re)) (*.f64 (neg.f64 im) (cos.f64 re)))
Compiler

Compiled 348 to 269 computations (22.7% saved)

regimes114.0ms (1.1%)

Counts
25 → 1
Calls
Call 1
Inputs
(neg.f64 im)
(*.f64 im (cos.f64 re))
(*.f64 im (neg.f64 (cos.f64 re)))
(-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)
(-.f64 (-.f64 (+.f64 1 (*.f64 -1/6 (pow.f64 im 3))) 1) im)
(+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))
(*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))
(*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im)
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (neg.f64 im)) 3))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
(+.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re)) (*.f64 (neg.f64 im) (cos.f64 re)))
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 (*.f64 1/5040 (pow.f64 im 7)) im))
(cbrt.f64 (*.f64 (pow.f64 im 3) (neg.f64 (pow.f64 (cos.f64 re) 3))))
(pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) 3)
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)) 3))
(pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) 2)
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 (pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) im)) 2)))
(+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 -1 (*.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (cos.f64 re)))))
(/.f64 (*.f64 (-.f64 (*.f64 (pow.f64 im 6) 1/36) (*.f64 im im)) (cos.f64 re)) (fma.f64 (pow.f64 im 3) -1/6 im))
(log.f64 (exp.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))
(*.f64 (*.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im) (sqrt.f64 (cos.f64 re))) (sqrt.f64 (cos.f64 re)))
(*.f64 (*.f64 (cos.f64 re) (sqrt.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))) (sqrt.f64 (-.f64 (*.f64 (pow.f64 im 3) -1/6) im)))
(*.f64 1/2 (fma.f64 -2 im (fma.f64 -1/60 (pow.f64 im 5) (fma.f64 -1/2520 (pow.f64 im 7) (*.f64 -1/3 (pow.f64 im 3))))))
Outputs
(+.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re)) (*.f64 (neg.f64 im) (cos.f64 re)))
Calls

5 calls:

23.0ms
(*.f64 1/2 (cos.f64 re))
14.0ms
re
12.0ms
im
11.0ms
(*.f64 1/2 (cos.f64 re))
11.0ms
(cos.f64 re)
Results
ErrorSegmentsBranch
0.8b1re
0.8b1im
0.8b1(*.f64 1/2 (cos.f64 re))
0.8b1(*.f64 1/2 (cos.f64 re))
0.8b1(cos.f64 re)
Compiler

Compiled 322 to 211 computations (34.5% saved)

regimes55.0ms (0.5%)

Counts
12 → 1
Calls
Call 1
Inputs
(neg.f64 im)
(*.f64 im (cos.f64 re))
(*.f64 im (neg.f64 (cos.f64 re)))
(-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)
(-.f64 (-.f64 (+.f64 1 (*.f64 -1/6 (pow.f64 im 3))) 1) im)
(+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))
(*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))
(*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))
(-.f64 (+.f64 (*.f64 -1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im)
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (neg.f64 im)) 3))
(*.f64 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (*.f64 1/2 (cos.f64 re)))
Outputs
(*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))
Calls

5 calls:

21.0ms
(*.f64 1/2 (cos.f64 re))
8.0ms
re
7.0ms
im
6.0ms
(*.f64 1/2 (cos.f64 re))
6.0ms
(cos.f64 re)
Results
ErrorSegmentsBranch
0.8b1re
0.8b1im
0.8b1(*.f64 1/2 (cos.f64 re))
0.8b1(*.f64 1/2 (cos.f64 re))
0.8b1(cos.f64 re)
Compiler

Compiled 122 to 79 computations (35.2% saved)

regimes60.0ms (0.6%)

Counts
8 → 1
Calls
Call 1
Inputs
(neg.f64 im)
(*.f64 im (cos.f64 re))
(*.f64 im (neg.f64 (cos.f64 re)))
(-.f64 (*.f64 -1/6 (pow.f64 im 3)) im)
(-.f64 (-.f64 (+.f64 1 (*.f64 -1/6 (pow.f64 im 3))) 1) im)
(+.f64 (*.f64 -1 im) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))
(*.f64 -1/5040 (*.f64 (cos.f64 re) (pow.f64 im 7)))
(*.f64 1/2 (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Outputs
(*.f64 im (neg.f64 (cos.f64 re)))
Calls

3 calls:

47.0ms
im
5.0ms
re
5.0ms
(cos.f64 re)
Results
ErrorSegmentsBranch
1.3b1re
1.3b1im
1.3b1(cos.f64 re)
Compiler

Compiled 68 to 46 computations (32.4% saved)

regimes13.0ms (0.1%)

Accuracy

Total -31.6b remaining (-105.5%)

Threshold costs -31.6b (-105.5%)

Counts
2 → 1
Calls
Call 1
Inputs
(neg.f64 im)
(*.f64 im (cos.f64 re))
Outputs
(neg.f64 im)
Calls

3 calls:

5.0ms
im
3.0ms
re
3.0ms
(cos.f64 re)
Results
ErrorSegmentsBranch
29.9b1re
29.9b1im
29.9b1(cos.f64 re)
Compiler

Compiled 18 to 12 computations (33.3% saved)

simplify3.0ms (0%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01648
13146
24146
34546
44646
Stop Event
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re)) (*.f64 (neg.f64 im) (cos.f64 re)))
(*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))
(*.f64 im (neg.f64 (cos.f64 re)))
(neg.f64 im)
Outputs
(+.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re)) (*.f64 (neg.f64 im) (cos.f64 re)))
(+.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re)) (*.f64 im (neg.f64 (cos.f64 re))))
(-.f64 (*.f64 (*.f64 (pow.f64 im 3) -1/6) (cos.f64 re)) (*.f64 im (cos.f64 re)))
(*.f64 (cos.f64 re) (-.f64 (*.f64 (pow.f64 im 3) -1/6) im))
(*.f64 im (neg.f64 (cos.f64 re)))
(neg.f64 im)

end36.0ms (0.3%)

Stop Event
fuel
Compiler

Compiled 70 to 46 computations (34.3% saved)

Profiling

Loading profile data...