Details

Time bar (total: 10.8s)

analyze806.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

sample173.0ms

Algorithm
intervals
Results
82.0ms97×body1280valid
33.0ms17×body2560valid
18.0ms51×body640valid
7.0ms29×body320valid
5.0msbody5120valid
4.0msbody640invalid
3.0ms51×body80valid
2.0msbody320invalid
2.0msbody2560invalid
2.0ms10×body160valid
1.0ms10×body80invalid
1.0msbody160invalid
0.0ms11×body80nan

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
0528115

prune9.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: 48.8b

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.8b
(- (pow (+ 1.0 (/ i n)) n) 1.0)
7.2b
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))
7.4b
(pow (+ 1.0 (/ i n)) n)

rewrite85.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:
31.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
10.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
17.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))
7.0ms
(pow (+ 1.0 (/ i n)) n)

series179.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(* 100.0 (/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n)))
33.0ms
(- (pow (+ 1.0 (/ i n)) n) 1.0)
58.0ms
(/ (- (pow (+ 1.0 (/ i n)) n) 1.0) (/ i n))
25.0ms
(pow (+ 1.0 (/ i n)) n)

simplify95.0ms

Algorithm
egg-herbie
Counts
292 → 292
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049885853
149885853

prune547.0ms

Filtered
226 candidates to 292 candidates (-29.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2866292
Fresh101
Picked101
Done000
Total2886294

Merged error: 17.4b

Counts
294 → 6

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0))))))
0.1b
(* 100.0 (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ i n)))
12.6b
(* (* i i) (* 0.5 (log 1.0)))
16.3b
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ i n))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
95×add-sqr-sqrt
86×add-cube-cbrt *-un-lft-identity
45×associate-*r*
30×add-exp-log add-cbrt-cube
18×pow1
13×associate-/r* add-log-exp
12×distribute-rgt-in log-prod distribute-lft-in
11×prod-exp cbrt-unprod
pow-prod-down div-inv
cbrt-undiv div-exp
sum-log
associate-+r- associate-*l*
associate-/l* unswap-sqr
flip3-+ associate-/r/ *-commutative flip-+ associate-/l/
+-commutative associate-+r+ frac-2neg diff-log div-sub associate-*r/ clear-num
Counts
4 → 188
Calls
4 calls:
10.0ms
(+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0))))))
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)))
16.0ms
(/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ i n))

series67.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0))))))
23.0ms
(* 100.0 (/ (+ (* 1.0 i) (+ (* n (log 1.0)) (- (* i (* i 0.5)) (* (* i i) (* 0.5 (log 1.0)))))) (/ i n)))
13.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))

simplify60.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
057015673

prune552.0ms

Filtered
147 candidates to 200 candidates (-36.1%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New18614200
Fresh055
Picked101
Done000
Total18719206

Merged error: 9.9b

Counts
206 → 19

localize19.0ms

Local error

Found 4 expressions with local error:

1.5b
(* (* (/ (cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5)))))) i) (cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))) (* n (cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))))
12.7b
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))
12.7b
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))
12.7b
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
30×cbrt-div
25×add-exp-log
20×associate-*r/
16×pow1 frac-times add-cbrt-cube
15×flip3-+ flip-+
13×prod-exp cbrt-unprod
cbrt-prod
pow-prod-down associate-*l/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
pow1/3
cbrt-undiv div-exp
associate-*r* associate-*l* *-commutative
Counts
4 → 82
Calls
4 calls:
24.0ms
(* (* (/ (cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5)))))) i) (cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))) (* n (cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))))
6.0ms
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))
6.0ms
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))
6.0ms
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))

series184.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* (/ (cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5)))))) i) (cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))) (* n (cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))))
55.0ms
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))
53.0ms
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))
56.0ms
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))

simplify69.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049644401
149644401

prune581.0ms

Filtered
73 candidates to 94 candidates (-28.8%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New88694
Fresh31518
Picked101
Done000
Total9221113

Merged error: 9.9b

Counts
113 → 21

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt i)
12.7b
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))
12.7b
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))
12.7b
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-div
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp
flip3-+ flip-+
Counts
4 → 50
Calls
4 calls:
1.0ms
(cbrt i)
5.0ms
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))
6.0ms
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))
6.0ms
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))

series183.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt i)
54.0ms
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))
55.0ms
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))
53.0ms
(cbrt (+ (* 1.0 i) (+ (* n (log 1.0)) (* (* i i) (- 0.5 (* (log 1.0) 0.5))))))

simplify63.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
050991627

prune340.0ms

Filtered
55 candidates to 62 candidates (-12.7%)
Pruning

23 alts after pruning (22 fresh and 1 done)

PrunedKeptTotal
New58462
Fresh21820
Picked011
Done000
Total602383

Merged error: 9.9b

Counts
83 → 23

regimes371.0ms

Accuracy

69.9% (6.1b remaining)

Error of 14.7b against oracle of 8.6b and baseline of 28.9b

bsearch154.0ms

Steps
ItersRangePoint
7
3.6008692215246276e+208
3.289675663684787e+210
6.213782009528768e+209
8
2.0339616523993244e-05
0.3070048274999667
0.04307656589136779
5
-9.548217937959003e-10
-2.918375590266866e-10
-9.043975738872494e-10

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0117147
1117147

end0.0ms

sample6.1s

Algorithm
intervals
Results
2.5s2843×body1280valid
2.0s931×body2560valid
630.0ms1533×body640valid
186.0ms768×body320valid
119.0ms243×body640invalid
112.0ms1609×body80valid
85.0ms99×body1280invalid
52.0ms162×body320invalid
45.0ms305×body160valid
45.0ms450×body80invalid
39.0ms19×body2560invalid
37.0ms11×body5120valid
17.0ms88×body160invalid
15.0ms346×body80nan

Profiling

Loading profile data...