Details

Time bar (total: 19.3s)

sample191.0ms

Algorithm
intervals
Results
63.0ms133×body1280valid
34.0ms60×body1280nan
19.0ms50×body640nan
17.0ms51×body640valid
13.0ms28×body10240exit
8.0ms187×body80nan
7.0ms30×body320nan
6.0ms24×body320valid
4.0ms93×body80valid
2.0ms14×body160nan
2.0ms13×body160valid

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1356
2856
32496
49116
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: 32.4b

Counts
2 → 1

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
69×unpow-prod-down
65×*-un-lft-identity
56×prod-diff
54×add-sqr-sqrt
42×add-cube-cbrt
23×sqr-pow
13×pow-unpow
times-frac distribute-lft-out difference-of-squares
fma-neg
add-log-exp
pow1 add-exp-log distribute-lft-out--
expm1-log1p-u add-cbrt-cube log1p-expm1-u
pow-to-exp sub-neg flip3-- pow-pow diff-log pow-exp flip-- div-inv
Counts
2 → 119
Calls
2 calls:
3.0ms
(pow x (/ 1.0 n))
12.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series336.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05871993
119581473
250021469

prune247.0ms

Filtered
125 candidates to 69 candidates (55.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1214125
Fresh000
Picked101
Done000
Total1224126

Merged error: 22.3b

Counts
126 → 4

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
131×unpow-prod-down
119×*-un-lft-identity
112×prod-diff
99×add-sqr-sqrt
75×add-cube-cbrt
61×log-prod
58×exp-sum
44×sqr-pow
18×difference-of-squares
17×distribute-lft-out
16×log-pow
15×exp-prod
13×pow-unpow
times-frac
fma-neg
distribute-lft-out--
pow1 add-log-exp
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg
pow-to-exp log-div flip3-- pow-pow exp-diff diff-log rem-log-exp pow-exp flip-- div-inv
Counts
3 → 207
Calls
3 calls:
4.0ms
(pow x (/ 1.0 n))
16.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
11.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series611.0ms

Counts
3 → 9
Calls
3 calls:
63.0ms
(pow x (/ 1.0 n))
272.0ms
(log (exp (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
275.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify82.0ms

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
07683764
122712716
250012312

prune428.0ms

Filtered
216 candidates to 108 candidates (50.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2142216
Fresh123
Picked011
Done000
Total2155220

Merged error: 22.3b

Counts
220 → 5

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
0.0b
(* (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
1.9b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
206×unpow-prod-down
134×*-un-lft-identity
124×add-sqr-sqrt
113×sqrt-prod
110×prod-diff
74×add-cube-cbrt
39×sqr-pow
32×difference-of-squares
24×distribute-lft-out
23×associate-*l*
11×fma-def fma-neg
distribute-lft-out--
associate-*r* add-log-exp
pow1 add-exp-log add-cbrt-cube
frac-times flip3-- flip3-+ flip-- flip-+
expm1-log1p-u log1p-expm1-u
associate-*r/ associate-*l/
+-commutative distribute-rgt-in sub-neg distribute-lft-in diff-log pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
3 → 237
Calls
3 calls:
12.0ms
(+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
31.0ms
(* (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
20.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series2.8s

Counts
3 → 9
Calls
3 calls:
541.0ms
(+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
1.5s
(* (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))) (+ (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
735.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify125.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
07596013
130314545
250014522

prune574.0ms

Filtered
246 candidates to 118 candidates (48.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2442246
Fresh033
Picked101
Done011
Total2456251

Merged error: 22.3b

Counts
251 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
517×unpow-prod-down
330×prod-diff
305×*-un-lft-identity
299×add-sqr-sqrt
279×sqrt-prod
203×add-cube-cbrt
98×sqr-pow
64×difference-of-squares
37×distribute-lft-out
33×fma-neg
23×cbrt-prod
16×distribute-lft-out--
10×add-log-exp
pow1 add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
sub-neg diff-log
cbrt-div
pow1/3
Counts
4 → 500
Calls
4 calls:
12.0ms
(cbrt (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
16.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
16.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
20.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series5.6s

Counts
4 → 12
Calls
4 calls:
3.2s
(cbrt (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
743.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
940.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))
749.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify160.0ms

Algorithm
egg-herbie
Counts
512 → 512
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
064614351
1174210286
2500110246

prune1.1s

Filtered
512 candidates to 187 candidates (36.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New5084512
Fresh224
Picked101
Done101
Total5126518

Merged error: 22.3b

Counts
518 → 6

regimes222.0ms

Accuracy

84.2% (1.6b remaining)

Error of 23.8b against oracle of 22.2b and baseline of 32.2b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057106
157106

end0.0ms

sample6.4s

Algorithm
intervals
Results
1.8s3926×body1280valid
1.3s2181×body1280nan
714.0ms1799×body640nan
586.0ms1762×body640valid
577.0ms1410×body10240exit
256.0ms6260×body80nan
229.0ms868×body320nan
189.0ms861×body320valid
160.0ms3228×body80valid
66.0ms430×body160nan
63.0ms462×body160valid