Details

Time bar (total: 7.0s)

analyze243.0ms

Algorithm
search

sample76.0ms

Algorithm
intervals
Results
32.0ms58×body1280valid
13.0ms128×body80valid
13.0ms35×body640valid
6.0ms24×body320valid
2.0ms11×body160valid
1.0ms10×body80invalid
0.0msbody80overflowed

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: 30.6b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (neg (* (- 1.0 eps) x)))
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))))
3.4b
(- (* (+ 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:
3.0ms
(exp (neg (* (- 1.0 eps) x)))
13.0ms
(* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x))))
12.0ms
(* (+ 1.0 (/ 1.0 eps)) (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)))))

series76.0ms

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

simplify148.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (114.0ms)

IterNodesCost
012014059
144003786
250023771

prune342.0ms

Filtered
96 candidates to 180 candidates (-87.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1782180
Fresh000
Picked101
Done000
Total1792181

Merged error: 0.2b

Counts
181 → 2

localize10.0ms

Local error

Found 2 expressions with local error:

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

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

series8.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(* 0.6666666666666667 (pow x 3))
4.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

prune81.0ms

Filtered
31 candidates to 51 candidates (-64.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New49251
Fresh011
Picked101
Done000
Total50353

Merged error: 0.2b

Counts
53 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))) 3)
0.1b
(* 0.6666666666666667 (pow x 3))
1.7b
(cbrt (pow (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))) 3))
7.4b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

rewrite32.0ms

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

series17.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0346862
11520806
25001799

prune178.0ms

Filtered
60 candidates to 105 candidates (-75.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1032105
Fresh112
Picked101
Done000
Total1053108

Merged error: 0.2b

Counts
108 → 3

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (* 1.0 (pow x 2)) 3)
1.7b
(cbrt (pow (/ (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3)) (+ (* (* 1.0 (pow x 2)) (+ (* 1.0 (pow x 2)) (+ (* 0.6666666666666667 (pow x 3)) 2.0))) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0)))) 3))
10.4b
(- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))
11.3b
(/ (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3)) (+ (* (* 1.0 (pow x 2)) (+ (* 1.0 (pow x 2)) (+ (* 0.6666666666666667 (pow x 3)) 2.0))) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0))))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
168×add-sqr-sqrt
128×cbrt-prod
117×times-frac
88×difference-of-squares
84×unpow-prod-down cube-prod
80×*-un-lft-identity
68×sqr-pow
63×flip3-+ flip-+
60×associate-*r/
58×add-cube-cbrt
54×associate-/r/
48×frac-add
24×frac-times
13×associate-/l*
12×add-exp-log associate-*l/
11×difference-cubes distribute-lft-out--
add-cbrt-cube
add-log-exp
pow1 pow-exp
pow-unpow prod-exp associate-/r* div-inv
cube-mult pow-to-exp flip3-- unpow3 flip-- associate-/l/ rem-cube-cbrt
cbrt-undiv cube-div sub-neg cbrt-div pow-pow frac-2neg pow1/3 diff-log div-sub div-exp clear-num rem-cbrt-cube cbrt-unprod
Counts
4 → 271
Calls
4 calls:
5.0ms
(pow (* 1.0 (pow x 2)) 3)
40.0ms
(cbrt (pow (/ (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3)) (+ (* (* 1.0 (pow x 2)) (+ (* 1.0 (pow x 2)) (+ (* 0.6666666666666667 (pow x 3)) 2.0))) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0)))) 3))
13.0ms
(- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3))
31.0ms
(/ (- (pow (+ (* 0.6666666666666667 (pow x 3)) 2.0) 3) (pow (* 1.0 (pow x 2)) 3)) (+ (* (* 1.0 (pow x 2)) (+ (* 1.0 (pow x 2)) (+ (* 0.6666666666666667 (pow x 3)) 2.0))) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0))))

series49.0ms

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

simplify161.0ms

Algorithm
egg-herbie
Counts
283 → 283
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
0175912848
1500112828

prune2.4s

Filtered
157 candidates to 283 candidates (-80.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2803283
Fresh112
Picked101
Done000
Total2824286

Merged error: 0.2b

Counts
286 → 4

regimes234.0ms

Accuracy

97.2% (0.4b remaining)

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

bsearch177.0ms

Steps
ItersRangePoint
10
2.408358116339161e-12
5218.676379625664
44.25258540111097

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07199
17999
27999

end0.0ms

analyze239.0ms

Algorithm
search

sample2.2s

Algorithm
intervals
Results
984.0ms1729×body1280valid
472.0ms1288×body640valid
338.0ms4005×body80valid
161.0ms645×body320valid
57.0ms333×body160valid
19.0ms218×body80invalid
15.0ms172×body80overflowed
7.0ms12×body1280invalid
4.0ms11×body640invalid
1.0msbody160invalid
0.0msbody320invalid

Profiling

Loading profile data...