Details

Time bar (total: 14.9s)

sample259.0ms

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

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

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

rewrite15.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:
4.0ms
(pow x (/ 1.0 n))
9.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series421.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0404475
11391461
25001449

prune254.0ms

Filtered
57 candidates to 46 candidates (19.3%)
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)))

rewrite39.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:
4.0ms
(pow x (/ 1.0 n))
10.0ms
(log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
11.0ms
(exp (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
10.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series1.4s

Counts
4 → 12
Calls
4 calls:
76.0ms
(pow x (/ 1.0 n))
599.0ms
(log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
360.0ms
(exp (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
356.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify51.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
05291271
117001217
250011181

prune774.0ms

Filtered
118 candidates to 90 candidates (23.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1162118
Fresh123
Picked011
Done000
Total1175122

Merged error: 19.6b

Counts
122 → 5

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
189×times-frac
113×add-sqr-sqrt
103×*-un-lft-identity
98×add-cube-cbrt
46×add-exp-log unpow-prod-down
23×add-cbrt-cube
17×div-exp
16×unpow2 sqr-pow
14×associate-/l*
13×prod-exp
11×div-inv
associate-/r* add-log-exp
associate-*r*
cbrt-undiv
pow-to-exp pow-exp cbrt-unprod
pow1 frac-sub unswap-sqr
diff-log associate-*l* distribute-lft-out-- difference-of-squares
sub-neg flip3-- frac-2neg clear-num flip-- associate--r+
*-commutative associate-/l/ associate--r-
Counts
4 → 220
Calls
4 calls:
7.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
67.0ms
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
9.0ms
(/ (/ 0.5 n) (pow x 2))
6.0ms
(* x (pow n 2))

series277.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
88.0ms
(- (/ (/ 1.0 n) x) (- (/ (/ 0.5 n) (pow x 2)) (/ (* (log x) 1.0) (* x (pow n 2)))))
33.0ms
(/ (/ 0.5 n) (pow x 2))
43.0ms
(* x (pow n 2))

simplify48.0ms

Algorithm
egg-herbie
Counts
232 → 232
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
011122049
150011857

prune2.2s

Filtered
232 candidates to 140 candidates (39.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2284232
Fresh033
Picked101
Done011
Total2298237

Merged error: 19.4b

Counts
237 → 8

localize22.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ (* (log x) 1.0) (* x (pow n 2)))
3.5b
(- (/ (/ 1.0 n) x) (- (log (exp (/ 0.5 (* (pow x 2) n)))) (/ (* (log x) 1.0) (* x (pow n 2)))))
7.8b
(* (pow x 2) n)
8.5b
(* x (pow n 2))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
38×add-exp-log
32×add-sqr-sqrt
20×add-cbrt-cube
18×*-un-lft-identity
16×prod-exp
11×add-cube-cbrt associate-*r* associate-*l*
unpow-prod-down div-exp add-log-exp unswap-sqr
cbrt-unprod
pow1 associate--r+ distribute-lft-out--
cbrt-undiv pow-to-exp times-frac pow-exp unpow2 sqr-pow
log-prod diff-log associate--l+ difference-of-squares
sub-neg flip3-- *-commutative frac-sub flip--
frac-2neg clear-num associate-/r* log-pow div-inv associate-/l* associate--r-
Counts
4 → 106
Calls
4 calls:
7.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
28.0ms
(- (/ (/ 1.0 n) x) (- (log (exp (/ 0.5 (* (pow x 2) n)))) (/ (* (log x) 1.0) (* x (pow n 2)))))
5.0ms
(* (pow x 2) n)
6.0ms
(* x (pow n 2))

series250.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(/ (* (log x) 1.0) (* x (pow n 2)))
84.0ms
(- (/ (/ 1.0 n) x) (- (log (exp (/ 0.5 (* (pow x 2) n)))) (/ (* (log x) 1.0) (* x (pow n 2)))))
22.0ms
(* (pow x 2) n)
41.0ms
(* x (pow n 2))

simplify98.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
06171072
13099948
25001936

prune741.0ms

Filtered
118 candidates to 75 candidates (36.4%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1135118
Fresh156
Picked101
Done011
Total11511126

Merged error: 19.4b

Counts
126 → 11

regimes501.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
05337
15337

end0.0ms

sample7.1s

Algorithm
intervals
Results
2.1s4038×body1280valid
1.2s1086×body1280nan
774.0ms1751×body640valid
623.0ms914×body640nan
581.0ms4120×body80overflowed
295.0ms3074×body80valid
285.0ms6262×body80nan
257.0ms846×body320valid
185.0ms462×body320nan
84.0ms458×body160valid
45.0ms217×body160nan

Profiling

Loading profile data...