Details

Time bar (total: 13.9s)

sample167.0ms

Algorithm
intervals
Results
64.0ms81×body1280valid
51.0ms24×body2560valid
24.0ms70×body640valid
5.0ms27×body320valid
5.0ms80×body80valid
4.0ms69×body80nan
2.0ms13×body160valid

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: 46.9b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
1.7b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
7.2b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))
7.5b
(pow (+ 1.0 (/ i n)) 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)))
10.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
16.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))
7.0ms
(pow (+ 1.0 (/ i n)) n)

series1.2s

Counts
4 → 12
Calls
4 calls:
371.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
252.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
347.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))
209.0ms
(pow (+ 1.0 (/ i n)) n)

simplify67.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012263285
150023166

prune737.0ms

Filtered
293 candidates to 223 candidates (76.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2867293
Fresh000
Picked101
Done000
Total2877294

Merged error: 19.2b

Counts
294 → 7

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)))
12.1b
(* (pow i 2) (log 1.0))
16.1b
(/ (- (+ (* 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:
5.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))
13.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ i n))

series769.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* 0.5 (pow i 2))
395.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)))
163.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))

simplify145.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09073537
148563275
250013275

prune696.0ms

Filtered
212 candidates to 157 candidates (74.1%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New19814212
Fresh066
Picked101
Done000
Total19920219

Merged error: 11.7b

Counts
219 → 20

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

series629.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05401985
128391693
250021693

prune351.0ms

Filtered
129 candidates to 86 candidates (66.7%)
Pruning

20 alts after pruning (19 fresh and 1 done)

PrunedKeptTotal
New1290129
Fresh01919
Picked011
Done000
Total12920149

Merged error: 11.7b

Counts
149 → 20

localize26.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt i)
7.1b
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ (cbrt i) n))
8.1b
(* (/ 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)))
12.1b
(* (pow i 2) (log 1.0))

rewrite110.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)
16.0ms
(/ (- (+ (* 1.0 i) (+ (* 0.5 (pow i 2)) (* (log 1.0) n))) (* 0.5 (* (pow i 2) (log 1.0)))) (/ (cbrt i) n))
64.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))

series768.0ms

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

simplify110.0ms

Algorithm
egg-herbie
Counts
366 → 366
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
017938813
150018392

prune1.3s

Filtered
366 candidates to 270 candidates (73.8%)
Pruning

21 alts after pruning (20 fresh and 1 done)

PrunedKeptTotal
New3597366
Fresh51318
Picked101
Done011
Total36521386

Merged error: 11.7b

Counts
386 → 21

regimes403.0ms

Accuracy

68.4% (5.8b remaining)

Error of 16.6b against oracle of 10.8b and baseline of 29.1b

bsearch444.0ms

Steps
ItersRangePoint
10
5.120978258446056e+119
1.3096497762430056e+132
4.5860988436327915e+126
9
5.6848229271942865e+19
3.0004367998518743e+25
5.753314805691298e+19
8
-225.5047040817839
-0.14827578458452542
-0.677510041185843

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07167
17167

end0.0ms

sample5.6s

Algorithm
intervals
Results
2.3s2945×body1280valid
1.9s952×body2560valid
598.0ms1698×body640valid
190.0ms918×body320valid
147.0ms2451×body80valid
109.0ms2223×body80nan
60.0ms464×body160valid
11.0msbody5120valid