Details

Time bar (total: 14.5s)

sample204.0ms

Algorithm
intervals
Results
82.0ms90×body1280valid
61.0ms27×body2560valid
24.0ms49×body640valid
10.0ms100×body80valid
5.0ms76×body80nan
5.0ms18×body320valid
3.0ms17×body160valid

simplify42.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1607
21457
33647
412487
550017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 41.8b

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
2.6b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
7.1b
(pow (+ 1.0 (/ i n)) n)
10.1b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite615.0ms

Algorithm
rewrite-expression-head
Rules
320×times-frac
305×add-sqr-sqrt
222×*-un-lft-identity
156×add-cube-cbrt
96×associate-*r*
84×difference-of-squares
48×unpow-prod-down
33×sqr-pow
28×distribute-lft-out--
24×prod-diff
19×add-exp-log
18×add-cbrt-cube
17×div-inv
13×associate-/r*
fma-neg
pow1 associate-/l*
cbrt-undiv div-exp add-log-exp
distribute-lft-out
expm1-log1p-u log1p-expm1-u
pow-unpow associate-*l* prod-exp cbrt-unprod unswap-sqr
flip3-- associate-/r/ flip-- associate-/l/
pow-to-exp sub-neg pow-pow frac-2neg diff-log div-sub associate-*r/ pow-prod-down pow-exp clear-num *-commutative
Counts
4 → 321
Calls
4 calls:
232.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
129.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
11.0ms
(pow (+ 1.0 (/ i n)) n)
224.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series1.4s

Counts
4 → 12
Calls
4 calls:
552.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
256.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
222.0ms
(pow (+ 1.0 (/ i n)) n)
357.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify63.0ms

Algorithm
egg-herbie
Counts
333 → 333
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
013193734
150023446

prune849.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 21.5b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 100.0 (- (pow (+ 1.0 (/ i n)) n) 1.0))
2.6b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
7.1b
(pow (+ 1.0 (/ i n)) n)
10.2b
(/ (* 100.0 (- (pow (+ 1.0 (/ i n)) n) 1.0)) (/ i n))

rewrite519.0ms

Algorithm
rewrite-expression-head
Rules
92×*-un-lft-identity
78×add-sqr-sqrt
72×prod-diff
66×add-cube-cbrt
46×unpow-prod-down
31×times-frac
26×distribute-rgt-in distribute-lft-in
19×add-exp-log
18×add-cbrt-cube
13×associate-/r* sqr-pow
11×distribute-lft-out
fma-neg
pow1 associate-*r*
cbrt-undiv div-exp add-log-exp difference-of-squares
expm1-log1p-u associate-*r/ log1p-expm1-u
sub-neg pow-unpow flip3-- associate-*l* prod-exp flip-- cbrt-unprod div-inv
associate-/l/ distribute-lft-out--
pow-to-exp pow-pow frac-2neg diff-log pow-prod-down pow-exp clear-num associate-/r/ *-commutative associate-/l* unswap-sqr
Counts
4 → 198
Calls
4 calls:
224.0ms
(* 100.0 (- (pow (+ 1.0 (/ i n)) n) 1.0))
127.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
11.0ms
(pow (+ 1.0 (/ i n)) n)
148.0ms
(/ (* 100.0 (- (pow (+ 1.0 (/ i n)) n) 1.0)) (/ i n))

series1.1s

Counts
4 → 12
Calls
4 calls:
265.0ms
(* 100.0 (- (pow (+ 1.0 (/ i n)) n) 1.0))
252.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
213.0ms
(pow (+ 1.0 (/ i n)) n)
356.0ms
(/ (* 100.0 (- (pow (+ 1.0 (/ i n)) n) 1.0)) (/ i n))

simplify103.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
07922367
139171720
250021708

prune367.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 18.2b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 100.0 (- (pow (/ i n) n) 1.0))
0.1b
(/ (* 100.0 (- (pow (/ i n) n) 1.0)) (/ i n))
3.1b
(- (pow (/ i n) n) 1.0)
6.3b
(pow (/ i n) n)

rewrite196.0ms

Algorithm
rewrite-expression-head
Rules
177×add-sqr-sqrt
163×*-un-lft-identity
159×add-cube-cbrt
153×prod-diff
147×unpow-prod-down
132×times-frac
53×distribute-rgt-in distribute-lft-in
21×add-exp-log
18×add-cbrt-cube
17×fma-neg
14×div-inv
13×associate-/r* sqr-pow
associate-*r* difference-of-squares
pow1 div-exp
cbrt-undiv add-log-exp
expm1-log1p-u associate-*r/ log1p-expm1-u
sub-neg pow-unpow flip3-- associate-*l* prod-exp flip-- cbrt-unprod
pow-exp associate-/l/ distribute-lft-out--
pow-to-exp pow-pow frac-2neg diff-log pow-prod-down clear-num associate-/r/ *-commutative associate-/l* unswap-sqr
Counts
4 → 300
Calls
4 calls:
78.0ms
(* 100.0 (- (pow (/ i n) n) 1.0))
61.0ms
(/ (* 100.0 (- (pow (/ i n) n) 1.0)) (/ i n))
36.0ms
(- (pow (/ i n) n) 1.0)
3.0ms
(pow (/ i n) n)

series344.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(* 100.0 (- (pow (/ i n) n) 1.0))
146.0ms
(/ (* 100.0 (- (pow (/ i n) n) 1.0)) (/ i n))
72.0ms
(- (pow (/ i n) n) 1.0)
44.0ms
(pow (/ i n) n)

simplify62.0ms

Algorithm
egg-herbie
Counts
312 → 312
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
012203885
150022868

prune563.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 15.6b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (pow (/ i n) (* 2 n)) (- (* 1.0 1.0))) (+ (pow (/ i n) n) 1.0))
3.4b
(+ (pow (/ i n) (* 2 n)) (- (* 1.0 1.0)))
6.3b
(pow (/ i n) n)
6.3b
(pow (/ i n) (* 2 n))

rewrite128.0ms

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity
43×times-frac
39×unpow-prod-down
37×add-sqr-sqrt add-cube-cbrt
17×fma-def
12×add-exp-log
11×distribute-lft-out
add-log-exp
pow1 add-cbrt-cube
expm1-log1p-u pow-unpow pow-exp associate-/r* log1p-expm1-u div-inv associate-/l*
flip3-+ div-sub div-exp flip-+ sqr-pow
neg-sub0 pow-to-exp associate-+r- pow-pow unsub-neg sum-log associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg neg-log clear-num
Counts
4 → 138
Calls
4 calls:
90.0ms
(/ (+ (pow (/ i n) (* 2 n)) (- (* 1.0 1.0))) (+ (pow (/ i n) n) 1.0))
27.0ms
(+ (pow (/ i n) (* 2 n)) (- (* 1.0 1.0)))
3.0ms
(pow (/ i n) n)
3.0ms
(pow (/ i n) (* 2 n))

series308.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(/ (+ (pow (/ i n) (* 2 n)) (- (* 1.0 1.0))) (+ (pow (/ i n) n) 1.0))
78.0ms
(+ (pow (/ i n) (* 2 n)) (- (* 1.0 1.0)))
49.0ms
(pow (/ i n) n)
48.0ms
(pow (/ i n) (* 2 n))

simplify88.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07841386
135421285
250011280

prune489.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 15.5b

regimes218.0ms

Accuracy

51.5% (13.2b remaining)

Error of 29.8b against oracle of 16.6b and baseline of 43.9b

bsearch895.0ms

Steps
ItersRangePoint
8
1.9388806651223434e+173
8.867436241502294e+176
4.7215330661381895e+175
9
3.1383368649600063e-111
2.221497081354824e-102
1.862196599311927e-104
10
-5.360679504985299e-297
2.1728968967176598e-303
-7.7041642639419e-311
7
-3529.757956125628
-29.541817090935037
-29.971639032111977
8
-1.7636691380633754e+18
-2542138303994675.5
-8.549866216582126e+17
8
-5.1499886097089576e+153
-1.8010740352434605e+151
-2.5145781368598933e+153

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0113108
1113108

end0.0ms

sample6.0s

Algorithm
intervals
Results
2.2s2457×body1280valid
2.1s984×body2560valid
701.0ms1628×body640valid
288.0ms3001×body80valid
249.0ms877×body320valid
157.0ms2279×body80nan
78.0ms407×body160valid
25.0msbody5120valid