Details

Time bar (total: 9.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

sample208.0ms

Algorithm
intervals
Results
62.0ms114×body1280valid
29.0ms29×body1280nan
27.0ms34×body640nan
22.0ms52×body640valid
14.0ms87×body80overflowed
8.0msbody1280invalid
7.0ms17×body320nan
7.0ms23×body320valid
5.0ms55×body80valid
3.0msbody640invalid
3.0ms13×body160nan
3.0msbody320invalid
2.0ms12×body160valid
1.0msbody160invalid
1.0ms23×body80nan
1.0msbody80invalid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (45.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)))

rewrite19.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)))

series70.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049851250
149851250

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

localize15.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))))

rewrite16.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)
11.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow (pow x (/ 1 (* (cbrt n) (cbrt n)))) (/ 1.0 (cbrt n))))

series133.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
048961305
148961305

prune149.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)))

series105.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(pow (+ x 1.0) (/ 1.0 n))
12.0ms
(pow x (/ 1.0 n))
37.0ms
(cbrt (pow (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))) 3))
39.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 (21.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))

rewrite4.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))

simplify121.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 0 (118.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

regimes333.0ms

Accuracy

86.9% (1.4b remaining)

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

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

sample6.4s

Algorithm
intervals
Results
2.1s3843×body1280valid
1.2s1084×body1280nan
660.0ms1539×body640valid
612.0ms890×body640nan
459.0ms2697×body80overflowed
218.0ms733×body320valid
186.0ms459×body320nan
155.0ms230×body640invalid
133.0ms1553×body80valid
133.0ms106×body1280invalid
79.0ms200×body320invalid
63.0ms332×body160valid
51.0ms230×body160nan
33.0ms563×body80nan
27.0ms217×body80invalid
15.0ms65×body160invalid

Profiling

Loading profile data...