Details

Time bar (total: 18.4s)

sample4.1s

Algorithm
intervals
sampling

Space saved by range analysis: 37.31102%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
61.0ms114×body1280valid
30.0ms29×body1280nan
27.0ms34×body640nan
23.0ms54×body640valid
15.0ms87×body80overflowed
7.0ms16×body320nan
7.0msbody1280invalid
5.0ms60×body80valid
5.0ms18×body320valid
2.0msbody320invalid
2.0ms10×body160valid
2.0msbody640invalid
1.0ms16×body80nan
1.0msbody160nan
1.0msbody80invalid

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.6b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(pow x (/ 1.0 n))
3.0b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite14.0ms

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

series57.0ms

Counts
2 → 6
Calls
2 calls:
12.0ms
(pow x (/ 1.0 n))
45.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify43.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0476520
11648503
25001478

prune129.0ms

Filtered
47 candidates to 57 candidates (-21.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New53457
Fresh000
Picked101
Done000
Total54458

Merged error: 19.5b

Counts
58 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.0b
(cbrt (pow (pow x (/ 1.0 n)) 3))
0.0b
(pow (pow x (/ 1.0 n)) 3)
3.0b
(- (pow (+ x 1.0) (/ 1.0 n)) (cbrt (pow (pow x (/ 1.0 n)) 3)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
53×unpow-prod-down
44×cbrt-prod
27×difference-of-squares
25×sqr-pow
24×*-un-lft-identity
23×cube-prod
22×add-cube-cbrt
16×pow-unpow
times-frac
add-exp-log
add-log-exp
pow1 pow-exp add-cbrt-cube
pow-to-exp
cube-mult pow-pow unpow3
sub-neg flip3-- pow1/3 diff-log flip-- rem-cbrt-cube div-inv distribute-lft-out-- rem-cube-cbrt
Counts
4 → 129
Calls
4 calls:
3.0ms
(pow x (/ 1.0 n))
4.0ms
(cbrt (pow (pow x (/ 1.0 n)) 3))
4.0ms
(pow (pow x (/ 1.0 n)) 3)
15.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (cbrt (pow (pow x (/ 1.0 n)) 3)))

series84.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
07161309
127051262
250011230

prune232.0ms

Filtered
85 candidates to 141 candidates (-65.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1401141
Fresh123
Picked011
Done000
Total1414145

Merged error: 19.5b

Counts
145 → 4

localize22.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (log (/ 1 x)) (* x (pow n 2)))
2.5b
(+ (/ (/ 1.0 n) x) (* 1.0 (- 0 (/ (log (/ 1 x)) (* x (pow n 2))))))
8.4b
(* x (pow n 2))
9.1b
(/ (/ 0.5 n) (pow x 2))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
191×times-frac
106×add-sqr-sqrt
100×add-cube-cbrt *-un-lft-identity
46×unpow-prod-down
32×add-exp-log
19×associate-/l*
16×add-cbrt-cube unpow2 sqr-pow
13×div-exp
11×div-inv
associate-/r*
pow1 associate-*r*
associate-+r+ prod-exp log-pow add-log-exp
cbrt-undiv
pow-to-exp pow-exp unswap-sqr
distribute-rgt-in log-div distribute-lft-in div-sub associate-*l*
sub-neg pow-flip frac-2neg sub0-neg associate-*r/ frac-add clear-num distribute-rgt-neg-out cbrt-unprod inv-pow associate--r-
+-commutative flip3-- flip3-+ distribute-frac-neg unsub-neg log-rec sum-log *-commutative flip-- flip-+ associate-/l/
Counts
4 → 223
Calls
4 calls:
7.0ms
(/ (log (/ 1 x)) (* x (pow n 2)))
14.0ms
(+ (/ (/ 1.0 n) x) (* 1.0 (- 0 (/ (log (/ 1 x)) (* x (pow n 2))))))
5.0ms
(* x (pow n 2))
8.0ms
(/ (/ 0.5 n) (pow x 2))

series42.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/ (log (/ 1 x)) (* x (pow n 2)))
13.0ms
(+ (/ (/ 1.0 n) x) (* 1.0 (- 0 (/ (log (/ 1 x)) (* x (pow n 2))))))
6.0ms
(* x (pow n 2))
6.0ms
(/ (/ 0.5 n) (pow x 2))

simplify154.0ms

Algorithm
egg-herbie
Counts
235 → 235
Iterations

Useful iterations: 2 (132.0ms)

IterNodesCost
010371834
148301606
250011605

prune476.0ms

Filtered
147 candidates to 235 candidates (-59.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2287235
Fresh022
Picked101
Done011
Total22910239

Merged error: 19.4b

Counts
239 → 10

localize26.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ 0.5 (pow (cbrt x) 4))
2.5b
(+ (/ (/ 1.0 n) x) (* 1.0 (- 0 (/ (log (/ 1 x)) (* x (pow n 2))))))
2.8b
(* (/ 0.5 (pow (cbrt x) 4)) (/ (/ 1 n) (pow (cbrt x) 2)))
8.4b
(* x (pow n 2))

rewrite146.0ms

Algorithm
rewrite-expression-head
Rules
491×times-frac
451×add-sqr-sqrt
192×*-un-lft-identity
188×add-exp-log
186×unpow-prod-down
167×add-cube-cbrt
155×associate-*r*
114×div-exp
91×cbrt-prod
84×unswap-sqr
55×prod-exp
53×sqr-pow
37×associate-*l*
31×pow-to-exp pow-exp
30×unpow2
29×add-cbrt-cube
14×div-inv
12×rec-exp 1-exp
10×cbrt-undiv associate-/r*
cbrt-unprod
pow1 associate-+r+ add-log-exp
distribute-rgt-in distribute-lft-in associate-*r/ associate-/l*
sub-neg log-div sub0-neg div-sub frac-add *-commutative distribute-rgt-neg-out associate--r-
+-commutative frac-times flip3-- frac-2neg flip3-+ unsub-neg pow-prod-down associate-*l/ clear-num sum-log flip-- flip-+
Counts
4 → 436
Calls
4 calls:
5.0ms
(/ 0.5 (pow (cbrt x) 4))
13.0ms
(+ (/ (/ 1.0 n) x) (* 1.0 (- 0 (/ (log (/ 1 x)) (* x (pow n 2))))))
88.0ms
(* (/ 0.5 (pow (cbrt x) 4)) (/ (/ 1 n) (pow (cbrt x) 2)))
5.0ms
(* x (pow n 2))

series65.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ 0.5 (pow (cbrt x) 4))
13.0ms
(+ (/ (/ 1.0 n) x) (* 1.0 (- 0 (/ (log (/ 1 x)) (* x (pow n 2))))))
8.0ms
(* (/ 0.5 (pow (cbrt x) 4)) (/ (/ 1 n) (pow (cbrt x) 2)))
7.0ms
(* x (pow n 2))

simplify88.0ms

Algorithm
egg-herbie
Counts
448 → 448
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
023885251
150014797

prune1.3s

Filtered
269 candidates to 448 candidates (-66.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New4462448
Fresh178
Picked101
Done011
Total44810458

Merged error: 19.4b

Counts
458 → 10

regimes326.0ms

Accuracy

81.7% (2.0b remaining)

Error of 23.9b against oracle of 21.9b and baseline of 33.0b

bsearch121.0ms

Steps
ItersRangePoint
7
12.915300556607248
382.23319458364557
377.3545087368791
7
-3751055200892.781
-39483352177.47715
-43883455996.70513

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05034
15634
25934
35934

end0.0ms

sample10.7s

Algorithm
intervals
sampling

Space saved by range analysis: 37.31102%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
2.1s3845×body1280valid
1.2s1096×body1280nan
719.0ms1601×body640valid
639.0ms908×body640nan
481.0ms2704×body80overflowed
242.0ms507×body80nan
205.0ms668×body320valid
186.0ms441×body320nan
172.0ms242×body640invalid
150.0ms115×body1280invalid
142.0ms1539×body80valid
81.0ms179×body320invalid
68.0ms347×body160valid
45.0ms187×body160nan
17.0ms132×body80invalid
13.0ms54×body160invalid

Profiling

Loading profile data...