Details

Time bar (total: 10.7s)

sample194.0ms

Algorithm
intervals
Results
74.0ms92×body1280valid
74.0ms40×body2560valid
17.0ms54×body640valid
6.0ms31×body320valid
4.0ms73×body80valid
4.0ms80×body80nan
2.0ms15×body160valid

simplify42.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.7b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
1.5b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
5.3b
(pow (+ 1.0 (/ i n)) n)
12.9b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r/ associate-/r/
clear-num
frac-2neg associate-*r* div-inv associate-/l/
flip3-- flip--
associate-/r*
pow-to-exp sub-neg div-sub un-div-inv *-commutative sqr-pow
Counts
4 → 28
Calls
4 calls:
7.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
4.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
3.0ms
(pow (+ 1.0 (/ i n)) n)
6.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series1.3s

Counts
4 → 12
Calls
4 calls:
422.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
257.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
218.0ms
(pow (+ 1.0 (/ i n)) n)
358.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify124.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0266278
1899278
24934269
35002269

prune125.0ms

Filtered
40 candidates to 33 candidates (82.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New35540
Fresh000
Picked101
Done000
Total36541

Merged error: 23.5b

Counts
41 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(* i (+ (* i 0.5) 1.0))
0.1b
(* 100.0 (/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) (/ i n)))
11.9b
(* (log 1.0) (- n (* 0.5 (pow i 2))))
21.4b
(/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) (/ i n))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
30×associate-*r/
12×associate-/l/
frac-add
flip3-+ flip-+
associate-/r/
flip3-- clear-num flip--
distribute-rgt-in frac-2neg distribute-lft-in associate-*r* div-inv
*-commutative
+-commutative sub-neg associate-/r*
un-div-inv
Counts
4 → 43
Calls
4 calls:
5.0ms
(* i (+ (* i 0.5) 1.0))
11.0ms
(* 100.0 (/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) (/ i n)))
4.0ms
(* (log 1.0) (- n (* 0.5 (pow i 2))))
12.0ms
(/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) (/ i n))

series614.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(* i (+ (* i 0.5) 1.0))
198.0ms
(* 100.0 (/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) (/ i n)))
164.0ms
(* (log 1.0) (- n (* 0.5 (pow i 2))))
186.0ms
(/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) (/ i n))

simplify62.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0440561
12220547
25003547

prune200.0ms

Filtered
55 candidates to 39 candidates (70.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New49655
Fresh044
Picked101
Done000
Total501060

Merged error: 10.2b

Counts
60 → 10

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(* i (+ (* i 0.5) 1.0))
0.1b
(* 100.0 (* (/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) (- i)) (- n)))
11.3b
(/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) (- i))
11.9b
(* (log 1.0) (- n (* 0.5 (pow i 2))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
30×associate-*r/
12×associate-/l/
10×associate-*l/
frac-add
flip3-+ flip-+
flip3-- associate-*r* flip--
distribute-rgt-in distribute-lft-in *-commutative
neg-mul-1
+-commutative sub-neg frac-2neg clear-num associate-/r* distribute-rgt-neg-out div-inv
associate-*l*
Counts
4 → 40
Calls
4 calls:
5.0ms
(* i (+ (* i 0.5) 1.0))
13.0ms
(* 100.0 (* (/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) (- i)) (- n)))
11.0ms
(/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) (- i))
4.0ms
(* (log 1.0) (- n (* 0.5 (pow i 2))))

series583.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(* i (+ (* i 0.5) 1.0))
202.0ms
(* 100.0 (* (/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) (- i)) (- n)))
153.0ms
(/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) (- i))
159.0ms
(* (log 1.0) (- n (* 0.5 (pow i 2))))

simplify65.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0480544
12485531
25001531

prune212.0ms

Filtered
52 candidates to 37 candidates (71.2%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New46652
Fresh369
Picked011
Done000
Total491362

Merged error: 10.2b

Counts
62 → 13

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 100.0 (/ (/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) i) (/ 1 n)))
0.2b
(/ (/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) i) (/ 1 n))
11.3b
(/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) i)
11.9b
(* (log 1.0) (- n (* 0.5 (pow i 2))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
40×associate-*r/
37×associate-/l/
12×frac-add
11×div-inv
flip3-+ clear-num flip-+
flip3-- frac-2neg flip--
associate-/r/
associate-*r*
distribute-rgt-in sub-neg distribute-lft-in times-frac associate-/r* un-div-inv *-commutative associate-/l*
Counts
4 → 56
Calls
4 calls:
12.0ms
(* 100.0 (/ (/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) i) (/ 1 n)))
11.0ms
(/ (/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) i) (/ 1 n))
11.0ms
(/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) i)
4.0ms
(* (log 1.0) (- n (* 0.5 (pow i 2))))

series691.0ms

Counts
4 → 12
Calls
4 calls:
203.0ms
(* 100.0 (/ (/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) i) (/ 1 n)))
190.0ms
(/ (/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) i) (/ 1 n))
137.0ms
(/ (+ (* (log 1.0) (- n (* 0.5 (pow i 2)))) (* i (+ (* i 0.5) 1.0))) i)
161.0ms
(* (log 1.0) (- n (* 0.5 (pow i 2))))

simplify76.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0521751
12719721
25001721

prune223.0ms

Filtered
68 candidates to 48 candidates (70.6%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New64468
Fresh2911
Picked101
Done011
Total671481

Merged error: 10.2b

Counts
81 → 14

regimes207.0ms

Accuracy

68.5% (5.5b remaining)

Error of 16.5b against oracle of 11.0b and baseline of 28.5b

bsearch384.0ms

Steps
ItersRangePoint
9
3.775313734612271e+22
1.9235933371893114e+28
3.8426241943682245e+22
7
2.0827280288952574e-130
1.2103259573025452e-128
9.298019437065748e-129
9
-16.884994322593744
-1.4365382038701608e-08
-0.0749921289443251

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06462
18462
29862
310262
411362
511762
612262
712262

end0.0ms

sample5.4s

Algorithm
intervals
Results
2.2s3009×body1280valid
2.0s1030×body2560valid
553.0ms1752×body640valid
163.0ms912×body320valid
117.0ms2337×body80valid
85.0ms2324×body80nan
44.0ms393×body160valid
30.0msbody5120valid