Details

Time bar (total: 11.9s)

analyze1.1s

Algorithm
search

sample207.0ms

Algorithm
intervals
Results
72.0ms125×body1280valid
34.0ms29×body1280nan
22.0ms49×body640valid
19.0ms23×body640nan
13.0ms74×body80overflowed
7.0msbody640invalid
6.0ms21×body320valid
6.0ms15×body320nan
4.0ms51×body80valid
2.0msbody320invalid
2.0msbody1280invalid
2.0ms10×body160valid
1.0ms11×body80invalid
1.0msbody160nan
1.0ms14×body80nan
0.0msbody160invalid

simplify31.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0176
1346
2806
32366
48686
550016

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.5b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow x (/ 1.0 n))
0.1b
(pow (+ x 1.0) (/ 1.0 n))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite19.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:
3.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
8.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

series71.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(pow x (/ 1.0 n))
17.0ms
(pow (+ x 1.0) (/ 1.0 n))
43.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify48.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0552688
11885669
25002641

prune194.0ms

Filtered
71 candidates to 88 candidates (-23.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New82688
Fresh000
Picked101
Done000
Total83689

Merged error: 23.7b

Counts
89 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
39×pow-unpow
32×*-un-lft-identity
30×add-sqr-sqrt
28×add-cube-cbrt
27×times-frac
12×unpow-prod-down
pow1 add-exp-log
add-log-exp
add-cbrt-cube sqr-pow
pow-to-exp pow-pow pow-exp div-inv difference-of-squares
distribute-lft-out
sub-neg flip3-- diff-log flip--
Counts
4 → 98
Calls
4 calls:
3.0ms
(pow x (/ 1.0 n))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
7.0ms
(pow (+ x 1.0) (/ 1.0 n))
12.0ms
(- (* (sqrt (pow (+ x 1.0) (/ 1.0 n))) (sqrt (pow (+ x 1.0) (/ 1.0 n)))) (pow x (/ 1.0 n)))

series84.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(pow x (/ 1.0 n))
17.0ms
(pow (+ x 1.0) (/ 1.0 n))
17.0ms
(pow (+ x 1.0) (/ 1.0 n))
37.0ms
(- (* (sqrt (pow (+ x 1.0) (/ 1.0 n))) (sqrt (pow (+ x 1.0) (/ 1.0 n)))) (pow x (/ 1.0 n)))

simplify52.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0543840
11902764
25002730

prune284.0ms

Filtered
87 candidates to 110 candidates (-26.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1091110
Fresh055
Picked011
Done000
Total1097116

Merged error: 23.7b

Counts
116 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(exp (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
0.1b
(pow (+ x 1.0) (/ 1.0 n))
0.1b
(log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
38×*-un-lft-identity
34×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 distribute-lft-out
flip3-- flip--
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 → 107
Calls
4 calls:
10.0ms
(exp (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
5.0ms
(pow (+ x 1.0) (/ 1.0 n))
9.0ms
(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)))

series182.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(exp (log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))))
17.0ms
(pow (+ x 1.0) (/ 1.0 n))
88.0ms
(log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
40.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify58.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
06021395
119141330
250011307

prune297.0ms

Filtered
92 candidates to 119 candidates (-29.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1163119
Fresh055
Picked101
Done011
Total1179126

Merged error: 23.7b

Counts
126 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
2.1b
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

rewrite42.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×log-prod
12×distribute-lft-out--
10×add-log-exp
pow1 add-exp-log add-cube-cbrt
flip3-- add-cbrt-cube flip-- distribute-lft-out
sub-neg diff-log
log-div
rem-log-exp log-pow
Counts
4 → 98
Calls
4 calls:
9.0ms
(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)))
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)))

series203.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(log (- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n))))
39.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
37.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))
38.0ms
(- (pow (+ x 1.0) (/ 1.0 n)) (pow x (/ 1.0 n)))

simplify50.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04301523
113381445
250021395

prune585.0ms

Filtered
91 candidates to 110 candidates (-20.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1091110
Fresh077
Picked101
Done011
Total1109119

Merged error: 23.7b

Counts
119 → 9

regimes315.0ms

Accuracy

81.2% (2.0b remaining)

Error of 24.1b against oracle of 22.0b and baseline of 33.0b

bsearch142.0ms

Steps
ItersRangePoint
7
99782360.69630784
15400081742.807508
390855483.7295583
7
-10755.95262535518
-122.10707919960919
-145.03692563495125

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08672
18972
28972

end0.0ms

analyze1.1s

Algorithm
search

sample6.6s

Algorithm
intervals
Results
2.2s3817×body1280valid
1.2s1049×body1280nan
694.0ms1548×body640valid
637.0ms894×body640nan
478.0ms2678×body80overflowed
224.0ms724×body320valid
213.0ms486×body320nan
181.0ms247×body640invalid
145.0ms1568×body80valid
111.0ms90×body1280invalid
70.0ms170×body320invalid
68.0ms343×body160valid
60.0ms247×body160nan
36.0ms579×body80nan
30.0ms236×body80invalid
18.0ms74×body160invalid

Profiling

Loading profile data...