Details

Time bar (total: 5.6s)

sample130.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 73.520795%

Results
30.0ms53×body1280valid
26.0ms343×body80valid
21.0ms44×body640valid
4.0ms17×body320valid
4.0ms50×body80overflowed
0.0msbody160valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (37.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 26.8b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite173.0ms

Algorithm
rewrite-expression-head
Rules
109×*-un-lft-identity
94×times-frac
91×add-sqr-sqrt
29×add-cube-cbrt
27×distribute-lft-out--
18×difference-of-squares
10×add-cbrt-cube
add-exp-log associate-*l*
pow1
distribute-lft-out
associate-*r* associate-/l* add-log-exp
associate-*l/
flip3-- div-sub associate-/r* flip-- div-inv
pow-prod-down prod-exp *-commutative cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv sub-neg distribute-rgt-out-- frac-2neg flip3-+ diff-log div-exp clear-num frac-sub flip-+ sub-div associate--r-
Counts
4 → 126
Calls
4 calls:
11.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
6.0ms
(* (- 1.0 eps) x)
6.0ms
(* (+ 1.0 eps) x)
143.0ms
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

series83.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
5.0ms
(* (- 1.0 eps) x)
5.0ms
(* (+ 1.0 eps) x)
61.0ms
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

simplify68.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06191697
120851604
250031604

prune342.0ms

Filtered
99 candidates to 138 candidates (-39.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1362138
Fresh000
Picked101
Done000
Total1372139

Merged error: 0.3b

Counts
139 → 2

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 0.5 (pow x 2))
0.1b
(* 0.33333333333333337 (pow x 3))
6.0b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
20×associate-*r*
13×add-exp-log
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp unswap-sqr
add-cbrt-cube
associate-*l* prod-exp
cube-prod sqr-pow
pow1
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod unpow2
cube-mult sub-neg flip3-- unpow3 associate--l+ sum-log flip--
Counts
3 → 72
Calls
3 calls:
5.0ms
(* 0.5 (pow x 2))
6.0ms
(* 0.33333333333333337 (pow x 3))
7.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

series12.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(* 0.5 (pow x 2))
4.0ms
(* 0.33333333333333337 (pow x 3))
5.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

simplify48.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0281367
11210327
25001314

prune116.0ms

Filtered
48 candidates to 81 candidates (-68.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New79281
Fresh011
Picked011
Done000
Total79483

Merged error: 0.3b

Counts
83 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

6.0b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))
10.6b
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
10.6b
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
10.6b
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))

rewrite29.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.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))
7.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
7.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
7.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))

series37.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))
10.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
10.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
12.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))

simplify143.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0253983
1904924
24252836
35001836

prune351.0ms

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New63265
Fresh112
Picked101
Done011
Total65469

Merged error: 0.3b

Counts
69 → 4

localize25.0ms

Local error

Found 4 expressions with local error:

10.6b
(cbrt (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
10.6b
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
10.6b
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
11.2b
(- (* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (* 0.33333333333333337 (pow x 3)) 1.0)) (* (* 0.5 (pow x 2)) (* 0.5 (pow x 2))))

rewrite35.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:
6.0ms
(cbrt (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
7.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
7.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
14.0ms
(- (* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (* 0.33333333333333337 (pow x 3)) 1.0)) (* (* 0.5 (pow x 2)) (* 0.5 (pow x 2))))

series40.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(cbrt (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
10.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
10.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
9.0ms
(- (* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (* 0.33333333333333337 (pow x 3)) 1.0)) (* (* 0.5 (pow x 2)) (* 0.5 (pow x 2))))

simplify56.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
03741120
114871025
25001946

prune538.0ms

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New65166
Fresh112
Picked101
Done011
Total67370

Merged error: 0.3b

Counts
70 → 3

regimes113.0ms

Accuracy

97.5% (0.4b remaining)

Error of 1.1b against oracle of 0.7b and baseline of 17.0b

bsearch101.0ms

Steps
ItersRangePoint
10
3.328979679342993e-06
131215.07867019402
352.38826299575146

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04023
14023

end0.0ms

sample3.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 73.520795%

Results
973.0ms1705×body1280valid
815.0ms10026×body80valid
471.0ms1300×body640valid
148.0ms616×body320valid
140.0ms1776×body80overflowed
46.0ms292×body160valid

Profiling

Loading profile data...