Details

Time bar (total: 10.2s)

analyze784.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
3.1%96.8%0.1%6
15.6%81.2%3.2%7
23.4%72.6%4%8
32.4%56.2%11.4%9
36.3%51.7%12%10
40.7%42.9%16.4%11
42.6%40.3%17.1%12
44.5%36%19.4%13
45.5%34.5%20%14

sample201.0ms

Algorithm
intervals
Results
84.0ms96×body1280valid
59.0ms29×body2560valid
24.0ms65×body640valid
6.0ms25×body320valid
5.0ms11×body640invalid
5.0msbody1280invalid
2.0msbody320invalid
2.0ms33×body80valid
1.0msbody160valid
1.0ms10×body80invalid
1.0msbody160invalid
0.0msbody80nan

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
0540515

prune10.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 46.7b

Counts
2 → 2

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
1.2b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
3.5b
(pow (+ 1.0 (/ i n)) n)
10.9b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

rewrite81.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 → 280
Calls
4 calls:
29.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
9.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
6.0ms
(pow (+ 1.0 (/ i n)) n)
17.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

series179.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
32.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
26.0ms
(pow (+ 1.0 (/ i n)) n)
56.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))

simplify71.0ms

Algorithm
egg-herbie
Counts
292 → 292
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
049745887
149745887

prune591.0ms

Filtered
227 candidates to 292 candidates (-28.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2875292
Fresh101
Picked101
Done000
Total2895294

Merged error: 21.5b

Counts
294 → 5

localize16.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 100.0 (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ i n)))
8.4b
(* (* i i) (* 0.5 (log 1.0)))
14.7b
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ i n))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
94×add-sqr-sqrt
85×add-cube-cbrt *-un-lft-identity
45×associate-*r*
29×add-exp-log add-cbrt-cube
17×pow1
13×associate-/r*
12×distribute-rgt-in log-prod distribute-lft-in
11×prod-exp cbrt-unprod
pow-prod-down div-inv
cbrt-undiv div-exp
associate-*l*
associate-/l* add-log-exp unswap-sqr
associate-+r- associate-/r/ *-commutative associate-/l/
frac-2neg flip3-+ div-sub associate-*r/ clear-num flip-+
Counts
3 → 173
Calls
3 calls:
20.0ms
(* 100.0 (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ i n)))
8.0ms
(* (* i i) (* 0.5 (log 1.0)))
17.0ms
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ i n))

series57.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(* 100.0 (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ i n)))
17.0ms
(* (* i i) (* 0.5 (log 1.0)))
19.0ms
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ i n))

simplify63.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
055625254

prune523.0ms

Filtered
135 candidates to 182 candidates (-34.8%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New17111182
Fresh134
Picked011
Done000
Total17215187

Merged error: 10.7b

Counts
187 → 15

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i (* i 0.5)) (- 1 (log 1.0))))) i) n)
0.1b
(* 100.0 (* (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i (* i 0.5)) (- 1 (log 1.0))))) i) n))
8.0b
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i (* i 0.5)) (- 1 (log 1.0))))) i)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity
19×add-exp-log times-frac add-cbrt-cube
16×associate-*l*
10×pow1
prod-exp cbrt-unprod
associate-*r* pow-prod-down
cbrt-undiv div-exp associate-/r* associate-/l* add-log-exp
associate-*l/ *-commutative div-inv associate-/l/ unswap-sqr
frac-2neg flip3-+ associate-*r/ clear-num flip-+
Counts
3 → 82
Calls
3 calls:
10.0ms
(* (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i (* i 0.5)) (- 1 (log 1.0))))) i) n)
12.0ms
(* 100.0 (* (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i (* i 0.5)) (- 1 (log 1.0))))) i) n))
9.0ms
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i (* i 0.5)) (- 1 (log 1.0))))) i)

series52.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(* (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i (* i 0.5)) (- 1 (log 1.0))))) i) n)
20.0ms
(* 100.0 (* (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i (* i 0.5)) (- 1 (log 1.0))))) i) n))
14.0ms
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i (* i 0.5)) (- 1 (log 1.0))))) i)

simplify33.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
051782432

prune306.0ms

Filtered
70 candidates to 91 candidates (-30.0%)
Pruning

15 alts after pruning (13 fresh and 2 done)

PrunedKeptTotal
New90191
Fresh11213
Picked011
Done011
Total9115106

Merged error: 10.7b

Counts
106 → 15

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt i)
0.6b
(cbrt i)
1.2b
(* (* (cbrt n) (cbrt n)) (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i (* i 0.5)) (- 1 (log 1.0))))) (* (cbrt i) (cbrt i))))
4.7b
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i (* i 0.5)) (- 1 (log 1.0))))) (* (cbrt i) (cbrt i)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
30×add-exp-log
18×add-cbrt-cube
12×add-sqr-sqrt prod-exp cbrt-unprod
10×add-cube-cbrt *-un-lft-identity
pow1
times-frac associate-*r*
cbrt-undiv cbrt-prod div-exp
add-log-exp
pow-prod-down associate-/l*
pow1/3 div-inv associate-/l/ unswap-sqr
frac-2neg flip3-+ associate-*r/ associate-*l* clear-num associate-/r* *-commutative flip-+
Counts
4 → 78
Calls
4 calls:
1.0ms
(cbrt i)
1.0ms
(cbrt i)
15.0ms
(* (* (cbrt n) (cbrt n)) (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i (* i 0.5)) (- 1 (log 1.0))))) (* (cbrt i) (cbrt i))))
13.0ms
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i (* i 0.5)) (- 1 (log 1.0))))) (* (cbrt i) (cbrt i)))

series118.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(cbrt i)
21.0ms
(cbrt i)
46.0ms
(* (* (cbrt n) (cbrt n)) (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i (* i 0.5)) (- 1 (log 1.0))))) (* (cbrt i) (cbrt i))))
31.0ms
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i (* i 0.5)) (- 1 (log 1.0))))) (* (cbrt i) (cbrt i)))

simplify68.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
050691901

prune175.0ms

Filtered
61 candidates to 90 candidates (-47.5%)
Pruning

20 alts after pruning (18 fresh and 2 done)

PrunedKeptTotal
New81990
Fresh3912
Picked101
Done022
Total8520105

Merged error: 10.7b

Counts
105 → 20

regimes331.0ms

Accuracy

62.6% (6.5b remaining)

Error of 17.7b against oracle of 11.2b and baseline of 28.6b

bsearch230.0ms

Steps
ItersRangePoint
5
9.515551006350562e+232
2.085792419784816e+233
2.0505733833233406e+233
10
8.79888905158276e+136
2.744620001756711e+154
1.9138780675951828e+154
6
7.666020809529884e-27
8.815773246004529e-26
8.673643612537732e-26
10
-9.242488964659013e-10
-1.1925246151655632e-22
-9.145040014018987e-10

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0319137
1319137

end0.0ms

sample6.1s

Algorithm
intervals
Results
2.4s2858×body1280valid
2.1s1007×body2560valid
621.0ms1575×body640valid
168.0ms710×body320valid
129.0ms262×body640invalid
107.0ms1527×body80valid
85.0ms109×body1280invalid
47.0ms154×body320invalid
46.0ms317×body160valid
41.0ms458×body80invalid
20.0msbody5120valid
18.0ms96×body160invalid
15.0msbody2560invalid
14.0ms314×body80nan

Profiling

Loading profile data...