Details

Time bar (total: 12.3s)

sample198.0ms

Algorithm
intervals
Results
75.0ms34×body2560valid
66.0ms82×body1280valid
19.0ms51×body640valid
9.0ms83×body80valid
6.0ms26×body320valid
4.0msbody5120valid
4.0ms88×body80nan
1.0ms10×body160valid

simplify40.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: 44.2b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
1.0b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
6.7b
(pow (+ 1.0 (/ i n)) n)
10.7b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite83.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:
35.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
9.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
7.0ms
(pow (+ 1.0 (/ i n)) n)
16.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series1.2s

Counts
4 → 12
Calls
4 calls:
357.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
245.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
209.0ms
(pow (+ 1.0 (/ i n)) n)
342.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify65.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
012263285
150013166

prune713.0ms

Filtered
293 candidates to 223 candidates (76.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2849293
Fresh000
Picked101
Done000
Total2859294

Merged error: 19.4b

Counts
294 → 9

localize17.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)))
12.6b
(* (pow i 2) (log 1.0))
19.3b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

rewrite57.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:
5.0ms
(* 0.5 (pow i 2))
24.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))

series567.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* 0.5 (pow i 2))
206.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)))
140.0ms
(* (pow i 2) (log 1.0))
190.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

simplify143.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09073537
148563275
250013275

prune690.0ms

Filtered
212 candidates to 157 candidates (74.1%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New2039212
Fresh088
Picked101
Done000
Total20417221

Merged error: 8.5b

Counts
221 → 17

localize24.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))
12.0b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
12.6b
(* (pow i 2) (log 1.0))

rewrite38.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:
6.0ms
(* 0.5 (pow i 2))
11.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))

series715.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* 0.5 (pow i 2))
216.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))
130.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
346.0ms
(* (pow i 2) (log 1.0))

simplify75.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05181449
124681227
250011223

prune316.0ms

Filtered
124 candidates to 79 candidates (63.7%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New1231124
Fresh11516
Picked101
Done000
Total12516141

Merged error: 8.5b

Counts
141 → 16

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- (+ (* 0.5 i) (+ (/ (* (log 1.0) n) i) 1.0)) (* 0.5 (* i (log 1.0)))) n)
0.1b
(* 100.0 (* (- (+ (* 0.5 i) (+ (/ (* (log 1.0) n) i) 1.0)) (* 0.5 (* i (log 1.0)))) n))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
associate-*l*
add-cube-cbrt *-un-lft-identity
associate-*r* pow-prod-down associate-*l/ prod-exp cbrt-unprod
flip3-- associate-*r/ *-commutative flip-- add-log-exp
unswap-sqr
Counts
2 → 40
Calls
2 calls:
13.0ms
(* (- (+ (* 0.5 i) (+ (/ (* (log 1.0) n) i) 1.0)) (* 0.5 (* i (log 1.0)))) n)
18.0ms
(* 100.0 (* (- (+ (* 0.5 i) (+ (/ (* (log 1.0) n) i) 1.0)) (* 0.5 (* i (log 1.0)))) n))

series299.0ms

Counts
2 → 6
Calls
2 calls:
146.0ms
(* (- (+ (* 0.5 i) (+ (/ (* (log 1.0) n) i) 1.0)) (* 0.5 (* i (log 1.0)))) n)
154.0ms
(* 100.0 (* (- (+ (* 0.5 i) (+ (/ (* (log 1.0) n) i) 1.0)) (* 0.5 (* i (log 1.0)))) n))

simplify40.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0252736
11188612
25001612

prune93.0ms

Filtered
46 candidates to 30 candidates (65.2%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New45146
Fresh11415
Picked011
Done000
Total461662

Merged error: 8.5b

Counts
62 → 16

regimes402.0ms

Accuracy

67.8% (5.8b remaining)

Error of 16.6b against oracle of 10.8b and baseline of 28.8b

bsearch399.0ms

Steps
ItersRangePoint
8
1.0589020266715657e+285
5.9791226321401264e+287
3.601044061012584e+286
7
7.335847679741968e+166
1.2301374418047264e+169
8.599427634050601e+168
10
5.08584384811324e-07
57946.35045805707
0.13910335949885066
10
-7.102728357209251e-09
-9.76607821464244e-21
-7.0309412030491735e-09

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08155
18155

end0.0ms

sample6.1s

Algorithm
intervals
Results
2.5s2935×body1280valid
2.0s928×body2560valid
723.0ms1774×body640valid
223.0ms893×body320valid
181.0ms2506×body80valid
96.0ms2274×body80nan
73.0ms469×body160valid
35.0msbody5120valid