Details

Time bar (total: 6.7s)

sample494.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 48.260498%

Guaranteed chance to sample good point: 93.234635%

Results
31.0ms56×body1280valid
16.0ms49×body640valid
9.0ms122×body80valid
5.0ms22×body320valid
1.0msbody160valid
1.0msbody1280invalid
0.0msbody640invalid
0.0msbody80invalid
0.0msbody80overflowed
0.0msbody320invalid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (34.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune9.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: 32.1b

Counts
2 → 1

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
72×exp-neg frac-times
54×neg-sub0 exp-diff
40×associate-*l/
36×associate-*r/
29×flip3-- flip--
28×flip3-+ flip-+
18×un-div-inv
13×add-sqr-sqrt
11×*-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r*
add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
sub-neg diff-log distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
3 → 136
Calls
3 calls:
6.0ms
(* (+ 1.0 eps) x)
6.0ms
(* (- 1.0 eps) x)
17.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

series57.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* (+ 1.0 eps) x)
4.0ms
(* (- 1.0 eps) x)
48.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

simplify138.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
011783582
145313328
250013319

prune242.0ms

Filtered
68 candidates to 145 candidates (-113.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1432145
Fresh000
Picked011
Done000
Total1433146

Merged error: 0b

Counts
146 → 3

localize10.0ms

Local error

Found 2 expressions with local error:

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

simplify35.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0207270
1894242
25002238

prune72.0ms

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New51051
Fresh011
Picked011
Done011
Total51354

Merged error: 0b

Counts
54 → 3

localize27.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ 1.0 eps) (/ 1.0 eps))
0.7b
(/ (- (* (* (- (* 1.0 1.0) (* (/ 1.0 eps) (/ 1.0 eps))) (exp (neg (* (- 1.0 eps) x)))) (exp (* (+ 1.0 eps) x))) (* (- 1.0 (/ 1.0 eps)) (- (/ 1.0 eps) 1.0))) (* (- 1.0 (/ 1.0 eps)) (exp (* (+ 1.0 eps) x))))
8.9b
(* (- (* 1.0 1.0) (* (/ 1.0 eps) (/ 1.0 eps))) (exp (neg (* (- 1.0 eps) x))))
20.4b
(- (* (* (- (* 1.0 1.0) (* (/ 1.0 eps) (/ 1.0 eps))) (exp (neg (* (- 1.0 eps) x)))) (exp (* (+ 1.0 eps) x))) (* (- 1.0 (/ 1.0 eps)) (- (/ 1.0 eps) 1.0)))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
217×associate-*l/
162×flip3-- flip--
144×frac-sub
141×frac-times
74×associate-/l/
71×associate-*r/
68×exp-neg
51×neg-sub0 exp-diff
50×add-sqr-sqrt
43×times-frac
36×add-cube-cbrt *-un-lft-identity
23×add-cbrt-cube
21×add-exp-log
17×associate-*l* un-div-inv
16×associate-*r*
13×pow1 swap-sqr
cbrt-undiv div-exp prod-exp cbrt-unprod add-log-exp
div-inv unswap-sqr
associate--r+
sub-neg associate-/l*
distribute-rgt-in distribute-lft-in pow-prod-down associate-/r/ *-commutative
pow2 frac-2neg pow-plus diff-log div-sub clear-num associate-/r* pow-sqr pow-prod-up difference-of-squares
Counts
4 → 281
Calls
4 calls:
14.0ms
(* (/ 1.0 eps) (/ 1.0 eps))
31.0ms
(/ (- (* (* (- (* 1.0 1.0) (* (/ 1.0 eps) (/ 1.0 eps))) (exp (neg (* (- 1.0 eps) x)))) (exp (* (+ 1.0 eps) x))) (* (- 1.0 (/ 1.0 eps)) (- (/ 1.0 eps) 1.0))) (* (- 1.0 (/ 1.0 eps)) (exp (* (+ 1.0 eps) x))))
10.0ms
(* (- (* 1.0 1.0) (* (/ 1.0 eps) (/ 1.0 eps))) (exp (neg (* (- 1.0 eps) x))))
17.0ms
(- (* (* (- (* 1.0 1.0) (* (/ 1.0 eps) (/ 1.0 eps))) (exp (neg (* (- 1.0 eps) x)))) (exp (* (+ 1.0 eps) x))) (* (- 1.0 (/ 1.0 eps)) (- (/ 1.0 eps) 1.0)))

series122.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (/ 1.0 eps) (/ 1.0 eps))
75.0ms
(/ (- (* (* (- (* 1.0 1.0) (* (/ 1.0 eps) (/ 1.0 eps))) (exp (neg (* (- 1.0 eps) x)))) (exp (* (+ 1.0 eps) x))) (* (- 1.0 (/ 1.0 eps)) (- (/ 1.0 eps) 1.0))) (* (- 1.0 (/ 1.0 eps)) (exp (* (+ 1.0 eps) x))))
11.0ms
(* (- (* 1.0 1.0) (* (/ 1.0 eps) (/ 1.0 eps))) (exp (neg (* (- 1.0 eps) x))))
32.0ms
(- (* (* (- (* 1.0 1.0) (* (/ 1.0 eps) (/ 1.0 eps))) (exp (neg (* (- 1.0 eps) x)))) (exp (* (+ 1.0 eps) x))) (* (- 1.0 (/ 1.0 eps)) (- (/ 1.0 eps) 1.0)))

simplify114.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
021778269
150038036

prune2.3s

Filtered
216 candidates to 293 candidates (-35.6%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2930293
Fresh000
Picked011
Done022
Total2933296

Merged error: 0b

Counts
296 → 3

regimes201.0ms

Accuracy

96.2% (0.6b remaining)

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

bsearch114.0ms

Steps
ItersRangePoint
10
2.7947671091464944e-11
92069.95548288956
1.2908851057150332

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04823
15623
25623

end0.0ms

sample2.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 48.260498%

Guaranteed chance to sample good point: 93.234635%

Results
935.0ms1709×body1280valid
434.0ms1302×body640valid
324.0ms4073×body80valid
142.0ms609×body320valid
48.0ms307×body160valid
10.0ms114×body80invalid
9.0ms17×body1280invalid
8.0ms101×body80overflowed
6.0ms15×body640invalid
2.0msbody320invalid

Profiling

Loading profile data...