Details

Time bar (total: 5.5s)

sample90.0ms

Algorithm
intervals
Results
26.0ms48×body1280valid
22.0ms326×body80valid
14.0ms35×body640valid
6.0ms26×body320valid
5.0ms73×body80overflowed
1.0msbody160valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (35.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 26.5b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 eps) x)
0.2b
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
0.2b
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
1.2b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
80×exp-neg frac-times
60×neg-sub0 exp-diff
42×associate-*l/
40×associate-*r/
32×flip3-- flip--
30×flip3-+ flip-+
23×add-sqr-sqrt
20×un-div-inv
16×*-un-lft-identity
15×associate-*l*
10×pow1 add-cube-cbrt add-cbrt-cube
associate-*r*
add-exp-log
add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
distribute-lft-out--
sub-neg times-frac diff-log distribute-lft-out
Counts
4 → 173
Calls
4 calls:
6.0ms
(* (- 1.0 eps) x)
12.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
16.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
18.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series310.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (- 1.0 eps) x)
45.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
49.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
186.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify150.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (115.0ms)

IterNodesCost
012534065
147123787
250013778

prune404.0ms

Filtered
185 candidates to 95 candidates (51.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1823185
Fresh000
Picked101
Done000
Total1833186

Merged error: 0.6b

Counts
186 → 3

localize14.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
8.0b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×associate-*r*
add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod add-cbrt-cube unswap-sqr
associate-*l* prod-exp
pow1 diff-log sqr-pow
cube-mult pow-to-exp sub-neg flip3-- unpow3 pow-exp associate--l+ sum-log *-commutative flip-- cbrt-unprod
Counts
2 → 45
Calls
2 calls:
6.0ms
(* 0.6666666666666667 (pow x 3))
7.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

series78.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(* 0.6666666666666667 (pow x 3))
38.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

simplify36.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0207273
1894245
25002241

prune94.0ms

Filtered
51 candidates to 31 candidates (60.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New49251
Fresh022
Picked011
Done000
Total49554

Merged error: 0.6b

Counts
54 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

3.3b
(sqrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
3.3b
(sqrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
8.0b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
8.0b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
14×add-log-exp
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-- sqrt-div diff-log add-cbrt-cube flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 associate--l+ sum-log
Counts
4 → 58
Calls
4 calls:
7.0ms
(sqrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
7.0ms
(sqrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
11.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
8.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

series186.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(sqrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
52.0ms
(sqrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
41.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
37.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

simplify106.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0171690
1611636
23106618
35003616

prune193.0ms

Filtered
70 candidates to 52 candidates (74.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New69170
Fresh033
Picked101
Done011
Total70575

Merged error: 0.6b

Counts
75 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

8.0b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
8.0b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
11.7b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
11.7b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
14×add-log-exp
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-div flip3-- diff-log add-cbrt-cube flip--
sub-neg pow1/3 associate--l+ sum-log
Counts
4 → 54
Calls
4 calls:
8.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
8.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
7.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
7.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

series374.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
38.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
147.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
148.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

simplify133.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0252862
1905800
24257736
35002736

prune257.0ms

Filtered
66 candidates to 54 candidates (81.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New64266
Fresh123
Picked101
Done011
Total66571

Merged error: 0.6b

Counts
71 → 5

regimes85.0ms

Accuracy

96.4% (0.6b remaining)

Error of 1.0b against oracle of 0.5b and baseline of 16.0b

bsearch127.0ms

Steps
ItersRangePoint
8
1.3894494120209264
554.8082141746271
192.56282467869

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05025
15825
25825

end0.0ms

sample2.6s

Algorithm
intervals
Results
888.0ms1722×body1280valid
710.0ms10009×body80valid
414.0ms1310×body640valid
142.0ms649×body320valid
136.0ms1910×body80overflowed
44.0ms316×body160valid

Profiling

Loading profile data...