Details

Time bar (total: 12.1s)

sample219.0ms

Algorithm
intervals
Results
59.0ms113×body1280valid
46.0ms41×body1280nan
24.0ms58×body640valid
21.0ms33×body640nan
18.0ms116×body80overflowed
10.0ms104×body80valid
8.0ms176×body80nan
7.0ms24×body320valid
4.0ms21×body160valid
2.0msbody320nan
1.0msbody160nan

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.6b

Counts
2 → 1

localize9.0ms

Local error

Found 1 expressions with local error:

2.7b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite10.0ms

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

series276.0ms

Counts
1 → 3
Calls
1 calls:
276.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify75.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0222326
1594313
22745307
35003307

prune88.0ms

Filtered
27 candidates to 23 candidates (85.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New22527
Fresh000
Picked101
Done000
Total23528

Merged error: 20.4b

Counts
28 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
40×unpow-prod-down
36×difference-of-squares
33×*-un-lft-identity
24×sqr-pow
15×cbrt-prod
12×distribute-lft-out--
10×add-log-exp
add-cube-cbrt
pow1 add-exp-log flip3-- add-cbrt-cube flip-- distribute-lft-out
sub-neg diff-log
cbrt-div
pow1/3
Counts
4 → 97
Calls
4 calls:
9.0ms
(cbrt (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series1.4s

Counts
4 → 12
Calls
4 calls:
568.0ms
(cbrt (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
272.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
277.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
273.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify120.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
03621439
19731385
243991363
350021363

prune574.0ms

Filtered
109 candidates to 93 candidates (85.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1081109
Fresh134
Picked011
Done000
Total1095114

Merged error: 20.4b

Counts
114 → 5

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ (- 0.5) (* (pow x 2) n))
1.1b
(/ (log (/ 1 x)) (pow n 2))
3.0b
(* (/ 1.0 x) (- (/ 1 n) (/ (log (/ 1 x)) (pow n 2))))
7.3b
(* (pow x 2) n)

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
96×add-sqr-sqrt
94×times-frac
59×*-un-lft-identity
44×add-cube-cbrt
29×add-exp-log
28×unpow-prod-down log-pow
25×pow1 associate-*r*
21×associate-*l*
18×add-cbrt-cube
16×associate-/l*
15×difference-of-squares
12×unpow2 sqr-pow
pow-flip associate-/r* inv-pow
div-exp prod-exp
distribute-lft-neg-in distribute-rgt-neg-in unswap-sqr
cbrt-undiv div-sub cbrt-unprod div-inv distribute-lft-out-- add-log-exp
distribute-rgt-in frac-times pow-to-exp log-div distribute-lft-in associate-*r/ pow-exp
neg-mul-1 sub-neg flip3-- frac-2neg distribute-frac-neg clear-num *-commutative frac-sub flip-- associate--r-
neg-sub0 log-rec pow-prod-down associate-*l/
Counts
4 → 207
Calls
4 calls:
6.0ms
(/ (- 0.5) (* (pow x 2) n))
7.0ms
(/ (log (/ 1 x)) (pow n 2))
45.0ms
(* (/ 1.0 x) (- (/ 1 n) (/ (log (/ 1 x)) (pow n 2))))
5.0ms
(* (pow x 2) n)

series230.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ (- 0.5) (* (pow x 2) n))
61.0ms
(/ (log (/ 1 x)) (pow n 2))
126.0ms
(* (/ 1.0 x) (- (/ 1 n) (/ (log (/ 1 x)) (pow n 2))))
17.0ms
(* (pow x 2) n)

simplify113.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
08921593
143241425
250031420

prune579.0ms

Filtered
219 candidates to 147 candidates (67.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2127219
Fresh033
Picked101
Done011
Total21311224

Merged error: 20.2b

Counts
224 → 11

localize20.0ms

Local error

Found 4 expressions with local error:

1.1b
(/ (log x) (pow n 2))
2.5b
(+ (/ (/ 1.0 x) n) (* (/ 1.0 x) (/ (log x) (pow n 2))))
7.3b
(* (pow x 2) n)
7.9b
(* (/ 1.0 x) (/ (log x) (pow n 2)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
86×times-frac
85×add-sqr-sqrt
50×add-cube-cbrt *-un-lft-identity
39×associate-*r*
38×add-exp-log
33×unpow-prod-down
23×pow1
21×associate-*l*
20×add-cbrt-cube
17×log-pow
14×unswap-sqr
13×div-exp unpow2 sqr-pow
11×prod-exp
associate-/r*
add-log-exp
cbrt-undiv cbrt-unprod
pow-to-exp pow-exp div-inv associate-/l*
frac-add
frac-times associate-*r/ associate-*l/ *-commutative
+-commutative frac-2neg flip3-+ pow-prod-down clear-num sum-log flip-+ distribute-lft-out
Counts
4 → 183
Calls
4 calls:
5.0ms
(/ (log x) (pow n 2))
13.0ms
(+ (/ (/ 1.0 x) n) (* (/ 1.0 x) (/ (log x) (pow n 2))))
5.0ms
(* (pow x 2) n)
18.0ms
(* (/ 1.0 x) (/ (log x) (pow n 2)))

series308.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(/ (log x) (pow n 2))
146.0ms
(+ (/ (/ 1.0 x) n) (* (/ 1.0 x) (/ (log x) (pow n 2))))
17.0ms
(* (pow x 2) n)
84.0ms
(* (/ 1.0 x) (/ (log x) (pow n 2)))

simplify96.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
07901367
138981179
250011176

prune454.0ms

Filtered
195 candidates to 123 candidates (63.1%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1914195
Fresh279
Picked101
Done011
Total19412206

Merged error: 20.2b

Counts
206 → 12

regimes296.0ms

Accuracy

79.2% (2.3b remaining)

Error of 23.8b against oracle of 21.5b and baseline of 32.5b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05555
15555

end0.0ms

sample7.0s

Algorithm
intervals
Results
2.1s3915×body1280valid
1.2s1146×body1280nan
754.0ms1743×body640valid
646.0ms934×body640nan
564.0ms4016×body80overflowed
327.0ms6364×body80nan
317.0ms3207×body80valid
281.0ms933×body320valid
182.0ms466×body320nan
83.0ms446×body160valid
44.0ms210×body160nan