Details

Time bar (total: 10.4s)

analyze142.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 14 to 11 computations (21.4% saved)

sample4.5s (43.7%)

Results
1.4s2040×body1024valid
1.2s5179×body256valid
909.0ms1988×body1024invalid
356.0ms1484×body256invalid
328.0ms1033×body512valid
288.0ms1017×body512invalid
5.0msbody2048valid
1.0msbody2048invalid

preprocess142.0ms (1.4%)

Algorithm
egg-herbie
Rules
748×times-frac_binary64
628×fma-def_binary64
384×sqr-pow_binary64
320×unswap-sqr_binary64
302×associate-*l*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01836
14936
213136
325534
437234
566934
6153134
7266034
8381234
9455834
10515234
11606034
12756734
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 (neg.f64 im)) (exp.f64 im)))
(*.f64 (*.f64 1/2 (cos.f64 im)) (+.f64 (exp.f64 (neg.f64 re)) (exp.f64 re)))
Outputs
(*.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 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 (*.f64 1/2 (cos.f64 im)) (+.f64 (exp.f64 (neg.f64 re)) (exp.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 im) (+.f64 (exp.f64 (neg.f64 re)) (exp.f64 re))))
(*.f64 (cos.f64 im) (fma.f64 1/2 (exp.f64 re) (/.f64 1/2 (exp.f64 re))))
Compiler

Compiled 15 to 12 computations (20% saved)

simplify104.0ms (1%)

Algorithm
egg-herbie
Rules
573×fma-def_binary64
530×associate-/l*_binary64
430×unswap-sqr_binary64
374×times-frac_binary64
340×associate-/r/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01118
12818
27018
313217
419217
534617
678017
7135117
8396717
9449017
10546117
11602417
12705817
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Outputs
(*.f64 (*.f64 1/2 (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 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))

eval1.0ms (0%)

Compiler

Compiled 24 to 15 computations (37.5% saved)

prune2.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Compiler

Compiled 26 to 19 computations (26.9% saved)

localize15.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

Compiled 32 to 16 computations (50% saved)

series10.0ms (0.1%)

Counts
3 → 40
Calls

12 calls:

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

rewrite83.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
873×pow1_binary64
804×add-log-exp_binary64
804×log1p-expm1-u_binary64
804×expm1-log1p-u_binary64
787×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify73.0ms (0.7%)

Algorithm
egg-herbie
Rules
600×distribute-rgt-out_binary64
521×fma-def_binary64
433×distribute-lft-out_binary64
389×associate-/l*_binary64
366×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
073725
1230690
2767643
33281625
45718625
Stop Event
node limit
Counts
97 → 88
Calls
Call 1
Inputs
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 1/2 (/.f64 1 (exp.f64 im)))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 1/2 (/.f64 1 (exp.f64 im))))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (*.f64 1/2 (/.f64 1 (exp.f64 im)))))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
1/2
(+.f64 1/2 (*.f64 -1/2 im))
(+.f64 1/2 (+.f64 (*.f64 1/4 (pow.f64 im 2)) (*.f64 -1/2 im)))
(+.f64 1/2 (+.f64 (*.f64 1/4 (pow.f64 im 2)) (+.f64 (*.f64 -1/2 im) (*.f64 -1/12 (pow.f64 im 3)))))
1
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/720 (pow.f64 im 6)))))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
Outputs
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 1/2 (/.f64 1 (exp.f64 im)))))
(fma.f64 -1/2 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (*.f64 re re)) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (fma.f64 -1/2 (*.f64 re re) 1))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 1/2 (/.f64 1 (exp.f64 im))))))
(fma.f64 -1/2 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (*.f64 re re)) (fma.f64 1/24 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (pow.f64 re 4)) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))
(+.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4)))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (+.f64 (*.f64 -1/2 (*.f64 re re)) (fma.f64 1/24 (pow.f64 re 4) 1)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (*.f64 1/2 (/.f64 1 (exp.f64 im)))))))
(fma.f64 -1/2 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (*.f64 re re)) (fma.f64 1/24 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (pow.f64 re 4)) (fma.f64 1/2 (exp.f64 im) (fma.f64 -1/720 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (pow.f64 re 6)) (/.f64 1/2 (exp.f64 im))))))
(+.f64 (fma.f64 1/2 (exp.f64 im) (fma.f64 -1/720 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (pow.f64 re 6)) (/.f64 1/2 (exp.f64 im)))) (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4)))))
(fma.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (fma.f64 -1/2 (*.f64 re re) (*.f64 1/24 (pow.f64 re 4))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 1/2 (*.f64 (pow.f64 re 6) -1/1440))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (+.f64 (+.f64 1 (*.f64 -1/720 (pow.f64 re 6))) (fma.f64 -1/2 (*.f64 re re) (*.f64 1/24 (pow.f64 re 4)))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (+.f64 (*.f64 -1/720 (pow.f64 re 6)) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (fma.f64 -1/2 (*.f64 re re) 1))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
(fma.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 im im) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))))
(+.f64 (fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re)) (*.f64 (*.f64 1/24 (cos.f64 re)) (pow.f64 im 4)))
(fma.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))) (fma.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)) (cos.f64 re)))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 1)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))))
(+.f64 (fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re)) (fma.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6)))))
(+.f64 (fma.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 im im) (cos.f64 re)) (fma.f64 (*.f64 (cos.f64 re) 1/720) (pow.f64 im 6) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))))
(+.f64 (*.f64 (fma.f64 1/24 (pow.f64 im 4) 1) (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) (*.f64 1/2 (*.f64 im im)))))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 1/720 (pow.f64 im 6))))))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 1/24 (pow.f64 im 4) (fma.f64 1/720 (pow.f64 im 6) (*.f64 1/2 (*.f64 im im))))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
1/2
(+.f64 1/2 (*.f64 -1/2 im))
(+.f64 1/2 (*.f64 im -1/2))
(fma.f64 im -1/2 1/2)
(+.f64 1/2 (+.f64 (*.f64 1/4 (pow.f64 im 2)) (*.f64 -1/2 im)))
(+.f64 1/2 (fma.f64 1/4 (*.f64 im im) (*.f64 im -1/2)))
(+.f64 1/2 (fma.f64 im -1/2 (*.f64 im (*.f64 im 1/4))))
(fma.f64 im -1/2 (fma.f64 im (*.f64 im 1/4) 1/2))
(+.f64 1/2 (+.f64 (*.f64 1/4 (pow.f64 im 2)) (+.f64 (*.f64 -1/2 im) (*.f64 -1/12 (pow.f64 im 3)))))
(+.f64 1/2 (fma.f64 1/4 (*.f64 im im) (fma.f64 -1/2 im (*.f64 -1/12 (pow.f64 im 3)))))
(+.f64 1/2 (fma.f64 (*.f64 im im) 1/4 (fma.f64 im -1/2 (*.f64 -1/12 (pow.f64 im 3)))))
(+.f64 1/2 (fma.f64 im -1/2 (*.f64 (*.f64 im im) (+.f64 (*.f64 im -1/12) 1/4))))
(+.f64 1/2 (*.f64 im (+.f64 -1/2 (*.f64 im (+.f64 1/4 (*.f64 im -1/12))))))
1
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (*.f64 im im)))
(fma.f64 1/2 (*.f64 im im) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4))))
(fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 1))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/720 (pow.f64 im 6)))))
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 1/720 (pow.f64 im 6)))))
(+.f64 (fma.f64 1/24 (pow.f64 im 4) (*.f64 1/2 (*.f64 im im))) (fma.f64 1/720 (pow.f64 im 6) 1))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))

localize16.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Compiler

Compiled 35 to 13 computations (62.9% saved)

series7.0ms (0.1%)

Counts
2 → 36
Calls

9 calls:

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

rewrite140.0ms (1.4%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01128
123328
2378028
01118
123318
2378018
01118
0610
112610
2208210
0610
Stop Event
iter limit
unsound
iter limit
unsound
unsound
Counts
2 → 19
Calls
Call 1
Inputs
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (exp.f64 (neg.f64 im)) (*.f64 1/2 (cos.f64 re))) (*.f64 (exp.f64 im) (*.f64 1/2 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 (neg.f64 im))) (*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (*.f64 (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 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 1/2 (*.f64 (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))))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))))
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (cbrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 (neg.f64 im)) 3) (pow.f64 (exp.f64 im) 3)) (+.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (-.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (*.f64 (exp.f64 im) (exp.f64 im))) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))))))))

simplify80.0ms (0.8%)

Algorithm
egg-herbie
Rules
612×associate-+l+_binary64
610×distribute-rgt-out_binary64
516×distribute-lft-out_binary64
414×associate-+r+_binary64
344×*-commutative_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
064669
1190606
2603570
32278565
44985563
57179563
Stop Event
node limit
Counts
55 → 46
Calls
Call 1
Inputs
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))
(+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))))
2
(+.f64 2 (pow.f64 im 2))
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4))))
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6)))))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
Outputs
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(fma.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 -1/4 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 re re))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (*.f64 -1/4 (*.f64 re re)) 1/2))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (fma.f64 -1/4 (*.f64 re re) 1/2))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (fma.f64 (*.f64 -1/4 re) re 1/2))
(+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))
(fma.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (fma.f64 -1/4 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 re re)) (*.f64 (*.f64 1/48 (pow.f64 re 4)) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))
(fma.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (*.f64 -1/4 (*.f64 re re)) (*.f64 1/48 (pow.f64 re 4)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 1/2 (fma.f64 1/48 (pow.f64 re 4) (*.f64 -1/4 (*.f64 re re)))))
(+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (+.f64 (*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))) (+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))) (*.f64 1/48 (*.f64 (pow.f64 re 4) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))))
(fma.f64 -1/1440 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (pow.f64 re 6)) (fma.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (fma.f64 -1/4 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 re re)) (*.f64 (*.f64 1/48 (pow.f64 re 4)) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))))
(+.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (*.f64 -1/4 (*.f64 re re)) (*.f64 1/48 (pow.f64 re 4)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (*.f64 -1/1440 (pow.f64 re 6)) 1/2)))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (fma.f64 -1/1440 (pow.f64 re 6) 1/2) (fma.f64 1/48 (pow.f64 re 4) (*.f64 -1/4 (*.f64 re re)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (fma.f64 1/48 (pow.f64 re 4) (*.f64 -1/4 (*.f64 re re))) (fma.f64 -1/1440 (pow.f64 re 6) 1/2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
(fma.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (*.f64 im im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))))
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))))
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)) (cos.f64 re)))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (*.f64 im im)) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (*.f64 im im)) (+.f64 1 (*.f64 1/24 (pow.f64 im 4)))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))))
(+.f64 (fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re)) (fma.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6)))))
(+.f64 (fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re)) (fma.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)) (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 6) 1/720))))
(+.f64 (fma.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))) (cos.f64 re)) (*.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/720 (pow.f64 im 6)))))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (*.f64 im im)) (+.f64 (*.f64 1/720 (pow.f64 im 6)) (*.f64 1/24 (pow.f64 im 4))))))
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (+.f64 (*.f64 1/720 (pow.f64 im 6)) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 1/720 (pow.f64 im 6))) (*.f64 (*.f64 im im) (+.f64 1/2 (*.f64 (*.f64 im im) 1/24)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))))
(*.f64 1/2 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (cos.f64 re)))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
2
(+.f64 2 (pow.f64 im 2))
(+.f64 2 (*.f64 im im))
(fma.f64 im im 2)
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4))))
(+.f64 2 (+.f64 (*.f64 im im) (*.f64 (pow.f64 im 4) 1/12)))
(+.f64 2 (fma.f64 (pow.f64 im 4) 1/12 (*.f64 im im)))
(fma.f64 (pow.f64 im 4) 1/12 (fma.f64 im im 2))
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6)))))
(+.f64 2 (+.f64 (*.f64 im im) (fma.f64 1/12 (pow.f64 im 4) (*.f64 (pow.f64 im 6) 1/360))))
(+.f64 2 (fma.f64 im im (fma.f64 (pow.f64 im 4) 1/12 (*.f64 (pow.f64 im 6) 1/360))))
(+.f64 2 (fma.f64 (pow.f64 im 4) 1/12 (fma.f64 (pow.f64 im 6) 1/360 (*.f64 im im))))
(+.f64 (fma.f64 im im 2) (fma.f64 (pow.f64 im 6) 1/360 (*.f64 (pow.f64 im 4) 1/12)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))

eval60.0ms (0.6%)

Compiler

Compiled 2210 to 1189 computations (46.2% saved)

prune51.0ms (0.5%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1259134
Fresh000
Picked101
Done101
Total1279136
Error
0b
Counts
136 → 9
Alt Table
Click to see full alt table
StatusErrorProgram
0.4b
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 1/720 (pow.f64 im 6))) (*.f64 (*.f64 im im) (+.f64 1/2 (*.f64 (*.f64 im im) 1/24)))))
29.0b
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
0.6b
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (*.f64 im im))))
0.5b
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
1.0b
(cos.f64 re)
0.0b
(*.f64 (cos.f64 re) (pow.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 2))
1.4b
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) 1/2))
0.0b
(+.f64 (*.f64 (*.f64 1/2 (exp.f64 im)) (cos.f64 re)) (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)))
0.5b
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (*.f64 im im)) (+.f64 1 (*.f64 1/24 (pow.f64 im 4)))))
Compiler

Compiled 248 to 182 computations (26.6% saved)

localize41.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

Compiled 46 to 22 computations (52.2% saved)

series36.0ms (0.3%)

Counts
3 → 72
Calls

18 calls:

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

rewrite148.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
631×log-prod_binary64
448×fma-def_binary64
415×pow-prod-down_binary64
316×pow2_binary64
223×pow-unpow_binary64
Iterations

Useful iterations: 2 (0.0ms)

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

simplify104.0ms (1%)

Algorithm
egg-herbie
Rules
706×distribute-rgt-out_binary64
409×fma-neg_binary64
363×unsub-neg_binary64
340×associate-+l+_binary64
305×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01211320
13751235
211241179
338351099
Stop Event
node limit
Counts
198 → 173
Calls
Call 1
Inputs
(*.f64 1/2 (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) im)) (*.f64 1/2 (cos.f64 re)))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) im)) (*.f64 1/2 (cos.f64 re))))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/12 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) im)) (*.f64 1/2 (cos.f64 re)))))
(*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re)))
(*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re)))
(*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re)))
(*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re)))
(*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re)))
(*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re)))
(*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re)))
(*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re)))
(*.f64 1/2 (exp.f64 im))
(+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 -1/4 (*.f64 (exp.f64 im) (pow.f64 re 2))))
(+.f64 (*.f64 1/48 (*.f64 (exp.f64 im) (pow.f64 re 4))) (+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 -1/4 (*.f64 (exp.f64 im) (pow.f64 re 2)))))
(+.f64 (*.f64 1/48 (*.f64 (exp.f64 im) (pow.f64 re 4))) (+.f64 (*.f64 1/2 (exp.f64 im)) (+.f64 (*.f64 -1/4 (*.f64 (exp.f64 im) (pow.f64 re 2))) (*.f64 -1/1440 (*.f64 (exp.f64 im) (pow.f64 re 6))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(cos.f64 re)
(+.f64 (cos.f64 re) (*.f64 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1/2 (cos.f64 re))) im))
(+.f64 (cos.f64 re) (+.f64 (*.f64 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1/2 (cos.f64 re))) im) (*.f64 (+.f64 (*.f64 1/4 (cos.f64 re)) (*.f64 -1/2 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1 (cos.f64 re))))) (pow.f64 im 2))))
(+.f64 (cos.f64 re) (+.f64 (*.f64 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1/2 (cos.f64 re))) im) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (cos.f64 re)) (*.f64 -1/2 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1 (cos.f64 re))))) (pow.f64 im 2)) (*.f64 (+.f64 (*.f64 1/12 (cos.f64 re)) (*.f64 -1/2 (+.f64 (*.f64 -1 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1 (cos.f64 re)))) (+.f64 (*.f64 -1/2 (cos.f64 re)) (*.f64 1/6 (cos.f64 re)))))) (pow.f64 im 3)))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (exp.f64 im)) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 (-.f64 (*.f64 -1/4 (exp.f64 im)) (*.f64 1/4 (/.f64 1 (exp.f64 im)))) (pow.f64 re 2))))
(+.f64 (*.f64 (+.f64 (*.f64 1/48 (/.f64 1 (exp.f64 im))) (*.f64 1/48 (exp.f64 im))) (pow.f64 re 4)) (+.f64 (*.f64 1/2 (exp.f64 im)) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 (-.f64 (*.f64 -1/4 (exp.f64 im)) (*.f64 1/4 (/.f64 1 (exp.f64 im)))) (pow.f64 re 2)))))
(+.f64 (*.f64 (+.f64 (*.f64 1/48 (/.f64 1 (exp.f64 im))) (*.f64 1/48 (exp.f64 im))) (pow.f64 re 4)) (+.f64 (*.f64 1/2 (exp.f64 im)) (+.f64 (*.f64 (-.f64 (*.f64 -1/1440 (exp.f64 im)) (*.f64 1/1440 (/.f64 1 (exp.f64 im)))) (pow.f64 re 6)) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 (-.f64 (*.f64 -1/4 (exp.f64 im)) (*.f64 1/4 (/.f64 1 (exp.f64 im)))) (pow.f64 re 2))))))
(+.f64 (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re))))
(+.f64 (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re))))
(+.f64 (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re))))
(+.f64 (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re))))
(+.f64 (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re))))
(+.f64 (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re))))
(+.f64 (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re))))
(+.f64 (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 1/2 (cos.f64 re))
(+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1/2 (*.f64 (cos.f64 re) im)))
(+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1 (cos.f64 re))) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1/2 (*.f64 (cos.f64 re) im))))
(+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 -1 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1 (cos.f64 re)))) (+.f64 (*.f64 -1/2 (cos.f64 re)) (*.f64 1/6 (cos.f64 re)))) (pow.f64 im 3))) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1 (cos.f64 re))) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1/2 (*.f64 (cos.f64 re) im)))))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 1/2 (exp.f64 im))
(+.f64 (*.f64 -1/4 (/.f64 (pow.f64 re 2) (exp.f64 im))) (*.f64 1/2 (/.f64 1 (exp.f64 im))))
(+.f64 (*.f64 -1/4 (/.f64 (pow.f64 re 2) (exp.f64 im))) (+.f64 (*.f64 1/48 (/.f64 (pow.f64 re 4) (exp.f64 im))) (*.f64 1/2 (/.f64 1 (exp.f64 im)))))
(+.f64 (*.f64 -1/4 (/.f64 (pow.f64 re 2) (exp.f64 im))) (+.f64 (*.f64 1/48 (/.f64 (pow.f64 re 4) (exp.f64 im))) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 -1/1440 (/.f64 (pow.f64 re 6) (exp.f64 im))))))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
Outputs
(*.f64 1/2 (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) im)) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (+.f64 (*.f64 (cos.f64 re) im) (cos.f64 re)))
(*.f64 1/2 (fma.f64 (cos.f64 re) im (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 im 1)))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) im)) (*.f64 1/2 (cos.f64 re))))
(fma.f64 1/4 (*.f64 (cos.f64 re) (*.f64 im im)) (*.f64 1/2 (+.f64 (*.f64 (cos.f64 re) im) (cos.f64 re))))
(fma.f64 1/2 (fma.f64 (cos.f64 re) im (cos.f64 re)) (*.f64 (cos.f64 re) (*.f64 1/4 (*.f64 im im))))
(fma.f64 1/2 (*.f64 (cos.f64 re) (+.f64 im 1)) (*.f64 im (*.f64 (cos.f64 re) (*.f64 1/4 im))))
(*.f64 (cos.f64 re) (-.f64 (*.f64 im (+.f64 1/2 (*.f64 1/4 im))) -1/2))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/12 (*.f64 (cos.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) im)) (*.f64 1/2 (cos.f64 re)))))
(fma.f64 1/4 (*.f64 (cos.f64 re) (*.f64 im im)) (fma.f64 1/12 (*.f64 (cos.f64 re) (pow.f64 im 3)) (*.f64 1/2 (+.f64 (*.f64 (cos.f64 re) im) (cos.f64 re)))))
(fma.f64 1/4 (*.f64 (cos.f64 re) (*.f64 im im)) (fma.f64 1/2 (fma.f64 (cos.f64 re) im (cos.f64 re)) (*.f64 (cos.f64 re) (*.f64 1/12 (pow.f64 im 3)))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 im 1))) (*.f64 (cos.f64 re) (+.f64 (*.f64 1/12 (pow.f64 im 3)) (*.f64 (*.f64 1/4 im) im))))
(+.f64 (*.f64 (cos.f64 re) (*.f64 1/2 im)) (*.f64 (cos.f64 re) (-.f64 (*.f64 (*.f64 im im) (+.f64 (*.f64 1/12 im) 1/4)) -1/2)))
(*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 1/2 (exp.f64 im))
(+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 -1/4 (*.f64 (exp.f64 im) (pow.f64 re 2))))
(fma.f64 1/2 (exp.f64 im) (*.f64 -1/4 (*.f64 (exp.f64 im) (*.f64 re re))))
(fma.f64 1/2 (exp.f64 im) (*.f64 (exp.f64 im) (*.f64 -1/4 (*.f64 re re))))
(*.f64 (exp.f64 im) (+.f64 1/2 (*.f64 re (*.f64 re -1/4))))
(+.f64 (*.f64 1/48 (*.f64 (exp.f64 im) (pow.f64 re 4))) (+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 -1/4 (*.f64 (exp.f64 im) (pow.f64 re 2)))))
(fma.f64 1/48 (*.f64 (exp.f64 im) (pow.f64 re 4)) (fma.f64 1/2 (exp.f64 im) (*.f64 -1/4 (*.f64 (exp.f64 im) (*.f64 re re)))))
(fma.f64 1/48 (*.f64 (exp.f64 im) (pow.f64 re 4)) (fma.f64 1/2 (exp.f64 im) (*.f64 (exp.f64 im) (*.f64 -1/4 (*.f64 re re)))))
(fma.f64 1/48 (*.f64 (exp.f64 im) (pow.f64 re 4)) (*.f64 (exp.f64 im) (+.f64 1/2 (*.f64 re (*.f64 re -1/4)))))
(+.f64 (*.f64 1/48 (*.f64 (exp.f64 im) (pow.f64 re 4))) (+.f64 (*.f64 1/2 (exp.f64 im)) (+.f64 (*.f64 -1/4 (*.f64 (exp.f64 im) (pow.f64 re 2))) (*.f64 -1/1440 (*.f64 (exp.f64 im) (pow.f64 re 6))))))
(fma.f64 1/48 (*.f64 (exp.f64 im) (pow.f64 re 4)) (fma.f64 1/2 (exp.f64 im) (fma.f64 -1/4 (*.f64 (exp.f64 im) (*.f64 re re)) (*.f64 -1/1440 (*.f64 (exp.f64 im) (pow.f64 re 6))))))
(fma.f64 1/48 (*.f64 (exp.f64 im) (pow.f64 re 4)) (fma.f64 1/2 (exp.f64 im) (fma.f64 -1/4 (*.f64 re (*.f64 re (exp.f64 im))) (*.f64 (exp.f64 im) (*.f64 -1/1440 (pow.f64 re 6))))))
(+.f64 (*.f64 (exp.f64 im) (+.f64 1/2 (*.f64 re (*.f64 re -1/4)))) (*.f64 (exp.f64 im) (+.f64 (*.f64 -1/1440 (pow.f64 re 6)) (*.f64 1/48 (pow.f64 re 4)))))
(+.f64 (*.f64 (exp.f64 im) (+.f64 1/2 (*.f64 re (*.f64 re -1/4)))) (*.f64 (exp.f64 im) (+.f64 (*.f64 1/48 (pow.f64 re 4)) (*.f64 -1/1440 (pow.f64 re 6)))))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im)))
(*.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(cos.f64 re)
(+.f64 (cos.f64 re) (*.f64 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1/2 (cos.f64 re))) im))
(cos.f64 re)
(+.f64 (cos.f64 re) (+.f64 (*.f64 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1/2 (cos.f64 re))) im) (*.f64 (+.f64 (*.f64 1/4 (cos.f64 re)) (*.f64 -1/2 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1 (cos.f64 re))))) (pow.f64 im 2))))
(+.f64 (cos.f64 re) (fma.f64 (*.f64 (cos.f64 re) 0) im (*.f64 (*.f64 im im) (fma.f64 1/4 (cos.f64 re) (*.f64 -1/2 (*.f64 (cos.f64 re) -1/2))))))
(+.f64 (cos.f64 re) (fma.f64 im 0 (*.f64 im (*.f64 im (fma.f64 (cos.f64 re) 1/4 (*.f64 (cos.f64 re) 1/4))))))
(+.f64 (cos.f64 re) (*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 im im)))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (*.f64 im im) 1/2) 1))
(+.f64 (cos.f64 re) (+.f64 (*.f64 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1/2 (cos.f64 re))) im) (+.f64 (*.f64 (+.f64 (*.f64 1/4 (cos.f64 re)) (*.f64 -1/2 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1 (cos.f64 re))))) (pow.f64 im 2)) (*.f64 (+.f64 (*.f64 1/12 (cos.f64 re)) (*.f64 -1/2 (+.f64 (*.f64 -1 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1 (cos.f64 re)))) (+.f64 (*.f64 -1/2 (cos.f64 re)) (*.f64 1/6 (cos.f64 re)))))) (pow.f64 im 3)))))
(+.f64 (cos.f64 re) (fma.f64 (*.f64 (cos.f64 re) 0) im (*.f64 (*.f64 im im) (fma.f64 1/4 (cos.f64 re) (*.f64 -1/2 (*.f64 (cos.f64 re) -1/2))))))
(+.f64 (cos.f64 re) (fma.f64 im 0 (*.f64 im (*.f64 im (fma.f64 (cos.f64 re) 1/4 (*.f64 (cos.f64 re) 1/4))))))
(+.f64 (cos.f64 re) (*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 im im)))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (*.f64 im im) 1/2) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (+.f64 (/.f64 (cos.f64 re) (exp.f64 im)) (*.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (fma.f64 (cos.f64 re) (exp.f64 im) (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (+.f64 (/.f64 (cos.f64 re) (exp.f64 im)) (*.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (fma.f64 (cos.f64 re) (exp.f64 im) (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (+.f64 (/.f64 (cos.f64 re) (exp.f64 im)) (*.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (fma.f64 (cos.f64 re) (exp.f64 im) (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (+.f64 (/.f64 (cos.f64 re) (exp.f64 im)) (*.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (fma.f64 (cos.f64 re) (exp.f64 im) (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (+.f64 (/.f64 (cos.f64 re) (exp.f64 im)) (*.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (fma.f64 (cos.f64 re) (exp.f64 im) (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (+.f64 (/.f64 (cos.f64 re) (exp.f64 im)) (*.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (fma.f64 (cos.f64 re) (exp.f64 im) (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (+.f64 (/.f64 (cos.f64 re) (exp.f64 im)) (*.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (fma.f64 (cos.f64 re) (exp.f64 im) (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (+.f64 (/.f64 (cos.f64 re) (exp.f64 im)) (*.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (fma.f64 (cos.f64 re) (exp.f64 im) (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(*.f64 1/2 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (exp.f64 im)) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 (-.f64 (*.f64 -1/4 (exp.f64 im)) (*.f64 1/4 (/.f64 1 (exp.f64 im)))) (pow.f64 re 2))))
(fma.f64 1/2 (exp.f64 im) (+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 (*.f64 re re) (-.f64 (*.f64 (exp.f64 im) -1/4) (/.f64 1/4 (exp.f64 im))))))
(fma.f64 1/2 (exp.f64 im) (fma.f64 (*.f64 re re) (fma.f64 (exp.f64 im) -1/4 (/.f64 -1/4 (exp.f64 im))) (/.f64 1/2 (exp.f64 im))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 1/2 (*.f64 re (*.f64 re -1/4))))
(+.f64 (*.f64 (+.f64 (*.f64 1/48 (/.f64 1 (exp.f64 im))) (*.f64 1/48 (exp.f64 im))) (pow.f64 re 4)) (+.f64 (*.f64 1/2 (exp.f64 im)) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 (-.f64 (*.f64 -1/4 (exp.f64 im)) (*.f64 1/4 (/.f64 1 (exp.f64 im)))) (pow.f64 re 2)))))
(fma.f64 (*.f64 1/48 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (pow.f64 re 4) (fma.f64 1/2 (exp.f64 im) (+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 (*.f64 re re) (-.f64 (*.f64 (exp.f64 im) -1/4) (/.f64 1/4 (exp.f64 im)))))))
(fma.f64 (pow.f64 re 4) (fma.f64 (exp.f64 im) 1/48 (/.f64 1/48 (exp.f64 im))) (fma.f64 1/2 (exp.f64 im) (fma.f64 (*.f64 re re) (fma.f64 (exp.f64 im) -1/4 (/.f64 -1/4 (exp.f64 im))) (/.f64 1/2 (exp.f64 im)))))
(+.f64 (*.f64 re (*.f64 re (fma.f64 (exp.f64 im) -1/4 (/.f64 -1/4 (exp.f64 im))))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (*.f64 1/48 (pow.f64 re 4)) 1/2)))
(fma.f64 (pow.f64 re 4) (fma.f64 (exp.f64 im) 1/48 (/.f64 1/48 (exp.f64 im))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 1/2 (*.f64 re (*.f64 re -1/4)))))
(+.f64 (*.f64 (+.f64 (*.f64 1/48 (/.f64 1 (exp.f64 im))) (*.f64 1/48 (exp.f64 im))) (pow.f64 re 4)) (+.f64 (*.f64 1/2 (exp.f64 im)) (+.f64 (*.f64 (-.f64 (*.f64 -1/1440 (exp.f64 im)) (*.f64 1/1440 (/.f64 1 (exp.f64 im)))) (pow.f64 re 6)) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 (-.f64 (*.f64 -1/4 (exp.f64 im)) (*.f64 1/4 (/.f64 1 (exp.f64 im)))) (pow.f64 re 2))))))
(fma.f64 (*.f64 1/48 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))) (pow.f64 re 4) (fma.f64 1/2 (exp.f64 im) (fma.f64 (-.f64 (*.f64 (exp.f64 im) -1/1440) (/.f64 1/1440 (exp.f64 im))) (pow.f64 re 6) (+.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 (*.f64 re re) (-.f64 (*.f64 (exp.f64 im) -1/4) (/.f64 1/4 (exp.f64 im))))))))
(fma.f64 (pow.f64 re 4) (fma.f64 (exp.f64 im) 1/48 (/.f64 1/48 (exp.f64 im))) (fma.f64 1/2 (exp.f64 im) (fma.f64 (pow.f64 re 6) (fma.f64 (exp.f64 im) -1/1440 (/.f64 -1/1440 (exp.f64 im))) (fma.f64 (*.f64 re re) (fma.f64 (exp.f64 im) -1/4 (/.f64 -1/4 (exp.f64 im))) (/.f64 1/2 (exp.f64 im))))))
(+.f64 (+.f64 (*.f64 re (*.f64 re (fma.f64 (exp.f64 im) -1/4 (/.f64 -1/4 (exp.f64 im))))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (*.f64 1/48 (pow.f64 re 4)) 1/2))) (*.f64 (pow.f64 re 6) (fma.f64 (exp.f64 im) -1/1440 (/.f64 -1/1440 (exp.f64 im)))))
(+.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 1/2 (*.f64 re (*.f64 re -1/4)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (*.f64 1/48 (pow.f64 re 4)) (*.f64 -1/1440 (pow.f64 re 6)))))
(+.f64 (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 1/2 (+.f64 (/.f64 (cos.f64 re) (exp.f64 im)) (*.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (fma.f64 (cos.f64 re) (exp.f64 im) (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(+.f64 (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 1/2 (+.f64 (/.f64 (cos.f64 re) (exp.f64 im)) (*.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (fma.f64 (cos.f64 re) (exp.f64 im) (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(+.f64 (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 1/2 (+.f64 (/.f64 (cos.f64 re) (exp.f64 im)) (*.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (fma.f64 (cos.f64 re) (exp.f64 im) (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(+.f64 (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 1/2 (+.f64 (/.f64 (cos.f64 re) (exp.f64 im)) (*.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (fma.f64 (cos.f64 re) (exp.f64 im) (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(+.f64 (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 1/2 (+.f64 (/.f64 (cos.f64 re) (exp.f64 im)) (*.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (fma.f64 (cos.f64 re) (exp.f64 im) (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(+.f64 (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 1/2 (+.f64 (/.f64 (cos.f64 re) (exp.f64 im)) (*.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (fma.f64 (cos.f64 re) (exp.f64 im) (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(+.f64 (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 1/2 (+.f64 (/.f64 (cos.f64 re) (exp.f64 im)) (*.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (fma.f64 (cos.f64 re) (exp.f64 im) (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(+.f64 (*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im))) (*.f64 1/2 (*.f64 (exp.f64 im) (cos.f64 re))))
(*.f64 1/2 (+.f64 (/.f64 (cos.f64 re) (exp.f64 im)) (*.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 1/2 (fma.f64 (cos.f64 re) (exp.f64 im) (/.f64 (cos.f64 re) (exp.f64 im))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 1/2 (cos.f64 re))
(+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1/2 (*.f64 (cos.f64 re) im)))
(fma.f64 1/2 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) -1/2) im))
(fma.f64 1/2 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 -1/2 im)))
(*.f64 (cos.f64 re) (+.f64 1/2 (*.f64 im -1/2)))
(*.f64 (*.f64 (cos.f64 re) -1/2) (+.f64 -1 im))
(+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1 (cos.f64 re))) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1/2 (*.f64 (cos.f64 re) im))))
(fma.f64 -1/2 (*.f64 (*.f64 im im) (*.f64 (cos.f64 re) -1/2)) (fma.f64 1/2 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) -1/2) im)))
(fma.f64 (*.f64 (cos.f64 re) 1/4) (*.f64 im im) (fma.f64 1/2 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 -1/2 im))))
(fma.f64 (*.f64 (cos.f64 re) 1/4) (*.f64 im im) (*.f64 (cos.f64 re) (+.f64 1/2 (*.f64 im -1/2))))
(*.f64 (cos.f64 re) (-.f64 (*.f64 im (+.f64 -1/2 (*.f64 1/4 im))) -1/2))
(+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 -1 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1 (cos.f64 re)))) (+.f64 (*.f64 -1/2 (cos.f64 re)) (*.f64 1/6 (cos.f64 re)))) (pow.f64 im 3))) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1 (cos.f64 re))) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 -1/2 (*.f64 (cos.f64 re) im)))))
(fma.f64 -1/2 (*.f64 (pow.f64 im 3) (fma.f64 -1 (*.f64 (cos.f64 re) -1/2) (*.f64 (cos.f64 re) -1/3))) (fma.f64 -1/2 (*.f64 (*.f64 im im) (*.f64 (cos.f64 re) -1/2)) (fma.f64 1/2 (cos.f64 re) (*.f64 (*.f64 (cos.f64 re) -1/2) im))))
(fma.f64 -1/2 (*.f64 (pow.f64 im 3) (+.f64 0 (*.f64 (cos.f64 re) 1/6))) (fma.f64 (*.f64 (cos.f64 re) 1/4) (*.f64 im im) (fma.f64 1/2 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 -1/2 im)))))
(fma.f64 (*.f64 (cos.f64 re) -1/12) (pow.f64 im 3) (fma.f64 (*.f64 (cos.f64 re) 1/4) (*.f64 im im) (*.f64 (cos.f64 re) (+.f64 1/2 (*.f64 im -1/2)))))
(fma.f64 (*.f64 (cos.f64 re) -1/12) (pow.f64 im 3) (*.f64 (cos.f64 re) (-.f64 (*.f64 im (+.f64 -1/2 (*.f64 1/4 im))) -1/2)))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(/.f64 1/2 (exp.f64 im))
(+.f64 (*.f64 -1/4 (/.f64 (pow.f64 re 2) (exp.f64 im))) (*.f64 1/2 (/.f64 1 (exp.f64 im))))
(fma.f64 -1/4 (/.f64 (*.f64 re re) (exp.f64 im)) (/.f64 1/2 (exp.f64 im)))
(fma.f64 -1/4 (/.f64 re (/.f64 (exp.f64 im) re)) (/.f64 1/2 (exp.f64 im)))
(*.f64 (exp.f64 (neg.f64 im)) (+.f64 1/2 (*.f64 re (*.f64 re -1/4))))
(+.f64 (*.f64 -1/4 (/.f64 (pow.f64 re 2) (exp.f64 im))) (+.f64 (*.f64 1/48 (/.f64 (pow.f64 re 4) (exp.f64 im))) (*.f64 1/2 (/.f64 1 (exp.f64 im)))))
(fma.f64 -1/4 (/.f64 (*.f64 re re) (exp.f64 im)) (fma.f64 1/48 (/.f64 (pow.f64 re 4) (exp.f64 im)) (/.f64 1/2 (exp.f64 im))))
(fma.f64 -1/4 (/.f64 re (/.f64 (exp.f64 im) re)) (fma.f64 1/48 (/.f64 (pow.f64 re 4) (exp.f64 im)) (/.f64 1/2 (exp.f64 im))))
(fma.f64 -1/4 (*.f64 (/.f64 re (exp.f64 im)) re) (*.f64 (exp.f64 (neg.f64 im)) (+.f64 1/2 (*.f64 1/48 (pow.f64 re 4)))))
(+.f64 (*.f64 -1/4 (/.f64 (pow.f64 re 2) (exp.f64 im))) (+.f64 (*.f64 1/48 (/.f64 (pow.f64 re 4) (exp.f64 im))) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 -1/1440 (/.f64 (pow.f64 re 6) (exp.f64 im))))))
(fma.f64 -1/4 (/.f64 (*.f64 re re) (exp.f64 im)) (fma.f64 1/48 (/.f64 (pow.f64 re 4) (exp.f64 im)) (+.f64 (/.f64 1/2 (exp.f64 im)) (/.f64 (*.f64 -1/1440 (pow.f64 re 6)) (exp.f64 im)))))
(fma.f64 -1/4 (/.f64 re (/.f64 (exp.f64 im) re)) (fma.f64 1/48 (/.f64 (pow.f64 re 4) (exp.f64 im)) (fma.f64 -1/1440 (/.f64 (pow.f64 re 6) (exp.f64 im)) (/.f64 1/2 (exp.f64 im)))))
(fma.f64 -1/4 (/.f64 (*.f64 re re) (exp.f64 im)) (fma.f64 1/48 (/.f64 (pow.f64 re 4) (exp.f64 im)) (fma.f64 -1/1440 (/.f64 (pow.f64 re 6) (exp.f64 im)) (/.f64 1/2 (exp.f64 im)))))
(fma.f64 -1/4 (*.f64 (/.f64 re (exp.f64 im)) re) (fma.f64 1/48 (/.f64 (pow.f64 re 4) (exp.f64 im)) (*.f64 (exp.f64 (neg.f64 im)) (+.f64 (*.f64 -1/1440 (pow.f64 re 6)) 1/2))))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))
(*.f64 1/2 (/.f64 (cos.f64 re) (exp.f64 im)))
(/.f64 (*.f64 1/2 (cos.f64 re)) (exp.f64 im))

localize8.0ms (0.1%)

Compiler

Compiled 5 to 3 computations (40% saved)

localize24.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
Compiler

Compiled 25 to 9 computations (64% saved)

series2.0ms (0%)

Counts
1 → 8
Calls

3 calls:

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

rewrite64.0ms (0.6%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
066
11296
221506
066
Stop Event
iter limit
unsound
Counts
1 → 12
Calls
Call 1
Inputs
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 2 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cbrt.f64 (*.f64 2 (cosh.f64 im))) (cbrt.f64 (*.f64 2 (cosh.f64 im)))) (cbrt.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 2 (cosh.f64 im))) (sqrt.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 2 (cosh.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (exp.f64 im) 3) (pow.f64 (exp.f64 (neg.f64 im)) 3)) (+.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (-.f64 (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im))) (*.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (exp.f64 im) (exp.f64 im)) (*.f64 (exp.f64 (neg.f64 im)) (exp.f64 (neg.f64 im)))) (-.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 2 (cosh.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 2 (cosh.f64 im)) (*.f64 2 (cosh.f64 im))) (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 2 (cosh.f64 im))))))))

simplify74.0ms (0.7%)

Algorithm
egg-herbie
Rules
707×fma-def_binary64
401×associate-/l/_binary64
357×*-commutative_binary64
327×fma-neg_binary64
300×associate-/r/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02387
15181
211679
331477
4114777
5308877
6413677
7657177
Stop Event
node limit
Counts
20 → 21
Calls
Call 1
Inputs
2
(+.f64 2 (pow.f64 im 2))
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4))))
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6)))))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
Outputs
2
(+.f64 2 (pow.f64 im 2))
(+.f64 2 (*.f64 im im))
(fma.f64 im im 2)
(+.f64 2 (+.f64 (pow.f64 im 2) (*.f64 1/12 (pow.f64 im 4))))
(+.f64 2 (+.f64 (*.f64 im im) (*.f64 1/12 (pow.f64 im 4))))
(+.f64 2 (fma.f64 im im (*.f64 1/12 (pow.f64 im 4))))
(fma.f64 1/12 (pow.f64 im 4) (fma.f64 im im 2))
(fma.f64 im im (fma.f64 1/12 (pow.f64 im 4) 2))
(+.f64 2 (+.f64 (pow.f64 im 2) (+.f64 (*.f64 1/12 (pow.f64 im 4)) (*.f64 1/360 (pow.f64 im 6)))))
(+.f64 2 (+.f64 (*.f64 im im) (fma.f64 1/12 (pow.f64 im 4) (*.f64 1/360 (pow.f64 im 6)))))
(+.f64 2 (fma.f64 im im (fma.f64 1/12 (pow.f64 im 4) (*.f64 1/360 (pow.f64 im 6)))))
(fma.f64 im im (fma.f64 1/12 (pow.f64 im 4) (fma.f64 1/360 (pow.f64 im 6) 2)))
(fma.f64 im (fma.f64 1/12 (pow.f64 im 3) im) (fma.f64 1/360 (pow.f64 im 6) 2))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))
(+.f64 (exp.f64 im) (exp.f64 (*.f64 -1 im)))
(+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))

localize65.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 1/720 (pow.f64 im 6))) (*.f64 (*.f64 im im) (+.f64 1/2 (*.f64 (*.f64 im im) 1/24)))))
0.0b
(*.f64 (*.f64 im im) (+.f64 1/2 (*.f64 (*.f64 im im) 1/24)))
0.1b
(*.f64 1/720 (pow.f64 im 6))
0.2b
(*.f64 (*.f64 im im) 1/24)
Compiler

Compiled 93 to 57 computations (38.7% saved)

series17.0ms (0.2%)

Counts
4 → 48
Calls

15 calls:

TimeVariablePointExpression
3.0ms
re
@inf
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 1/720 (pow.f64 im 6))) (*.f64 (*.f64 im im) (+.f64 1/2 (*.f64 (*.f64 im im) 1/24)))))
2.0ms
re
@0
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 1/720 (pow.f64 im 6))) (*.f64 (*.f64 im im) (+.f64 1/2 (*.f64 (*.f64 im im) 1/24)))))
2.0ms
im
@inf
(*.f64 (*.f64 im im) (+.f64 1/2 (*.f64 (*.f64 im im) 1/24)))
1.0ms
im
@0
(*.f64 1/720 (pow.f64 im 6))
1.0ms
im
@0
(*.f64 (*.f64 im im) 1/24)

rewrite136.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
902×fma-def_binary64
348×fma-neg_binary64
333×expm1-udef_binary64
332×log1p-udef_binary64
204×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01863
140655
2557655
Stop Event
node limit
Counts
4 → 158
Calls
Call 1
Inputs
(*.f64 (*.f64 im im) 1/24)
(*.f64 1/720 (pow.f64 im 6))
(*.f64 (*.f64 im im) (+.f64 1/2 (*.f64 (*.f64 im im) 1/24)))
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 1/720 (pow.f64 im 6))) (*.f64 (*.f64 im im) (+.f64 1/2 (*.f64 (*.f64 im im) 1/24)))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 im (*.f64 im 1/24)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (*.f64 im 1/24)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 im (*.f64 im 1/24))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (sqrt.f64 1/24)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 im 6) 1/13824) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 im 4) 1/576))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 im) im) 1/24))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 im (*.f64 im 1/24)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 im 6) 1/13824))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 im (*.f64 im 1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 im (*.f64 im 1/24))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 2 (log.f64 im) (log.f64 1/24)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 2 (log.f64 im) (log.f64 1/24)) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (fma.f64 1/720 (pow.f64 im 6) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/720 (pow.f64 im 6)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 im im) (cbrt.f64 1/720)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 im 3) (sqrt.f64 1/720)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/373248000 (pow.f64 (pow.f64 im 6) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/518400 (pow.f64 im 12)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/720) (pow.f64 im 6)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/720 (pow.f64 im 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 1/373248000 (pow.f64 (pow.f64 im 6) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/720 (pow.f64 im 6))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 (log1p.f64 (*.f64 1/720 (pow.f64 im 6))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/720 (pow.f64 im 6))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 6 (log.f64 im) (log.f64 1/720)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 6 (log.f64 im) (log.f64 1/720)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 1/720 (pow.f64 im 6) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/720 (pow.f64 im 6) 1) 1 -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1)) (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1)) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1)) 2) (cbrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1)) (sqrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/373248000 (pow.f64 (pow.f64 im 6) 3) 1) (/.f64 1 (+.f64 1 (fma.f64 1/518400 (pow.f64 im 12) (*.f64 -1/720 (pow.f64 im 6))))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (*.f64 1/518400 (pow.f64 im 12))) (/.f64 1 (+.f64 1 (*.f64 -1/720 (pow.f64 im 6)))) -1)))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 im (*.f64 im 1/2)) (*.f64 1/24 (pow.f64 im 4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 im (*.f64 im 1/2)) 1) (*.f64 (*.f64 1/24 (pow.f64 im 4)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 im (*.f64 im 1/2)) 3) (pow.f64 (*.f64 1/24 (pow.f64 im 4)) 3)) (fma.f64 (*.f64 im (*.f64 im 1/2)) (*.f64 im (*.f64 im 1/2)) (-.f64 (*.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/24 (pow.f64 im 4))) (*.f64 (*.f64 im (*.f64 im 1/2)) (*.f64 1/24 (pow.f64 im 4))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 im (*.f64 im 1/2)) (*.f64 im (*.f64 im 1/2))) (*.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/24 (pow.f64 im 4)))) (-.f64 (*.f64 im (*.f64 im 1/2)) (*.f64 1/24 (pow.f64 im 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (pow.f64 im 6) 1/13824 1/8) (*.f64 im im)) (fma.f64 (*.f64 im (*.f64 im 1/24)) (fma.f64 im (*.f64 im 1/24) -1/2) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1/4 (*.f64 (pow.f64 im 4) 1/576)) (*.f64 im im)) (+.f64 1/2 (*.f64 -1/24 (*.f64 im im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 im im) (fma.f64 (pow.f64 im 6) 1/13824 1/8)) (fma.f64 (*.f64 im (*.f64 im 1/24)) (fma.f64 im (*.f64 im 1/24) -1/2) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 im im) (-.f64 1/4 (*.f64 (pow.f64 im 4) 1/576))) (+.f64 1/2 (*.f64 -1/24 (*.f64 im im))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 im (sqrt.f64 (fma.f64 im (*.f64 im 1/24) 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 im 6) (pow.f64 (fma.f64 im (*.f64 im 1/24) 1/2) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 im 4) (pow.f64 (fma.f64 im (*.f64 im 1/24) 1/2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (pow.f64 (exp.f64 im) im) (fma.f64 im (*.f64 im 1/24) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 im 6) (pow.f64 (fma.f64 im (*.f64 im 1/24) 1/2) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 2 (log.f64 im) (log.f64 (fma.f64 im (*.f64 im 1/24) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 2 (log.f64 im) (log.f64 (fma.f64 im (*.f64 im 1/24) 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 im (*.f64 im (*.f64 im (*.f64 im 1/24))) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 im (*.f64 im 1/2) (*.f64 1/24 (pow.f64 im 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 im (*.f64 (*.f64 im 1/24) (*.f64 im im)) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im im) (*.f64 im (*.f64 im 1/24)) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im im) 1/2 (*.f64 1/24 (pow.f64 im 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/24 (pow.f64 im 4) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im (*.f64 im 1/24)) (*.f64 im im) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 im (*.f64 im 1/2)) (*.f64 1/24 (pow.f64 im 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/24 (pow.f64 im 4)) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 im 4) 1/24 (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 im 3) (*.f64 im 1/24) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 im 4)) (*.f64 (pow.f64 (cbrt.f64 im) 2) 1/2) (*.f64 1/24 (pow.f64 im 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 im 4)) (*.f64 (pow.f64 (cbrt.f64 im) 2) (*.f64 im (*.f64 im 1/24))) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 im 4) 1/576)) (*.f64 (cbrt.f64 (*.f64 im (*.f64 im 1/24))) (*.f64 im im)) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im (sqrt.f64 1/24)) (*.f64 (*.f64 im (sqrt.f64 1/24)) (*.f64 im im)) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im (*.f64 im 1/2)) 1 (*.f64 (*.f64 1/24 (pow.f64 im 4)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (*.f64 im (*.f64 im 1/2))) (cbrt.f64 (*.f64 im (*.f64 im 1/2)))) (cbrt.f64 (*.f64 im (*.f64 im 1/2))) (*.f64 1/24 (pow.f64 im 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (*.f64 1/24 (pow.f64 im 4))) (cbrt.f64 (*.f64 1/24 (pow.f64 im 4)))) (cbrt.f64 (*.f64 1/24 (pow.f64 im 4))) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 im (*.f64 im 1/2))) (sqrt.f64 (*.f64 im (*.f64 im 1/2))) (*.f64 1/24 (pow.f64 im 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 1/24 (pow.f64 im 4))) (sqrt.f64 (*.f64 1/24 (pow.f64 im 4))) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im (*.f64 im (sqrt.f64 1/24))) (*.f64 im (*.f64 im (sqrt.f64 1/24))) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 im (sqrt.f64 1/24)) im) (*.f64 (*.f64 im (sqrt.f64 1/24)) im) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 im (*.f64 im 1/24)) im) im (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 im) im (*.f64 1/24 (pow.f64 im 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (cbrt.f64 (pow.f64 im 4))) (pow.f64 (cbrt.f64 im) 2) (*.f64 1/24 (pow.f64 im 4)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 im im) (cbrt.f64 (*.f64 (pow.f64 im 4) 1/576))) (cbrt.f64 (*.f64 im (*.f64 im 1/24))) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 im im) (*.f64 im (sqrt.f64 1/24))) (*.f64 im (sqrt.f64 1/24)) (*.f64 im (*.f64 im 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 im (*.f64 im 1/24)) (cbrt.f64 (pow.f64 im 4))) (pow.f64 (cbrt.f64 im) 2) (*.f64 im (*.f64 im 1/2)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 re) (*.f64 (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (*.f64 1/720 (pow.f64 im 6))) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (*.f64 1/720 (pow.f64 im 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)) 1) (*.f64 (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (fma.f64 1/720 (pow.f64 im 6) 1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)) 3) (pow.f64 (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))) 3)) (fma.f64 (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)) (-.f64 (*.f64 (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re)))) (*.f64 (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)) (neg.f64 (*.f64 (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re)))))) (-.f64 (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (pow.f64 im 6) (pow.f64 (fma.f64 im (*.f64 im 1/24) 1/2) 3) (pow.f64 (fma.f64 1/720 (pow.f64 im 6) 1) 3)) (cos.f64 re)) (fma.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2))) (-.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2))) (fma.f64 1/720 (pow.f64 im 6) 1)) (pow.f64 (fma.f64 1/720 (pow.f64 im 6) 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (fma.f64 1/720 (pow.f64 im 6) 1) 2) (*.f64 (pow.f64 im 4) (pow.f64 (fma.f64 im (*.f64 im 1/24) 1/2) 2))) (cos.f64 re)) (-.f64 (fma.f64 1/720 (pow.f64 im 6) 1) (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 6) (pow.f64 (fma.f64 im (*.f64 im 1/24) 1/2) 3) (pow.f64 (fma.f64 1/720 (pow.f64 im 6) 1) 3))) (fma.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2))) (-.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2))) (fma.f64 1/720 (pow.f64 im 6) 1)) (pow.f64 (fma.f64 1/720 (pow.f64 im 6) 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (-.f64 (pow.f64 (fma.f64 1/720 (pow.f64 im 6) 1) 2) (*.f64 (pow.f64 im 4) (pow.f64 (fma.f64 im (*.f64 im 1/24) 1/2) 2)))) (-.f64 (fma.f64 1/720 (pow.f64 im 6) 1) (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (fma.f64 1/720 (pow.f64 im 6) 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (fma.f64 1/720 (pow.f64 im 6) 1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (fma.f64 1/720 (pow.f64 im 6) 1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (fma.f64 1/720 (pow.f64 im 6) 1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (fma.f64 1/720 (pow.f64 im 6) 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (fma.f64 1/720 (pow.f64 im 6) 1))) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (fma.f64 1/720 (pow.f64 im 6) 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (fma.f64 1/720 (pow.f64 im 6) 1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (fma.f64 1/720 (pow.f64 im 6) 1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (fma.f64 1/720 (pow.f64 im 6) 1)) 3) (pow.f64 (cos.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (fma.f64 1/720 (pow.f64 im 6) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (fma.f64 1/720 (pow.f64 im 6) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (fma.f64 1/720 (pow.f64 im 6) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (fma.f64 1/720 (pow.f64 im 6) 1)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 im (*.f64 (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (*.f64 (*.f64 im im) (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2))) (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2))) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) 1 (*.f64 (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (*.f64 1/720 (pow.f64 im 6))) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) 1 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (*.f64 1/720 (pow.f64 im 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 re) (*.f64 (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (*.f64 1/720 (pow.f64 im 6))) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (*.f64 1/720 (pow.f64 im 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 1/720 (pow.f64 im 6) 1) (cos.f64 re) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)))) 2) (*.f64 (cbrt.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)))) (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (*.f64 (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (*.f64 1/720 (pow.f64 im 6))) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (*.f64 1/720 (pow.f64 im 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (cbrt.f64 (cos.f64 re)) (*.f64 (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (*.f64 1/720 (pow.f64 im 6))) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (cbrt.f64 (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (*.f64 1/720 (pow.f64 im 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (*.f64 (cbrt.f64 (cos.f64 re)) (fma.f64 1/720 (pow.f64 im 6) 1)) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (cos.f64 re) 2)) (*.f64 (cbrt.f64 (cos.f64 re)) (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)))) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1)) 2) (*.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1)) (cos.f64 re)) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im (sqrt.f64 (fma.f64 im (*.f64 im 1/24) 1/2))) (*.f64 (*.f64 im (sqrt.f64 (fma.f64 im (*.f64 im 1/24) 1/2))) (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 re)) (sqrt.f64 (cos.f64 re)) (*.f64 (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (*.f64 1/720 (pow.f64 im 6))) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 re)) (sqrt.f64 (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (*.f64 1/720 (pow.f64 im 6)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 re)) (*.f64 (sqrt.f64 (cos.f64 re)) (fma.f64 1/720 (pow.f64 im 6) 1)) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 re)) (*.f64 (sqrt.f64 (cos.f64 re)) (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)))) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1)) (*.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1)) (cos.f64 re)) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)) 1 (*.f64 (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1))) (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))) (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1))) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re)))) (cbrt.f64 (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))) (cbrt.f64 (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re)))) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1))) (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1))) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re)))) (sqrt.f64 (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re)))) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 (cos.f64 re)) (sqrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1))) (*.f64 (sqrt.f64 (cos.f64 re)) (sqrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1))) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1)) (sqrt.f64 (cos.f64 re))) (*.f64 (sqrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1)) (sqrt.f64 (cos.f64 re))) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 (cos.f64 re)) (*.f64 im (sqrt.f64 (fma.f64 im (*.f64 im 1/24) 1/2)))) (*.f64 (sqrt.f64 (cos.f64 re)) (*.f64 im (sqrt.f64 (fma.f64 im (*.f64 im 1/24) 1/2)))) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 im (sqrt.f64 (fma.f64 im (*.f64 im 1/24) 1/2))) (sqrt.f64 (cos.f64 re))) (*.f64 (*.f64 im (sqrt.f64 (fma.f64 im (*.f64 im 1/24) 1/2))) (sqrt.f64 (cos.f64 re))) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) (pow.f64 (cbrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1)) 2)) (cbrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1)) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) (sqrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1))) (sqrt.f64 (fma.f64 1/720 (pow.f64 im 6) 1)) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 1/720 (pow.f64 im 6) 1) (cbrt.f64 (pow.f64 (cos.f64 re) 2))) (cbrt.f64 (cos.f64 re)) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 1/720 (pow.f64 im 6) 1) (sqrt.f64 (cos.f64 re))) (sqrt.f64 (cos.f64 re)) (*.f64 (*.f64 im im) (*.f64 (fma.f64 im (*.f64 im 1/24) 1/2) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) im) (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) (*.f64 im im)) (fma.f64 im (*.f64 im 1/24) 1/2) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/24) 1/2)) (*.f64 im im) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) (pow.f64 (cbrt.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)))) 2)) (cbrt.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2)))) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 re) (*.f64 im (sqrt.f64 (fma.f64 im (*.f64 im 1/24) 1/2)))) (*.f64 im (sqrt.f64 (fma.f64 im (*.f64 im 1/24) 1/2))) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2))) (cbrt.f64 (pow.f64 (cos.f64 re) 2))) (cbrt.f64 (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 im (*.f64 im (fma.f64 im (*.f64 im 1/24) 1/2))) (sqrt.f64 (cos.f64 re))) (sqrt.f64 (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 1/720 (pow.f64 im 6) 1)))))))

simplify169.0ms (1.6%)

Algorithm
egg-herbie
Rules
725×distribute-rgt-in_binary64
686×distribute-lft-in_binary64
414×sqr-pow_binary64
398×fma-def_binary64
389×*-commutative_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0551077
11581033
2540900
32527856
45689835
56584835
66841835
77144835
87411835
97758835
Stop Event
node limit
Counts
206 → 186
Calls
Call 1
Inputs
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(*.f64 1/24 (pow.f64 im 4))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(*.f64 1/24 (pow.f64 im 4))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6))))
(+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 2))) (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 4))) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 2))) (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6))))))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 4))) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 2))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 6))) (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))))
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))))
(*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6)))
(+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6)))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))))
(*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6)))
(+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6)))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))))
Outputs
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (*.f64 im im))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (*.f64 im im))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (*.f64 im im))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (*.f64 im im))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (*.f64 im im))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (*.f64 im im))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (*.f64 im im))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (*.f64 im im))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (*.f64 im im))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (*.f64 im im))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (*.f64 im im))
(*.f64 1/24 (pow.f64 im 2))
(*.f64 1/24 (*.f64 im im))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 (*.f64 im im) 1/2)
(*.f64 im (*.f64 im 1/2))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))
(*.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2))
(fma.f64 (*.f64 im im) 1/2 (*.f64 1/24 (pow.f64 im 4)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))
(*.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2))
(fma.f64 (*.f64 im im) 1/2 (*.f64 1/24 (pow.f64 im 4)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))
(*.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2))
(fma.f64 (*.f64 im im) 1/2 (*.f64 1/24 (pow.f64 im 4)))
(*.f64 1/24 (pow.f64 im 4))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))
(*.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2))
(fma.f64 (*.f64 im im) 1/2 (*.f64 1/24 (pow.f64 im 4)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))
(*.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2))
(fma.f64 (*.f64 im im) 1/2 (*.f64 1/24 (pow.f64 im 4)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))
(*.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2))
(fma.f64 (*.f64 im im) 1/2 (*.f64 1/24 (pow.f64 im 4)))
(*.f64 1/24 (pow.f64 im 4))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))
(*.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2))
(fma.f64 (*.f64 im im) 1/2 (*.f64 1/24 (pow.f64 im 4)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))
(*.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2))
(fma.f64 (*.f64 im im) 1/2 (*.f64 1/24 (pow.f64 im 4)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4)))
(fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))
(*.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2))
(fma.f64 (*.f64 im im) 1/2 (*.f64 1/24 (pow.f64 im 4)))
(+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6))))
(+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6))))
(+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6))))
(fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 2))) (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (*.f64 re re)) (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (*.f64 re re)) (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))))
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (+.f64 1 (*.f64 -1/2 (*.f64 re re))))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 4))) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 2))) (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6))))))
(fma.f64 1/24 (*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 4)) (+.f64 1 (fma.f64 -1/2 (*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (*.f64 re re)) (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6))))))
(+.f64 (fma.f64 -1/2 (*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (*.f64 re re)) (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (fma.f64 1/24 (*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 4)) 1))
(fma.f64 1/24 (*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (pow.f64 re 4)) (*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1))))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (+.f64 (+.f64 1 (*.f64 -1/2 (*.f64 re re))) (*.f64 1/24 (pow.f64 re 4))))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (+.f64 (*.f64 -1/2 (*.f64 re re)) (+.f64 1 (*.f64 1/24 (pow.f64 re 4)))))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 4))) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 2))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 6))) (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))))
(fma.f64 1/24 (*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 4)) (+.f64 1 (fma.f64 -1/2 (*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (*.f64 re re)) (fma.f64 -1/720 (*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 6)) (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))))))
(+.f64 (fma.f64 -1/2 (*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (*.f64 re re)) (fma.f64 -1/720 (*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 6)) (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6))))) (fma.f64 1/24 (*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (pow.f64 re 4)) 1))
(fma.f64 1/24 (*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (pow.f64 re 4)) (+.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 -1/720 (pow.f64 re 6))))))
(+.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 -1/720 (pow.f64 re 6))))))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (+.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 -1/720 (pow.f64 re 6))) (+.f64 (*.f64 1/24 (pow.f64 re 4)) 1)))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (+.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 -1/720 (pow.f64 re 6))) (+.f64 1 (*.f64 1/24 (pow.f64 re 4)))))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (+.f64 1 (+.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 -1/720 (pow.f64 re 6))) (*.f64 1/24 (pow.f64 re 4)))))
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (+.f64 (*.f64 (+.f64 1/2 (*.f64 1/24 (pow.f64 im 2))) (pow.f64 im 2)) (*.f64 1/720 (pow.f64 im 6)))))
(*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (cos.f64 re))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(fma.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))))
(+.f64 (fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re)) (*.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re))))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)) (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) 1))
(*.f64 (cos.f64 re) (fma.f64 im (*.f64 im (fma.f64 1/24 (*.f64 im im) 1/2)) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))))
(*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (cos.f64 re))
(*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6)))
(*.f64 1/720 (*.f64 (pow.f64 im 6) (cos.f64 re)))
(*.f64 (pow.f64 im 6) (*.f64 1/720 (cos.f64 re)))
(+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))
(fma.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)) (*.f64 1/720 (*.f64 (pow.f64 im 6) (cos.f64 re))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/720 (pow.f64 im 6))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6)))))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)) (*.f64 1/720 (*.f64 (pow.f64 im 6) (cos.f64 re)))))
(*.f64 (fma.f64 im (*.f64 im (fma.f64 1/24 (*.f64 im im) 1/2)) (*.f64 1/720 (pow.f64 im 6))) (cos.f64 re))
(*.f64 (fma.f64 1/720 (pow.f64 im 6) (fma.f64 (*.f64 im im) 1/2 (*.f64 1/24 (pow.f64 im 4)))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))))
(*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (cos.f64 re))
(*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6)))
(*.f64 1/720 (*.f64 (pow.f64 im 6) (cos.f64 re)))
(*.f64 (pow.f64 im 6) (*.f64 1/720 (cos.f64 re)))
(+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))
(fma.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)) (*.f64 1/720 (*.f64 (pow.f64 im 6) (cos.f64 re))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/720 (pow.f64 im 6))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6)))))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)) (*.f64 1/720 (*.f64 (pow.f64 im 6) (cos.f64 re)))))
(*.f64 (fma.f64 im (*.f64 im (fma.f64 1/24 (*.f64 im im) 1/2)) (*.f64 1/720 (pow.f64 im 6))) (cos.f64 re))
(*.f64 (fma.f64 1/720 (pow.f64 im 6) (fma.f64 (*.f64 im im) 1/2 (*.f64 1/24 (pow.f64 im 4)))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))))
(*.f64 (+.f64 1 (fma.f64 (+.f64 (*.f64 1/24 (*.f64 im im)) 1/2) (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (+.f64 1 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (*.f64 1/720 (pow.f64 im 6)))) (cos.f64 re))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 1/24 (*.f64 im im) 1/2) (fma.f64 1/720 (pow.f64 im 6) 1)) (cos.f64 re))

localize17.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
0.0b
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
0.1b
(*.f64 (cos.f64 re) (pow.f64 im 2))
Compiler

Compiled 36 to 21 computations (41.7% saved)

series8.0ms (0.1%)

Counts
3 → 15
Calls

18 calls:

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

rewrite77.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
485×log-prod_binary64
365×exp-prod_binary64
351×prod-exp_binary64
309×pow-prod-down_binary64
288×fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify83.0ms (0.8%)

Algorithm
egg-herbie
Rules
838×unswap-sqr_binary64
637×associate-+r+_binary64
510×distribute-rgt-out_binary64
443×fma-def_binary64
435×*-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
059361
1164329
2537293
32281290
44946290
56730290
67494290
Stop Event
node limit
Counts
140 → 152
Calls
Call 1
Inputs
(pow.f64 im 2)
(+.f64 (pow.f64 im 2) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (+.f64 (pow.f64 im 2) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (+.f64 (pow.f64 im 2) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 2))) (*.f64 -1/720 (*.f64 (pow.f64 re 6) (pow.f64 im 2))))))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2))))
(+.f64 1 (+.f64 (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 1/48 (pow.f64 im 2)))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2)))))
(+.f64 1 (+.f64 (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 1/48 (pow.f64 im 2)))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2)) (*.f64 (-.f64 (*.f64 -1/1440 (pow.f64 im 2)) 1/720) (pow.f64 re 6))))))
(cos.f64 re)
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))))
(+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))))
Outputs
(pow.f64 im 2)
(*.f64 im im)
(+.f64 (pow.f64 im 2) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(+.f64 (*.f64 im im) (*.f64 -1/2 (*.f64 (*.f64 im im) (*.f64 re re))))
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (*.f64 im im))
(*.f64 (*.f64 im im) (fma.f64 -1/2 (*.f64 re re) 1))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (+.f64 (pow.f64 im 2) (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))))
(fma.f64 1/24 (*.f64 (*.f64 im im) (pow.f64 re 4)) (+.f64 (*.f64 im im) (*.f64 -1/2 (*.f64 (*.f64 im im) (*.f64 re re)))))
(fma.f64 1/24 (*.f64 im (*.f64 im (pow.f64 re 4))) (*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (*.f64 im im)))
(*.f64 (*.f64 im im) (+.f64 (fma.f64 -1/2 (*.f64 re re) 1) (*.f64 1/24 (pow.f64 re 4))))
(*.f64 (*.f64 im im) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (fma.f64 -1/2 (*.f64 re re) 1)))
(+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (+.f64 (pow.f64 im 2) (+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (pow.f64 im 2))) (*.f64 -1/720 (*.f64 (pow.f64 re 6) (pow.f64 im 2))))))
(fma.f64 1/24 (*.f64 (*.f64 im im) (pow.f64 re 4)) (+.f64 (*.f64 im im) (fma.f64 -1/2 (*.f64 (*.f64 im im) (*.f64 re re)) (*.f64 -1/720 (*.f64 (*.f64 im im) (pow.f64 re 6))))))
(fma.f64 1/24 (*.f64 im (*.f64 im (pow.f64 re 4))) (fma.f64 im im (*.f64 (*.f64 im im) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 -1/720 (pow.f64 re 6))))))
(fma.f64 im im (*.f64 (*.f64 im im) (+.f64 (fma.f64 -1/720 (pow.f64 re 6) (*.f64 -1/2 (*.f64 re re))) (*.f64 1/24 (pow.f64 re 4)))))
(*.f64 (*.f64 im im) (+.f64 (fma.f64 -1/2 (*.f64 re re) (*.f64 -1/720 (pow.f64 re 6))) (fma.f64 1/24 (pow.f64 re 4) 1)))
(*.f64 im (*.f64 im (+.f64 (fma.f64 -1/2 (*.f64 re re) (*.f64 -1/720 (pow.f64 re 6))) (fma.f64 1/24 (pow.f64 re 4) 1))))
(*.f64 im (*.f64 im (+.f64 (fma.f64 -1/720 (pow.f64 re 6) (*.f64 re (*.f64 -1/2 re))) (fma.f64 1/24 (pow.f64 re 4) 1))))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 (*.f64 im im) 1/2))
(fma.f64 (*.f64 im im) 1/2 1)
(fma.f64 im (*.f64 im 1/2) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2))))
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 (*.f64 re re) (fma.f64 -1/4 (*.f64 im im) -1/2))))
(+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 (*.f64 im im) -1/4 -1/2) (*.f64 im (*.f64 im 1/2))))
(fma.f64 im (*.f64 im 1/2) (fma.f64 re (*.f64 re (fma.f64 im (*.f64 im -1/4) -1/2)) 1))
(fma.f64 im (*.f64 im 1/2) (fma.f64 (*.f64 re re) (fma.f64 im (*.f64 im -1/4) -1/2) 1))
(+.f64 1 (+.f64 (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 1/48 (pow.f64 im 2)))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2)))))
(+.f64 1 (fma.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 (*.f64 im im) 1/48)) (fma.f64 1/2 (*.f64 im im) (*.f64 (*.f64 re re) (fma.f64 -1/4 (*.f64 im im) -1/2)))))
(+.f64 1 (fma.f64 (pow.f64 re 4) (fma.f64 (*.f64 im im) 1/48 1/24) (fma.f64 (*.f64 re re) (fma.f64 (*.f64 im im) -1/4 -1/2) (*.f64 im (*.f64 im 1/2)))))
(fma.f64 (pow.f64 re 4) (fma.f64 im (*.f64 im 1/48) 1/24) (fma.f64 im (*.f64 im 1/2) (fma.f64 re (*.f64 re (fma.f64 im (*.f64 im -1/4) -1/2)) 1)))
(fma.f64 (pow.f64 re 4) (fma.f64 im (*.f64 im 1/48) 1/24) (fma.f64 im (*.f64 im 1/2) (fma.f64 (*.f64 re re) (fma.f64 im (*.f64 im -1/4) -1/2) 1)))
(+.f64 1 (+.f64 (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 1/48 (pow.f64 im 2)))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2)) (*.f64 (-.f64 (*.f64 -1/1440 (pow.f64 im 2)) 1/720) (pow.f64 re 6))))))
(+.f64 1 (fma.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 (*.f64 im im) 1/48)) (fma.f64 1/2 (*.f64 im im) (fma.f64 (fma.f64 -1/4 (*.f64 im im) -1/2) (*.f64 re re) (*.f64 (pow.f64 re 6) (fma.f64 -1/1440 (*.f64 im im) -1/720))))))
(+.f64 1 (fma.f64 (pow.f64 re 4) (fma.f64 (*.f64 im im) 1/48 1/24) (fma.f64 (*.f64 im im) 1/2 (fma.f64 (*.f64 re re) (fma.f64 (*.f64 im im) -1/4 -1/2) (*.f64 (pow.f64 re 6) (fma.f64 (*.f64 im im) -1/1440 -1/720))))))
(+.f64 (fma.f64 im (*.f64 im 1/2) 1) (fma.f64 (pow.f64 re 4) (fma.f64 im (*.f64 im 1/48) 1/24) (fma.f64 (pow.f64 re 6) (fma.f64 im (*.f64 im -1/1440) -1/720) (*.f64 re (*.f64 re (fma.f64 im (*.f64 im -1/4) -1/2))))))
(+.f64 1 (fma.f64 (pow.f64 re 4) (fma.f64 im (*.f64 im 1/48) 1/24) (fma.f64 im (*.f64 im 1/2) (fma.f64 re (*.f64 re (fma.f64 im (*.f64 im -1/4) -1/2)) (*.f64 (pow.f64 re 6) (fma.f64 im (*.f64 im -1/1440) -1/720))))))
(+.f64 (fma.f64 (*.f64 re re) (fma.f64 im (*.f64 im -1/4) -1/2) (fma.f64 (pow.f64 re 6) (fma.f64 im (*.f64 im -1/1440) -1/720) (*.f64 im (*.f64 im 1/2)))) (fma.f64 (pow.f64 re 4) (fma.f64 im (*.f64 im 1/48) 1/24) 1))
(cos.f64 re)
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 (*.f64 im (*.f64 im 1/2)) (cos.f64 re))
(*.f64 im (*.f64 im (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 (*.f64 im (*.f64 im 1/2)) (cos.f64 re))
(*.f64 im (*.f64 im (*.f64 1/2 (cos.f64 re))))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 (*.f64 im im) 1/2)
(*.f64 im (*.f64 im 1/2))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(fma.f64 1/2 (*.f64 im im) (*.f64 (*.f64 (*.f64 im im) (*.f64 re re)) -1/4))
(*.f64 (*.f64 im im) (+.f64 1/2 (*.f64 (*.f64 re re) -1/4)))
(*.f64 im (*.f64 im (fma.f64 (*.f64 re re) -1/4 1/2)))
(*.f64 (*.f64 im im) (fma.f64 (*.f64 re re) -1/4 1/2))
(*.f64 (*.f64 im im) (fma.f64 (*.f64 re -1/4) re 1/2))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))))
(fma.f64 1/2 (*.f64 im im) (fma.f64 1/48 (*.f64 (*.f64 im im) (pow.f64 re 4)) (*.f64 (*.f64 (*.f64 im im) (*.f64 re re)) -1/4)))
(fma.f64 (*.f64 im im) 1/2 (*.f64 (*.f64 im im) (+.f64 (*.f64 (*.f64 re re) -1/4) (*.f64 (pow.f64 re 4) 1/48))))
(*.f64 (*.f64 im im) (+.f64 (*.f64 (pow.f64 re 4) 1/48) (fma.f64 (*.f64 re re) -1/4 1/2)))
(*.f64 (*.f64 im im) (+.f64 (*.f64 (pow.f64 re 4) 1/48) (fma.f64 (*.f64 re -1/4) re 1/2)))
(+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))))
(fma.f64 -1/1440 (*.f64 (*.f64 im im) (pow.f64 re 6)) (fma.f64 1/2 (*.f64 im im) (fma.f64 1/48 (*.f64 (*.f64 im im) (pow.f64 re 4)) (*.f64 (*.f64 (*.f64 im im) (*.f64 re re)) -1/4))))
(+.f64 (*.f64 (*.f64 im im) (+.f64 (*.f64 (*.f64 re re) -1/4) (*.f64 (pow.f64 re 4) 1/48))) (*.f64 (*.f64 im im) (+.f64 (*.f64 (pow.f64 re 6) -1/1440) 1/2)))
(*.f64 (*.f64 im im) (+.f64 (fma.f64 (pow.f64 re 4) 1/48 (*.f64 re (*.f64 re -1/4))) (fma.f64 (pow.f64 re 6) -1/1440 1/2)))
(*.f64 (*.f64 im im) (+.f64 (fma.f64 (*.f64 re re) -1/4 (*.f64 (pow.f64 re 4) 1/48)) (fma.f64 (pow.f64 re 6) -1/1440 1/2)))
(*.f64 im (*.f64 im (+.f64 (fma.f64 (*.f64 re re) -1/4 (*.f64 (pow.f64 re 4) 1/48)) (fma.f64 (pow.f64 re 6) -1/1440 1/2))))

eval232.0ms (2.2%)

Compiler

Compiled 12303 to 7035 computations (42.8% saved)

prune93.0ms (0.9%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New54910559
Fresh314
Picked101
Done314
Total55612568
Error
0b
Counts
568 → 12
Alt Table
Click to see full alt table
StatusErrorProgram
61.4b
(*.f64 im (*.f64 im (*.f64 1/2 (cos.f64 re))))
0.0b
(*.f64 (cos.f64 re) (pow.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 2))
0.5b
(+.f64 (+.f64 0 (*.f64 (cos.f64 re) (*.f64 (*.f64 im im) 1/2))) (cos.f64 re))
0.6b
(*.f64 (cos.f64 re) (+.f64 (*.f64 (*.f64 im im) 1/2) 1))
0.6b
(+.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 im (+.f64 1/2 (*.f64 1/4 im))) -1/2)) (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)))
28.9b
(*.f64 1/2 (*.f64 2 (cosh.f64 im)))
0.0b
(*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))
0.7b
(+.f64 (*.f64 im (*.f64 im 1/2)) (cos.f64 re))
1.0b
(cos.f64 re)
29.5b
(*.f64 1/2 2)
0.5b
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 3))
61.8b
(*.f64 (pow.f64 im 6) (*.f64 1/720 (cos.f64 re)))
Compiler

Compiled 270 to 207 computations (23.3% saved)

localize13.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))
Compiler

Compiled 29 to 17 computations (41.4% saved)

series12.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite59.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
850×pow1_binary64
785×add-log-exp_binary64
784×log1p-expm1-u_binary64
784×expm1-log1p-u_binary64
769×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0108
12088
221688
Stop Event
node limit
Counts
1 → 14
Calls
Call 1
Inputs
(*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cosh.f64 im) (cos.f64 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cosh.f64 im) (*.f64 2 (cos.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cosh.f64 im) (cos.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cosh.f64 im) (cos.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cosh.f64 im) (cos.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cosh.f64 im) (cos.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cosh.f64 im) (cos.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 re)) (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cosh.f64 im) (cos.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cosh.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 (cosh.f64 im) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cosh.f64 im) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cosh.f64 im) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cosh.f64 im) (cos.f64 re))))))))

simplify74.0ms (0.7%)

Algorithm
egg-herbie
Rules
638×distribute-rgt-in_binary64
622×distribute-lft-in_binary64
544×associate-+l+_binary64
491×associate-+r+_binary64
395×*-commutative_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
049542
1138540
2442480
31543454
44538452
57050452
Stop Event
node limit
Counts
38 → 31
Calls
Call 1
Inputs
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)))
(+.f64 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) (*.f64 -1/4 (*.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) (pow.f64 re 2))))
(+.f64 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) (+.f64 (*.f64 -1/4 (*.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) (pow.f64 re 2))) (*.f64 1/48 (*.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) (pow.f64 re 4)))))
(+.f64 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) (+.f64 (*.f64 -1/1440 (*.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) (pow.f64 re 6))) (+.f64 (*.f64 -1/4 (*.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) (pow.f64 re 2))) (*.f64 1/48 (*.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) (pow.f64 re 4))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
Outputs
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
(*.f64 (+.f64 (*.f64 1/2 (*.f64 im im)) 1) (cos.f64 re))
(fma.f64 (cos.f64 re) (*.f64 1/2 (*.f64 im im)) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))))
(+.f64 (fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re)) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))))
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)) (cos.f64 re)))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/2 (*.f64 im im)))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (*.f64 im im)) (+.f64 1 (*.f64 1/24 (pow.f64 im 4)))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))))
(+.f64 (fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re)) (fma.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6)))))
(+.f64 (fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re)) (fma.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)) (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 6) 1/720))))
(+.f64 (cos.f64 re) (fma.f64 (cos.f64 re) (*.f64 1/2 (*.f64 im im)) (*.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/720 (pow.f64 im 6))))))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (+.f64 (+.f64 (*.f64 1/2 (*.f64 im im)) (*.f64 1/720 (pow.f64 im 6))) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (+.f64 (*.f64 1/2 (*.f64 im im)) (+.f64 1 (*.f64 1/720 (pow.f64 im 6))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (cos.f64 re) 1/2))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (cos.f64 re) 1/2))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (cos.f64 re) 1/2))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (cos.f64 re) 1/2))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (cos.f64 re) 1/2))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (cos.f64 re) 1/2))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (cos.f64 re) 1/2))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (cos.f64 re) 1/2))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)))
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) (*.f64 -1/4 (*.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) (pow.f64 re 2))))
(fma.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 -1/4 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 re re))))
(fma.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (*.f64 re re) -1/4)))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 1/2 (*.f64 re (*.f64 re -1/4))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))))
(+.f64 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) (+.f64 (*.f64 -1/4 (*.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) (pow.f64 re 2))) (*.f64 1/48 (*.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) (pow.f64 re 4)))))
(fma.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (fma.f64 -1/4 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 re re)) (*.f64 1/48 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (pow.f64 re 4)))))
(fma.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (fma.f64 1/48 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (pow.f64 re 4)) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (*.f64 re re) -1/4))))
(fma.f64 (pow.f64 re 4) (fma.f64 (exp.f64 im) 1/48 (/.f64 1/48 (exp.f64 im))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 1/2 (*.f64 re (*.f64 re -1/4)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (+.f64 (*.f64 1/48 (pow.f64 re 4)) (*.f64 -1/4 (*.f64 re re))) 1/2))
(+.f64 (*.f64 1/2 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))) (+.f64 (*.f64 -1/1440 (*.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) (pow.f64 re 6))) (+.f64 (*.f64 -1/4 (*.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) (pow.f64 re 2))) (*.f64 1/48 (*.f64 (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im)) (pow.f64 re 4))))))
(fma.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (fma.f64 -1/1440 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (pow.f64 re 6)) (fma.f64 -1/4 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 re re)) (*.f64 1/48 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (pow.f64 re 4))))))
(fma.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (fma.f64 -1/1440 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (pow.f64 re 6)) (fma.f64 1/48 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (pow.f64 re 4)) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (*.f64 re re) -1/4)))))
(+.f64 (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 1/2 (*.f64 re (*.f64 re -1/4)))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 (*.f64 1/48 (pow.f64 re 4)) (*.f64 -1/1440 (pow.f64 re 6)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.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 im) (exp.f64 (neg.f64 im))) (+.f64 (+.f64 (*.f64 1/48 (pow.f64 re 4)) (+.f64 (*.f64 -1/1440 (pow.f64 re 6)) (*.f64 -1/4 (*.f64 re re)))) 1/2))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (cos.f64 re) 1/2))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (cos.f64 re) 1/2))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (cos.f64 re) 1/2))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (cos.f64 re) 1/2))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (cos.f64 re) 1/2))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (cos.f64 re) 1/2))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (cos.f64 re) 1/2))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (/.f64 1 (exp.f64 im)) (exp.f64 im))))
(*.f64 1/2 (*.f64 (cos.f64 re) (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im)))))
(*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (*.f64 (cos.f64 re) 1/2))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))

localize3.0ms (0%)

Compiler

Compiled 7 to 7 computations (0% saved)

localize18.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 im (*.f64 im (*.f64 1/2 (cos.f64 re))))
0.1b
(*.f64 im (*.f64 1/2 (cos.f64 re)))
Compiler

Compiled 25 to 13 computations (48% saved)

series19.0ms (0.2%)

Counts
2 → 48
Calls

12 calls:

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

rewrite86.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
757×pow1_binary64
695×add-log-exp_binary64
695×log1p-expm1-u_binary64
695×expm1-log1p-u_binary64
681×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify216.0ms (2.1%)

Algorithm
egg-herbie
Rules
1882×fma-def_binary64
911×unswap-sqr_binary64
602×sqr-pow_binary64
417×*-commutative_binary64
324×pow-sqr_binary64
Iterations

Useful iterations: 8 (0.0ms)

IterNodesCost
042602
1113585
2326556
31226556
42175556
52517556
62691556
72827556
82968548
94777548
106423548
116746548
127178548
137675548
Stop Event
node limit
Counts
74 → 44
Calls
Call 1
Inputs
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 im)
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) im)) (*.f64 1/2 im))
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 1/2 im) (*.f64 1/48 (*.f64 (pow.f64 re 4) im))))
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) im)) (+.f64 (*.f64 1/2 im) (*.f64 1/48 (*.f64 (pow.f64 re 4) im)))))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))))
(+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
Outputs
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 im)
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) im)) (*.f64 1/2 im))
(fma.f64 -1/4 (*.f64 im (*.f64 re re)) (*.f64 1/2 im))
(*.f64 im (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))))
(*.f64 im (fma.f64 -1/4 (*.f64 re re) 1/2))
(*.f64 im (fma.f64 re (*.f64 re -1/4) 1/2))
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 1/2 im) (*.f64 1/48 (*.f64 (pow.f64 re 4) im))))
(fma.f64 -1/4 (*.f64 im (*.f64 re re)) (fma.f64 1/2 im (*.f64 1/48 (*.f64 im (pow.f64 re 4)))))
(fma.f64 -1/4 (*.f64 (*.f64 im re) re) (*.f64 im (+.f64 1/2 (*.f64 1/48 (pow.f64 re 4)))))
(*.f64 im (+.f64 (*.f64 re (*.f64 re -1/4)) (fma.f64 1/48 (pow.f64 re 4) 1/2)))
(*.f64 im (+.f64 (*.f64 1/48 (pow.f64 re 4)) (fma.f64 -1/4 (*.f64 re re) 1/2)))
(*.f64 im (fma.f64 re (*.f64 re (fma.f64 re (*.f64 re 1/48) -1/4)) 1/2))
(*.f64 im (fma.f64 re (*.f64 re -1/4) (fma.f64 1/48 (pow.f64 re 4) 1/2)))
(+.f64 (*.f64 -1/4 (*.f64 (pow.f64 re 2) im)) (+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) im)) (+.f64 (*.f64 1/2 im) (*.f64 1/48 (*.f64 (pow.f64 re 4) im)))))
(fma.f64 -1/4 (*.f64 im (*.f64 re re)) (fma.f64 -1/1440 (*.f64 im (pow.f64 re 6)) (fma.f64 1/2 im (*.f64 1/48 (*.f64 im (pow.f64 re 4))))))
(fma.f64 -1/4 (*.f64 (*.f64 im re) re) (fma.f64 -1/1440 (*.f64 im (pow.f64 re 6)) (*.f64 im (+.f64 1/2 (*.f64 1/48 (pow.f64 re 4))))))
(*.f64 im (+.f64 (fma.f64 1/48 (pow.f64 re 4) 1/2) (fma.f64 -1/4 (*.f64 re re) (*.f64 -1/1440 (pow.f64 re 6)))))
(*.f64 im (+.f64 (fma.f64 -1/1440 (pow.f64 re 6) 1/2) (fma.f64 -1/4 (*.f64 re re) (*.f64 1/48 (pow.f64 re 4)))))
(*.f64 im (fma.f64 re (*.f64 re -1/4) (fma.f64 1/48 (pow.f64 re 4) (fma.f64 -1/1440 (pow.f64 re 6) 1/2))))
(*.f64 im (fma.f64 (*.f64 re re) (fma.f64 re (*.f64 re 1/48) -1/4) (fma.f64 -1/1440 (pow.f64 re 6) 1/2)))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) im))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (*.f64 im im))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(fma.f64 1/2 (*.f64 im im) (*.f64 -1/4 (*.f64 (*.f64 re re) (*.f64 im im))))
(*.f64 (*.f64 im im) (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))))
(*.f64 im (*.f64 im (fma.f64 -1/4 (*.f64 re re) 1/2)))
(*.f64 (*.f64 im im) (fma.f64 -1/4 (*.f64 re re) 1/2))
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) 1/2))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))))
(fma.f64 1/2 (*.f64 im im) (fma.f64 1/48 (*.f64 (pow.f64 re 4) (*.f64 im im)) (*.f64 -1/4 (*.f64 (*.f64 re re) (*.f64 im im)))))
(fma.f64 1/2 (*.f64 im im) (*.f64 (*.f64 im im) (+.f64 (*.f64 -1/4 (*.f64 re re)) (*.f64 1/48 (pow.f64 re 4)))))
(*.f64 (*.f64 im im) (+.f64 (*.f64 1/48 (pow.f64 re 4)) (fma.f64 -1/4 (*.f64 re re) 1/2)))
(*.f64 im (*.f64 im (+.f64 (*.f64 1/48 (pow.f64 re 4)) (fma.f64 -1/4 (*.f64 re re) 1/2))))
(*.f64 im (*.f64 im (fma.f64 re (*.f64 re (fma.f64 re (*.f64 re 1/48) -1/4)) 1/2)))
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) (fma.f64 1/48 (pow.f64 re 4) 1/2)))
(+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))))
(fma.f64 -1/1440 (*.f64 (pow.f64 re 6) (*.f64 im im)) (fma.f64 1/2 (*.f64 im im) (fma.f64 1/48 (*.f64 (pow.f64 re 4) (*.f64 im im)) (*.f64 -1/4 (*.f64 (*.f64 re re) (*.f64 im im))))))
(+.f64 (*.f64 (*.f64 im im) (+.f64 (*.f64 -1/4 (*.f64 re re)) (*.f64 1/48 (pow.f64 re 4)))) (*.f64 (*.f64 im im) (+.f64 (*.f64 -1/1440 (pow.f64 re 6)) 1/2)))
(*.f64 (*.f64 im im) (+.f64 (fma.f64 -1/4 (*.f64 re re) (*.f64 1/48 (pow.f64 re 4))) (fma.f64 -1/1440 (pow.f64 re 6) 1/2)))
(*.f64 (*.f64 im im) (+.f64 (fma.f64 -1/1440 (pow.f64 re 6) 1/2) (fma.f64 -1/4 (*.f64 re re) (*.f64 1/48 (pow.f64 re 4)))))
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) (fma.f64 1/48 (pow.f64 re 4) (fma.f64 -1/1440 (pow.f64 re 6) 1/2))))
(*.f64 (*.f64 im im) (fma.f64 (*.f64 re re) (fma.f64 re (*.f64 re 1/48) -1/4) (fma.f64 -1/1440 (pow.f64 re 6) 1/2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))

localize37.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 (*.f64 im im) 1/2) 1)
0.0b
(*.f64 (cos.f64 re) (+.f64 (*.f64 (*.f64 im im) 1/2) 1))
Compiler

Compiled 33 to 17 computations (48.5% saved)

series8.0ms (0.1%)

Counts
2 → 36
Calls

9 calls:

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

rewrite95.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
989×pow1_binary64
917×add-log-exp_binary64
917×log1p-expm1-u_binary64
917×expm1-log1p-u_binary64
105×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01021
121021
2261421
Stop Event
node limit
Counts
2 → 59
Calls
Call 1
Inputs
(*.f64 (cos.f64 re) (+.f64 (*.f64 (*.f64 im im) 1/2) 1))
(+.f64 (*.f64 (*.f64 im im) 1/2) 1)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 re) (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) 1) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) 3) (pow.f64 (cos.f64 re) 3)) (+.f64 (*.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2)))) (-.f64 (pow.f64 (cos.f64 re) 2) (*.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2)))) (pow.f64 (cos.f64 re) 2)) (-.f64 (*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2))) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 im im) 3) 1/8)) (cos.f64 re)) (+.f64 (*.f64 (pow.f64 im 4) 1/4) (-.f64 1 (*.f64 im (*.f64 im 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1) (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (+.f64 1 (*.f64 (pow.f64 (*.f64 im im) 3) 1/8))) (+.f64 (*.f64 (pow.f64 im 4) 1/4) (-.f64 1 (*.f64 im (*.f64 im 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1)) (fma.f64 im (*.f64 im 1/2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 3) (pow.f64 (cos.f64 re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2)) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im (*.f64 im 1/2)) (cos.f64 re) (cos.f64 re))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 im (*.f64 im 1/2) 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (*.f64 (pow.f64 im 4) 1/4) (fma.f64 im (*.f64 im 1/2) -1)) (/.f64 1 (fma.f64 im (*.f64 im 1/2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 im (*.f64 im 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 im (*.f64 im 1/2) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 im (*.f64 im 1/2) 1)) (cbrt.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2)) (cbrt.f64 (fma.f64 im (*.f64 im 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (hypot.f64 1 (*.f64 im (sqrt.f64 1/2))) (hypot.f64 1 (*.f64 im (sqrt.f64 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 im im) 3) 1/8)) (/.f64 1 (+.f64 (*.f64 (pow.f64 im 4) 1/4) (-.f64 1 (*.f64 im (*.f64 im 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1) (/.f64 1 (fma.f64 im (*.f64 im 1/2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) (-.f64 1 (*.f64 im (*.f64 im 1/2)))) (+.f64 1 (*.f64 (pow.f64 (*.f64 im im) 3) 1/8))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 im (*.f64 im 1/2) -1) (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 im im) 3) 1/8)) (+.f64 (*.f64 (pow.f64 im 4) 1/4) (-.f64 1 (*.f64 im (*.f64 im 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 im im) 3) 1/8)) (+.f64 1 (-.f64 (*.f64 (pow.f64 im 4) 1/4) (*.f64 im (*.f64 im 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1) (fma.f64 im (*.f64 im 1/2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (*.f64 (pow.f64 (*.f64 im im) 3) 1/8))) (neg.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) (-.f64 1 (*.f64 im (*.f64 im 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1)) (neg.f64 (fma.f64 im (*.f64 im 1/2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (pow.f64 im 4) 1/4)) (-.f64 1 (*.f64 im (*.f64 im 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 im (*.f64 im 1/2) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (hypot.f64 1 (*.f64 im (sqrt.f64 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 im (*.f64 im 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 im (*.f64 im 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 im (*.f64 im 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 im (*.f64 im 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 im (*.f64 im 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 im (*.f64 im 1/2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im im) 1/2 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (*.f64 im im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 im (*.f64 im 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 im 4) 1/4)) (cbrt.f64 (*.f64 im (*.f64 im 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 im (sqrt.f64 1/2)) (*.f64 im (sqrt.f64 1/2)) 1)))))

simplify173.0ms (1.7%)

Algorithm
egg-herbie
Rules
956×fma-def_binary64
622×associate-+l+_binary64
588×distribute-rgt-in_binary64
578×distribute-lft-in_binary64
554×associate-+r+_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
036541
199475
2297447
31201429
44314422
55491422
66669422
76946422
87134422
97356422
107667422
Stop Event
node limit
Counts
95 → 75
Calls
Call 1
Inputs
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 2)))))
(+.f64 1 (+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 4))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 2))))))
(+.f64 1 (+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 4))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 2))) (*.f64 -1/720 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 6)))))))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2))))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
1
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(*.f64 1/2 (pow.f64 im 2))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(*.f64 1/2 (pow.f64 im 2))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
Outputs
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (*.f64 im im)))
(fma.f64 1/2 (*.f64 im im) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 2)))))
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (*.f64 re re)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (*.f64 re re)) (*.f64 1/2 (*.f64 im im))))
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (fma.f64 1/2 (*.f64 im im) 1))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (fma.f64 -1/2 (*.f64 re re) 1))
(+.f64 1 (+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 4))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 2))))))
(+.f64 1 (fma.f64 1/24 (*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (pow.f64 re 4)) (fma.f64 1/2 (*.f64 im im) (*.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (*.f64 re re))))))
(+.f64 1 (fma.f64 1/24 (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (pow.f64 re 4)) (fma.f64 -1/2 (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (*.f64 re re)) (*.f64 1/2 (*.f64 im im)))))
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4))))))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (+.f64 (fma.f64 -1/2 (*.f64 re re) 1) (*.f64 1/24 (pow.f64 re 4))))
(+.f64 1 (+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 4))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 2))) (*.f64 -1/720 (*.f64 (+.f64 1 (*.f64 1/2 (pow.f64 im 2))) (pow.f64 re 6)))))))
(+.f64 1 (fma.f64 1/24 (*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (pow.f64 re 4)) (fma.f64 1/2 (*.f64 im im) (fma.f64 -1/2 (*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (*.f64 re re)) (*.f64 -1/720 (*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (pow.f64 re 6)))))))
(+.f64 1 (fma.f64 1/24 (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (pow.f64 re 4)) (fma.f64 1/2 (*.f64 im im) (fma.f64 -1/2 (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (*.f64 re re)) (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (*.f64 (pow.f64 re 6) -1/720))))))
(+.f64 (*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (fma.f64 1/2 (*.f64 im im) 1)) (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (+.f64 (*.f64 -1/720 (pow.f64 re 6)) (*.f64 1/24 (pow.f64 re 4)))))
(fma.f64 (pow.f64 re 4) (fma.f64 (*.f64 im im) 1/48 1/24) (*.f64 (fma.f64 1/2 (*.f64 im im) 1) (+.f64 (fma.f64 -1/2 (*.f64 re re) 1) (*.f64 -1/720 (pow.f64 re 6)))))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (+.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 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (pow.f64 im 2))))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 (+.f64 1 (*.f64 1/2 (*.f64 im im))) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
1
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (*.f64 im im)))
(fma.f64 1/2 (*.f64 im im) 1)
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (*.f64 im im)))
(fma.f64 1/2 (*.f64 im im) 1)
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (*.f64 im im)))
(fma.f64 1/2 (*.f64 im im) 1)
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (*.f64 im im))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (*.f64 im im)))
(fma.f64 1/2 (*.f64 im im) 1)
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (*.f64 im im)))
(fma.f64 1/2 (*.f64 im im) 1)
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (*.f64 im im)))
(fma.f64 1/2 (*.f64 im im) 1)
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (*.f64 im im))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (*.f64 im im)))
(fma.f64 1/2 (*.f64 im im) 1)
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (*.f64 im im)))
(fma.f64 1/2 (*.f64 im im) 1)
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (*.f64 im im)))
(fma.f64 1/2 (*.f64 im im) 1)

localize18.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 0 (*.f64 (cos.f64 re) (*.f64 (*.f64 im im) 1/2))) (cos.f64 re))
0.1b
(*.f64 (cos.f64 re) (*.f64 (*.f64 im im) 1/2))
Compiler

Compiled 47 to 22 computations (53.2% saved)

series4.0ms (0%)

Counts
2 → 48
Calls

12 calls:

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

rewrite76.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
493×log-prod_binary64
469×fma-def_binary64
356×exp-prod_binary64
332×pow-prod-down_binary64
260×pow2_binary64
Iterations

Useful iterations: 2 (0.0ms)

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

simplify102.0ms (1%)

Algorithm
egg-herbie
Rules
840×unswap-sqr_binary64
622×associate-+r+_binary64
583×fma-neg_binary64
498×*-commutative_binary64
326×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
050756
1139736
2439680
31829680
44006680
55923680
66509680
77986680
Stop Event
node limit
Counts
196 → 169
Calls
Call 1
Inputs
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))))
(+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2))))
(+.f64 1 (+.f64 (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 1/48 (pow.f64 im 2)))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2)))))
(+.f64 1 (+.f64 (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 1/48 (pow.f64 im 2)))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2)) (*.f64 (-.f64 (*.f64 -1/1440 (pow.f64 im 2)) 1/720) (pow.f64 re 6))))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
Outputs
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (*.f64 im im))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(fma.f64 1/2 (*.f64 im im) (*.f64 -1/4 (*.f64 (*.f64 im im) (*.f64 re re))))
(*.f64 (*.f64 im im) (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))))
(*.f64 (*.f64 im im) (fma.f64 -1/4 (*.f64 re re) 1/2))
(*.f64 im (*.f64 im (fma.f64 -1/4 (*.f64 re re) 1/2)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))))
(fma.f64 1/2 (*.f64 im im) (fma.f64 1/48 (*.f64 (*.f64 im im) (pow.f64 re 4)) (*.f64 -1/4 (*.f64 (*.f64 im im) (*.f64 re re)))))
(fma.f64 1/2 (*.f64 im im) (*.f64 (*.f64 im im) (+.f64 (*.f64 1/48 (pow.f64 re 4)) (*.f64 -1/4 (*.f64 re re)))))
(*.f64 (*.f64 im im) (+.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 1/48 (pow.f64 re 4))))
(*.f64 (*.f64 im im) (+.f64 1/2 (fma.f64 1/48 (pow.f64 re 4) (*.f64 -1/4 (*.f64 re re)))))
(*.f64 (*.f64 im im) (+.f64 (*.f64 1/48 (pow.f64 re 4)) (fma.f64 -1/4 (*.f64 re re) 1/2)))
(+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))))
(fma.f64 -1/1440 (*.f64 (*.f64 im im) (pow.f64 re 6)) (fma.f64 1/2 (*.f64 im im) (fma.f64 1/48 (*.f64 (*.f64 im im) (pow.f64 re 4)) (*.f64 -1/4 (*.f64 (*.f64 im im) (*.f64 re re))))))
(+.f64 (*.f64 (*.f64 im im) (+.f64 (*.f64 1/48 (pow.f64 re 4)) (*.f64 -1/4 (*.f64 re re)))) (*.f64 (*.f64 im im) (+.f64 (*.f64 -1/1440 (pow.f64 re 6)) 1/2)))
(*.f64 (*.f64 im im) (+.f64 (fma.f64 -1/4 (*.f64 re re) (*.f64 1/48 (pow.f64 re 4))) (fma.f64 -1/1440 (pow.f64 re 6) 1/2)))
(*.f64 (*.f64 im im) (+.f64 (fma.f64 1/48 (pow.f64 re 4) (*.f64 -1/4 (*.f64 re re))) (fma.f64 -1/1440 (pow.f64 re 6) 1/2)))
(*.f64 im (*.f64 im (+.f64 (fma.f64 -1/4 (*.f64 re re) (*.f64 1/48 (pow.f64 re 4))) (fma.f64 -1/1440 (pow.f64 re 6) 1/2))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 (*.f64 1/2 (*.f64 im im)) 1)
(fma.f64 1/2 (*.f64 im im) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2))))
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 (*.f64 re re) (fma.f64 -1/4 (*.f64 im im) -1/2))))
(+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 (*.f64 im im) -1/4 -1/2) (*.f64 1/2 (*.f64 im im))))
(fma.f64 re (*.f64 re (fma.f64 (*.f64 im im) -1/4 -1/2)) (fma.f64 1/2 (*.f64 im im) 1))
(fma.f64 1/2 (*.f64 im im) (fma.f64 (*.f64 re re) (fma.f64 im (*.f64 im -1/4) -1/2) 1))
(fma.f64 1/2 (*.f64 im im) (fma.f64 (*.f64 re re) (fma.f64 (*.f64 im im) -1/4 -1/2) 1))
(+.f64 1 (+.f64 (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 1/48 (pow.f64 im 2)))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2)))))
(+.f64 1 (fma.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 (*.f64 im im) 1/48)) (fma.f64 1/2 (*.f64 im im) (*.f64 (*.f64 re re) (fma.f64 -1/4 (*.f64 im im) -1/2)))))
(+.f64 1 (fma.f64 (pow.f64 re 4) (fma.f64 (*.f64 im im) 1/48 1/24) (fma.f64 (*.f64 re re) (fma.f64 (*.f64 im im) -1/4 -1/2) (*.f64 1/2 (*.f64 im im)))))
(fma.f64 (pow.f64 re 4) (fma.f64 (*.f64 im im) 1/48 1/24) (fma.f64 re (*.f64 re (fma.f64 (*.f64 im im) -1/4 -1/2)) (fma.f64 1/2 (*.f64 im im) 1)))
(fma.f64 (pow.f64 re 4) (fma.f64 im (*.f64 im 1/48) 1/24) (fma.f64 1/2 (*.f64 im im) (fma.f64 (*.f64 re re) (fma.f64 im (*.f64 im -1/4) -1/2) 1)))
(fma.f64 (pow.f64 re 4) (fma.f64 im (*.f64 im 1/48) 1/24) (fma.f64 1/2 (*.f64 im im) (fma.f64 (*.f64 re re) (fma.f64 (*.f64 im im) -1/4 -1/2) 1)))
(+.f64 1 (+.f64 (*.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 1/48 (pow.f64 im 2)))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 (-.f64 (*.f64 -1/4 (pow.f64 im 2)) 1/2) (pow.f64 re 2)) (*.f64 (-.f64 (*.f64 -1/1440 (pow.f64 im 2)) 1/720) (pow.f64 re 6))))))
(+.f64 1 (fma.f64 (pow.f64 re 4) (+.f64 1/24 (*.f64 (*.f64 im im) 1/48)) (fma.f64 1/2 (*.f64 im im) (fma.f64 (fma.f64 -1/4 (*.f64 im im) -1/2) (*.f64 re re) (*.f64 (pow.f64 re 6) (fma.f64 -1/1440 (*.f64 im im) -1/720))))))
(+.f64 1 (fma.f64 (pow.f64 re 4) (fma.f64 (*.f64 im im) 1/48 1/24) (fma.f64 1/2 (*.f64 im im) (fma.f64 (*.f64 re re) (fma.f64 (*.f64 im im) -1/4 -1/2) (*.f64 (pow.f64 re 6) (fma.f64 (*.f64 im im) -1/1440 -1/720))))))
(+.f64 (fma.f64 re (*.f64 re (fma.f64 (*.f64 im im) -1/4 -1/2)) (fma.f64 1/2 (*.f64 im im) 1)) (fma.f64 (pow.f64 re 6) (fma.f64 im (*.f64 im -1/1440) -1/720) (*.f64 (pow.f64 re 4) (fma.f64 (*.f64 im im) 1/48 1/24))))
(+.f64 (fma.f64 1/2 (*.f64 im im) (fma.f64 (*.f64 re re) (fma.f64 im (*.f64 im -1/4) -1/2) 1)) (fma.f64 (pow.f64 re 6) (fma.f64 im (*.f64 im -1/1440) -1/720) (*.f64 (pow.f64 re 4) (fma.f64 im (*.f64 im 1/48) 1/24))))
(+.f64 (fma.f64 re (*.f64 re (fma.f64 (*.f64 im im) -1/4 -1/2)) (fma.f64 (pow.f64 re 6) (fma.f64 im (*.f64 im -1/1440) -1/720) (*.f64 1/2 (*.f64 im im)))) (fma.f64 (pow.f64 re 4) (fma.f64 im (*.f64 im 1/48) 1/24) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)))
(*.f64 im (*.f64 (cos.f64 re) (*.f64 1/2 im)))
(*.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) 1))

eval112.0ms (1.1%)

Compiler

Compiled 5360 to 3332 computations (37.8% saved)

prune61.0ms (0.6%)

Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New3136319
Fresh336
Picked101
Done235
Total31912331
Error
0b
Counts
331 → 12
Alt Table
Click to see full alt table
StatusErrorProgram
29.5b
(*.f64 1/2 2)
62.1b
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) 1/2))
0.6b
(*.f64 (cos.f64 re) (+.f64 (*.f64 (*.f64 im im) 1/2) 1))
28.9b
(*.f64 1/2 (*.f64 2 (cosh.f64 im)))
61.4b
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
0.3b
(-.f64 (+.f64 1 (*.f64 (cosh.f64 im) (cos.f64 re))) 1)
61.6b
(*.f64 im (*.f64 1/2 im))
0.7b
(+.f64 (*.f64 im (*.f64 im 1/2)) (cos.f64 re))
1.0b
(cos.f64 re)
0.0b
(*.f64 (cos.f64 re) (pow.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 2))
0.5b
(cbrt.f64 (pow.f64 (*.f64 (cosh.f64 im) (cos.f64 re)) 3))
0.5b
(/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1) (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) -1))
Compiler

Compiled 227 to 173 computations (23.8% saved)

localize25.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
0.0b
(*.f64 (cos.f64 re) (pow.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 2))
0.0b
(/.f64 1/2 (exp.f64 im))
0.0b
(pow.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 2)
Compiler

Compiled 56 to 32 computations (42.9% saved)

series5.0ms (0%)

Counts
3 → 48
Calls

12 calls:

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

rewrite71.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
477×log-prod_binary64
372×exp-prod_binary64
328×prod-exp_binary64
292×pow-prod-down_binary64
272×pow2_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01243
124743
2258034
Stop Event
node limit
Counts
3 → 130
Calls
Call 1
Inputs
(pow.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 2)
(*.f64 (cos.f64 re) (pow.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 2))
(sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (/.f64 1/2 (exp.f64 im)) (*.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/2 (exp.f64 im)) (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/2 (exp.f64 im)) 1) (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))) (log.f64 (sqrt.f64 (exp.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1/2 (*.f64 2 (cosh.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) (pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 2) (cbrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 1/4) (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 3/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 3/4) (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 5/6) (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 1/2 (exp.f64 im)) 3) (pow.f64 (*.f64 (exp.f64 im) 2) -3)) (+.f64 (pow.f64 (*.f64 1/2 (exp.f64 im)) 2) (-.f64 (/.f64 1/4 (pow.f64 (exp.f64 im) 2)) (*.f64 (*.f64 1/2 (exp.f64 im)) (/.f64 1/2 (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 1/2 (exp.f64 im)) 2) (/.f64 1/4 (pow.f64 (exp.f64 im) 2))) (-.f64 (*.f64 1/2 (exp.f64 im)) (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (/.f64 1/2 (exp.f64 im)))) (sqrt.f64 (exp.f64 (exp.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (sqrt.f64 (exp.f64 (exp.f64 im))) (+.f64 1 (expm1.f64 (/.f64 1/2 (exp.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1/2) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1/2) (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) 1) (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) (*.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1/2) (*.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) 1) (*.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) (*.f64 (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1/2) (*.f64 (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) 1) (*.f64 (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (exp.f64 (neg.f64 im)) (*.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 im) 1/2 (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (/.f64 1/2 (exp.f64 im)) 1 (*.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (/.f64 1/2 (exp.f64 im)) (*.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/2 (exp.f64 im)) (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 1/2 (exp.f64 im))) (cbrt.f64 (/.f64 1/4 (pow.f64 (exp.f64 im) 2))) (*.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (/.f64 1/4 (pow.f64 (exp.f64 im) 2))) (cbrt.f64 (/.f64 1/2 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (/.f64 1/2 (exp.f64 im))) (sqrt.f64 (/.f64 1/2 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (exp.f64 im)) 1 (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1/2 (/.f64 1 (neg.f64 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 (neg.f64 im)) 1/2 (*.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 1/2 (exp.f64 im))) 2) (cbrt.f64 (*.f64 1/2 (exp.f64 im))) (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 1/2 (exp.f64 im))) (sqrt.f64 (*.f64 1/2 (exp.f64 im))) (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (pow.f64 (cbrt.f64 (exp.f64 im)) 2)) (cbrt.f64 (exp.f64 im)) (/.f64 1/2 (exp.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 im))) (sqrt.f64 (exp.f64 im)) (/.f64 1/2 (exp.f64 im)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/2 (exp.f64 im)) (cos.f64 re)) (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (*.f64 1/2 (exp.f64 im))) (*.f64 (cos.f64 re) (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (exp.f64 (cos.f64 re))) (*.f64 2 (cosh.f64 im)))) 2)) (log.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (exp.f64 (cos.f64 re))) (*.f64 2 (cosh.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (sqrt.f64 (exp.f64 (cos.f64 re))) (*.f64 2 (cosh.f64 im))))) (log.f64 (sqrt.f64 (pow.f64 (sqrt.f64 (exp.f64 (cos.f64 re))) (*.f64 2 (cosh.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re)))) 2)) (cbrt.f64 (log.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))))) (sqrt.f64 (log.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (sqrt.f64 (exp.f64 (cos.f64 re))) (*.f64 2 (cosh.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3 (log.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re)))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (cbrt.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re)))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1) (log.f64 (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) (*.f64 (log.f64 (cos.f64 re)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1) (*.f64 (log.f64 (cos.f64 re)) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (cos.f64 re)) 1) (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log.f64 (cos.f64 re)) (*.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (*.f64 (log.f64 (cos.f64 re)) 1) (*.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) (*.f64 1/2 (exp.f64 im)) (*.f64 (cos.f64 re) (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (exp.f64 im)) (cos.f64 re) (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))) 2)) (log.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))))) (log.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 1/6) (cbrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 1/4) (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1/2) (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 2) 1/4)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 3) 1/6)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 3/2) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 3/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 1/6) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 1/4) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))) 2)) (cbrt.f64 (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))))) (sqrt.f64 (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))))) (#(struct:change #<rule egg-rr> (2) ((x fabs.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (/.f64 1/2 (exp.f64 im))) (sqrt.f64 (*.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x hypot.f64 (sqrt.f64 (*.f64 1/2 (exp.f64 im))) (sqrt.f64 (/.f64 1/2 (exp.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 3/2 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 1/6)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 1/4 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1) 1/2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 (log.f64 (sqrt.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))))) 1) 1))))))

simplify73.0ms (0.7%)

Algorithm
egg-herbie
Rules
574×distribute-rgt-out_binary64
525×fma-def_binary64
391×distribute-lft-out_binary64
389×associate-/l*_binary64
338×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
073846
1225811
2755765
33170748
45458748
Stop Event
node limit
Counts
178 → 161
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/720 (pow.f64 im 6)))))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 1/2 (/.f64 1 (exp.f64 im)))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 1/2 (/.f64 1 (exp.f64 im))))))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (*.f64 1/2 (/.f64 1 (exp.f64 im)))))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
1
(+.f64 1 (*.f64 1/4 (pow.f64 im 2)))
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 im 2)) (*.f64 -1/96 (pow.f64 im 4))))
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 im 2)) (+.f64 (*.f64 -1/96 (pow.f64 im 4)) (*.f64 19/5760 (pow.f64 im 6)))))
(sqrt.f64 (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(sqrt.f64 (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(sqrt.f64 (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(sqrt.f64 (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(sqrt.f64 (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(sqrt.f64 (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(sqrt.f64 (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(sqrt.f64 (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
Outputs
1
(+.f64 1 (*.f64 1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 1/2 (*.f64 im im)))
(fma.f64 1/2 (*.f64 im im) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4))))
(fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 1))
(+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 1/720 (pow.f64 im 6)))))
(+.f64 1 (fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 1/720 (pow.f64 im 6)))))
(+.f64 (fma.f64 1/720 (pow.f64 im 6) (*.f64 1/2 (*.f64 im im))) (fma.f64 1/24 (pow.f64 im 4) 1))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im)))
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 1/2 (/.f64 1 (exp.f64 im)))))
(fma.f64 -1/2 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (*.f64 re re)) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 re re)) 1) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (fma.f64 -1/2 (*.f64 re re) 1))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (*.f64 1/2 (/.f64 1 (exp.f64 im))))))
(fma.f64 -1/2 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (*.f64 re re)) (fma.f64 1/24 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (pow.f64 re 4)) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))
(+.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4)))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (+.f64 (*.f64 -1/2 (*.f64 re re)) (fma.f64 1/24 (pow.f64 re 4) 1)))
(+.f64 (*.f64 -1/2 (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/24 (*.f64 (pow.f64 re 4) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (+.f64 (*.f64 1/2 (exp.f64 im)) (+.f64 (*.f64 -1/720 (*.f64 (pow.f64 re 6) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))) (*.f64 1/2 (/.f64 1 (exp.f64 im)))))))
(fma.f64 -1/2 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (*.f64 re re)) (fma.f64 1/24 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (pow.f64 re 4)) (fma.f64 1/2 (exp.f64 im) (fma.f64 -1/720 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (pow.f64 re 6)) (/.f64 1/2 (exp.f64 im))))))
(+.f64 (fma.f64 1/2 (exp.f64 im) (fma.f64 -1/720 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (pow.f64 re 6)) (/.f64 1/2 (exp.f64 im)))) (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (+.f64 (*.f64 -1/2 (*.f64 re re)) (*.f64 1/24 (pow.f64 re 4)))))
(fma.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (fma.f64 -1/2 (*.f64 re re) (*.f64 1/24 (pow.f64 re 4))) (*.f64 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))) (+.f64 1/2 (*.f64 (pow.f64 re 6) -1/1440))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (+.f64 (+.f64 1 (*.f64 -1/720 (pow.f64 re 6))) (fma.f64 -1/2 (*.f64 re re) (*.f64 1/24 (pow.f64 re 4)))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (+.f64 (+.f64 (*.f64 1/24 (pow.f64 re 4)) (fma.f64 -1/2 (*.f64 re re) 1)) (*.f64 -1/720 (pow.f64 re 6))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re))
(fma.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 im im) (cos.f64 re))
(*.f64 (fma.f64 1/2 (*.f64 im im) 1) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4)))))
(+.f64 (fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re)) (*.f64 (*.f64 1/24 (cos.f64 re)) (pow.f64 im 4)))
(fma.f64 1/2 (*.f64 im (*.f64 im (cos.f64 re))) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)) (cos.f64 re)))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 1)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (+.f64 (cos.f64 re) (+.f64 (*.f64 1/24 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 1/720 (*.f64 (cos.f64 re) (pow.f64 im 6))))))
(+.f64 (fma.f64 1/2 (*.f64 (*.f64 im im) (cos.f64 re)) (cos.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)) (*.f64 (*.f64 1/720 (cos.f64 re)) (pow.f64 im 6))))
(+.f64 (fma.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 im im) (cos.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (cos.f64 re)) (*.f64 1/720 (*.f64 (pow.f64 im 6) (cos.f64 re)))))
(+.f64 (*.f64 (fma.f64 1/24 (pow.f64 im 4) 1) (cos.f64 re)) (*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) (*.f64 1/720 (pow.f64 im 6)))))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 1/720 (pow.f64 im 6))))))
(+.f64 (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 1/24 (pow.f64 im 4) (fma.f64 1/720 (pow.f64 im 6) (*.f64 1/2 (*.f64 im im))))))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
1
(+.f64 1 (*.f64 1/4 (pow.f64 im 2)))
(+.f64 1 (*.f64 (*.f64 im im) 1/4))
(fma.f64 (*.f64 im im) 1/4 1)
(fma.f64 im (*.f64 im 1/4) 1)
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 im 2)) (*.f64 -1/96 (pow.f64 im 4))))
(+.f64 1 (fma.f64 1/4 (*.f64 im im) (*.f64 (pow.f64 im 4) -1/96)))
(+.f64 1 (fma.f64 (*.f64 im im) 1/4 (*.f64 (pow.f64 im 4) -1/96)))
(fma.f64 im (*.f64 im 1/4) (fma.f64 (pow.f64 im 4) -1/96 1))
(+.f64 1 (+.f64 (*.f64 1/4 (pow.f64 im 2)) (+.f64 (*.f64 -1/96 (pow.f64 im 4)) (*.f64 19/5760 (pow.f64 im 6)))))
(+.f64 1 (fma.f64 1/4 (*.f64 im im) (fma.f64 -1/96 (pow.f64 im 4) (*.f64 (pow.f64 im 6) 19/5760))))
(+.f64 1 (fma.f64 (*.f64 im im) 1/4 (fma.f64 (pow.f64 im 4) -1/96 (*.f64 (pow.f64 im 6) 19/5760))))
(+.f64 1 (fma.f64 im (*.f64 im 1/4) (fma.f64 (pow.f64 im 4) -1/96 (*.f64 (pow.f64 im 6) 19/5760))))
(+.f64 1 (fma.f64 (pow.f64 im 4) -1/96 (fma.f64 im (*.f64 im 1/4) (*.f64 (pow.f64 im 6) 19/5760))))
(sqrt.f64 (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(sqrt.f64 (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(sqrt.f64 (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(sqrt.f64 (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(sqrt.f64 (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(sqrt.f64 (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(sqrt.f64 (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(sqrt.f64 (+.f64 (*.f64 1/2 (/.f64 1 (exp.f64 im))) (*.f64 1/2 (exp.f64 im))))
(sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))

localize5.0ms (0.1%)

Compiler

Compiled 12 to 8 computations (33.3% saved)

localize12.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
Compiler

Compiled 22 to 10 computations (54.5% saved)

series2.0ms (0%)

Counts
1 → 24
Calls

6 calls:

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

rewrite52.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
741×pow1_binary64
682×add-log-exp_binary64
682×log1p-expm1-u_binary64
682×expm1-log1p-u_binary64
666×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify149.0ms (1.4%)

Algorithm
egg-herbie
Rules
840×unswap-sqr_binary64
740×fma-def_binary64
578×distribute-rgt-in_binary64
540×sqr-pow_binary64
456×distribute-lft-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
028346
171332
2218314
3903310
42453310
54158310
64399310
74776310
85386310
96442310
106753310
117118310
127568310
Stop Event
node limit
Counts
37 → 23
Calls
Call 1
Inputs
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))))
(+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
Outputs
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (*.f64 im im))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(fma.f64 1/2 (*.f64 im im) (*.f64 -1/4 (*.f64 (*.f64 im im) (*.f64 re re))))
(*.f64 (*.f64 im im) (+.f64 (*.f64 -1/4 (*.f64 re re)) 1/2))
(*.f64 (*.f64 im im) (fma.f64 -1/4 (*.f64 re re) 1/2))
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) 1/2))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))))
(fma.f64 1/2 (*.f64 im im) (fma.f64 1/48 (*.f64 (*.f64 im im) (pow.f64 re 4)) (*.f64 -1/4 (*.f64 (*.f64 im im) (*.f64 re re)))))
(fma.f64 1/2 (*.f64 im im) (*.f64 (*.f64 im im) (+.f64 (*.f64 -1/4 (*.f64 re re)) (*.f64 1/48 (pow.f64 re 4)))))
(*.f64 (*.f64 im im) (+.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 1/48 (pow.f64 re 4))))
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) (fma.f64 1/48 (pow.f64 re 4) 1/2)))
(*.f64 im (*.f64 im (fma.f64 (*.f64 re re) (fma.f64 (*.f64 re re) 1/48 -1/4) 1/2)))
(+.f64 (*.f64 -1/1440 (*.f64 (pow.f64 re 6) (pow.f64 im 2))) (+.f64 (*.f64 1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/48 (*.f64 (pow.f64 re 4) (pow.f64 im 2))) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))))
(fma.f64 -1/1440 (*.f64 (*.f64 im im) (pow.f64 re 6)) (fma.f64 1/2 (*.f64 im im) (fma.f64 1/48 (*.f64 (*.f64 im im) (pow.f64 re 4)) (*.f64 -1/4 (*.f64 (*.f64 im im) (*.f64 re re))))))
(+.f64 (*.f64 (*.f64 im im) (+.f64 (*.f64 -1/4 (*.f64 re re)) (*.f64 1/48 (pow.f64 re 4)))) (*.f64 (*.f64 im im) (+.f64 (*.f64 -1/1440 (pow.f64 re 6)) 1/2)))
(*.f64 (*.f64 im im) (+.f64 (fma.f64 -1/4 (*.f64 re re) (*.f64 1/48 (pow.f64 re 4))) (fma.f64 -1/1440 (pow.f64 re 6) 1/2)))
(*.f64 (*.f64 im im) (fma.f64 (*.f64 re re) (fma.f64 (*.f64 re re) 1/48 -1/4) (fma.f64 -1/1440 (pow.f64 re 6) 1/2)))
(*.f64 im (*.f64 im (fma.f64 (*.f64 re re) (fma.f64 (*.f64 re re) 1/48 -1/4) (fma.f64 -1/1440 (pow.f64 re 6) 1/2))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))

localize14.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
15.7b
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) 1/2))
Compiler

Compiled 28 to 16 computations (42.9% saved)

series11.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
7.0ms
im
@0
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) 1/2))
1.0ms
re
@-inf
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) 1/2))
1.0ms
re
@inf
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) 1/2))
1.0ms
re
@0
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) 1/2))
1.0ms
im
@inf
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) 1/2))

rewrite49.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
822×pow1_binary64
760×add-log-exp_binary64
760×log1p-expm1-u_binary64
760×expm1-log1p-u_binary64
743×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify187.0ms (1.8%)

Algorithm
egg-herbie
Rules
900×unswap-sqr_binary64
700×sqr-pow_binary64
667×cube-prod_binary64
632×fabs-mul_binary64
336×pow-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
015369
132327
280327
3250327
41053327
51819327
61948327
72048327
82168327
92290327
102437327
113897327
124126327
134424327
144759327
155180327
165796327
176576327
187063327
197443327
207871327
Stop Event
node limit
Counts
39 → 22
Calls
Call 1
Inputs
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 1/2 (pow.f64 im 2))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
Outputs
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (pow.f64 re 2))) (pow.f64 im 2))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(*.f64 1/2 (pow.f64 im 2))
(*.f64 1/2 (*.f64 im im))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))
(*.f64 -1/4 (*.f64 (*.f64 re re) (*.f64 im im)))
(*.f64 -1/4 (*.f64 (*.f64 re im) (*.f64 re im)))
(*.f64 -1/4 (*.f64 re (*.f64 re (*.f64 im im))))
(*.f64 (*.f64 re re) (*.f64 -1/4 (*.f64 im im)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2)))
(*.f64 -1/4 (*.f64 (*.f64 re re) (*.f64 im im)))
(*.f64 -1/4 (*.f64 (*.f64 re im) (*.f64 re im)))
(*.f64 -1/4 (*.f64 re (*.f64 re (*.f64 im im))))
(*.f64 (*.f64 re re) (*.f64 -1/4 (*.f64 im im)))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))
(+.f64 (*.f64 1/2 (pow.f64 im 2)) (*.f64 -1/4 (*.f64 (pow.f64 re 2) (pow.f64 im 2))))
(*.f64 (+.f64 1/2 (*.f64 -1/4 (*.f64 re re))) (*.f64 im im))
(*.f64 (fma.f64 -1/4 (*.f64 re re) 1/2) (*.f64 im im))
(*.f64 (fma.f64 re (*.f64 -1/4 re) 1/2) (*.f64 im im))

localize30.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1) (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) -1))
0.0b
(*.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1) (cos.f64 re))
Compiler

Compiled 61 to 44 computations (27.9% saved)

series11.0ms (0.1%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
2.0ms
re
@0
(/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1) (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) -1))
1.0ms
im
@0
(/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1) (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) -1))
1.0ms
re
@inf
(/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1) (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) -1))
1.0ms
re
@inf
(*.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1) (cos.f64 re))
1.0ms
im
@inf
(/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1) (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) -1))

rewrite79.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
725×log-prod_binary64
391×pow2_binary64
272×pow1/3_binary64
268×expm1-udef_binary64
268×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01536
131936
2393436
Stop Event
node limit
Counts
2 → 80
Calls
Call 1
Inputs
(*.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1) (cos.f64 re))
(/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1) (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) -1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (pow.f64 im 4) 1/4) (cos.f64 re)) (*.f64 -1 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 -1 (cos.f64 re)) (*.f64 (*.f64 (pow.f64 im 4) 1/4) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 4) 1/4)) (*.f64 (cos.f64 re) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 re) -1) (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 4) 1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 (pow.f64 im 4) 1/4 -1)) (cos.f64 re))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (fma.f64 (pow.f64 im 4) 1/4 -1)) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (fma.f64 (pow.f64 im 4) 1/4 -1)) (cos.f64 re)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (fma.f64 (pow.f64 im 4) 1/4 -1)) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 1/64 (pow.f64 (pow.f64 im 4) 3) -1) (cos.f64 re)) (-.f64 (fma.f64 1/16 (pow.f64 im 8) 1) (*.f64 (pow.f64 im 4) -1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 1/16 (pow.f64 im 8) -1) (cos.f64 re)) (fma.f64 (pow.f64 im 4) 1/4 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (fma.f64 1/64 (pow.f64 (pow.f64 im 4) 3) -1)) (-.f64 (fma.f64 1/16 (pow.f64 im 8) 1) (*.f64 (pow.f64 im 4) -1/4)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 re) (fma.f64 1/16 (pow.f64 im 8) -1)) (fma.f64 (pow.f64 im 4) 1/4 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) 3) (pow.f64 (cos.f64 re) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (pow.f64 (cos.f64 re) 3) (pow.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (fma.f64 (pow.f64 im 4) 1/4 -1)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) 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 (fma.f64 (pow.f64 im 4) 1/4 -1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (pow.f64 im 4) 1/4) (cos.f64 re) (*.f64 -1 (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 -1 (cos.f64 re) (*.f64 (*.f64 (pow.f64 im 4) 1/4) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) (*.f64 (pow.f64 im 4) 1/4) (*.f64 (cos.f64 re) -1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 re) -1 (*.f64 (cos.f64 re) (*.f64 (pow.f64 im 4) 1/4)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (exp.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))))) (log.f64 (sqrt.f64 (exp.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (/.f64 1 (/.f64 (fma.f64 im (*.f64 im 1/2) -1) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (*.f64 (cos.f64 re) (/.f64 1 (fma.f64 im (*.f64 im 1/2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 re) (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (/.f64 1 (fma.f64 im (*.f64 im 1/2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)) (/.f64 1 (fma.f64 im (*.f64 im 1/2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))) (pow.f64 (cbrt.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))) 2) (cbrt.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)) 2)) (*.f64 (cbrt.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re))) (/.f64 1 (fma.f64 im (*.f64 im 1/2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))) (sqrt.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re))) (*.f64 (sqrt.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re))) (/.f64 1 (fma.f64 im (*.f64 im 1/2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (neg.f64 (cos.f64 re))) (/.f64 1 (neg.f64 (fma.f64 im (*.f64 im 1/2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (fma.f64 im (*.f64 im 1/2) -1)) (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) 1) (/.f64 (cos.f64 re) (fma.f64 im (*.f64 im 1/2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cos.f64 re) 1) (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)) 2)) 1) (/.f64 (cbrt.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re))) (fma.f64 im (*.f64 im 1/2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re))) 1) (/.f64 (sqrt.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re))) (fma.f64 im (*.f64 im 1/2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cbrt.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) -1) 2))) (/.f64 (cos.f64 re) (cbrt.f64 (fma.f64 im (*.f64 im 1/2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cos.f64 re) (cbrt.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) -1) 2))) (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cbrt.f64 (fma.f64 im (*.f64 im 1/2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (cbrt.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) -1) 2))) (/.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)) (cbrt.f64 (fma.f64 im (*.f64 im 1/2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)) 2)) (cbrt.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) -1) 2))) (cbrt.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re))) (cbrt.f64 (pow.f64 (fma.f64 im (*.f64 im 1/2) -1) 2))) (/.f64 (sqrt.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re))) (cbrt.f64 (fma.f64 im (*.f64 im 1/2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (sqrt.f64 (fma.f64 im (*.f64 im 1/2) -1))) (/.f64 (cos.f64 re) (sqrt.f64 (fma.f64 im (*.f64 im 1/2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cos.f64 re) (sqrt.f64 (fma.f64 im (*.f64 im 1/2) -1))) (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (sqrt.f64 (fma.f64 im (*.f64 im 1/2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (fma.f64 im (*.f64 im 1/2) -1))) (/.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)) (sqrt.f64 (fma.f64 im (*.f64 im 1/2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cbrt.f64 (pow.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)) 2)) (sqrt.f64 (fma.f64 im (*.f64 im 1/2) -1))) (/.f64 (cbrt.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re))) (sqrt.f64 (fma.f64 im (*.f64 im 1/2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (fma.f64 im (*.f64 im 1/2) -1) (cos.f64 re)) (fma.f64 (pow.f64 im 4) 1/4 -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)) 3) (pow.f64 (fma.f64 im (*.f64 im 1/2) -1) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (/.f64 (/.f64 (fma.f64 im (*.f64 im 1/2) -1) (cos.f64 re)) (fma.f64 (pow.f64 im 4) 1/4 -1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)) (neg.f64 (fma.f64 im (*.f64 im 1/2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (/.f64 (pow.f64 (*.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (cos.f64 re)) 3) (pow.f64 (fma.f64 im (*.f64 im 1/2) -1) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (/.f64 (fma.f64 (pow.f64 im 4) 1/4 -1) (fma.f64 im (*.f64 im 1/2) -1)) (cos.f64 re))) 1))))))

simplify51.0ms (0.5%)

Algorithm
egg-herbie
Rules
615×associate-/l*_binary64
578×times-frac_binary64
507×associate-+l+_binary64
454×associate-/r*_binary64
443×associate-+r+_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0651064
1183972
2538943
32043900
Stop Event
node limit
Counts
128 → 110
Calls
Call 1
Inputs
(*.f64 -1 (cos.f64 re))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 2))) (*.f64 1/4 (pow.f64 im 4))) 1)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 2))) (+.f64 (*.f64 1/24 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 4))) (*.f64 1/4 (pow.f64 im 4)))) 1)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 2))) (+.f64 (*.f64 -1/720 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 6))) (+.f64 (*.f64 1/24 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 4))) (*.f64 1/4 (pow.f64 im 4))))) 1)
(*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1))
(*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1))
(*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1))
(*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1))
(*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1))
(*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1))
(*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1))
(*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(/.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(-.f64 (+.f64 (*.f64 -1/2 (/.f64 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 2)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))) (*.f64 1/4 (/.f64 (pow.f64 im 4) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1)))) (/.f64 1 (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1)))
(-.f64 (+.f64 (*.f64 -1/2 (/.f64 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 2)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))) (+.f64 (*.f64 1/24 (/.f64 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 4)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))) (*.f64 1/4 (/.f64 (pow.f64 im 4) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))))) (/.f64 1 (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1)))
(-.f64 (+.f64 (*.f64 -1/2 (/.f64 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 2)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))) (+.f64 (*.f64 1/24 (/.f64 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 4)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))) (+.f64 (*.f64 -1/720 (/.f64 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 6)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))) (*.f64 1/4 (/.f64 (pow.f64 im 4) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1)))))) (/.f64 1 (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1)))
(/.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(/.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(/.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(/.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(/.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(/.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(/.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(/.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
Outputs
(*.f64 -1 (cos.f64 re))
(neg.f64 (cos.f64 re))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)))
(*.f64 (cos.f64 re) (*.f64 1/4 (pow.f64 im 4)))
(*.f64 (pow.f64 im 4) (*.f64 (cos.f64 re) 1/4))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)))
(*.f64 (cos.f64 re) (*.f64 1/4 (pow.f64 im 4)))
(*.f64 (pow.f64 im 4) (*.f64 (cos.f64 re) 1/4))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(+.f64 (*.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4))) (*.f64 -1 (cos.f64 re)))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)
(fma.f64 1/4 (pow.f64 im 4) -1)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 2))) (*.f64 1/4 (pow.f64 im 4))) 1)
(+.f64 (*.f64 -1/2 (*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (*.f64 re re))) (fma.f64 1/4 (pow.f64 im 4) -1))
(fma.f64 (*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) -1/2) (*.f64 re re) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (+.f64 (*.f64 re (*.f64 re -1/2)) 1) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (+.f64 1 (*.f64 re (*.f64 re -1/2))))
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 2))) (+.f64 (*.f64 1/24 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 4))) (*.f64 1/4 (pow.f64 im 4)))) 1)
(+.f64 (fma.f64 -1/2 (*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (*.f64 re re)) (fma.f64 1/24 (*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (pow.f64 re 4)) (*.f64 1/4 (pow.f64 im 4)))) -1)
(+.f64 (fma.f64 -1/2 (*.f64 re (*.f64 re (fma.f64 1/4 (pow.f64 im 4) -1))) (*.f64 (*.f64 1/24 (pow.f64 re 4)) (fma.f64 1/4 (pow.f64 im 4) -1))) (fma.f64 1/4 (pow.f64 im 4) -1))
(+.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (+.f64 (*.f64 re (*.f64 re -1/2)) (*.f64 1/24 (pow.f64 re 4)))))
(*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (+.f64 (*.f64 re (*.f64 re -1/2)) (+.f64 1 (*.f64 1/24 (pow.f64 re 4)))))
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 2))) (+.f64 (*.f64 -1/720 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 6))) (+.f64 (*.f64 1/24 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 4))) (*.f64 1/4 (pow.f64 im 4))))) 1)
(+.f64 (fma.f64 -1/2 (*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (*.f64 re re)) (fma.f64 -1/720 (*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (pow.f64 re 6)) (fma.f64 1/24 (*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (pow.f64 re 4)) (*.f64 1/4 (pow.f64 im 4))))) -1)
(+.f64 -1 (fma.f64 -1/2 (*.f64 re (*.f64 re (fma.f64 1/4 (pow.f64 im 4) -1))) (fma.f64 -1/720 (*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (pow.f64 re 6)) (fma.f64 1/4 (pow.f64 im 4) (*.f64 (*.f64 1/24 (pow.f64 re 4)) (fma.f64 1/4 (pow.f64 im 4) -1))))))
(+.f64 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 re 4)) 1) (fma.f64 1/4 (pow.f64 im 4) -1)) (*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (+.f64 (*.f64 re (*.f64 re -1/2)) (*.f64 -1/720 (pow.f64 re 6)))))
(fma.f64 (*.f64 re re) (+.f64 1/2 (*.f64 (pow.f64 im 4) -1/8)) (*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (+.f64 (+.f64 1 (*.f64 1/24 (pow.f64 re 4))) (*.f64 -1/720 (pow.f64 re 6)))))
(*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1))
(fma.f64 1/4 (*.f64 (cos.f64 re) (pow.f64 im 4)) (neg.f64 (cos.f64 re)))
(*.f64 (cos.f64 re) (fma.f64 1/4 (pow.f64 im 4) -1))
(cos.f64 re)
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
(*.f64 (+.f64 (*.f64 im (*.f64 im 1/2)) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
(*.f64 (+.f64 (*.f64 im (*.f64 im 1/2)) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
(*.f64 (+.f64 (*.f64 im (*.f64 im 1/2)) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
(*.f64 (+.f64 (*.f64 im (*.f64 im 1/2)) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
(*.f64 (+.f64 (*.f64 im (*.f64 im 1/2)) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
(*.f64 (+.f64 (*.f64 im (*.f64 im 1/2)) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2))))
(*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2)))
(*.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)))
(*.f64 (cos.f64 re) (*.f64 im (*.f64 im 1/2)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
(*.f64 (+.f64 (*.f64 im (*.f64 im 1/2)) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
(*.f64 (+.f64 (*.f64 im (*.f64 im 1/2)) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
(*.f64 (+.f64 (*.f64 im (*.f64 im 1/2)) 1) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 im (*.f64 im 1/2))))
(/.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 1/2 (*.f64 im im) -1))
(/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 im (*.f64 im 1/2) -1))
(-.f64 (+.f64 (*.f64 -1/2 (/.f64 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 2)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))) (*.f64 1/4 (/.f64 (pow.f64 im 4) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1)))) (/.f64 1 (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1)))
(+.f64 (*.f64 -1/2 (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (/.f64 (fma.f64 1/2 (*.f64 im im) -1) (*.f64 re re)))) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 1/2 (*.f64 im im) -1)))
(fma.f64 -1/2 (/.f64 (*.f64 re (*.f64 re (fma.f64 1/4 (pow.f64 im 4) -1))) (fma.f64 1/2 (*.f64 im im) -1)) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 1/2 (*.f64 im im) -1)))
(fma.f64 -1/2 (*.f64 (*.f64 re re) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 1/2 (*.f64 im im) -1))) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 1/2 (*.f64 im im) -1)))
(fma.f64 -1/2 (*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (/.f64 (*.f64 re re) (fma.f64 im (*.f64 im 1/2) -1))) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 im (*.f64 im 1/2) -1)))
(-.f64 (+.f64 (*.f64 -1/2 (/.f64 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 2)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))) (+.f64 (*.f64 1/24 (/.f64 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 4)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))) (*.f64 1/4 (/.f64 (pow.f64 im 4) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))))) (/.f64 1 (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1)))
(-.f64 (fma.f64 -1/2 (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (/.f64 (fma.f64 1/2 (*.f64 im im) -1) (*.f64 re re))) (fma.f64 1/24 (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (/.f64 (fma.f64 1/2 (*.f64 im im) -1) (pow.f64 re 4))) (*.f64 1/4 (/.f64 (pow.f64 im 4) (fma.f64 1/2 (*.f64 im im) -1))))) (/.f64 1 (fma.f64 1/2 (*.f64 im im) -1)))
(fma.f64 -1/2 (/.f64 (*.f64 re (*.f64 re (fma.f64 1/4 (pow.f64 im 4) -1))) (fma.f64 1/2 (*.f64 im im) -1)) (+.f64 (*.f64 1/24 (*.f64 (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 1/2 (*.f64 im im) -1)) (pow.f64 re 4))) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 1/2 (*.f64 im im) -1))))
(fma.f64 -1/2 (*.f64 (*.f64 re re) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 1/2 (*.f64 im im) -1))) (fma.f64 1/24 (*.f64 (pow.f64 re 4) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 1/2 (*.f64 im im) -1))) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 1/2 (*.f64 im im) -1))))
(+.f64 (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 im (*.f64 im 1/2) -1)) (*.f64 (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 im (*.f64 im 1/2) -1)) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (*.f64 re (*.f64 re -1/2)))))
(-.f64 (+.f64 (*.f64 -1/2 (/.f64 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 2)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))) (+.f64 (*.f64 1/24 (/.f64 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 4)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))) (+.f64 (*.f64 -1/720 (/.f64 (*.f64 (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1) (pow.f64 re 6)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))) (*.f64 1/4 (/.f64 (pow.f64 im 4) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1)))))) (/.f64 1 (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1)))
(-.f64 (fma.f64 -1/2 (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (/.f64 (fma.f64 1/2 (*.f64 im im) -1) (*.f64 re re))) (fma.f64 1/24 (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (/.f64 (fma.f64 1/2 (*.f64 im im) -1) (pow.f64 re 4))) (fma.f64 -1/720 (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (/.f64 (fma.f64 1/2 (*.f64 im im) -1) (pow.f64 re 6))) (*.f64 1/4 (/.f64 (pow.f64 im 4) (fma.f64 1/2 (*.f64 im im) -1)))))) (/.f64 1 (fma.f64 1/2 (*.f64 im im) -1)))
(fma.f64 -1/2 (/.f64 (*.f64 re (*.f64 re (fma.f64 1/4 (pow.f64 im 4) -1))) (fma.f64 1/2 (*.f64 im im) -1)) (+.f64 (fma.f64 1/24 (*.f64 (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 1/2 (*.f64 im im) -1)) (pow.f64 re 4)) (*.f64 -1/720 (/.f64 (*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (pow.f64 re 6)) (fma.f64 1/2 (*.f64 im im) -1)))) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 1/2 (*.f64 im im) -1))))
(+.f64 (fma.f64 1/24 (*.f64 (pow.f64 re 4) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 1/2 (*.f64 im im) -1))) (/.f64 (pow.f64 re 6) (/.f64 (fma.f64 1/2 (*.f64 im im) -1) (+.f64 (*.f64 (pow.f64 im 4) -1/2880) 1/720)))) (fma.f64 -1/2 (*.f64 (*.f64 re re) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 1/2 (*.f64 im im) -1))) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 1/2 (*.f64 im im) -1))))
(+.f64 (fma.f64 -1/2 (*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (/.f64 (*.f64 re re) (fma.f64 im (*.f64 im 1/2) -1))) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 im (*.f64 im 1/2) -1))) (*.f64 (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 im (*.f64 im 1/2) -1)) (+.f64 (*.f64 1/24 (pow.f64 re 4)) (*.f64 -1/720 (pow.f64 re 6)))))
(/.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(/.f64 (cos.f64 re) (/.f64 (fma.f64 1/2 (*.f64 im im) -1) (fma.f64 1/4 (pow.f64 im 4) -1)))
(*.f64 (/.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) -1)) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (/.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) -1)))
(*.f64 (cos.f64 re) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 im (*.f64 im 1/2) -1)))
(/.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(/.f64 (cos.f64 re) (/.f64 (fma.f64 1/2 (*.f64 im im) -1) (fma.f64 1/4 (pow.f64 im 4) -1)))
(*.f64 (/.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) -1)) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (/.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) -1)))
(*.f64 (cos.f64 re) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 im (*.f64 im 1/2) -1)))
(/.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(/.f64 (cos.f64 re) (/.f64 (fma.f64 1/2 (*.f64 im im) -1) (fma.f64 1/4 (pow.f64 im 4) -1)))
(*.f64 (/.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) -1)) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (/.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) -1)))
(*.f64 (cos.f64 re) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 im (*.f64 im 1/2) -1)))
(/.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(/.f64 (cos.f64 re) (/.f64 (fma.f64 1/2 (*.f64 im im) -1) (fma.f64 1/4 (pow.f64 im 4) -1)))
(*.f64 (/.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) -1)) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (/.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) -1)))
(*.f64 (cos.f64 re) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 im (*.f64 im 1/2) -1)))
(/.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(/.f64 (cos.f64 re) (/.f64 (fma.f64 1/2 (*.f64 im im) -1) (fma.f64 1/4 (pow.f64 im 4) -1)))
(*.f64 (/.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) -1)) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (/.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) -1)))
(*.f64 (cos.f64 re) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 im (*.f64 im 1/2) -1)))
(/.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(/.f64 (cos.f64 re) (/.f64 (fma.f64 1/2 (*.f64 im im) -1) (fma.f64 1/4 (pow.f64 im 4) -1)))
(*.f64 (/.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) -1)) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (/.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) -1)))
(*.f64 (cos.f64 re) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 im (*.f64 im 1/2) -1)))
(/.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(/.f64 (cos.f64 re) (/.f64 (fma.f64 1/2 (*.f64 im im) -1) (fma.f64 1/4 (pow.f64 im 4) -1)))
(*.f64 (/.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) -1)) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (/.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) -1)))
(*.f64 (cos.f64 re) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 im (*.f64 im 1/2) -1)))
(/.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 1/4 (pow.f64 im 4)) 1)) (-.f64 (*.f64 1/2 (pow.f64 im 2)) 1))
(/.f64 (cos.f64 re) (/.f64 (fma.f64 1/2 (*.f64 im im) -1) (fma.f64 1/4 (pow.f64 im 4) -1)))
(*.f64 (/.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) -1)) (fma.f64 1/4 (pow.f64 im 4) -1))
(*.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (/.f64 (cos.f64 re) (fma.f64 1/2 (*.f64 im im) -1)))
(*.f64 (cos.f64 re) (/.f64 (fma.f64 1/4 (pow.f64 im 4) -1) (fma.f64 im (*.f64 im 1/2) -1)))

eval227.0ms (2.2%)

Compiler

Compiled 6311 to 4376 computations (30.7% saved)

prune50.0ms (0.5%)

Pruning

11 alts after pruning (7 fresh and 4 done)

PrunedKeptTotal
New3403343
Fresh044
Picked101
Done347
Total34411355
Error
0b
Counts
355 → 11
Alt Table
Click to see full alt table
StatusErrorProgram
0.6b
(/.f64 (neg.f64 (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) -1))
0.3b
(-.f64 (+.f64 1 (*.f64 (cosh.f64 im) (cos.f64 re))) 1)
62.5b
(*.f64 (*.f64 re re) (*.f64 -1/4 (*.f64 im im)))
61.6b
(*.f64 im (*.f64 1/2 im))
0.6b
(*.f64 (cos.f64 re) (+.f64 (*.f64 (*.f64 im im) 1/2) 1))
28.9b
(*.f64 1/2 (*.f64 2 (cosh.f64 im)))
0.7b
(+.f64 (*.f64 im (*.f64 im 1/2)) (cos.f64 re))
1.0b
(cos.f64 re)
29.5b
(*.f64 1/2 2)
0.0b
(*.f64 (cos.f64 re) (pow.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 1/2) 2))
0.5b
(cbrt.f64 (pow.f64 (*.f64 (cosh.f64 im) (cos.f64 re)) 3))
Compiler

Compiled 105 to 82 computations (21.9% saved)

regimes259.0ms (2.5%)

Counts
30 → 1
Calls
Call 1
Inputs
(*.f64 1/2 2)
(*.f64 im (*.f64 1/2 im))
(*.f64 (*.f64 re re) (*.f64 -1/4 (*.f64 im im)))
(cos.f64 re)
(*.f64 1/2 (*.f64 2 (cosh.f64 im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 im (*.f64 im (*.f64 1/2 (cos.f64 re))))
(+.f64 (*.f64 im (*.f64 im 1/2)) (cos.f64 re))
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) 1/2))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (*.f64 im im) 1/2) 1))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (*.f64 im im))))
(*.f64 (pow.f64 im 6) (*.f64 1/720 (cos.f64 re)))
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(-.f64 (+.f64 1 (*.f64 (cosh.f64 im) (cos.f64 re))) 1)
(*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))
(/.f64 (neg.f64 (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) -1))
(+.f64 (+.f64 0 (*.f64 (cos.f64 re) (*.f64 (*.f64 im im) 1/2))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (*.f64 im im)) (+.f64 1 (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 1/720 (pow.f64 im 6))) (*.f64 (*.f64 im im) (+.f64 1/2 (*.f64 (*.f64 im im) 1/24)))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) 1/2))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1) (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) -1))
(+.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 im (+.f64 1/2 (*.f64 1/4 im))) -1/2)) (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)))
(cbrt.f64 (pow.f64 (*.f64 (cosh.f64 im) (cos.f64 re)) 3))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 3))
(*.f64 (cos.f64 re) (pow.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 1/2) 2))
(+.f64 (*.f64 (*.f64 1/2 (exp.f64 im)) (cos.f64 re)) (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)))
(*.f64 (cos.f64 re) (pow.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) 2))
Outputs
(+.f64 (*.f64 (*.f64 1/2 (exp.f64 im)) (cos.f64 re)) (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)))
Calls

9 calls:

64.0ms
(cos.f64 re)
50.0ms
im
27.0ms
re
24.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
23.0ms
(*.f64 1/2 (cos.f64 re))
Results
ErrorSegmentsBranch
0.0b1re
0.0b1im
0.0b1(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.0b1(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.0b1(*.f64 1/2 (cos.f64 re))
0.0b1(*.f64 1/2 (cos.f64 re))
0.0b1(cos.f64 re)
0.0b1(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
0.0b1(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Compiler

Compiled 380 to 228 computations (40% saved)

regimes224.0ms (2.2%)

Counts
28 → 1
Calls
Call 1
Inputs
(*.f64 1/2 2)
(*.f64 im (*.f64 1/2 im))
(*.f64 (*.f64 re re) (*.f64 -1/4 (*.f64 im im)))
(cos.f64 re)
(*.f64 1/2 (*.f64 2 (cosh.f64 im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 im (*.f64 im (*.f64 1/2 (cos.f64 re))))
(+.f64 (*.f64 im (*.f64 im 1/2)) (cos.f64 re))
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) 1/2))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (*.f64 im im) 1/2) 1))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (*.f64 im im))))
(*.f64 (pow.f64 im 6) (*.f64 1/720 (cos.f64 re)))
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(-.f64 (+.f64 1 (*.f64 (cosh.f64 im) (cos.f64 re))) 1)
(*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))
(/.f64 (neg.f64 (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) -1))
(+.f64 (+.f64 0 (*.f64 (cos.f64 re) (*.f64 (*.f64 im im) 1/2))) (cos.f64 re))
(*.f64 (cos.f64 re) (+.f64 (*.f64 1/2 (*.f64 im im)) (+.f64 1 (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (cos.f64 re) (+.f64 (+.f64 1 (*.f64 1/720 (pow.f64 im 6))) (*.f64 (*.f64 im im) (+.f64 1/2 (*.f64 (*.f64 im im) 1/24)))))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) 1/2))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 re) (pow.f64 im 2))) (cos.f64 re))
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
(/.f64 (*.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/4) -1) (cos.f64 re)) (fma.f64 im (*.f64 im 1/2) -1))
(+.f64 (*.f64 (cos.f64 re) (-.f64 (*.f64 im (+.f64 1/2 (*.f64 1/4 im))) -1/2)) (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)))
(cbrt.f64 (pow.f64 (*.f64 (cosh.f64 im) (cos.f64 re)) 3))
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 re) (*.f64 1/2 (*.f64 2 (cosh.f64 im)))) 3))
(*.f64 (cos.f64 re) (pow.f64 (pow.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) 1/2) 2))
Outputs
(*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))
Calls

9 calls:

83.0ms
re
44.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
21.0ms
(cos.f64 re)
13.0ms
im
11.0ms
(*.f64 1/2 (cos.f64 re))
Results
ErrorSegmentsBranch
0.0b1re
0.0b1im
0.0b1(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.0b1(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.0b1(*.f64 1/2 (cos.f64 re))
0.0b1(*.f64 1/2 (cos.f64 re))
0.0b1(cos.f64 re)
0.0b1(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
0.0b1(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Compiler

Compiled 351 to 213 computations (39.3% saved)

regimes43.0ms (0.4%)

Counts
14 → 1
Calls
Call 1
Inputs
(*.f64 1/2 2)
(*.f64 im (*.f64 1/2 im))
(*.f64 (*.f64 re re) (*.f64 -1/4 (*.f64 im im)))
(cos.f64 re)
(*.f64 1/2 (*.f64 2 (cosh.f64 im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 im (*.f64 im (*.f64 1/2 (cos.f64 re))))
(+.f64 (*.f64 im (*.f64 im 1/2)) (cos.f64 re))
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) 1/2))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (*.f64 im im) 1/2) 1))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (*.f64 im im))))
(*.f64 (pow.f64 im 6) (*.f64 1/720 (cos.f64 re)))
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
(-.f64 (+.f64 1 (*.f64 (cosh.f64 im) (cos.f64 re))) 1)
Outputs
(-.f64 (+.f64 1 (*.f64 (cosh.f64 im) (cos.f64 re))) 1)
Calls

5 calls:

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

Compiled 128 to 78 computations (39.1% saved)

regimes44.0ms (0.4%)

Counts
13 → 1
Calls
Call 1
Inputs
(*.f64 1/2 2)
(*.f64 im (*.f64 1/2 im))
(*.f64 (*.f64 re re) (*.f64 -1/4 (*.f64 im im)))
(cos.f64 re)
(*.f64 1/2 (*.f64 2 (cosh.f64 im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 im (*.f64 im (*.f64 1/2 (cos.f64 re))))
(+.f64 (*.f64 im (*.f64 im 1/2)) (cos.f64 re))
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) 1/2))
(*.f64 (cos.f64 re) (+.f64 (*.f64 (*.f64 im im) 1/2) 1))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (*.f64 im im))))
(*.f64 (pow.f64 im 6) (*.f64 1/720 (cos.f64 re)))
(*.f64 1/2 (+.f64 (exp.f64 im) (exp.f64 (neg.f64 im))))
Outputs
(*.f64 (cos.f64 re) (+.f64 (*.f64 (*.f64 im im) 1/2) 1))
Calls

5 calls:

10.0ms
im
9.0ms
(cos.f64 re)
7.0ms
re
6.0ms
(*.f64 1/2 (cos.f64 re))
6.0ms
(*.f64 1/2 (cos.f64 re))
Results
ErrorSegmentsBranch
0.6b1re
0.6b1im
0.6b1(*.f64 1/2 (cos.f64 re))
0.6b1(*.f64 1/2 (cos.f64 re))
0.6b1(cos.f64 re)
Compiler

Compiled 119 to 73 computations (38.7% saved)

regimes32.0ms (0.3%)

Counts
9 → 1
Calls
Call 1
Inputs
(*.f64 1/2 2)
(*.f64 im (*.f64 1/2 im))
(*.f64 (*.f64 re re) (*.f64 -1/4 (*.f64 im im)))
(cos.f64 re)
(*.f64 1/2 (*.f64 2 (cosh.f64 im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 im (*.f64 im (*.f64 1/2 (cos.f64 re))))
(+.f64 (*.f64 im (*.f64 im 1/2)) (cos.f64 re))
(*.f64 (*.f64 im im) (fma.f64 re (*.f64 re -1/4) 1/2))
Outputs
(+.f64 (*.f64 im (*.f64 im 1/2)) (cos.f64 re))
Calls

5 calls:

6.0ms
(*.f64 1/2 (cos.f64 re))
6.0ms
im
6.0ms
re
5.0ms
(*.f64 1/2 (cos.f64 re))
5.0ms
(cos.f64 re)
Results
ErrorSegmentsBranch
0.7b1re
0.7b1im
0.7b1(*.f64 1/2 (cos.f64 re))
0.7b1(*.f64 1/2 (cos.f64 re))
0.7b1(cos.f64 re)
Compiler

Compiled 83 to 52 computations (37.3% saved)

regimes31.0ms (0.3%)

Counts
7 → 1
Calls
Call 1
Inputs
(*.f64 1/2 2)
(*.f64 im (*.f64 1/2 im))
(*.f64 (*.f64 re re) (*.f64 -1/4 (*.f64 im im)))
(cos.f64 re)
(*.f64 1/2 (*.f64 2 (cosh.f64 im)))
(*.f64 (*.f64 im im) (*.f64 1/2 (cos.f64 re)))
(*.f64 im (*.f64 im (*.f64 1/2 (cos.f64 re))))
Outputs
(cos.f64 re)
Calls

5 calls:

8.0ms
im
5.0ms
re
5.0ms
(*.f64 1/2 (cos.f64 re))
5.0ms
(*.f64 1/2 (cos.f64 re))
5.0ms
(cos.f64 re)
Results
ErrorSegmentsBranch
1.0b1re
1.0b1im
1.0b1(*.f64 1/2 (cos.f64 re))
1.0b1(*.f64 1/2 (cos.f64 re))
1.0b1(cos.f64 re)
Compiler

Compiled 65 to 43 computations (33.8% saved)

regimes10.0ms (0.1%)

Accuracy

Total -33.2b remaining (-112.8%)

Threshold costs -33.2b (-112.8%)

Counts
3 → 1
Calls
Call 1
Inputs
(*.f64 1/2 2)
(*.f64 im (*.f64 1/2 im))
(*.f64 (*.f64 re re) (*.f64 -1/4 (*.f64 im im)))
Outputs
(*.f64 1/2 2)
Calls

2 calls:

5.0ms
im
4.0ms
re
Results
ErrorSegmentsBranch
29.5b1re
29.5b1im
Compiler

Compiled 25 to 17 computations (32% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
11×*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02883
14883
24983
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(+.f64 (*.f64 (*.f64 1/2 (exp.f64 im)) (cos.f64 re)) (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)))
(*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))
(-.f64 (+.f64 1 (*.f64 (cosh.f64 im) (cos.f64 re))) 1)
(*.f64 (cos.f64 re) (+.f64 (*.f64 (*.f64 im im) 1/2) 1))
(+.f64 (*.f64 im (*.f64 im 1/2)) (cos.f64 re))
(cos.f64 re)
(*.f64 1/2 2)
Outputs
(+.f64 (*.f64 (*.f64 1/2 (exp.f64 im)) (cos.f64 re)) (*.f64 (/.f64 1/2 (exp.f64 im)) (cos.f64 re)))
(+.f64 (*.f64 (*.f64 1/2 (exp.f64 im)) (cos.f64 re)) (*.f64 (cos.f64 re) (/.f64 1/2 (exp.f64 im))))
(*.f64 (*.f64 1/2 (*.f64 2 (cosh.f64 im))) (cos.f64 re))
(*.f64 (cos.f64 re) (*.f64 1/2 (*.f64 2 (cosh.f64 im))))
(-.f64 (+.f64 1 (*.f64 (cosh.f64 im) (cos.f64 re))) 1)
(+.f64 (+.f64 1 (*.f64 (cos.f64 re) (cosh.f64 im))) -1)
(*.f64 (cos.f64 re) (+.f64 (*.f64 (*.f64 im im) 1/2) 1))
(*.f64 (cos.f64 re) (+.f64 1 (*.f64 1/2 (*.f64 im im))))
(+.f64 (*.f64 im (*.f64 im 1/2)) (cos.f64 re))
(+.f64 (cos.f64 re) (*.f64 im (*.f64 1/2 im)))
(cos.f64 re)
(*.f64 1/2 2)
1
Compiler

Compiled 68 to 51 computations (25% saved)

soundness165.0ms (1.6%)

Algorithm
egg-herbie
Rules
573×fma-def_binary64
530×associate-/l*_binary64
430×unswap-sqr_binary64
374×times-frac_binary64
340×associate-/r/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01118
12818
27018
313217
419217
534617
678017
7135117
8396717
9449017
10546117
11602417
12705817
Stop Event
node limit
Compiler

Compiled 124 to 94 computations (24.2% saved)

end420.0ms (4%)

Compiler

Compiled 56 to 33 computations (41.1% saved)

Profiling

Loading profile data...