Details

Time bar (total: 5.1s)

analyze634.0ms (12.5%)

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)

sample100.0ms (2%)

Algorithm
intervals
Results
34.0ms72×body1024valid
22.0ms55×body1024invalid
10.0ms145×body128valid
6.0ms29×body512invalid
5.0ms21×body512valid
3.0ms22×body256invalid
2.0ms17×body256valid
2.0ms25×body128invalid
1.0msbody2048valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify113.0ms (2.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)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series20.0ms (0.4%)

Counts
2 → 32
Calls

2 calls:

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

rewrite82.0ms (1.6%)

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:

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

simplify70.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 → 80
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01371507
13871292
213861265
339151265
450441265

prune59.0ms (1.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New78280
Fresh000
Picked011
Done000
Total78381
Error
0b
Counts
81 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.9b
(*.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (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))
Compiler

Compiled 1637 to 710 computations (56.6% saved)

localize10.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.4b
(pow.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) 3)

series132.0ms (2.6%)

Counts
4 → 76
Calls

4 calls:

70.0ms
(pow.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) 3)
28.0ms
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
28.0ms
(cbrt.f64 (pow.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) 3))
6.0ms
(/.f64 1/2 (exp.f64 im))

rewrite16.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:

5.0ms
(pow.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re)) 3)
3.0ms
(*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (cos.f64 re))
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))

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

prune121.0ms (2.4%)

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.9b
(*.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (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))
Compiler

Compiled 3978 to 2423 computations (39.1% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series50.0ms (1%)

Counts
3 → 56
Calls

3 calls:

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

rewrite36.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
18×pow1_binary64
17×add-cbrt-cube_binary64
17×add-exp-log_binary64
16×sqrt-div_binary64
14×associate-*r*_binary64
Counts
3 → 80
Calls

3 calls:

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

simplify121.0ms (2.4%)

Algorithm
egg-herbie
Rules
823×fma-def_binary64
364×distribute-rgt-in_binary64
350×cancel-sign-sub-inv_binary64
344×associate-*l*_binary64
269×fma-neg_binary64
Counts
136 → 147
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02353676
16743248
224373124
349053122
449663122

prune107.0ms (2.1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2330233
Fresh000
Picked011
Done022
Total2333236
Error
0b
Counts
236 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 1/2 (cos.f64 re)) (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.9b
(*.f64 (*.f64 (*.f64 1/2 (cos.f64 re)) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))) (sqrt.f64 (+.f64 (exp.f64 (neg.f64 im)) (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))
Compiler

Compiled 6948 to 2334 computations (66.4% saved)

regimes194.0ms (3.8%)

Accuracy

Total 0.0b remaining (58.7%)

Threshold costs 0.0b (58.7%)

Counts
26 → 1
Compiler

Compiled 2522 to 1862 computations (26.2% 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 (60.8%)

Algorithm
intervals
Results
936.0ms1975×body1024valid
702.0ms1977×body1024invalid
318.0ms4546×body128valid
224.0ms969×body512valid
197.0ms952×body512invalid
109.0ms498×body256invalid
78.0ms505×body256valid
60.0ms726×body128invalid
5.0msbody2048valid
1.0msbody2048invalid
Compiler

Compiled 80 to 57 computations (28.8% saved)

Profiling

Loading profile data...