Details

Time bar (total: 4.7s)

sample93.0ms

Algorithm
intervals
Results
27.0ms48×body1280valid
24.0ms321×body80valid
11.0ms36×body640valid
4.0ms60×body80overflowed
4.0ms20×body320valid
1.0msbody160valid

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (34.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 27.0b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite59.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/
31×flip3-- flip3-+ flip-- flip-+
21×add-sqr-sqrt
20×un-div-inv
16×*-un-lft-identity
14×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 unswap-sqr
distribute-lft-out difference-of-squares
sub-neg times-frac diff-log distribute-lft-out--
Counts
4 → 172
Calls
4 calls:
13.0ms
(* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x))))
14.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
6.0ms
(* (+ 1.0 eps) x)
16.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

series73.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x))))
13.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
4.0ms
(* (+ 1.0 eps) x)
45.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

simplify146.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
012534061
147673783
250023783

prune337.0ms

Filtered
184 candidates to 94 candidates (48.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1822184
Fresh000
Picked101
Done000
Total1832185

Merged error: 0.1b

Counts
185 → 2

localize9.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
4.8b
(- (+ (* 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:
7.0ms
(* 0.6666666666666667 (pow x 3))
7.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

series8.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0207270
1894242
25002238

prune69.0ms

Filtered
51 candidates to 31 candidates (39.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New51051
Fresh011
Picked011
Done000
Total51253

Merged error: 0.1b

Counts
53 → 2

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ 1.0 eps) x)
0.2b
(pow (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))) 3)
2.2b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (cbrt (pow (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))) 3)))
17.5b
(cbrt (pow (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))) 3))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
99×cube-div
90×cbrt-div
81×frac-sub
80×exp-neg frac-times
60×neg-sub0 exp-diff
42×associate-*l/
40×associate-*r/
34×flip3-- flip--
28×flip3-+ flip-+
20×un-div-inv
10×add-sqr-sqrt *-un-lft-identity
pow1 add-cbrt-cube
add-exp-log cbrt-prod add-cube-cbrt
add-log-exp
associate-*l*
pow-unpow associate-*r*
cube-mult unpow-prod-down pow-pow unpow3 cube-prod pow-prod-down pow-exp prod-exp cbrt-unprod rem-cube-cbrt sqr-pow
pow-to-exp sub-neg pow1/3 diff-log *-commutative rem-cbrt-cube distribute-lft-out unswap-sqr
Counts
4 → 171
Calls
4 calls:
6.0ms
(* (+ 1.0 eps) x)
13.0ms
(pow (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))) 3)
21.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (cbrt (pow (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))) 3)))
5.0ms
(cbrt (pow (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))) 3))

series91.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (+ 1.0 eps) x)
22.0ms
(pow (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))) 3)
51.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (cbrt (pow (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))) 3)))
14.0ms
(cbrt (pow (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))) 3))

simplify143.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
011374516
144784023
250024023

prune327.0ms

Filtered
183 candidates to 94 candidates (48.6%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1830183
Fresh000
Picked011
Done011
Total1832185

Merged error: 0.1b

Counts
185 → 2

regimes76.0ms

Accuracy

96.9% (0.5b remaining)

Error of 0.9b against oracle of 0.4b and baseline of 16.3b

bsearch91.0ms

Steps
ItersRangePoint
9
0.005217799705398476
1495.4209016812965
364.77253699098526

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05025
15825
25825

end0.0ms

sample3.0s

Algorithm
intervals
Results
972.0ms1769×body1280valid
778.0ms10134×body80valid
426.0ms1230×body640valid
148.0ms635×body320valid
147.0ms1967×body80overflowed
46.0ms305×body160valid

Profiling

Loading profile data...