Details

Time bar (total: 12.0s)

sample115.0ms

Algorithm
intervals
Results
41.0ms73×body1280valid
26.0ms321×body80valid
17.0ms38×body640valid
5.0ms64×body80overflowed
4.0ms15×body320valid
1.0msbody160valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (35.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: 31.6b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
81×exp-neg frac-sub
80×frac-times
61×neg-sub0 exp-diff
40×associate-*r/ associate-*l/
31×flip3-- flip--
30×flip3-+ flip-+
20×un-div-inv
18×add-sqr-sqrt
13×*-un-lft-identity
10×associate-*l*
add-cube-cbrt
pow1 add-cbrt-cube add-log-exp
add-exp-log exp-prod associate-*r*
pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log difference-of-squares unswap-sqr
distribute-lft-neg-in neg-mul-1 sub-neg distribute-rgt-neg-in times-frac diff-log neg-log distribute-lft-out distribute-lft-out--
Counts
4 → 168
Calls
4 calls:
12.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
3.0ms
(exp (neg (* (- 1.0 eps) x)))
13.0ms
(* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x))))
19.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

series78.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
6.0ms
(exp (neg (* (- 1.0 eps) x)))
12.0ms
(* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x))))
51.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

simplify144.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (106.0ms)

IterNodesCost
012014059
144003786
250023771

prune375.0ms

Filtered
180 candidates to 96 candidates (46.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1773180
Fresh000
Picked101
Done000
Total1783181

Merged error: 0.3b

Counts
181 → 3

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
6.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)))

series9.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)))

simplify34.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0207270
1894242
25002238

prune94.0ms

Filtered
51 candidates to 31 candidates (39.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New48351
Fresh022
Picked011
Done000
Total48654

Merged error: 0.3b

Counts
54 → 6

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
0.1b
(pow (* 1.0 (pow x 2)) 3)
9.8b
(- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))
10.3b
(/ (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3)) (+ (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))) (* 1.0 (* 1.0 (pow x 4)))))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
84×add-sqr-sqrt
40×difference-of-squares
39×times-frac
37×*-un-lft-identity
33×sqr-pow
27×add-cube-cbrt
17×add-exp-log
15×unpow-prod-down cube-prod
13×associate-/l*
12×associate-*r*
11×add-cbrt-cube
pow-exp prod-exp add-log-exp
pow1 difference-cubes distribute-lft-out--
unswap-sqr
pow-to-exp pow-unpow associate-*l* associate-/r*
cube-mult flip3-- unpow3 associate-/r/ flip-- cbrt-unprod associate-/l/ rem-cube-cbrt
cbrt-undiv sub-neg pow-pow frac-2neg flip3-+ diff-log div-sub div-exp clear-num *-commutative flip-+ div-inv
Counts
4 → 148
Calls
4 calls:
6.0ms
(* 0.6666666666666667 (pow x 3))
4.0ms
(pow (* 1.0 (pow x 2)) 3)
13.0ms
(- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))
32.0ms
(/ (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3)) (+ (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))) (* 1.0 (* 1.0 (pow x 4)))))

series32.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* 0.6666666666666667 (pow x 3))
5.0ms
(pow (* 1.0 (pow x 2)) 3)
9.0ms
(- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))
14.0ms
(/ (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3)) (+ (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))) (* 1.0 (* 1.0 (pow x 4)))))

simplify115.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
06313439
129333295
250013294

prune893.0ms

Filtered
160 candidates to 111 candidates (30.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1582160
Fresh224
Picked011
Done011
Total1606166

Merged error: 0.3b

Counts
166 → 6

localize35.0ms

Local error

Found 4 expressions with local error:

9.8b
(- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))
9.8b
(- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))
10.7b
(/ (cbrt (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))) (cbrt (+ (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))) (* 1.0 (* 1.0 (pow x 4))))))
11.2b
(/ (* (cbrt (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))) (cbrt (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3)))) (* (cbrt (+ (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))) (* 1.0 (* 1.0 (pow x 4))))) (cbrt (+ (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))) (* 1.0 (* 1.0 (pow x 4)))))))

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
142×cbrt-prod add-sqr-sqrt
97×times-frac
72×difference-of-squares
70×*-un-lft-identity
54×sqr-pow
52×add-cube-cbrt
28×cbrt-div
18×add-exp-log unpow-prod-down cube-prod
17×associate-/l*
10×associate-/r/ associate-/l/
difference-cubes flip3-- flip-- distribute-lft-out--
frac-times add-cbrt-cube add-log-exp
flip3-+ associate-/r* flip-+
cbrt-undiv div-exp
pow1 associate-*r/ associate-*l/ prod-exp cbrt-unprod
sub-neg frac-2neg diff-log clear-num div-inv
Counts
4 → 215
Calls
4 calls:
14.0ms
(- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))
14.0ms
(- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))
34.0ms
(/ (cbrt (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))) (cbrt (+ (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))) (* 1.0 (* 1.0 (pow x 4))))))
63.0ms
(/ (* (cbrt (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))) (cbrt (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3)))) (* (cbrt (+ (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))) (* 1.0 (* 1.0 (pow x 4))))) (cbrt (+ (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))) (* 1.0 (* 1.0 (pow x 4)))))))

series66.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))
10.0ms
(- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))
23.0ms
(/ (cbrt (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))) (cbrt (+ (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))) (* 1.0 (* 1.0 (pow x 4))))))
24.0ms
(/ (* (cbrt (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))) (cbrt (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3)))) (* (cbrt (+ (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))) (* 1.0 (* 1.0 (pow x 4))))) (cbrt (+ (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))) (* 1.0 (* 1.0 (pow x 4)))))))

simplify164.0ms

Algorithm
egg-herbie
Counts
227 → 227
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
09119413
133658959
250018896

prune6.2s

Filtered
227 candidates to 178 candidates (21.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2252227
Fresh123
Picked101
Done112
Total2285233

Merged error: 0.3b

Counts
233 → 5

regimes167.0ms

Accuracy

96.2% (0.6b remaining)

Error of 1.1b against oracle of 0.5b and baseline of 16.5b

bsearch93.0ms

Steps
ItersRangePoint
9
7.977693801708746e-05
3770.321174909805
428.58844773079124

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05025
15825
25825

end0.0ms

sample3.0s

Algorithm
intervals
Results
972.0ms1726×body1280valid
806.0ms9878×body80valid
442.0ms1226×body640valid
164.0ms659×body320valid
145.0ms1835×body80overflowed
52.0ms328×body160valid

Profiling

Loading profile data...