Details

Time bar (total: 5.5s)

analyze485.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 (78.5%)

Results
1.3s2053×body1024valid
1.0s1952×body1024invalid
620.0ms4647×body128valid
376.0ms1037×body512invalid
372.0ms1032×body512valid
145.0ms553×body256invalid
123.0ms519×body256valid
106.0ms735×body128invalid
8.0msbody2048valid
Compiler

Compiled 41 to 32 computations (22% saved)

simplify115.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

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 76 to 53 computations (30.3% saved)

localize8.0ms (0.1%)

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

series18.0ms (0.3%)

Counts
2 → 32
Calls

2 calls:

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

rewrite14.0ms (0.3%)

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:

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

simplify71.0ms (1.3%)

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

prune52.0ms (0.9%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New82082
Fresh011
Picked011
Done000
Total82284
Error
0b
Counts
84 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Compiler

Compiled 1635 to 688 computations (57.9% saved)

localize8.0ms (0.2%)

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 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
0.0b
(/.f64 1/2 (exp.f64 im))

series36.0ms (0.7%)

Counts
3 → 40
Calls

3 calls:

23.0ms
(*.f64 (cos.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
7.0ms
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
6.0ms
(/.f64 1/2 (exp.f64 im))

rewrite8.0ms (0.1%)

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:

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

simplify105.0ms (1.9%)

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

prune75.0ms (1.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

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

Compiled 1975 to 1087 computations (45% saved)

regimes126.0ms (2.3%)

Accuracy

Total 0.0b remaining (16.4%)

Threshold costs 0.0b (16.4%)

Counts
14 → 1
Compiler

Compiled 1069 to 810 computations (24.2% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11017
21017

end50.0ms (0.9%)

Compiler

Compiled 52 to 37 computations (28.8% saved)

Profiling

Loading profile data...