Details

Time bar (total: 13.2s)

sample193.0ms

Algorithm
intervals
Results
76.0ms38×body2560valid
71.0ms95×body1280valid
17.0ms53×body640valid
5.0ms26×body320valid
4.0ms83×body80valid
3.0msbody5120valid
3.0ms74×body80nan
1.0msbody160valid

simplify43.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: 49.6b

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.0b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
5.8b
(pow (+ 1.0 (/ i n)) n)
11.9b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite84.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:
32.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)
19.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series1.2s

Counts
4 → 12
Calls
4 calls:
388.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
262.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
215.0ms
(pow (+ 1.0 (/ i n)) n)
364.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify63.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012263285
150013166

prune733.0ms

Filtered
293 candidates to 223 candidates (76.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2858293
Fresh000
Picked101
Done000
Total2868294

Merged error: 23.0b

Counts
294 → 8

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
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))
19.1b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
102×add-sqr-sqrt
87×add-cube-cbrt *-un-lft-identity
48×associate-*r*
23×add-exp-log
20×add-cbrt-cube
13×associate-/r*
11×associate-*l*
div-inv add-log-exp
pow1 unswap-sqr
cbrt-undiv log-prod div-exp prod-exp
unpow-prod-down cbrt-unprod
distribute-rgt-in distribute-lft-in sum-log associate-/l*
associate-/r/ *-commutative associate-/l/ unpow2 sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-- frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down pow-exp clear-num log-pow flip-- flip-+
Counts
4 → 186
Calls
4 calls:
7.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
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))
14.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

series629.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
238.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)))
146.0ms
(* (pow i 2) (log 1.0))
196.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

simplify162.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
09293604
148183341
250013341

prune640.0ms

Filtered
198 candidates to 150 candidates (75.8%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1917198
Fresh077
Picked101
Done000
Total19214206

Merged error: 10.6b

Counts
206 → 14

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
20×add-exp-log
18×add-cube-cbrt *-un-lft-identity
17×add-cbrt-cube
11×associate-*l*
10×pow1
times-frac add-log-exp
prod-exp
log-prod cbrt-unprod
associate-*r*
unpow-prod-down unswap-sqr
distribute-rgt-in distribute-lft-in pow-prod-down associate-/r* sum-log associate-/l*
cbrt-undiv div-exp *-commutative associate-/l/ unpow2 sqr-pow
+-commutative pow-to-exp associate-+r+ flip3-- frac-2neg flip3-+ div-sub associate-*r/ associate-*l/ pow-exp clear-num log-pow flip-- flip-+ div-inv
Counts
4 → 98
Calls
4 calls:
7.0ms
(+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n)))
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)
6.0ms
(* (pow i 2) (log 1.0))

series542.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05401516
124651293
250011289

prune294.0ms

Filtered
110 candidates to 72 candidates (65.5%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1082110
Fresh21113
Picked011
Done000
Total11014124

Merged error: 10.6b

Counts
124 → 14

localize22.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt i)
5.6b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ (cbrt i) n))
8.7b
(* (/ 1 (pow (cbrt i) 2)) (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ (cbrt i) n)))
9.9b
(* (pow i 2) (log 1.0))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
386×times-frac
321×add-sqr-sqrt
188×*-un-lft-identity
168×add-cube-cbrt
104×add-exp-log
94×cbrt-prod
75×associate-*r*
51×div-exp
48×unswap-sqr
45×associate-*l*
38×unpow-prod-down
33×prod-exp
29×add-cbrt-cube
22×associate-/r*
13×unpow2 sqr-pow
12×cbrt-undiv
10×pow-to-exp pow-exp div-inv
rec-exp 1-exp
pow1 cbrt-unprod
log-prod
add-log-exp
distribute-rgt-in distribute-lft-in associate-/l*
associate-/r/ *-commutative associate-/l/
frac-times flip3-- frac-2neg pow1/3 div-sub associate-*r/ pow-prod-down associate-*l/ clear-num log-pow flip--
Counts
4 → 354
Calls
4 calls:
1.0ms
(cbrt i)
15.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ (cbrt i) n))
58.0ms
(* (/ 1 (pow (cbrt i) 2)) (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ (cbrt i) n)))
6.0ms
(* (pow i 2) (log 1.0))

series803.0ms

Counts
4 → 12
Calls
4 calls:
184.0ms
(cbrt i)
229.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ (cbrt i) n))
240.0ms
(* (/ 1 (pow (cbrt i) 2)) (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ (cbrt i) n)))
150.0ms
(* (pow i 2) (log 1.0))

simplify115.0ms

Algorithm
egg-herbie
Counts
366 → 366
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
017938813
150018392

prune1.4s

Filtered
366 candidates to 270 candidates (73.8%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New3642366
Fresh01212
Picked101
Done011
Total36515380

Merged error: 10.6b

Counts
380 → 15

regimes323.0ms

Accuracy

65% (6.3b remaining)

Error of 17.2b against oracle of 10.9b and baseline of 28.8b

bsearch363.0ms

Steps
ItersRangePoint
10
7.850449796834028e+120
3.2610480895807413e+136
4.129685281672301e+131
11
2.1659491043976583e-29
1.8364001780596707e-08
4.4408729626575344e-11
10
-0.003816194045177074
-2.2166682569578767e-15
-0.003777373761230917

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06140
16140

end0.0ms

sample5.3s

Algorithm
intervals
Results
2.1s2915×body1280valid
1.9s1017×body2560valid
543.0ms1739×body640valid
160.0ms911×body320valid
121.0ms2500×body80valid
83.0ms2384×body80nan
46.0ms432×body160valid
34.0msbody5120valid