Details

Time bar (total: 12.2s)

sample188.0ms

Algorithm
intervals
Results
72.0ms35×body2560valid
66.0ms91×body1280valid
23.0ms62×body640valid
7.0ms39×body320valid
3.0ms62×body80valid
3.0ms72×body80nan
2.0ms18×body160valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1597
21417
33467
411717
550017

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 50.1b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
1.6b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
3.9b
(pow (+ 1.0 (/ i n)) n)
11.9b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
320×times-frac
289×add-sqr-sqrt
198×*-un-lft-identity
140×add-cube-cbrt
96×associate-*r*
84×difference-of-squares
32×unpow-prod-down
29×sqr-pow
28×distribute-lft-out--
19×add-exp-log
18×add-cbrt-cube
17×div-inv
13×associate-/r*
pow1 associate-/l*
cbrt-undiv div-exp add-log-exp
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 distribute-lft-out
Counts
4 → 281
Calls
4 calls:
37.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
10.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
7.0ms
(pow (+ 1.0 (/ i n)) n)
17.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series1.2s

Counts
4 → 12
Calls
4 calls:
362.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
254.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
219.0ms
(pow (+ 1.0 (/ i n)) n)
350.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify64.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012263285
150023166

prune927.0ms

Filtered
293 candidates to 223 candidates (76.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2876293
Fresh000
Picked101
Done000
Total2886294

Merged error: 25.4b

Counts
294 → 6

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 0.5 (pow i 2))
0.1b
(* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n)))
9.9b
(* (pow i 2) (log 1.0))
17.5b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
111×add-sqr-sqrt
90×add-cube-cbrt *-un-lft-identity
56×associate-*r*
28×add-exp-log
22×add-cbrt-cube
14×associate-*l*
13×associate-/r*
11×unswap-sqr
prod-exp div-inv
unpow-prod-down
pow1
cbrt-undiv log-prod div-exp
cbrt-unprod
unpow2 add-log-exp sqr-pow
distribute-rgt-in distribute-lft-in *-commutative associate-/l*
pow-to-exp pow-exp associate-/r/ associate-/l/
flip3-- frac-2neg div-sub associate-*r/ pow-prod-down clear-num log-pow flip--
Counts
4 → 200
Calls
4 calls:
6.0ms
(* 0.5 (pow i 2))
20.0ms
(* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n)))
6.0ms
(* (pow i 2) (log 1.0))
14.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

series566.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* 0.5 (pow i 2))
217.0ms
(* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n)))
136.0ms
(* (pow i 2) (log 1.0))
189.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

simplify150.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09073537
148563275
250013275

prune707.0ms

Filtered
212 candidates to 157 candidates (74.1%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New20111212
Fresh055
Picked101
Done000
Total20216218

Merged error: 13.2b

Counts
218 → 16

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 0.5 (pow i 2))
0.1b
(* 100.0 (* (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i) n))
9.4b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
9.9b
(* (pow i 2) (log 1.0))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
25×add-exp-log
21×add-cube-cbrt *-un-lft-identity
19×add-cbrt-cube
14×associate-*l*
13×associate-*r*
11×prod-exp
10×pow1
times-frac
unpow-prod-down unswap-sqr
cbrt-unprod
log-prod
unpow2 add-log-exp sqr-pow
distribute-rgt-in distribute-lft-in pow-prod-down associate-/r* *-commutative associate-/l*
cbrt-undiv pow-to-exp div-exp pow-exp associate-/l/
flip3-- frac-2neg div-sub associate-*r/ associate-*l/ clear-num log-pow flip-- div-inv
Counts
4 → 112
Calls
4 calls:
9.0ms
(* 0.5 (pow i 2))
12.0ms
(* 100.0 (* (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i) n))
11.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
7.0ms
(* (pow i 2) (log 1.0))

series512.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* 0.5 (pow i 2))
209.0ms
(* 100.0 (* (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i) n))
138.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
135.0ms
(* (pow i 2) (log 1.0))

simplify76.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05181449
124681227
250011223

prune373.0ms

Filtered
124 candidates to 79 candidates (63.7%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New1222124
Fresh21315
Picked011
Done000
Total12416140

Merged error: 13.2b

Counts
140 → 16

localize26.0ms

Local error

Found 4 expressions with local error:

9.4b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
9.9b
(* (pow i 2) (log 1.0))
9.9b
(* (pow i 2) (log 1.0))
9.9b
(* (pow i 2) (log 1.0))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt
27×add-cube-cbrt *-un-lft-identity
24×associate-*l*
21×add-exp-log
18×log-prod
12×unpow-prod-down associate-*r* add-cbrt-cube unswap-sqr
distribute-rgt-in distribute-lft-in times-frac prod-exp
pow1
unpow2 sqr-pow
add-log-exp
pow-to-exp pow-exp associate-/r* log-pow *-commutative cbrt-unprod associate-/l*
associate-/l/
cbrt-undiv flip3-- frac-2neg div-sub div-exp clear-num flip-- div-inv
Counts
4 → 132
Calls
4 calls:
12.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
6.0ms
(* (pow i 2) (log 1.0))
6.0ms
(* (pow i 2) (log 1.0))
7.0ms
(* (pow i 2) (log 1.0))

series555.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
140.0ms
(* (pow i 2) (log 1.0))
142.0ms
(* (pow i 2) (log 1.0))
141.0ms
(* (pow i 2) (log 1.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03001247
112781100
250021083

prune532.0ms

Filtered
144 candidates to 93 candidates (64.6%)
Pruning

16 alts after pruning (14 fresh and 2 done)

PrunedKeptTotal
New1440144
Fresh01414
Picked011
Done011
Total14416160

Merged error: 13.2b

Counts
160 → 16

regimes384.0ms

Accuracy

69.2% (5.5b remaining)

Error of 16.8b against oracle of 11.3b and baseline of 29.2b

bsearch393.0ms

Steps
ItersRangePoint
10
1.4694898840348096e+269
8.882349655988274e+278
8.738680422589072e+272
7
8.08749080545684e+245
4.769573338120107e+247
2.257527045522283e+246
8
9.842021999831939e+57
5.5185225753047605e+62
1.003540520873365e+58
4
-8.992206990105925e-152
-5.007575919502852e-152
-5.5243256116785745e-152
9
-224735.23723946884
-0.42830885935273133
-0.4700598908891248

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07462
17462

end0.0ms

sample5.2s

Algorithm
intervals
Results
2.1s2898×body1280valid
1.9s1010×body2560valid
534.0ms1718×body640valid
160.0ms922×body320valid
113.0ms2395×body80valid
92.0ms2330×body80nan
50.0ms480×body160valid
29.0msbody5120valid