Details

Time bar (total: 6.6s)

sample1.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 43.353271%

Guaranteed chance to sample good point: 74.469346%

Results
34.0ms62×body1280valid
14.0ms42×body640valid
10.0ms123×body80valid
5.0ms62×body80overflowed
4.0ms17×body320valid
2.0ms12×body160valid
1.0msbody1280invalid
0.0msbody320invalid
0.0msbody80invalid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (35.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune10.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: 31.1b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite175.0ms

Algorithm
rewrite-expression-head
Rules
118×*-un-lft-identity
106×times-frac
90×add-sqr-sqrt
34×add-cube-cbrt
26×distribute-lft-out--
17×difference-of-squares
10×distribute-lft-out associate-/l* add-log-exp
add-cbrt-cube
add-exp-log associate-/r*
pow1 div-inv associate-/l/
div-sub
cbrt-undiv flip3-- exp-to-pow frac-2neg diff-log div-exp clear-num flip--
sub-neg exp-prod distribute-rgt-out-- flip3-+ frac-sub flip-+ rem-exp-log sub-div associate--r-
Counts
4 → 127
Calls
4 calls:
3.0ms
(exp (* (- 1.0 eps) x))
11.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
11.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
144.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))

series82.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
06171951
118601845
250011835

prune341.0ms

Filtered
101 candidates to 139 candidates (-37.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1363139
Fresh000
Picked101
Done000
Total1373140

Merged error: 0.2b

Counts
140 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

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

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

series11.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0281367
11210327
25001314

prune106.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New80181
Fresh022
Picked101
Done000
Total81384

Merged error: 0.2b

Counts
84 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 0.5 (pow x 2))
0.1b
(* 0.33333333333333337 (pow x 3))
2.0b
(log (exp (* 0.5 (pow x 2))))
12.8b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (log (exp (* 0.5 (pow x 2)))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
20×associate-*r*
16×*-un-lft-identity
14×add-exp-log
13×add-cube-cbrt
unpow-prod-down add-cbrt-cube add-log-exp unswap-sqr
pow1 log-prod associate-*l* prod-exp
cube-prod log-pow sqr-pow
associate--r+
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod distribute-lft-out-- unpow2
cube-mult sub-neg exp-prod flip3-- exp-to-pow unpow3 rem-log-exp associate--l+ sum-log flip-- difference-of-squares
Counts
4 → 92
Calls
4 calls:
7.0ms
(* 0.5 (pow x 2))
6.0ms
(* 0.33333333333333337 (pow x 3))
2.0ms
(log (exp (* 0.5 (pow x 2))))
9.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (log (exp (* 0.5 (pow x 2)))))

series14.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0318516
11271447
25002433

prune166.0ms

Filtered
64 candidates to 104 candidates (-62.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1031104
Fresh022
Picked101
Done000
Total1043107

Merged error: 0.2b

Counts
107 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

2.0b
(log (exp (* 0.5 (pow x 2))))
12.8b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (log (exp (* 0.5 (pow x 2)))))
12.8b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (log (exp (* 0.5 (pow x 2)))))
12.8b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (log (exp (* 0.5 (pow x 2)))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
14×add-sqr-sqrt add-log-exp
12×log-prod
associate--r+
pow1 add-cube-cbrt
diff-log log-pow distribute-lft-out--
add-exp-log add-cbrt-cube
sub-neg flip3-- associate--l+ sum-log flip-- difference-of-squares
exp-prod exp-to-pow rem-log-exp
Counts
4 → 74
Calls
4 calls:
2.0ms
(log (exp (* 0.5 (pow x 2))))
9.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (log (exp (* 0.5 (pow x 2)))))
9.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (log (exp (* 0.5 (pow x 2)))))
9.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (log (exp (* 0.5 (pow x 2)))))

series16.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(log (exp (* 0.5 (pow x 2))))
4.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (log (exp (* 0.5 (pow x 2)))))
4.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (log (exp (* 0.5 (pow x 2)))))
4.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (log (exp (* 0.5 (pow x 2)))))

simplify84.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0135792
1440700
22188670
35002661

prune366.0ms

Filtered
60 candidates to 86 candidates (-43.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New85186
Fresh022
Picked101
Done000
Total86389

Merged error: 0.2b

Counts
89 → 3

regimes133.0ms

Accuracy

98.1% (0.4b remaining)

Error of 0.8b against oracle of 0.4b and baseline of 19.2b

bsearch94.0ms

Steps
ItersRangePoint
8
0.00028346090052719397
4.273587695826267
1.302816513994034

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05562
15562

end0.0ms

sample3.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 43.353271%

Guaranteed chance to sample good point: 74.469346%

Results
1.1s2028×body1280valid
481.0ms1431×body640valid
272.0ms3530×body80valid
168.0ms2148×body80overflowed
150.0ms646×body320valid
56.0ms365×body160valid
8.0ms15×body1280invalid
5.0ms55×body80invalid
3.0msbody640invalid
2.0msbody320invalid
1.0msbody160invalid

Profiling

Loading profile data...