Details

Time bar (total: 6.7s)

sample1.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 30.853271%

Guaranteed chance to sample good point: 79.08465%

Results
23.0ms42×body1280valid
12.0ms37×body640valid
11.0ms141×body80valid
7.0ms19×body320valid
5.0ms64×body80overflowed
3.0ms17×body160valid
2.0ms25×body80invalid
1.0msbody1280invalid
0.0msbody320invalid

simplify36.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: 25.8b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.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-- flip3-+ flip-- flip-+
18×un-div-inv
14×add-sqr-sqrt *-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube add-log-exp
associate-*r*
pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
+-commutative sub-neg diff-log sum-log distribute-lft-out-- difference-of-squares
Counts
4 → 148
Calls
4 calls:
5.0ms
(+ 1.0 (/ 1.0 eps))
6.0ms
(* (- 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)))))

series57.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(+ 1.0 (/ 1.0 eps))
5.0ms
(* (- 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)))))

simplify143.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (108.0ms)

IterNodesCost
012033643
146293381
250013372

prune272.0ms

Filtered
78 candidates to 160 candidates (-105.1%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1582160
Fresh000
Picked101
Done000
Total1592161

Merged error: 0.0b

Counts
161 → 2

localize10.0ms

Local error

Found 2 expressions with local error:

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

simplify33.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0207270
1894242
25002238

prune76.0ms

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New50151
Fresh011
Picked011
Done000
Total50353

Merged error: 0.0b

Counts
53 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

5.4b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
10.0b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
10.0b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
10.0b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

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

series34.0ms

Counts
4 → 12
Calls
4 calls:
4.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))))
9.0ms
(cbrt (- (+ (* 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))))

simplify131.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0252983
1905918
24255839
35002839

prune336.0ms

Filtered
59 candidates to 65 candidates (-10.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New64165
Fresh011
Picked101
Done011
Total65368

Merged error: 0.0b

Counts
68 → 3

localize23.0ms

Local error

Found 4 expressions with local error:

9.4b
(- (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0)) (* (* 1.0 (pow x 2)) (* 1.0 (pow x 2))))
10.0b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
10.0b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
10.0b
(cbrt (+ (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-div add-log-exp
pow1 add-exp-log add-cbrt-cube
flip3-- pow1/3 flip--
associate--l+
distribute-rgt-in sub-neg distribute-lft-in flip3-+ diff-log flip-+ difference-of-squares
Counts
4 → 54
Calls
4 calls:
13.0ms
(- (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0)) (* (* 1.0 (pow x 2)) (* 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))))
6.0ms
(cbrt (+ (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

series36.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
03741120
114841022
25001950

prune519.0ms

Filtered
63 candidates to 66 candidates (-4.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New65166
Fresh011
Picked101
Done011
Total66369

Merged error: 0.0b

Counts
69 → 3

regimes106.0ms

Accuracy

97% (0.5b remaining)

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

bsearch92.0ms

Steps
ItersRangePoint
9
0.001080383412879609
2694116.5863935
69.84336347903472

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04725
14925
24925

end0.0ms

sample3.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 30.853271%

Guaranteed chance to sample good point: 79.08465%

Results
900.0ms1658×body1280valid
440.0ms1298×body640valid
322.0ms4113×body80valid
148.0ms1934×body80overflowed
146.0ms612×body320valid
82.0ms1036×body80invalid
49.0ms319×body160valid
10.0ms18×body1280invalid
4.0ms13×body320invalid
3.0msbody640invalid
1.0msbody160invalid

Profiling

Loading profile data...