Details

Time bar (total: 12.2s)

sample177.0ms

Algorithm
intervals
Results
66.0ms36×body2560valid
64.0ms85×body1280valid
16.0ms52×body640valid
5.0ms93×body80valid
4.0ms24×body320valid
4.0msbody5120valid
3.0ms75×body80nan
2.0ms18×body160valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0257
1597
21417
33467
411717
550017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 47.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
2.8b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
6.1b
(pow (+ 1.0 (/ i n)) n)
11.7b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite90.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)
7.0ms
(pow (+ 1.0 (/ i n)) n)
21.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series1.2s

Counts
4 → 12
Calls
4 calls:
366.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
253.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
208.0ms
(pow (+ 1.0 (/ i n)) n)
361.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify67.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
012263285
150023166

prune829.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 22.3b

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

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

series596.0ms

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

simplify139.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09293604
148183341
250013341

prune710.0ms

Pruning

20 alts after pruning (20 fresh and 0 done)

Merged error: 10.4b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i))
0.3b
(* (* 100.0 (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)) n)
10.7b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
11.4b
(* (pow i 2) (log 1.0))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
26×add-cube-cbrt *-un-lft-identity
25×add-exp-log
22×add-cbrt-cube
20×associate-*r*
19×times-frac
12×pow1 associate-*l*
10×prod-exp
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-*r/ div-inv associate-/l/ unpow2 sqr-pow
pow-to-exp flip3-- frac-2neg div-sub associate-*l/ pow-exp clear-num log-pow flip--
Counts
4 → 117
Calls
4 calls:
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))
16.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))

series654.0ms

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

simplify94.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05401985
128391693
250021693

prune425.0ms

Pruning

20 alts after pruning (19 fresh and 1 done)

Merged error: 10.4b

localize28.0ms

Local error

Found 4 expressions with local error:

10.7b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) i)
11.4b
(* (pow i 2) (log 1.0))
11.4b
(* (pow i 2) (log 1.0))
11.4b
(* (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))
6.0ms
(* (pow i 2) (log 1.0))

series581.0ms

Counts
4 → 12
Calls
4 calls:
141.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))
148.0ms
(* (pow i 2) (log 1.0))
146.0ms
(* (pow i 2) (log 1.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
02991229
113591100
250021086

prune561.0ms

Pruning

20 alts after pruning (18 fresh and 2 done)

Merged error: 10.4b

regimes427.0ms

Accuracy

66.1% (6.0b remaining)

Error of 17.3b against oracle of 11.3b and baseline of 29.1b

bsearch124.0ms

Steps
ItersRangePoint
6
2.289162948056721e-13
9.558161037350472e-13
9.412915699220923e-13
4
-0.041603525395973645
-0.02085603301560968
-0.02815481255422397

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05739
15739

end0.0ms

sample5.2s

Algorithm
intervals
Results
2.1s2976×body1280valid
1.8s968×body2560valid
555.0ms1793×body640valid
151.0ms872×body320valid
115.0ms2411×body80valid
79.0ms2255×body80nan
44.0ms427×body160valid
30.0msbody5120valid