Details

Time bar (total: 5.4s)

analyze507.0ms (9.4%)

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 (82.5%)

Results
1.4s2096×body1024valid
1.1s2059×body1024invalid
652.0ms4600×body128valid
408.0ms1086×body512valid
352.0ms993×body512invalid
121.0ms490×body256invalid
112.0ms467×body256valid
102.0ms705×body128invalid
8.0msbody2048valid
Compiler

Compiled 41 to 32 computations (22% saved)

simplify111.0ms (2.1%)

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
0b
Counts
3 → 1
Alt Table
StatusErrorProgram
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
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.0b
(+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

series20.0ms (0.4%)

Counts
2 → 32
Calls

2 calls:

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

rewrite13.0ms (0.2%)

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

2 calls:

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

simplify75.0ms (1.4%)

Algorithm
egg-herbie
Rules
614×fma-def_binary64
445×fma-neg_binary64
389×times-frac_binary64
362×*-commutative_binary64
355×distribute-rgt-in_binary64
Counts
74 → 82
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01371507
13891292
213871265
339151265
450441265

prune46.0ms (0.9%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New82082
Fresh000
Picked011
Done000
Total82183
Error
0b
Counts
83 → 1
Alt Table
StatusErrorProgram
0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Compiler

Compiled 1609 to 670 computations (58.4% saved)

regimes110.0ms (2.1%)

Accuracy

Total 0.0b remaining (0%)

Threshold costs 0.0b (0%)

Counts
8 → 1
Compiler

Compiled 554 to 416 computations (24.9% 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

end43.0ms (0.8%)

Compiler

Compiled 39 to 30 computations (23.1% saved)

Profiling

Loading profile data...