Details

Time bar (total: 12.1s)

sample223.0ms

Algorithm
intervals
Results
54.0ms121×body1280valid
40.0ms54×body10240exit
38.0ms71×body1280nan
23.0ms69×body640valid
20.0ms56×body640nan
8.0ms181×body80nan
7.0ms30×body320nan
6.0ms27×body320valid
5.0ms105×body80valid
2.0ms15×body160nan
1.0msbody160valid

simplify154.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
549966
650016

prune2.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.9b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.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 → 79
Calls
3 calls:
9.0ms
(pow (+ x 1.0) (/ 1.0 n))
3.0ms
(pow x (/ 1.0 n))
10.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series482.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0476639
11596623
25002609

prune186.0ms

Filtered
88 candidates to 70 candidates (20.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New83588
Fresh000
Picked101
Done000
Total84589

Merged error: 18.8b

Counts
89 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
0.0b
(pow (sqrt x) (/ 1.0 n))
0.0b
(pow (sqrt x) (/ 1.0 n))
1.2b
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow (sqrt x) (/ 1.0 n)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
75×add-sqr-sqrt
69×pow-unpow
62×*-un-lft-identity
58×add-cube-cbrt
26×unpow-prod-down
12×difference-of-squares
10×sqr-pow
pow1 sqrt-prod
add-exp-log pow-pow
div-inv add-log-exp
add-cbrt-cube
pow-to-exp pow-exp
sqrt-pow1 pow1/2 sqrt-pow2
sub-neg flip3-- diff-log flip-- distribute-lft-out distribute-lft-out--
Counts
4 → 149
Calls
4 calls:
8.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
4.0ms
(pow (sqrt x) (/ 1.0 n))
4.0ms
(pow (sqrt x) (/ 1.0 n))
17.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow (sqrt x) (/ 1.0 n)))

series1.0s

Counts
4 → 12
Calls
4 calls:
148.0ms
(pow (+ x 1.0) (/ (/ 1.0 n) 2))
211.0ms
(pow (sqrt x) (/ 1.0 n))
209.0ms
(pow (sqrt x) (/ 1.0 n))
443.0ms
(- (pow (+ x 1.0) (/ (/ 1.0 n) 2)) (pow (sqrt x) (/ 1.0 n)))

simplify63.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
07511275
127421244
250021244

prune437.0ms

Filtered
161 candidates to 123 candidates (23.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1601161
Fresh134
Picked011
Done000
Total1615166

Merged error: 18.8b

Counts
166 → 5

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt x) (/ 1.0 n))
0.1b
(/ (/ 0.5 n) x)
0.3b
(/ (log (/ 1 x)) n)
2.7b
(- (+ (- 1 (* 0.5 (/ (log (/ 1 x)) n))) (/ (/ 0.5 n) x)) (pow (sqrt x) (/ 1.0 n)))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
84×*-un-lft-identity
77×add-sqr-sqrt
70×add-cube-cbrt
26×associate-/l*
14×pow1
13×pow-unpow add-log-exp
12×add-exp-log associate-/r* log-pow
11×add-cbrt-cube
log-div div-sub associate-/l/
unpow-prod-down
div-inv
distribute-lft-out--
clear-num
cbrt-undiv pow-flip frac-2neg diff-log div-exp associate--l+ sqrt-prod inv-pow difference-of-squares
pow-pow distribute-frac-neg log-rec distribute-lft-out
sub-neg associate-+l+ sum-log sqr-pow
+-commutative associate--l- pow-to-exp associate-+l- flip3-- sqrt-pow1 pow1/2 associate-*l* pow-exp sqrt-pow2 flip--
Counts
4 → 189
Calls
4 calls:
4.0ms
(pow (sqrt x) (/ 1.0 n))
7.0ms
(/ (/ 0.5 n) x)
8.0ms
(/ (log (/ 1 x)) n)
54.0ms
(- (+ (- 1 (* 0.5 (/ (log (/ 1 x)) n))) (/ (/ 0.5 n) x)) (pow (sqrt x) (/ 1.0 n)))

series535.0ms

Counts
4 → 12
Calls
4 calls:
216.0ms
(pow (sqrt x) (/ 1.0 n))
19.0ms
(/ (/ 0.5 n) x)
52.0ms
(/ (log (/ 1 x)) n)
248.0ms
(- (+ (- 1 (* 0.5 (/ (log (/ 1 x)) n))) (/ (/ 0.5 n) x)) (pow (sqrt x) (/ 1.0 n)))

simplify83.0ms

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
08521482
134861416
250021405

prune674.0ms

Filtered
201 candidates to 149 candidates (25.9%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New19011201
Fresh033
Picked101
Done011
Total19115206

Merged error: 18.7b

Counts
206 → 15

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt x) (/ 1.0 n))
0.1b
(/ (/ 0.5 n) x)
0.3b
(/ (log (/ 1 x)) n)
1.4b
(- (- 1 (* 0.5 (/ (log (/ 1 x)) n))) (pow (sqrt x) (/ 1.0 n)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
79×*-un-lft-identity
77×add-sqr-sqrt
70×add-cube-cbrt
26×associate-/l*
14×pow1
13×pow-unpow
12×add-exp-log associate-/r* log-pow
11×add-cbrt-cube
log-div div-sub associate-/l/ add-log-exp
unpow-prod-down
div-inv
clear-num distribute-lft-out--
cbrt-undiv pow-flip frac-2neg div-exp sqrt-prod inv-pow difference-of-squares
pow-pow diff-log distribute-frac-neg log-rec
sub-neg associate--l+ sqr-pow
associate--l- pow-to-exp flip3-- sqrt-pow1 pow1/2 associate-*l* pow-exp sqrt-pow2 flip--
Counts
4 → 185
Calls
4 calls:
4.0ms
(pow (sqrt x) (/ 1.0 n))
7.0ms
(/ (/ 0.5 n) x)
7.0ms
(/ (log (/ 1 x)) n)
24.0ms
(- (- 1 (* 0.5 (/ (log (/ 1 x)) n))) (pow (sqrt x) (/ 1.0 n)))

series533.0ms

Counts
4 → 12
Calls
4 calls:
220.0ms
(pow (sqrt x) (/ 1.0 n))
19.0ms
(/ (/ 0.5 n) x)
56.0ms
(/ (log (/ 1 x)) n)
237.0ms
(- (- 1 (* 0.5 (/ (log (/ 1 x)) n))) (pow (sqrt x) (/ 1.0 n)))

simplify76.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
08191347
132691288
250021277

prune619.0ms

Filtered
197 candidates to 146 candidates (25.9%)
Pruning

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New18512197
Fresh8513
Picked101
Done011
Total19418212

Merged error: 18.7b

Counts
212 → 18

regimes360.0ms

Accuracy

80.4% (1.4b remaining)

Error of 23.6b against oracle of 22.2b and baseline of 29.6b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07179
17179

end0.0ms

sample6.4s

Algorithm
intervals
Results
1.8s3888×body1280valid
1.2s2107×body1280nan
670.0ms1655×body640nan
639.0ms1912×body640valid
603.0ms1416×body10240exit
259.0ms6166×body80nan
232.0ms928×body320nan
185.0ms849×body320valid
150.0ms3089×body80valid
67.0ms468×body160nan
57.0ms417×body160valid