Details

Time bar (total: 4.2s)

analyze360.0ms (8.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%50%0%3
62.5%37.5%0%4
68.7%31.2%0%5
71.8%28.1%0%6
73.4%26.5%0%7
74.2%25.8%0%8
74.6%25.4%0%9
74.8%25.2%0%10
74.9%25.1%0%11
74.9%25%0%12
74.9%25%0%13
75%25%0%14
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample86.0ms (2.1%)

Algorithm
intervals
Results
33.0ms79×body1024valid
13.0ms39×body2048valid
10.0ms42×body512valid
4.0ms72×body128valid
3.0ms23×body256valid
0.0msbody4096valid
Compiler

Compiled 22 to 16 computations (27.3% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
hypot-1-def_binary64
fma-def_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0812
1139
2149
3139

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
45.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
45.7b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 30 to 21 computations (30% saved)

localize4.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 1 x)
1.2b
(+.f64 x (hypot.f64 1 x))
3.5b
(log.f64 (+.f64 x (hypot.f64 1 x)))

series9.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

4.0ms
(log.f64 (+.f64 x (hypot.f64 1 x)))
3.0ms
(+.f64 x (hypot.f64 1 x))
3.0ms
(hypot.f64 1 x)

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-exp-log_binary64
Counts
3 → 44
Calls

3 calls:

4.0ms
(+.f64 x (hypot.f64 1 x))
2.0ms
(log.f64 (+.f64 x (hypot.f64 1 x)))
0.0ms
(hypot.f64 1 x)

simplify74.0ms (1.8%)

Algorithm
egg-herbie
Rules
910×fma-neg_binary64
469×cancel-sign-sub-inv_binary64
426×associate-/r*_binary64
376×fma-def_binary64
361×sub-neg_binary64
Counts
80 → 113
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01481089
13941025
29591013
326751013
449991013
553381013

prune68.0ms (1.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1112113
Fresh000
Picked011
Done000
Total1113114
Error
0b
Counts
114 → 3
Alt Table
StatusErrorProgram
45.7b
(log.f64 (+.f64 x (hypot.f64 1 x)))
32.9b
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))
45.6b
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
Compiler

Compiled 1585 to 1194 computations (24.7% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 3/40 (pow.f64 x 5) x)
20.1b
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))

series8.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

5.0ms
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))
3.0ms
(fma.f64 3/40 (pow.f64 x 5) x)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 20
Calls

2 calls:

0.0ms
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))
0.0ms
(fma.f64 3/40 (pow.f64 x 5) x)

simplify55.0ms (1.3%)

Algorithm
egg-herbie
Rules
612×associate-*l*_binary64
578×associate-*r*_binary64
480×distribute-lft-in_binary64
480×distribute-rgt-in_binary64
291×fma-def_binary64
Counts
44 → 31
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
036584
165520
2153518
3599518
43541518
54941518

prune20.0ms (0.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New31031
Fresh011
Picked011
Done011
Total31334
Error
0b
Counts
34 → 3
Alt Table
StatusErrorProgram
45.7b
(log.f64 (+.f64 x (hypot.f64 1 x)))
32.9b
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))
45.6b
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
Compiler

Compiled 510 to 389 computations (23.7% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 1/16 (pow.f64 x 5))
0.2b
(/.f64 1/8 (pow.f64 x 3))
11.2b
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
17.5b
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))

series17.0ms (0.4%)

Counts
4 → 24
Calls

4 calls:

5.0ms
(/.f64 1/8 (pow.f64 x 3))
4.0ms
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
4.0ms
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))
3.0ms
(/.f64 1/16 (pow.f64 x 5))

rewrite135.0ms (3.2%)

Algorithm
rewrite-expression-head
Rules
487×*-un-lft-identity_binary64
369×times-frac_binary64
245×add-sqr-sqrt_binary64
219×add-cube-cbrt_binary64
200×prod-diff_binary64
Counts
4 → 412
Calls

4 calls:

40.0ms
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
32.0ms
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))
4.0ms
(/.f64 1/8 (pow.f64 x 3))
3.0ms
(/.f64 1/16 (pow.f64 x 5))

simplify343.0ms (8.2%)

Algorithm
egg-herbie
Rules
424×fma-neg_binary64
326×unswap-sqr_binary64
251×distribute-rgt-neg-in_binary64
209×associate-*l*_binary64
203×associate-*r*_binary64
Counts
436 → 443
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
043117011
181013622
2298810097
3481110097
4489310097

prune417.0ms (10%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New4430443
Fresh000
Picked011
Done022
Total4433446
Error
0b
Counts
446 → 3
Alt Table
StatusErrorProgram
45.7b
(log.f64 (+.f64 x (hypot.f64 1 x)))
32.9b
(fma.f64 (pow.f64 x 3) -1/6 (fma.f64 3/40 (pow.f64 x 5) x))
45.6b
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
Compiler

Compiled 17669 to 14411 computations (18.4% saved)

regimes98.0ms (2.3%)

Accuracy

Total 0.1b remaining (73.8%)

Threshold costs 0.1b (73.8%)

Counts
20 → 3
Compiler

Compiled 729 to 586 computations (19.6% saved)

bsearch32.0ms (0.8%)

Steps
ItersRangePoint
8
0.0018729809278703795
0.48956141343587944
0.007715320219142624
9
-354.9604004087521
-0.0017117114201246108
-1.0690722005650195
Compiler

Compiled 2 to 1 computations (50% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03060
13660
24460
35860
46360
56560
66260

end1.0ms (0%)

Compiler

Compiled 42 to 32 computations (23.8% saved)

sample2.4s (57.8%)

Algorithm
intervals
Results
1.1s2431×body1024valid
501.0ms1251×body2048valid
298.0ms1225×body512valid
140.0ms2422×body128valid
84.0ms611×body256valid
40.0ms60×body4096valid
Compiler

Compiled 90 to 69 computations (23.3% saved)

Profiling

Loading profile data...