Details

Time bar (total: 15.7s)

sample251.0ms

Algorithm
intervals
Results
72.0ms129×body1280valid
47.0ms45×body1280nan
32.0ms59×body640valid
18.0ms124×body80overflowed
17.0ms25×body640nan
12.0ms118×body80valid
10.0ms221×body80nan
6.0ms20×body320valid
5.0ms12×body320nan
2.0ms13×body160valid
2.0ms10×body160nan

simplify33.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.6b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(pow x (/ 1.0 n))
1.3b
(- (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)))

series56.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0476520
11648503
25001478

prune256.0ms

Filtered
57 candidates to 47 candidates (17.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New53457
Fresh000
Picked101
Done000
Total54458

Merged error: 19.6b

Counts
58 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.0b
(log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
0.0b
(exp (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
1.3b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
36×*-un-lft-identity
33×unpow-prod-down
30×log-prod
27×difference-of-squares
19×sqr-pow
15×add-cube-cbrt exp-sum
13×pow-unpow
times-frac distribute-lft-out--
pow1
add-exp-log add-log-exp
log-div exp-prod add-cbrt-cube
flip3-- flip-- distribute-lft-out
exp-diff log-pow
pow-to-exp sub-neg pow-pow diff-log rem-log-exp pow-exp div-inv rem-exp-log
Counts
4 → 106
Calls
4 calls:
3.0ms
(pow x (/ 1.0 n))
9.0ms
(log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
10.0ms
(exp (log (- (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)))

series178.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(pow x (/ 1.0 n))
88.0ms
(log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
37.0ms
(exp (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
41.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify65.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
06571395
122281330
250011309

prune860.0ms

Filtered
118 candidates to 92 candidates (22.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1162118
Fresh123
Picked011
Done000
Total1175122

Merged error: 19.6b

Counts
122 → 5

localize22.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ (log (/ 1 x)) (* x (pow n 2)))
3.5b
(+ (/ (/ 1.0 n) x) (* 1.0 (- 0 (/ (log (/ 1 x)) (* x (pow n 2))))))
7.7b
(/ (/ 0.5 n) (pow x 2))
8.5b
(* x (pow n 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)))
13.0ms
(+ (/ (/ 1.0 n) x) (* 1.0 (- 0 (/ (log (/ 1 x)) (* x (pow n 2))))))
8.0ms
(/ (/ 0.5 n) (pow x 2))
6.0ms
(* x (pow n 2))

series42.0ms

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

simplify151.0ms

Algorithm
egg-herbie
Counts
235 → 235
Iterations

Useful iterations: 2 (130.0ms)

IterNodesCost
010371834
148301606
250011605

prune2.4s

Filtered
235 candidates to 147 candidates (37.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2314235
Fresh033
Picked101
Done011
Total2328240

Merged error: 19.4b

Counts
240 → 8

localize21.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ (log (/ 1 x)) (* x (pow n 2)))
3.5b
(+ (/ (/ 1.0 n) x) (* 1.0 (- 0 (/ (log (/ 1 x)) (* x (pow n 2))))))
7.7b
(/ (/ 0.5 n) (pow x 2))
8.5b
(* x (pow n 2))

rewrite47.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))))))
8.0ms
(/ (/ 0.5 n) (pow x 2))
5.0ms
(* x (pow n 2))

series39.0ms

Counts
4 → 12
Calls
4 calls:
13.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
(/ (/ 0.5 n) (pow x 2))
7.0ms
(* x (pow n 2))

simplify139.0ms

Algorithm
egg-herbie
Counts
235 → 235
Iterations

Useful iterations: 2 (117.0ms)

IterNodesCost
010381902
148741613
250011612

prune3.2s

Filtered
235 candidates to 148 candidates (37.0%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New2314235
Fresh156
Picked011
Done011
Total23211243

Merged error: 19.4b

Counts
243 → 11

regimes489.0ms

Accuracy

81.8% (2.1b remaining)

Error of 23.9b against oracle of 21.8b and baseline of 33.5b

bsearch179.0ms

Steps
ItersRangePoint
4
7916476625122.62
14502975650822.773
8033134678603.644
11
-2621393.439199732
-3.9048216217793476e-19
-85.39147387860265

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06643
17343
27643
37643

end0.0ms

sample7.0s

Algorithm
intervals
Results
2.1s4038×body1280valid
1.2s1086×body1280nan
776.0ms1751×body640valid
624.0ms914×body640nan
582.0ms4120×body80overflowed
292.0ms3074×body80valid
276.0ms6262×body80nan
252.0ms846×body320valid
180.0ms462×body320nan
88.0ms458×body160valid
44.0ms217×body160nan

Profiling

Loading profile data...