Details

Time bar (total: 4.8s)

analyze473.0ms (9.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)

sample236.0ms (4.9%)

Algorithm
intervals
Results
28.0ms64×body1024valid
23.0ms63×body1024invalid
9.0ms142×body128valid
7.0ms33×body512valid
6.0ms33×body512invalid
2.0ms16×body256valid
2.0ms23×body128invalid
1.0ms11×body256invalid
1.0msbody2048valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify122.0ms (2.5%)

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Compiler

Compiled 50 to 35 computations (30% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series19.0ms (0.4%)

Counts
2 → 28
Calls

2 calls:

17.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
2.0ms
(cos.f64 re)

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
*-un-lft-identity_binary64
associate-*r*_binary64
Counts
2 → 34
Calls

2 calls:

7.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
1.0ms
(cos.f64 re)

simplify82.0ms (1.7%)

Algorithm
egg-herbie
Rules
659×fma-neg_binary64
609×fma-def_binary64
394×times-frac_binary64
365×*-commutative_binary64
352×distribute-rgt-in_binary64
Counts
62 → 69
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01331303
13761114
213771092
339271092
449601092
550541092

prune49.0ms (1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New67269
Fresh000
Picked011
Done000
Total67370
Error
0b
Counts
70 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.3b
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
0.3b
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) 3))
Compiler

Compiled 1436 to 643 computations (55.2% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series130.0ms (2.7%)

Counts
4 → 76
Calls

4 calls:

73.0ms
(pow.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) 3)
26.0ms
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
24.0ms
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) 3))
7.0ms
(/.f64 1/2 (exp.f64 im))

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt_binary64
16×*-un-lft-identity_binary64
16×add-cube-cbrt_binary64
11×add-cbrt-cube_binary64
10×add-exp-log_binary64
Counts
4 → 92
Calls

4 calls:

3.0ms
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
3.0ms
(pow.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) 3)
3.0ms
(/.f64 1/2 (exp.f64 im))
1.0ms
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) 3))

simplify93.0ms (1.9%)

Algorithm
egg-herbie
Rules
371×cancel-sign-sub-inv_binary64
286×distribute-rgt-in_binary64
266×distribute-lft-in_binary64
210×fma-def_binary64
170×associate-*r*_binary64
Counts
168 → 156
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02633836
16323671
223483607
350143607

prune129.0ms (2.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1560156
Fresh011
Picked011
Done011
Total1563159
Error
0b
Counts
159 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.3b
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
0.3b
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) 3))
Compiler

Compiled 3958 to 2413 computations (39% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series28.0ms (0.6%)

Counts
2 → 48
Calls

2 calls:

17.0ms
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
11.0ms
(*.f64 (cos.f64 re) (*.f64 im im))

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
add-sqr-sqrt_binary64
associate-*l*_binary64
Counts
2 → 31
Calls

2 calls:

4.0ms
(*.f64 (cos.f64 re) (*.f64 im im))
0.0ms
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))

simplify74.0ms (1.5%)

Algorithm
egg-herbie
Rules
911×fma-neg_binary64
435×associate-*l*_binary64
358×associate-*r*_binary64
292×fma-def_binary64
290×distribute-rgt-neg-in_binary64
Counts
79 → 71
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0921231
12231130
27121039
327051033
449211033
549591033

prune76.0ms (1.6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1050105
Fresh000
Picked011
Done022
Total1053108
Error
0b
Counts
108 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.3b
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
0.3b
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) 3))
Compiler

Compiled 1770 to 789 computations (55.4% saved)

regimes123.0ms (2.6%)

Accuracy

Total 0.0b remaining (54.8%)

Threshold costs 0.0b (54.8%)

Counts
21 → 1
Compiler

Compiled 1634 to 1172 computations (28.3% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01118
11818
22018
32118
42118

end1.0ms (0%)

Compiler

Compiled 13 to 10 computations (23.1% saved)

sample3.1s (64.7%)

Algorithm
intervals
Results
957.0ms2006×body1024valid
682.0ms1933×body1024invalid
327.0ms4528×body128valid
232.0ms955×body512valid
192.0ms962×body512invalid
89.0ms718×body128invalid
74.0ms505×body256valid
63.0ms449×body256invalid
6.0msbody2048valid
Compiler

Compiled 70 to 52 computations (25.7% saved)

Profiling

Loading profile data...