Details

Time bar (total: 10.2s)

analyze536.0ms (5.2%)

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
50%26.5%23.5%13
50%26.5%23.5%14
Compiler

Compiled 15 to 12 computations (20% saved)

sample6.4s (62.4%)

Results
3.3s5005×body1024valid
1.1s1952×body1024invalid
689.0ms1759×body512valid
385.0ms403×body2048valid
376.0ms1037×body512invalid
187.0ms696×body256valid
134.0ms553×body256invalid
103.0ms735×body128invalid
57.0ms393×body128valid
Compiler

Compiled 44 to 35 computations (20.5% saved)

simplify84.0ms (0.8%)

Algorithm
egg-herbie
Rules
626×associate-/l*_binary64
509×div-sub_binary64
462×times-frac_binary64
386×sub-neg_binary64
367×associate-/r*_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01218
12218
24918
311118
420817
536217
669217
7151317
8372617
9428717
10485717
11474917

prune4.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
56.9b
Counts
3 → 2
Alt Table
StatusErrorProgram
56.9b
(*.f64 (cos.f64 re) (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))))
56.9b
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
Compiler

Compiled 79 to 56 computations (29.1% saved)

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series18.0ms (0.2%)

Counts
2 → 36
Calls

2 calls:

16.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
2.0ms
(-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))

rewrite165.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
234×prod-diff_binary64
138×*-un-lft-identity_binary64
138×add-sqr-sqrt_binary64
134×add-cube-cbrt_binary64
130×exp-sum_binary64
Counts
2 → 210
Calls

2 calls:

17.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
10.0ms
(-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im))

simplify288.0ms (2.8%)

Algorithm
egg-herbie
Rules
849×fma-neg_binary64
353×associate-*l*_binary64
348×cancel-sign-sub-inv_binary64
337×associate-*r*_binary64
312×distribute-rgt-in_binary64
Counts
246 → 262
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03856318
16015551
222104517
345614512
450414512

prune159.0ms (1.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2593262
Fresh011
Picked011
Done000
Total2595264
Error
0.1b
Counts
264 → 5
Alt Table
StatusErrorProgram
56.9b
(*.f64 (cos.f64 re) (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))))
1.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))
56.9b
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
59.0b
(exp.f64 (+.f64 (log.f64 (*.f64 1/2 (cos.f64 re))) (log.f64 (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))))
1.1b
(neg.f64 (fma.f64 im (cos.f64 re) (*.f64 (cos.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5))))))
Compiler

Compiled 10297 to 3903 computations (62.1% saved)

localize18.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))
0.0b
(*.f64 1/2520 (pow.f64 im 7))
0.1b
(*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))

series70.0ms (0.7%)

Counts
3 → 36
Calls

3 calls:

62.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))
4.0ms
(fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))
4.0ms
(*.f64 1/2520 (pow.f64 im 7))

rewrite13.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
17×associate-*r*_binary64
14×add-sqr-sqrt_binary64
13×add-exp-log_binary64
10×add-cbrt-cube_binary64
*-un-lft-identity_binary64
Counts
3 → 67
Calls

3 calls:

5.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))
4.0ms
(*.f64 1/2520 (pow.f64 im 7))
0.0ms
(fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))

simplify83.0ms (0.8%)

Algorithm
egg-herbie
Rules
790×distribute-rgt-in_binary64
274×associate-*r*_binary64
262×associate-*l*_binary64
245×cancel-sign-sub-inv_binary64
190×fma-def_binary64
Counts
103 → 121
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02453093
16642784
224762690
356212690

prune170.0ms (1.7%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1147121
Fresh123
Picked101
Done011
Total11610126
Error
0.0b
Counts
126 → 10
Alt Table
StatusErrorProgram
56.9b
(*.f64 (cos.f64 re) (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))))
2.3b
(*.f64 (*.f64 (cbrt.f64 (*.f64 -1/2 (*.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))) (cos.f64 re)))) (cbrt.f64 (*.f64 -1/2 (*.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))) (cos.f64 re))))) (cbrt.f64 (*.f64 -1/2 (*.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))) (cos.f64 re)))))
1.1b
(neg.f64 (fma.f64 im (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 5) 1/120 (*.f64 (pow.f64 im 3) 1/6)))))
59.0b
(exp.f64 (+.f64 (log.f64 (*.f64 1/2 (cos.f64 re))) (log.f64 (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))))
2.4b
(*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))))
27.3b
(*.f64 -1/2 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))
39.4b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))) (*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))) (*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))))
56.9b
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
39.3b
(*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (cbrt.f64 (*.f64 (*.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))))
34.9b
(*.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (sqrt.f64 (neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))) (sqrt.f64 (neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))))
Compiler

Compiled 4817 to 3684 computations (23.5% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series72.0ms (0.7%)

Counts
4 → 72
Calls

4 calls:

35.0ms
(fma.f64 im (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 5) 1/120 (*.f64 (pow.f64 im 3) 1/6))))
29.0ms
(*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 5) 1/120 (*.f64 (pow.f64 im 3) 1/6)))
4.0ms
(fma.f64 (pow.f64 im 5) 1/120 (*.f64 (pow.f64 im 3) 1/6))
3.0ms
(*.f64 (pow.f64 im 3) 1/6)

rewrite11.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt_binary64
15×associate-*l*_binary64
11×add-exp-log_binary64
10×*-un-lft-identity_binary64
10×add-cube-cbrt_binary64
Counts
4 → 75
Calls

4 calls:

5.0ms
(*.f64 (pow.f64 im 3) 1/6)
3.0ms
(*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 5) 1/120 (*.f64 (pow.f64 im 3) 1/6)))
0.0ms
(fma.f64 (pow.f64 im 5) 1/120 (*.f64 (pow.f64 im 3) 1/6))
0.0ms
(fma.f64 im (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 5) 1/120 (*.f64 (pow.f64 im 3) 1/6))))

simplify97.0ms (1%)

Algorithm
egg-herbie
Rules
954×fma-neg_binary64
515×cancel-sign-sub-inv_binary64
433×associate--l+_binary64
281×distribute-rgt-in_binary64
263×distribute-lft-in_binary64
Counts
147 → 147
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01782967
14122664
218172612
346442610
453972610

prune207.0ms (2%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1443147
Fresh268
Picked011
Done011
Total14611157
Error
0.0b
Counts
157 → 11
Alt Table
StatusErrorProgram
1.1b
(neg.f64 (fma.f64 im (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 5) 1/120 (*.f64 (pow.f64 im 3) 1/6)))))
59.0b
(exp.f64 (+.f64 (log.f64 (*.f64 1/2 (cos.f64 re))) (log.f64 (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))))
2.4b
(*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))))
27.3b
(*.f64 -1/2 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))
39.3b
(*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (cbrt.f64 (*.f64 (*.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))))
33.3b
(neg.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))) (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))))
56.9b
(*.f64 (cos.f64 re) (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))))
39.4b
(neg.f64 (cbrt.f64 (*.f64 (*.f64 (fma.f64 im (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 5) 1/120 (*.f64 (pow.f64 im 3) 1/6)))) (fma.f64 im (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 5) 1/120 (*.f64 (pow.f64 im 3) 1/6))))) (fma.f64 im (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 5) 1/120 (*.f64 (pow.f64 im 3) 1/6)))))))
56.9b
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
34.9b
(*.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (sqrt.f64 (neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))) (sqrt.f64 (neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))))
2.4b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))) (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))) (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))))
Compiler

Compiled 4683 to 3209 computations (31.5% saved)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))))
0.3b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))
0.5b
(*.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))
0.6b
(cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))

series91.0ms (0.9%)

Counts
4 → 60
Calls

4 calls:

65.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))))
13.0ms
(*.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))
8.0ms
(cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))
5.0ms
(*.f64 (*.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))

rewrite30.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
35×pow1_binary64
26×add-sqr-sqrt_binary64
23×cbrt-prod_binary64
18×associate-*r*_binary64
16×*-un-lft-identity_binary64
Counts
4 → 117
Calls

4 calls:

6.0ms
(*.f64 (*.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))
5.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))))
4.0ms
(*.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))
1.0ms
(cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))

simplify162.0ms (1.6%)

Algorithm
egg-herbie
Rules
340×associate-*r*_binary64
333×cancel-sign-sub-inv_binary64
313×associate-*l*_binary64
260×times-frac_binary64
259×fma-def_binary64
Counts
177 → 240
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03558175
19457356
233006440
351906440

prune608.0ms (5.9%)

Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New3171318
Fresh088
Picked011
Done022
Total31712329
Error
0.0b
Counts
329 → 12
Alt Table
StatusErrorProgram
1.1b
(neg.f64 (fma.f64 im (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 5) 1/120 (*.f64 (pow.f64 im 3) 1/6)))))
59.0b
(exp.f64 (+.f64 (log.f64 (*.f64 1/2 (cos.f64 re))) (log.f64 (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))))
2.4b
(*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))))
27.3b
(*.f64 -1/2 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))
39.3b
(*.f64 (*.f64 1/2 (cos.f64 re)) (neg.f64 (cbrt.f64 (*.f64 (*.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))) (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))))
33.3b
(neg.f64 (*.f64 (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))) (sqrt.f64 (*.f64 (cos.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))))
56.9b
(*.f64 (cos.f64 re) (fma.f64 (exp.f64 im) -1/2 (/.f64 1/2 (exp.f64 im))))
39.4b
(neg.f64 (cbrt.f64 (*.f64 (*.f64 (fma.f64 im (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 5) 1/120 (*.f64 (pow.f64 im 3) 1/6)))) (fma.f64 im (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 5) 1/120 (*.f64 (pow.f64 im 3) 1/6))))) (fma.f64 im (cos.f64 re) (*.f64 (cos.f64 re) (fma.f64 (pow.f64 im 5) 1/120 (*.f64 (pow.f64 im 3) 1/6)))))))
56.9b
(*.f64 (*.f64 1/2 (cos.f64 re)) (-.f64 (exp.f64 (-.f64 0 im)) (exp.f64 im)))
2.6b
(*.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (*.f64 (cbrt.f64 (neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))) (cbrt.f64 (neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))))) (cbrt.f64 (neg.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))) (cbrt.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))))))
34.9b
(*.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (sqrt.f64 (neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7)))))))) (sqrt.f64 (neg.f64 (fma.f64 1/60 (pow.f64 im 5) (fma.f64 1/3 (pow.f64 im 3) (fma.f64 im 2 (*.f64 1/2520 (pow.f64 im 7))))))))
2.4b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))) (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))) (cbrt.f64 (*.f64 (cos.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))))
Compiler

Compiled 22904 to 18162 computations (20.7% saved)

regimes543.0ms (5.3%)

Accuracy

Total 0.5b remaining (90.8%)

Threshold costs 0.5b (90.8%)

Counts
70 → 1
Compiler

Compiled 12157 to 9474 computations (22.1% saved)

simplify4.0ms (0%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
02235
13135
23833
35133
45633
55933
66033
75933

end382.0ms (3.7%)

Compiler

Compiled 567 to 438 computations (22.8% saved)

Profiling

Loading profile data...