Details

Time bar (total: 5.5s)

analyze473.0ms (8.7%)

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.4s (81.5%)

Results
1.3s2076×body1024valid
1.1s2033×body1024invalid
666.0ms4582×body128valid
371.0ms1063×body512valid
355.0ms1098×body512invalid
197.0ms513×body256invalid
124.0ms529×body256valid
103.0ms785×body128invalid
7.0msbody2048valid
Compiler

Compiled 41 to 32 computations (22% saved)

simplify110.0ms (2%)

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

prune2.0ms (0%)

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)

localize8.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series17.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

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

rewrite22.0ms (0.4%)

Algorithm
batch-egg-rewrite
Rules
119×add-sqr-sqrt_binary64
112×log1p-expm1-u_binary64
112×expm1-log1p-u_binary64
111×add-log-exp_binary64
109×add-cbrt-cube_binary64
Counts
1 → 0
Calls

1 calls:

22.0ms
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01118
123318
22518
000
100

simplify42.0ms (0.8%)

Algorithm
egg-herbie
Rules
705×fma-neg_binary64
578×associate--r+_binary64
406×fma-def_binary64
240×sub-neg_binary64
179×distribute-rgt-neg-in_binary64
Counts
24 → 18
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
068585
1186533
2586517
32279476
44999476

prune18.0ms (0.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New17118
Fresh000
Picked011
Done000
Total17219
Error
0b
Counts
19 → 2
Alt Table
StatusErrorProgram
0.9b
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Compiler

Compiled 417 to 235 computations (43.6% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series25.0ms (0.5%)

Counts
2 → 48
Calls

2 calls:

15.0ms
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
10.0ms
(*.f64 (cos.f64 re) (*.f64 im im))

rewrite70.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
683×log1p-expm1-u_binary64
683×expm1-log1p-u_binary64
141×expm1-udef_binary64
141×log1p-udef_binary64
127×log-pow_binary64
Counts
2 → 43
Calls

2 calls:

68.0ms
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
68.0ms
(*.f64 (cos.f64 re) (*.f64 im im))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0824
116124
2178324
3495724
4493524
000
100

simplify62.0ms (1.1%)

Algorithm
egg-herbie
Rules
911×fma-neg_binary64
290×distribute-rgt-neg-in_binary64
280×fma-def_binary64
279×sub-neg_binary64
278×distribute-lft-neg-in_binary64
Counts
91 → 66
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
050728
1148715
2511644
32186637
44884637
55012637

prune44.0ms (0.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New66066
Fresh000
Picked011
Done011
Total66268
Error
0b
Counts
68 → 2
Alt Table
StatusErrorProgram
0.9b
(fma.f64 1/2 (*.f64 (cos.f64 re) (*.f64 im im)) (cos.f64 re))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Compiler

Compiled 1103 to 545 computations (50.6% saved)

regimes65.0ms (1.2%)

Accuracy

Total 0.0b remaining (31.7%)

Threshold costs 0.0b (31.7%)

Counts
11 → 1
Compiler

Compiled 722 to 530 computations (26.6% saved)

simplify2.0ms (0%)

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

end46.0ms (0.8%)

Compiler

Compiled 51 to 37 computations (27.5% saved)

Profiling

Loading profile data...