Details

Time bar (total: 11.7s)

analyze1.2s

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
25%62.4%12.6%5
25%56.2%18.8%6
28.1%50%22%7
28.1%46.8%25.1%8
29.7%41.4%29%9
29.7%39.4%30.9%10
31.1%35.8%33.1%11
31.1%34.4%34.5%12
31.5%32.9%35.6%13
31.5%32.1%36.4%14

sample308.0ms

Algorithm
intervals
Results
80.0ms65×body1280nan
72.0ms114×body1280valid
51.0ms62×body640nan
25.0ms52×body640valid
14.0ms30×body320nan
10.0msbody5120exit
8.0msbody1280invalid
7.0ms23×body320valid
6.0ms55×body80valid
5.0ms21×body160nan
4.0msbody640invalid
3.0ms12×body160valid
3.0msbody320invalid
2.0msbody160invalid
2.0ms23×body80nan
1.0msbody80invalid

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
0497713
1497713

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.5b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow (+ x 1.0) (/ 1.0 n))
0.1b
(pow x (/ 1.0 n))
3.5b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
28×*-un-lft-identity
26×pow-unpow
19×add-cube-cbrt
18×times-frac
17×unpow-prod-down
difference-of-squares
sqr-pow
pow1 add-exp-log add-log-exp
add-cbrt-cube distribute-lft-out--
pow-to-exp pow-pow pow-exp div-inv distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
3 → 78
Calls
3 calls:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series72.0ms

Counts
3 → 9
Calls
3 calls:
17.0ms
(pow (+ x 1.0) (/ 1.0 n))
12.0ms
(pow x (/ 1.0 n))
43.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify55.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049851250
149851250

prune188.0ms

Filtered
71 candidates to 87 candidates (-22.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New81687
Fresh000
Picked101
Done000
Total82688

Merged error: 20.7b

Counts
88 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt n)
0.6b
(cbrt n)
0.6b
(cbrt n)
3.8b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ 1 (* (cbrt n) (cbrt n)))) (/ 1.0 (cbrt n))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
17×unpow-prod-down
15×difference-of-squares
11×sqr-pow
cbrt-prod *-un-lft-identity
add-cube-cbrt
add-log-exp
pow1 add-exp-log add-cbrt-cube
pow1/3
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 60
Calls
4 calls:
1.0ms
(cbrt n)
1.0ms
(cbrt n)
1.0ms
(cbrt n)
12.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ 1 (* (cbrt n) (cbrt n)))) (/ 1.0 (cbrt n))))

series140.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt n)
23.0ms
(cbrt n)
21.0ms
(cbrt n)
74.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ 1 (* (cbrt n) (cbrt n)))) (/ 1.0 (cbrt n))))

simplify81.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
048961305
148961305

prune152.0ms

Filtered
58 candidates to 72 candidates (-24.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New70272
Fresh235
Picked011
Done000
Total72678

Merged error: 20.5b

Counts
78 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (+ x 1.0) (/ 1.0 n))
0.1b
(pow x (/ 1.0 n))
0.3b
(cbrt (pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3))
3.5b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
52×unpow-prod-down
46×*-un-lft-identity
36×cbrt-prod
27×difference-of-squares
26×pow-unpow
23×add-cube-cbrt
21×sqr-pow
18×times-frac
15×cube-prod
distribute-lft-out--
pow1 add-exp-log add-log-exp
add-cbrt-cube distribute-lft-out
cube-div pow-to-exp cbrt-div flip3-- pow-pow pow-exp flip-- div-inv
cube-mult sub-neg pow1/3 diff-log unpow3 rem-cbrt-cube
Counts
4 → 125
Calls
4 calls:
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
12.0ms
(cbrt (pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series111.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(pow (+ x 1.0) (/ 1.0 n))
12.0ms
(pow x (/ 1.0 n))
38.0ms
(cbrt (pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3))
41.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify37.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
054162531

prune271.0ms

Filtered
95 candidates to 137 candidates (-44.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1334137
Fresh044
Picked101
Done011
Total1349143

Merged error: 20.5b

Counts
143 → 9

localize3.0ms

Local error

Found 1 expressions with local error:

0.5b
(/ 1.0 (* x n))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac associate-/l*
cbrt-undiv div-exp
pow1 frac-2neg prod-exp clear-num associate-/r* cbrt-unprod div-inv add-log-exp
Counts
1 → 21
Calls
1 calls:
4.0ms
(/ 1.0 (* x n))

series3.0ms

Counts
1 → 3
Calls
1 calls:
3.0ms
(/ 1.0 (* x n))

simplify123.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 0 (120.0ms)

IterNodesCost
05668152

prune24.0ms

Filtered
16 candidates to 24 candidates (-50.0%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New18624
Fresh167
Picked101
Done011
Total201333

Merged error: 20.2b

Counts
33 → 13

regimes339.0ms

Accuracy

86.9% (1.4b remaining)

Error of 23.7b against oracle of 22.2b and baseline of 33.2b

bsearch107.0ms

Steps
ItersRangePoint
7
0.09425071258236715
3.127112988043234
3.0876165420064856
8
-134430410879267.69
-353145784705.12695
-3526319384090.8047

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03642
13642

end0.0ms

sample8.3s

Algorithm
intervals
Results
2.3s2175×body1280nan
2.1s3843×body1280valid
1.3s1765×body640nan
668.0ms1539×body640valid
391.0ms904×body320nan
244.0ms52×body5120exit
218.0ms733×body320valid
157.0ms230×body640invalid
138.0ms106×body1280invalid
135.0ms1553×body80valid
109.0ms464×body160nan
79.0ms200×body320invalid
63.0ms332×body160valid
35.0ms563×body80nan
27.0ms217×body80invalid
15.0ms65×body160invalid

Profiling

Loading profile data...