Details

Time bar (total: 20.3s)

sample4.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 30.844116%

Guaranteed chance to sample good point: 45.302502%

Results
73.0ms129×body1280valid
45.0ms39×body1280nan
27.0ms55×body640valid
19.0ms128×body80overflowed
14.0ms19×body640nan
6.0ms20×body320valid
6.0ms15×body320nan
6.0msbody640invalid
4.0ms45×body80valid
3.0msbody1280invalid
3.0msbody320invalid
1.0msbody160valid
1.0msbody80invalid
1.0msbody160nan
1.0ms12×body80nan
0.0msbody160invalid

simplify32.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: 35.2b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

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

series73.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0552688
11885669
25002641

prune184.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New84488
Fresh000
Picked101
Done000
Total85489

Merged error: 23.3b

Counts
89 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
74×add-sqr-sqrt
64×unpow-prod-down
55×*-un-lft-identity
36×sqrt-prod
32×difference-of-squares
26×pow-unpow
24×add-cube-cbrt
23×associate-*r*
18×times-frac sqr-pow
10×pow1
distribute-lft-out
add-exp-log distribute-lft-out--
associate-*l*
pow-pow add-cbrt-cube add-log-exp
frac-times flip3-- flip--
sub-neg flip3-+ flip-+
distribute-rgt-in pow-to-exp distribute-lft-in sqrt-pow1 pow1/2 associate-*r/ associate-*l/ pow-exp sqrt-pow2 div-inv
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 154
Calls
4 calls:
28.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))))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series360.0ms

Counts
4 → 12
Calls
4 calls:
198.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))))
30.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
30.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
103.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify90.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06972349
131172202
250022186

prune476.0ms

Filtered
114 candidates to 166 candidates (-45.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1651166
Fresh033
Picked101
Done000
Total1664170

Merged error: 23.3b

Counts
170 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
0.1b
(exp (log (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))))
0.2b
(log (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
1.4b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
88×add-sqr-sqrt
73×unpow-prod-down
48×difference-of-squares
46×log-prod
45×*-un-lft-identity
40×sqrt-prod
25×sqr-pow
23×exp-sum
16×add-cube-cbrt
13×pow-unpow
12×distribute-lft-out--
times-frac
pow1
add-exp-log add-log-exp
log-div exp-prod add-cbrt-cube distribute-lft-out
flip3-- pow-pow flip--
exp-diff log-pow
pow-to-exp sub-neg sqrt-pow1 pow1/2 diff-log rem-log-exp pow-exp sqrt-pow2 div-inv rem-exp-log
Counts
4 → 137
Calls
4 calls:
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
13.0ms
(exp (log (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))))
14.0ms
(log (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series596.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
105.0ms
(exp (log (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))))
359.0ms
(log (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
103.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify72.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06772249
124202154
250022131

prune455.0ms

Filtered
97 candidates to 149 candidates (-53.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1481149
Fresh033
Picked101
Done000
Total1494153

Merged error: 23.3b

Counts
153 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
0.1b
(exp (cbrt (pow (log (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))) 3)))
0.2b
(log (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
1.4b
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
66×add-sqr-sqrt
55×unpow-prod-down
38×*-un-lft-identity
32×difference-of-squares
28×sqrt-prod
23×log-prod
18×add-cube-cbrt sqr-pow
17×exp-prod
14×cbrt-prod
13×pow-unpow
pow1 times-frac
distribute-lft-out--
add-log-exp
add-exp-log
cube-prod add-cbrt-cube
pow-pow log-pow distribute-lft-out
log-div flip3-- flip--
cube-mult pow-to-exp sub-neg sqrt-pow1 pow1/2 diff-log unpow3 rem-log-exp pow-exp sqrt-pow2 div-inv rem-exp-log
Counts
4 → 125
Calls
4 calls:
6.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
4.0ms
(exp (cbrt (pow (log (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))) 3)))
12.0ms
(log (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
12.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

series595.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(pow (sqrt (+ x 1.0)) (/ 1.0 n))
103.0ms
(exp (cbrt (pow (log (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))) 3)))
356.0ms
(log (- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n))))
106.0ms
(- (pow (sqrt (+ x 1.0)) (/ 1.0 n)) (pow (sqrt x) (/ 1.0 n)))

simplify77.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06991927
126441847
250031845

prune474.0ms

Filtered
91 candidates to 137 candidates (-50.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1361137
Fresh033
Picked101
Done000
Total1374141

Merged error: 23.3b

Counts
141 → 4

regimes229.0ms

Accuracy

83.3% (1.9b remaining)

Error of 24.3b against oracle of 22.4b and baseline of 33.7b

bsearch110.0ms

Steps
ItersRangePoint
7
560757003.8783413
13735597815.735905
914165034.2743983
6
-246.9799932410125
-33.975248266551965
-41.86171116093254

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06258
16458
26458

end0.0ms

sample11.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 30.844116%

Guaranteed chance to sample good point: 45.302502%

Results
2.1s3803×body1280valid
1.3s1127×body1280nan
670.0ms951×body640nan
666.0ms1512×body640valid
626.0ms4126×body80overflowed
234.0ms753×body320valid
188.0ms271×body640invalid
188.0ms437×body320nan
149.0ms1564×body80valid
123.0ms89×body1280invalid
72.0ms368×body160valid
69.0ms170×body320invalid
48.0ms215×body160nan
32.0ms460×body80nan
23.0ms95×body160invalid
18.0ms151×body80invalid

Profiling

Loading profile data...