Details

Time bar (total: 6.2s)

analyze549.0ms (8.9%)

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

sample4.3s (70.4%)

Results
1.4s2087×body1024valid
1.1s2022×body1024invalid
632.0ms4652×body128valid
374.0ms1024×body512valid
336.0ms1022×body512invalid
135.0ms480×body256invalid
120.0ms490×body256valid
100.0ms673×body128invalid
5.0msbody2048valid
Compiler

Compiled 41 to 32 computations (22% saved)

simplify114.0ms (1.8%)

Algorithm
egg-herbie
Rules
575×fma-def_binary64
533×associate-/l*_binary64
430×unswap-sqr_binary64
374×times-frac_binary64
354×fma-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01118
12818
26518
39917
415417
526917
653217
791617
8333217
9326017
10400617
11426517
12469217
13484017
14489117
15491717

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
Compiler

Compiled 50 to 33 computations (34% saved)

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

series40.0ms (0.6%)

Counts
3 → 40
Calls

3 calls:

26.0ms
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
8.0ms
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
6.0ms
(/.f64 1/2 (exp.f64 im))

rewrite11.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64
13×*-un-lft-identity_binary64
13×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
3 → 61
Calls

3 calls:

5.0ms
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
3.0ms
(/.f64 1/2 (exp.f64 im))
0.0ms
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))

simplify98.0ms (1.6%)

Algorithm
egg-herbie
Rules
845×fma-neg_binary64
494×associate-*l*_binary64
433×fma-def_binary64
422×associate-*r*_binary64
335×times-frac_binary64
Counts
101 → 107
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01631806
13781669
211421633
338061629
450001629
551481629

prune80.0ms (1.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1061107
Fresh000
Picked011
Done000
Total1062108
Error
0b
Counts
108 → 2
Alt Table
StatusErrorProgram
0.7b
(*.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re))) (*.f64 (cbrt.f64 (cos.f64 re)) (fma.f64 1/2 (exp.f64 im) (/.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 2006 to 1101 computations (45.1% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1/2 (exp.f64 im))
0.1b
(*.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re))) (*.f64 (cbrt.f64 (cos.f64 re)) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))
0.2b
(*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re)))
0.3b
(cbrt.f64 (cos.f64 re))

series437.0ms (7.1%)

Counts
3 → 48
Calls

3 calls:

225.0ms
(*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re)))
188.0ms
(cbrt.f64 (cos.f64 re))
24.0ms
(*.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re))) (*.f64 (cbrt.f64 (cos.f64 re)) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))

rewrite17.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
22×pow1_binary64
20×add-sqr-sqrt_binary64
19×cbrt-prod_binary64
17×add-exp-log_binary64
12×*-un-lft-identity_binary64
Counts
3 → 83
Calls

3 calls:

7.0ms
(*.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re))) (*.f64 (cbrt.f64 (cos.f64 re)) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))
5.0ms
(*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re)))
1.0ms
(cbrt.f64 (cos.f64 re))

simplify126.0ms (2%)

Algorithm
egg-herbie
Rules
583×fma-def_binary64
367×fma-neg_binary64
337×distribute-rgt-in_binary64
308×distribute-lft-in_binary64
273×unswap-sqr_binary64
Counts
131 → 138
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01742187
14241864
215701790
341271773
448771773
550211773

prune146.0ms (2.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2250225
Fresh000
Picked011
Done011
Total2252227
Error
0b
Counts
227 → 2
Alt Table
StatusErrorProgram
0.7b
(*.f64 (*.f64 (cbrt.f64 (cos.f64 re)) (cbrt.f64 (cos.f64 re))) (*.f64 (cbrt.f64 (cos.f64 re)) (fma.f64 1/2 (exp.f64 im) (/.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 5815 to 2338 computations (59.8% saved)

regimes132.0ms (2.1%)

Accuracy

Total 0.0b remaining (15%)

Threshold costs 0.0b (15%)

Counts
21 → 1
Compiler

Compiled 2044 to 1409 computations (31.1% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11017
21017

end53.0ms (0.9%)

Compiler

Compiled 61 to 39 computations (36.1% saved)

Profiling

Loading profile data...