Details

Time bar (total: 12.2s)

analyze1.1s

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

sample213.0ms

Algorithm
intervals
Results
63.0ms109×body1280valid
42.0ms37×body1280nan
30.0ms65×body640valid
17.0ms97×body80overflowed
16.0ms24×body640nan
8.0ms26×body320valid
5.0ms12×body320nan
5.0ms51×body80valid
4.0msbody1280invalid
4.0msbody640invalid
2.0msbody320invalid
1.0ms17×body80nan
1.0msbody160valid
1.0msbody80invalid
1.0msbody160invalid
0.0msbody160nan

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
0505813

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.9b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.1b
(pow (+ x 1.0) (/ 1.0 n))
1.6b
(- (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:
3.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 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:
11.0ms
(pow x (/ 1.0 n))
16.0ms
(pow (+ x 1.0) (/ 1.0 n))
42.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify38.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
049921200
149921200

prune191.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: 25.4b

Counts
88 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n)))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n)))))
0.1b
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
0.1b
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
2.6b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
74×add-sqr-sqrt
40×sqrt-prod
38×unpow-prod-down
34×*-un-lft-identity
32×difference-of-squares
26×pow-unpow
24×add-cube-cbrt
20×associate-*r*
18×times-frac sqr-pow
10×pow1
add-exp-log
pow-pow add-cbrt-cube add-log-exp
frac-times flip3-- associate-*l* flip--
sub-neg flip3-+ flip-+ distribute-lft-out
pow-to-exp sqrt-pow1 pow1/2 associate-*r/ associate-*l/ pow-exp sqrt-pow2 div-inv distribute-lft-out--
distribute-rgt-in distribute-lft-in diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 142
Calls
4 calls:
30.0ms
(* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n)))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n)))))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

series245.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(* (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n)))) (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n)))))
29.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
29.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
59.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

simplify45.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
055233539

prune542.0ms

Filtered
110 candidates to 154 candidates (-40.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1495154
Fresh145
Picked101
Done000
Total1519160

Merged error: 25.4b

Counts
160 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (pow (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n)))) 3))
0.1b
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
0.1b
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
2.6b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
97×add-sqr-sqrt
70×unpow-prod-down
56×sqrt-prod
48×difference-of-squares
46×cbrt-prod
35×*-un-lft-identity
27×sqr-pow
26×pow-unpow
25×add-cube-cbrt
20×cube-prod
18×times-frac
pow1
add-exp-log pow-pow add-log-exp
add-cbrt-cube
distribute-lft-out--
cube-div pow-to-exp cbrt-div flip3-- sqrt-pow1 pow1/2 pow-exp sqrt-pow2 flip-- div-inv distribute-lft-out
cube-mult sub-neg pow1/3 diff-log unpow3 rem-cbrt-cube
Counts
4 → 153
Calls
4 calls:
15.0ms
(cbrt (pow (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n)))) 3))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
8.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

series170.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(cbrt (pow (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n)))) 3))
28.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
28.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
57.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

simplify39.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
051603690

prune584.0ms

Filtered
98 candidates to 165 candidates (-68.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1632165
Fresh268
Picked101
Done000
Total1668174

Merged error: 25.4b

Counts
174 → 8

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (fabs (cbrt (+ x 1.0))) (/ 1.0 n))
0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
2.6b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
20×*-un-lft-identity
16×sqrt-prod difference-of-squares
15×unpow-prod-down
14×add-cube-cbrt
13×pow-unpow
times-frac sqr-pow
cbrt-prod
add-log-exp
pow1 add-exp-log
cbrt-div add-cbrt-cube
flip3-+ pow1/3 flip-+ distribute-lft-out
pow-to-exp sub-neg flip3-- pow-pow diff-log pow-exp flip-- div-inv distribute-lft-out--
Counts
4 → 83
Calls
4 calls:
6.0ms
(pow (fabs (cbrt (+ x 1.0))) (/ 1.0 n))
5.0ms
(cbrt (+ x 1.0))
4.0ms
(cbrt (+ x 1.0))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

series136.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (fabs (cbrt (+ x 1.0))) (/ 1.0 n))
10.0ms
(cbrt (+ x 1.0))
10.0ms
(cbrt (+ x 1.0))
98.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (sqrt (pow x (/ 1.0 n))))

simplify41.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
049361692
149361692

prune443.0ms

Filtered
72 candidates to 95 candidates (-31.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New94195
Fresh077
Picked101
Done000
Total958103

Merged error: 25.4b

Counts
103 → 8

regimes417.0ms

Accuracy

86.5% (1.4b remaining)

Error of 23.9b against oracle of 22.5b and baseline of 33.1b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
048115
148115

end0.0ms

analyze1.1s

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

sample6.6s

Algorithm
intervals
Results
2.1s3814×body1280valid
1.2s1100×body1280nan
692.0ms1563×body640valid
605.0ms868×body640nan
478.0ms2737×body80overflowed
244.0ms756×body320valid
192.0ms447×body320nan
159.0ms222×body640invalid
141.0ms1522×body80valid
116.0ms87×body1280invalid
70.0ms345×body160valid
67.0ms169×body320invalid
48.0ms213×body160nan
32.0ms236×body80invalid
32.0ms522×body80nan
20.0ms81×body160invalid

Profiling

Loading profile data...