Details

Time bar (total: 6.2s)

sample93.0ms

Algorithm
intervals
Results
30.0ms55×body1280valid
21.0ms303×body80valid
14.0ms45×body640valid
5.0ms26×body320valid
5.0ms61×body80overflowed
1.0msbody160valid

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (33.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune5.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: 31.6b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.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:
15.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
13.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
6.0ms
(* (- 1.0 eps) x)
17.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series324.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
54.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
29.0ms
(* (- 1.0 eps) x)
194.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify163.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (123.0ms)

IterNodesCost
012534065
147123787
250013778

prune452.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.8b

Counts
186 → 3

localize22.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.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:
10.0ms
(* 0.6666666666666667 (pow x 3))
12.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

series88.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0207270
1894242
25002238

prune87.0ms

Filtered
51 candidates to 31 candidates (60.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New50151
Fresh022
Picked011
Done000
Total50454

Merged error: 0.8b

Counts
54 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

5.2b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
10.4b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
10.4b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
10.4b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

rewrite31.0ms

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

series485.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- (+ (* 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))))
149.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
145.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

simplify128.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0252983
1905918
24257836
35002836

prune234.0ms

Filtered
65 candidates to 59 candidates (90.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New62365
Fresh022
Picked101
Done011
Total63669

Merged error: 0.8b

Counts
69 → 6

localize25.0ms

Local error

Found 4 expressions with local error:

5.2b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
5.2b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
10.4b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
10.4b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

rewrite28.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:
7.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
7.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
6.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
6.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

series545.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
39.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
305.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
159.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

simplify131.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0252862
1905800
24257736
35002736

prune261.0ms

Filtered
66 candidates to 54 candidates (81.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New65166
Fresh044
Picked101
Done011
Total66672

Merged error: 0.8b

Counts
72 → 6

regimes107.0ms

Accuracy

96.6% (0.6b remaining)

Error of 1.0b against oracle of 0.4b and baseline of 16.6b

bsearch159.0ms

Steps
ItersRangePoint
10
121.55286302593997
3002406562115.273
426.5786595150977

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05025
15825
25825

end0.0ms

sample2.6s

Algorithm
intervals
Results
880.0ms1703×body1280valid
724.0ms10160×body80valid
379.0ms1212×body640valid
143.0ms660×body320valid
139.0ms1869×body80overflowed
46.0ms328×body160valid