Details

Time bar (total: 5.6s)

analyze598.0ms (10.8%)

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)

sample110.0ms (2%)

Algorithm
intervals
Results
32.0ms66×body1024valid
25.0ms68×body1024invalid
18.0ms149×body128valid
8.0ms42×body512invalid
6.0ms28×body512valid
3.0ms19×body256invalid
2.0ms13×body256valid
1.0ms17×body128invalid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify125.0ms (2.3%)

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 → 1
Iterations

Useful iterations: 3 (0.0ms)

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

prune2.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 39 to 29 computations (25.6% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite78.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
0b
Rules
20×pow1_binary64
12×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
10×flip3-+_binary64
10×add-exp-log_binary64
Counts
2 → 91
Calls

2 calls:

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

Compiled 1629 to 561 computations (65.6% saved)

series45.0ms (0.8%)

Error
0.0b
Counts
2 → 18
Calls

2 calls:

25.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
6.0ms
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))
Compiler

Compiled 768 to 526 computations (31.5% saved)

simplify96.0ms (1.7%)

Algorithm
egg-herbie
Rules
578×fma-neg_binary64
465×cancel-sign-sub-inv_binary64
301×prod-exp_binary64
276×associate-*l*_binary64
266×associate-*r*_binary64
Counts
109 → 59
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01722097
14971770
222391731
342491731
450971731

prune36.0ms (0.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New57259
Fresh000
Picked011
Done000
Total57360
Error
0b
Counts
60 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.3b
(-.f64 (exp.f64 (log1p.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)))) 1)
1.6b
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
Compiler

Compiled 968 to 502 computations (48.1% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 1/2 (exp.f64 im))
0.2b
(exp.f64 (log1p.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))))
0.2b
(log1p.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)))
0.3b
(-.f64 (exp.f64 (log1p.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)))) 1)

rewrite165.0ms (3%)

Algorithm
rewrite-expression-head
Error
0b
Rules
43×add-cube-cbrt_binary64
19×add-sqr-sqrt_binary64
17×pow1_binary64
16×add-cbrt-cube_binary64
13×expm1-log1p-u_binary64
Counts
4 → 153
Calls

4 calls:

15.0ms
(-.f64 (exp.f64 (log1p.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)))) 1)
13.0ms
(/.f64 1/2 (exp.f64 im))
10.0ms
(exp.f64 (log1p.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))))
9.0ms
(log1p.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)))
Compiler

Compiled 3762 to 2452 computations (34.8% saved)

series327.0ms (5.9%)

Error
0b
Counts
4 → 42
Calls

4 calls:

95.0ms
(-.f64 (exp.f64 (log1p.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)))) 1)
92.0ms
(exp.f64 (log1p.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))))
90.0ms
(log1p.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)))
8.0ms
(/.f64 1/2 (exp.f64 im))
Compiler

Compiled 5174 to 3772 computations (27.1% saved)

simplify141.0ms (2.5%)

Algorithm
egg-herbie
Rules
359×cancel-sign-sub-inv_binary64
230×sub-neg_binary64
209×fma-neg_binary64
185×fma-def_binary64
176×unswap-sqr_binary64
Counts
195 → 117
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03516037
19404795
236984382
349834382

prune83.0ms (1.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1170117
Fresh011
Picked011
Done011
Total1173120
Error
0b
Counts
120 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.3b
(-.f64 (exp.f64 (log1p.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)))) 1)
1.6b
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
Compiler

Compiled 2874 to 1692 computations (41.1% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite62.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
0b
Rules
10×add-exp-log_binary64
10×add-sqr-sqrt_binary64
pow1_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 68
Calls

2 calls:

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

Compiled 948 to 302 computations (68.1% saved)

series49.0ms (0.9%)

Error
0b
Counts
2 → 18
Calls

2 calls:

25.0ms
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
12.0ms
(*.f64 (cos.f64 re) (*.f64 im im))
Compiler

Compiled 598 to 446 computations (25.4% saved)

simplify88.0ms (1.6%)

Algorithm
egg-herbie
Rules
742×fma-neg_binary64
535×prod-exp_binary64
347×fma-def_binary64
306×distribute-rgt-neg-in_binary64
286×*-commutative_binary64
Counts
86 → 55
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01041209
12671098
29481013
32959987
44267981
55375981

prune34.0ms (0.6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New55055
Fresh000
Picked011
Done022
Total55358
Error
0b
Counts
58 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.3b
(-.f64 (exp.f64 (log1p.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)))) 1)
1.6b
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
Compiler

Compiled 662 to 323 computations (51.2% saved)

regimes202.0ms (3.6%)

Accuracy

Total 0.0b remaining (36.9%)

Threshold costs 0.0b (36.9%)

Compiler

Compiled 2784 to 2155 computations (22.6% 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
01124
11724
21924
32024
42024

end1.0ms (0%)

Compiler

Compiled 17 to 12 computations (29.4% saved)

sample3.3s (59.1%)

Algorithm
intervals
Results
1.0s1962×body1024valid
741.0ms2008×body1024invalid
351.0ms4540×body128valid
258.0ms986×body512valid
240.0ms960×body512invalid
81.0ms504×body256valid
66.0ms477×body256invalid
61.0ms676×body128invalid
9.0msbody2048valid
1.0msbody2048invalid
Compiler

Compiled 75 to 55 computations (26.7% saved)

Profiling

Loading profile data...