Details

Time bar (total: 12.0s)

analyze1.0s (8.6%)

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
0%99.9%0.1%5
3.1%96.8%0.1%6
15.6%81.2%3.2%7
23.4%72.6%4%8
32.4%55.8%11.8%9
36.3%50.9%12.8%10
40.7%41.5%17.9%11
42.6%38.6%18.8%12
44.5%33.5%22%13
45.5%32%22.5%14
Compiler

Compiled 18 to 12 computations (33.3% saved)

sample6.7s (55.5%)

Results
2.8s1751×body2048valid
2.2s2732×body1024valid
541.0ms1199×body512valid
322.0ms1938×body128valid
173.0ms191×body1024invalid
167.0ms601×body256valid
140.0ms246×body512invalid
86.0ms35×body4096valid
77.0ms499×body128invalid
63.0ms157×body256invalid
29.0ms22×body2048invalid
Compiler

Compiled 53 to 35 computations (34% saved)

simplify44.0ms (0.4%)

Algorithm
egg-herbie
Rules
701×fma-def_binary64
563×associate-/r/_binary64
484×associate-/r*_binary64
474×associate-*l/_binary64
421×associate-/l/_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01122
12922
26720
316420
446320
5176120
6484720
7501320

prune4.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
47.4b
Counts
3 → 2
Alt Table
StatusErrorProgram
47.6b
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
47.6b
(*.f64 n (/.f64 (fma.f64 100 (pow.f64 (+.f64 1 (/.f64 i n)) n) -100) i))
Compiler

Compiled 97 to 63 computations (35.1% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
2.6b
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
7.1b
(pow.f64 (+.f64 1 (/.f64 i n)) n)
8.9b
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))

series317.0ms (2.6%)

Counts
4 → 96
Calls

4 calls:

117.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
110.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))
59.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
29.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)

rewrite151.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
584×times-frac_binary64
502×add-sqr-sqrt_binary64
391×*-un-lft-identity_binary64
241×add-cube-cbrt_binary64
174×associate-*r*_binary64
Counts
4 → 494
Calls

4 calls:

38.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
16.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))
11.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
5.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)

simplify404.0ms (3.4%)

Algorithm
egg-herbie
Rules
961×fma-def_binary64
386×times-frac_binary64
336×*-commutative_binary64
275×+-commutative_binary64
222×associate-*r/_binary64
Counts
590 → 793
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0112323638
1350323269
2497423269

prune689.0ms (5.8%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New7849793
Fresh011
Picked101
Done000
Total78510795
Error
0.2b
Counts
795 → 10
Alt Table
StatusErrorProgram
44.7b
(*.f64 100 (/.f64 (expm1.f64 (*.f64 (log.f64 (+.f64 1 (/.f64 i n))) n)) (/.f64 i n)))
56.0b
(*.f64 100 (/.f64 (log.f64 (/.f64 i n)) (/.f64 i (*.f64 n n))))
20.4b
(*.f64 100 (/.f64 (*.f64 n (expm1.f64 i)) i))
30.4b
(-.f64 (+.f64 (*.f64 100 n) (+.f64 (*.f64 275/6 (/.f64 (pow.f64 i 3) n)) (+.f64 (*.f64 50 (*.f64 n i)) (+.f64 (*.f64 25/6 (*.f64 n (pow.f64 i 3))) (+.f64 (*.f64 50/3 (*.f64 n (pow.f64 i 2))) (*.f64 100/3 (/.f64 (pow.f64 i 2) n))))))) (+.f64 (*.f64 25 (pow.f64 i 3)) (+.f64 (*.f64 50 i) (+.f64 (*.f64 50 (pow.f64 i 2)) (*.f64 25 (/.f64 (pow.f64 i 3) (pow.f64 n 2)))))))
28.3b
(-.f64 (fma.f64 n 100 (*.f64 (*.f64 n i) 50)) (*.f64 i 50))
47.6b
(*.f64 (sqrt.f64 100) (*.f64 (/.f64 (+.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) -1) (/.f64 i n)) 10))
57.3b
(-.f64 (+.f64 (*.f64 50 (/.f64 (*.f64 (pow.f64 (log.f64 i) 2) (pow.f64 n 3)) i)) (+.f64 (*.f64 100 (/.f64 (*.f64 (pow.f64 n 2) (log.f64 i)) i)) (+.f64 (*.f64 100 (/.f64 (pow.f64 n 3) (pow.f64 i 2))) (*.f64 50 (/.f64 (*.f64 (pow.f64 n 3) (pow.f64 (log.f64 n) 2)) i))))) (+.f64 (*.f64 100 (/.f64 (*.f64 (log.f64 i) (*.f64 (pow.f64 n 3) (log.f64 n))) i)) (*.f64 100 (/.f64 (*.f64 (pow.f64 n 2) (log.f64 n)) i))))
47.6b
(/.f64 (*.f64 100 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)) (/.f64 i n))
47.6b
(*.f64 n (/.f64 (fma.f64 100 (pow.f64 (+.f64 1 (/.f64 i n)) n) -100) i))
47.6b
(*.f64 100 (*.f64 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) i) n))
Compiler

Compiled 31752 to 18088 computations (43% saved)

localize6.0ms (0%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 n (expm1.f64 i))
0.1b
(*.f64 100 (/.f64 (*.f64 n (expm1.f64 i)) i))
7.8b
(/.f64 (*.f64 n (expm1.f64 i)) i)

series32.0ms (0.3%)

Counts
3 → 72
Calls

3 calls:

13.0ms
(*.f64 100 (/.f64 (*.f64 n (expm1.f64 i)) i))
12.0ms
(/.f64 (*.f64 n (expm1.f64 i)) i)
6.0ms
(*.f64 n (expm1.f64 i))

rewrite15.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
19×add-cbrt-cube_binary64
19×add-exp-log_binary64
14×add-sqr-sqrt_binary64
10×associate-*r*_binary64
10×*-un-lft-identity_binary64
Counts
3 → 72
Calls

3 calls:

5.0ms
(*.f64 100 (/.f64 (*.f64 n (expm1.f64 i)) i))
4.0ms
(*.f64 n (expm1.f64 i))
3.0ms
(/.f64 (*.f64 n (expm1.f64 i)) i)

simplify113.0ms (0.9%)

Algorithm
egg-herbie
Rules
976×times-frac_binary64
431×fma-def_binary64
238×associate-/l/_binary64
199×distribute-rgt-in_binary64
194×distribute-lft-in_binary64
Counts
144 → 125
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01601784
13831599
213671579
347201579
449941579
549981579
649881579

prune92.0ms (0.8%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1232125
Fresh189
Picked101
Done000
Total12510135
Error
0.1b
Counts
135 → 10
Alt Table
StatusErrorProgram
20.3b
(/.f64 (*.f64 (expm1.f64 i) (*.f64 n 100)) i)
56.0b
(*.f64 100 (/.f64 (log.f64 (/.f64 i n)) (/.f64 i (*.f64 n n))))
44.7b
(*.f64 100 (/.f64 (expm1.f64 (*.f64 (log.f64 (+.f64 1 (/.f64 i n))) n)) (/.f64 i n)))
30.4b
(-.f64 (+.f64 (*.f64 100 n) (+.f64 (*.f64 275/6 (/.f64 (pow.f64 i 3) n)) (+.f64 (*.f64 50 (*.f64 n i)) (+.f64 (*.f64 25/6 (*.f64 n (pow.f64 i 3))) (+.f64 (*.f64 50/3 (*.f64 n (pow.f64 i 2))) (*.f64 100/3 (/.f64 (pow.f64 i 2) n))))))) (+.f64 (*.f64 25 (pow.f64 i 3)) (+.f64 (*.f64 50 i) (+.f64 (*.f64 50 (pow.f64 i 2)) (*.f64 25 (/.f64 (pow.f64 i 3) (pow.f64 n 2)))))))
20.5b
(*.f64 (sqrt.f64 100) (*.f64 (/.f64 (*.f64 n (expm1.f64 i)) i) 10))
28.3b
(-.f64 (fma.f64 n 100 (*.f64 (*.f64 n i) 50)) (*.f64 i 50))
57.3b
(-.f64 (+.f64 (*.f64 50 (/.f64 (*.f64 (pow.f64 (log.f64 i) 2) (pow.f64 n 3)) i)) (+.f64 (*.f64 100 (/.f64 (*.f64 (pow.f64 n 2) (log.f64 i)) i)) (+.f64 (*.f64 100 (/.f64 (pow.f64 n 3) (pow.f64 i 2))) (*.f64 50 (/.f64 (*.f64 (pow.f64 n 3) (pow.f64 (log.f64 n) 2)) i))))) (+.f64 (*.f64 100 (/.f64 (*.f64 (log.f64 i) (*.f64 (pow.f64 n 3) (log.f64 n))) i)) (*.f64 100 (/.f64 (*.f64 (pow.f64 n 2) (log.f64 n)) i))))
47.6b
(/.f64 (*.f64 100 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)) (/.f64 i n))
47.6b
(*.f64 n (/.f64 (fma.f64 100 (pow.f64 (+.f64 1 (/.f64 i n)) n) -100) i))
47.6b
(*.f64 100 (*.f64 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) i) n))
Compiler

Compiled 2216 to 1099 computations (50.4% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (expm1.f64 i) (*.f64 n 100))
7.7b
(/.f64 (*.f64 (expm1.f64 i) (*.f64 n 100)) i)

series26.0ms (0.2%)

Counts
2 → 48
Calls

2 calls:

16.0ms
(/.f64 (*.f64 (expm1.f64 i) (*.f64 n 100)) i)
9.0ms
(*.f64 (expm1.f64 i) (*.f64 n 100))

rewrite11.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
16×add-cbrt-cube_binary64
16×add-exp-log_binary64
pow1_binary64
cbrt-unprod_binary64
prod-exp_binary64
Counts
2 → 45
Calls

2 calls:

5.0ms
(/.f64 (*.f64 (expm1.f64 i) (*.f64 n 100)) i)
4.0ms
(*.f64 (expm1.f64 i) (*.f64 n 100))

simplify67.0ms (0.6%)

Algorithm
egg-herbie
Rules
470×div-sub_binary64
442×associate-*l/_binary64
418×associate-/r*_binary64
333×associate-*r/_binary64
296×fma-def_binary64
Counts
93 → 93
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01261363
13191157
213151138
346271138
458211138

prune70.0ms (0.6%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New93093
Fresh099
Picked011
Done000
Total9310103
Error
0.1b
Counts
103 → 10
Alt Table
StatusErrorProgram
20.3b
(/.f64 (*.f64 (expm1.f64 i) (*.f64 n 100)) i)
56.0b
(*.f64 100 (/.f64 (log.f64 (/.f64 i n)) (/.f64 i (*.f64 n n))))
44.7b
(*.f64 100 (/.f64 (expm1.f64 (*.f64 (log.f64 (+.f64 1 (/.f64 i n))) n)) (/.f64 i n)))
30.4b
(-.f64 (+.f64 (*.f64 100 n) (+.f64 (*.f64 275/6 (/.f64 (pow.f64 i 3) n)) (+.f64 (*.f64 50 (*.f64 n i)) (+.f64 (*.f64 25/6 (*.f64 n (pow.f64 i 3))) (+.f64 (*.f64 50/3 (*.f64 n (pow.f64 i 2))) (*.f64 100/3 (/.f64 (pow.f64 i 2) n))))))) (+.f64 (*.f64 25 (pow.f64 i 3)) (+.f64 (*.f64 50 i) (+.f64 (*.f64 50 (pow.f64 i 2)) (*.f64 25 (/.f64 (pow.f64 i 3) (pow.f64 n 2)))))))
20.5b
(*.f64 (sqrt.f64 100) (*.f64 (/.f64 (*.f64 n (expm1.f64 i)) i) 10))
28.3b
(-.f64 (fma.f64 n 100 (*.f64 (*.f64 n i) 50)) (*.f64 i 50))
57.3b
(-.f64 (+.f64 (*.f64 50 (/.f64 (*.f64 (pow.f64 (log.f64 i) 2) (pow.f64 n 3)) i)) (+.f64 (*.f64 100 (/.f64 (*.f64 (pow.f64 n 2) (log.f64 i)) i)) (+.f64 (*.f64 100 (/.f64 (pow.f64 n 3) (pow.f64 i 2))) (*.f64 50 (/.f64 (*.f64 (pow.f64 n 3) (pow.f64 (log.f64 n) 2)) i))))) (+.f64 (*.f64 100 (/.f64 (*.f64 (log.f64 i) (*.f64 (pow.f64 n 3) (log.f64 n))) i)) (*.f64 100 (/.f64 (*.f64 (pow.f64 n 2) (log.f64 n)) i))))
47.6b
(/.f64 (*.f64 100 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)) (/.f64 i n))
47.6b
(*.f64 n (/.f64 (fma.f64 100 (pow.f64 (+.f64 1 (/.f64 i n)) n) -100) i))
47.6b
(*.f64 100 (*.f64 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) i) n))
Compiler

Compiled 1780 to 1032 computations (42% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 n (expm1.f64 i))
0.1b
(*.f64 (/.f64 (*.f64 n (expm1.f64 i)) i) 10)
0.2b
(*.f64 (sqrt.f64 100) (*.f64 (/.f64 (*.f64 n (expm1.f64 i)) i) 10))
7.8b
(/.f64 (*.f64 n (expm1.f64 i)) i)

series29.0ms (0.2%)

Counts
2 → 48
Calls

2 calls:

15.0ms
(*.f64 (sqrt.f64 100) (*.f64 (/.f64 (*.f64 n (expm1.f64 i)) i) 10))
13.0ms
(*.f64 (/.f64 (*.f64 n (expm1.f64 i)) i) 10)

rewrite17.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
25×add-cbrt-cube_binary64
25×add-exp-log_binary64
13×associate-*l*_binary64
12×cbrt-unprod_binary64
12×prod-exp_binary64
Counts
2 → 57
Calls

2 calls:

8.0ms
(*.f64 (sqrt.f64 100) (*.f64 (/.f64 (*.f64 n (expm1.f64 i)) i) 10))
5.0ms
(*.f64 (/.f64 (*.f64 n (expm1.f64 i)) i) 10)

simplify56.0ms (0.5%)

Algorithm
egg-herbie
Rules
694×times-frac_binary64
654×associate-*l/_binary64
573×associate-/l*_binary64
264×fma-def_binary64
214×associate-/r*_binary64
Counts
105 → 110
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01451722
13651436
212491422
354221422

prune128.0ms (1.1%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1800180
Fresh088
Picked011
Done011
Total18010190
Error
0.1b
Counts
190 → 10
Alt Table
StatusErrorProgram
20.3b
(/.f64 (*.f64 (expm1.f64 i) (*.f64 n 100)) i)
56.0b
(*.f64 100 (/.f64 (log.f64 (/.f64 i n)) (/.f64 i (*.f64 n n))))
44.7b
(*.f64 100 (/.f64 (expm1.f64 (*.f64 (log.f64 (+.f64 1 (/.f64 i n))) n)) (/.f64 i n)))
30.4b
(-.f64 (+.f64 (*.f64 100 n) (+.f64 (*.f64 275/6 (/.f64 (pow.f64 i 3) n)) (+.f64 (*.f64 50 (*.f64 n i)) (+.f64 (*.f64 25/6 (*.f64 n (pow.f64 i 3))) (+.f64 (*.f64 50/3 (*.f64 n (pow.f64 i 2))) (*.f64 100/3 (/.f64 (pow.f64 i 2) n))))))) (+.f64 (*.f64 25 (pow.f64 i 3)) (+.f64 (*.f64 50 i) (+.f64 (*.f64 50 (pow.f64 i 2)) (*.f64 25 (/.f64 (pow.f64 i 3) (pow.f64 n 2)))))))
20.5b
(*.f64 (sqrt.f64 100) (*.f64 (/.f64 (*.f64 n (expm1.f64 i)) i) 10))
28.3b
(-.f64 (fma.f64 n 100 (*.f64 (*.f64 n i) 50)) (*.f64 i 50))
57.3b
(-.f64 (+.f64 (*.f64 50 (/.f64 (*.f64 (pow.f64 (log.f64 i) 2) (pow.f64 n 3)) i)) (+.f64 (*.f64 100 (/.f64 (*.f64 (pow.f64 n 2) (log.f64 i)) i)) (+.f64 (*.f64 100 (/.f64 (pow.f64 n 3) (pow.f64 i 2))) (*.f64 50 (/.f64 (*.f64 (pow.f64 n 3) (pow.f64 (log.f64 n) 2)) i))))) (+.f64 (*.f64 100 (/.f64 (*.f64 (log.f64 i) (*.f64 (pow.f64 n 3) (log.f64 n))) i)) (*.f64 100 (/.f64 (*.f64 (pow.f64 n 2) (log.f64 n)) i))))
47.6b
(/.f64 (*.f64 100 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)) (/.f64 i n))
47.6b
(*.f64 n (/.f64 (fma.f64 100 (pow.f64 (+.f64 1 (/.f64 i n)) n) -100) i))
47.6b
(*.f64 100 (*.f64 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) i) n))
Compiler

Compiled 3250 to 1751 computations (46.1% saved)

regimes1.5s (12.5%)

Accuracy

Total 11.2b remaining (98.9%)

Threshold costs 0b (0%)

Counts
207 → 5
Compiler

Compiled 16184 to 11369 computations (29.8% saved)

bsearch325.0ms (2.7%)

Steps
ItersRangePoint
9
1.8020499276394604e-12
0.002412083276118996
0.0023543790910373224
9
4.777910616278625e-166
4.2680398943733136e-161
1.1323542808442225e-164
11
-2.4560703488983795e-279
7.956679807108224e-307
-5.21080278599253e-310
10
-4.9299807929003833e-191
-7.070022185313673e-201
-1.8422714442376505e-192
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify5.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
037101
148101
252101
354101
455101
554101

end178.0ms (1.5%)

Compiler

Compiled 398 to 265 computations (33.4% saved)

Profiling

Loading profile data...