Details

Time bar (total: 12.4s)

analyze811.0ms

Algorithm
search

sample219.0ms

Algorithm
intervals
Results
79.0ms93×body1280valid
79.0ms36×body2560valid
19.0ms45×body640valid
6.0ms12×body640invalid
5.0ms20×body320valid
4.0msbody5120valid
3.0ms48×body80valid
3.0ms13×body160valid
2.0msbody320invalid
2.0msbody2560invalid
2.0msbody1280invalid
2.0ms18×body80invalid
1.0msbody160invalid
1.0ms10×body80nan

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1597
21417
33467
411717
550017

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 48.9b

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.4b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
7.1b
(pow (+ 1.0 (/ i n)) n)
12.9b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite85.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:
31.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
10.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
6.0ms
(pow (+ 1.0 (/ i n)) n)
19.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series194.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
37.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
26.0ms
(pow (+ 1.0 (/ i n)) n)
65.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
150023166

prune616.0ms

Filtered
223 candidates to 293 candidates (-31.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2867293
Fresh000
Picked101
Done000
Total2877294

Merged error: 24.6b

Counts
294 → 7

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

rewrite55.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))
14.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

series63.0ms

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

simplify152.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09073537
148563275
250013275

prune860.0ms

Filtered
157 candidates to 212 candidates (-35.0%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New19715212
Fresh066
Picked101
Done000
Total19821219

Merged error: 11.5b

Counts
219 → 21

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

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

series73.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
05291979
124351684
250011679

prune426.0ms

Filtered
87 candidates to 129 candidates (-48.3%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New1272129
Fresh21820
Picked101
Done000
Total13020150

Merged error: 11.5b

Counts
150 → 20

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

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

series33.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0252736
11188612
25001612

prune83.0ms

Filtered
30 candidates to 46 candidates (-53.3%)
Pruning

21 alts after pruning (20 fresh and 1 done)

PrunedKeptTotal
New43346
Fresh21719
Picked011
Done000
Total452166

Merged error: 11.5b

Counts
66 → 21

regimes496.0ms

Accuracy

68.3% (5.7b remaining)

Error of 16.8b against oracle of 11.1b and baseline of 29.0b

bsearch1.0s

Steps
ItersRangePoint
10
6.0766470363712426e+289
1.329734336036192e+303
4.058977410036035e+302
8
2.3488019233100838e+257
1.1247681309305912e+261
1.3189758437011078e+260
10
6942117362.412387
3.2154390793082164e+22
7030377895.169148
9
-12.636229124631068
-4.985885037694516e-09
-1.8032163663211869

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07951
17951

end0.0ms

analyze804.0ms

Algorithm
search

sample6.0s

Algorithm
intervals
Results
2.4s2785×body1280valid
2.1s991×body2560valid
624.0ms1540×body640valid
155.0ms676×body320valid
115.0ms233×body640invalid
115.0ms1664×body80valid
84.0ms102×body1280invalid
60.0ms189×body320invalid
52.0ms339×body160valid
39.0ms414×body80invalid
22.0ms12×body2560invalid
21.0msbody5120valid
17.0ms92×body160invalid
15.0ms318×body80nan

Profiling

Loading profile data...