Details

Time bar (total: 11.3s)

sample170.0ms

Algorithm
intervals
Results
67.0ms34×body2560valid
58.0ms82×body1280valid
15.0ms51×body640valid
4.0ms26×body320valid
4.0ms83×body80valid
4.0msbody5120valid
3.0ms88×body80nan
1.0ms10×body160valid

simplify42.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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))

rewrite86.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:
33.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
10.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
11.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:
376.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
257.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
215.0ms
(pow (+ 1.0 (/ i n)) n)
356.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify68.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012263285
150013166

prune692.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

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)))
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:
6.0ms
(* 0.5 (pow i 2))
19.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))
18.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

series572.0ms

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

simplify144.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09073537
148563275
250013275

prune680.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

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))
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))

rewrite37.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:
5.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)
6.0ms
(* (pow i 2) (log 1.0))

series706.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* 0.5 (pow i 2))
403.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))
137.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))

simplify80.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05181449
124681227
250011223

prune301.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

localize16.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))

rewrite29.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:
14.0ms
(* (- (+ (* 0.5 i) (+ (/ (* (log 1.0) n) i) 1.0)) (* 0.5 (* i (log 1.0)))) n)
14.0ms
(* 100.0 (* (- (+ (* 0.5 i) (+ (/ (* (log 1.0) n) i) 1.0)) (* 0.5 (* i (log 1.0)))) n))

series301.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0252736
11188612
25001612

prune88.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

regimes362.0ms

Accuracy

67.8% (5.8b remaining)

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

bsearch348.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

sample5.3s

Algorithm
intervals
Results
2.2s2935×body1280valid
1.8s928×body2560valid
555.0ms1774×body640valid
158.0ms893×body320valid
116.0ms2506×body80valid
81.0ms2274×body80nan
52.0ms469×body160valid
33.0msbody5120valid

Profiling

Loading profile data...