Details

Time bar (total: 14.2s)

sample223.0ms

Algorithm
intervals
Results
85.0ms34×body2560valid
85.0ms100×body1280valid
21.0ms46×body640valid
8.0ms32×body320valid
6.0ms78×body80valid
3.0ms72×body80nan
2.0ms14×body160valid

simplify41.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: 45.5b

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.3b
(pow (+ 1.0 (/ i n)) n)
12.1b
(/ (- (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:
37.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)
17.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series1.2s

Counts
4 → 12
Calls
4 calls:
378.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
266.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
221.0ms
(pow (+ 1.0 (/ i n)) n)
363.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify66.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
012263285
150023166

prune711.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: 22.2b

Counts
294 → 8

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

rewrite59.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:
9.0ms
(* 0.5 (pow i 2))
20.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))

series590.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* 0.5 (pow i 2))
219.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)))
143.0ms
(* (pow i 2) (log 1.0))
197.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 (24.0ms)

IterNodesCost
09073537
148563275
250013275

prune714.0ms

Filtered
212 candidates to 157 candidates (74.1%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New19913212
Fresh077
Picked101
Done000
Total20020220

Merged error: 9.8b

Counts
220 → 20

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

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

series537.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05181449
124681227
250011223

prune338.0ms

Filtered
124 candidates to 79 candidates (63.7%)
Pruning

20 alts after pruning (19 fresh and 1 done)

PrunedKeptTotal
New1240124
Fresh01919
Picked011
Done000
Total12420144

Merged error: 9.8b

Counts
144 → 20

localize29.0ms

Local error

Found 4 expressions with local error:

2.1b
(/ (* (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (pow (cbrt i) 2)) (* (cbrt n) (cbrt n))) (/ (cbrt i) (cbrt n)))
3.3b
(* (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (pow (cbrt i) 2)) (* (cbrt n) (cbrt n)))
4.4b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (pow (cbrt i) 2))
11.4b
(* (pow i 2) (log 1.0))

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
183×times-frac
119×add-sqr-sqrt
115×add-exp-log
104×add-cube-cbrt *-un-lft-identity
94×cbrt-prod
51×associate-/r*
48×unpow-prod-down div-exp
45×associate-*l*
39×prod-exp add-cbrt-cube
22×cbrt-undiv
19×cbrt-unprod
10×pow1 unpow2 unswap-sqr sqr-pow
pow-to-exp pow-exp
log-prod
associate-*r* div-inv
associate-/l* add-log-exp
distribute-rgt-in distribute-lft-in pow-prod-down associate-/l/
frac-2neg associate-*l/ clear-num *-commutative
flip3-- div-sub associate-/r/ log-pow flip--
Counts
4 → 286
Calls
4 calls:
25.0ms
(/ (* (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (pow (cbrt i) 2)) (* (cbrt n) (cbrt n))) (/ (cbrt i) (cbrt n)))
20.0ms
(* (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (pow (cbrt i) 2)) (* (cbrt n) (cbrt n)))
14.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (pow (cbrt i) 2))
6.0ms
(* (pow i 2) (log 1.0))

series722.0ms

Counts
4 → 12
Calls
4 calls:
198.0ms
(/ (* (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (pow (cbrt i) 2)) (* (cbrt n) (cbrt n))) (/ (cbrt i) (cbrt n)))
163.0ms
(* (/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (pow (cbrt i) 2)) (* (cbrt n) (cbrt n)))
215.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (pow (cbrt i) 2))
146.0ms
(* (pow i 2) (log 1.0))

simplify95.0ms

Algorithm
egg-herbie
Counts
298 → 298
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
015817202
150016617

prune1.4s

Filtered
298 candidates to 217 candidates (72.8%)
Pruning

21 alts after pruning (20 fresh and 1 done)

PrunedKeptTotal
New2899298
Fresh71118
Picked101
Done011
Total29721318

Merged error: 9.8b

Counts
318 → 21

regimes333.0ms

Accuracy

68.4% (5.6b remaining)

Error of 16.2b against oracle of 10.6b and baseline of 28.2b

bsearch363.0ms

Steps
ItersRangePoint
10
6.919042886685739e+222
7.712408044380854e+236
4.093179789596458e+236
8
1.3894494120209264
61499.48832568556
2.7753171010379005
10
-895.7341520863147
-1.971746604603823e-16
-0.42610022092471767

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06553
16553

end0.0ms

sample6.3s

Algorithm
intervals
Results
2.5s2937×body1280valid
2.2s1012×body2560valid
746.0ms1841×body640valid
221.0ms876×body320valid
179.0ms2433×body80valid
102.0ms2271×body80nan
72.0ms448×body160valid
30.0msbody5120valid

Profiling

Loading profile data...