Details

Time bar (total: 13.1s)

sample201.0ms

Algorithm
intervals
Results
75.0ms93×body1280valid
70.0ms33×body2560valid
22.0ms53×body640valid
8.0ms29×body320valid
6.0ms83×body80valid
3.0ms66×body80nan
2.0ms17×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: 48.0b

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

rewrite87.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)))
13.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
7.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:
370.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
251.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
206.0ms
(pow (+ 1.0 (/ i n)) n)
353.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify69.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012263285
150023166

prune686.0ms

Filtered
293 candidates to 223 candidates (76.1%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2876293
Fresh000
Picked101
Done000
Total2886294

Merged error: 19.8b

Counts
294 → 6

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)))
12.4b
(* (pow i 2) (log 1.0))
20.1b
(/ (- (+ (* 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
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)))
22.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))

series581.0ms

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

simplify142.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09293604
148183341
250013341

prune649.0ms

Filtered
198 candidates to 150 candidates (75.8%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New18612198
Fresh145
Picked101
Done000
Total18816204

Merged error: 8.5b

Counts
204 → 16

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

series523.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
05401516
124651293
250011289

prune304.0ms

Filtered
110 candidates to 72 candidates (65.5%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New1082110
Fresh31215
Picked011
Done000
Total11115126

Merged error: 8.5b

Counts
126 → 15

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 100.0 (* (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) n))
3.8b
(* (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) n)
12.4b
(* (pow i 2) (log 1.0))
14.3b
(/ (* 100.0 (* (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) n)) i)

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log
22×add-sqr-sqrt add-cbrt-cube
14×add-cube-cbrt *-un-lft-identity associate-*l*
12×pow1
10×prod-exp
associate-*r* cbrt-unprod
log-prod associate-*l/
unswap-sqr
unpow-prod-down associate-*r/ pow-prod-down add-log-exp
cbrt-undiv distribute-rgt-in flip3-- distribute-lft-in times-frac div-exp associate-/r* *-commutative flip--
associate-/l/ unpow2 sqr-pow
pow-to-exp frac-2neg pow-exp clear-num log-pow div-inv associate-/l*
Counts
4 → 99
Calls
4 calls:
17.0ms
(* 100.0 (* (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) n))
11.0ms
(* (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) n)
6.0ms
(* (pow i 2) (log 1.0))
15.0ms
(/ (* 100.0 (* (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) n)) i)

series652.0ms

Counts
4 → 12
Calls
4 calls:
152.0ms
(* 100.0 (* (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) n))
147.0ms
(* (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) n)
144.0ms
(* (pow i 2) (log 1.0))
208.0ms
(/ (* 100.0 (* (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) n)) i)

simplify94.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05091627
127791331
250011331

prune247.0ms

Filtered
111 candidates to 71 candidates (64.0%)
Pruning

16 alts after pruning (14 fresh and 2 done)

PrunedKeptTotal
New1092111
Fresh11213
Picked011
Done011
Total11016126

Merged error: 8.5b

Counts
126 → 16

regimes399.0ms

Accuracy

63.3% (6.6b remaining)

Error of 17.7b against oracle of 11.0b and baseline of 29.1b

bsearch822.0ms

Steps
ItersRangePoint
10
0.23207878676536348
4.21737757242384e+15
203.39871032850647
4
3.907456749990429e-214
6.094218886842199e-214
6.025882570065581e-214
9
-3.3602540314246e-239
-2.1926783248178302e-246
-3.31557411309755e-239
7
-4.2879479194182286e-190
-5.378668933057223e-192
-4.2320413708144426e-190
7
-3.4402871636077537
-0.05202343663643454
-0.9493973613575561

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079110
179110

end0.0ms

sample6.1s

Algorithm
intervals
Results
2.4s2820×body1280valid
2.2s1012×body2560valid
706.0ms1770×body640valid
220.0ms903×body320valid
172.0ms2419×body80valid
95.0ms2124×body80nan
72.0ms465×body160valid
25.0msbody5120valid