Details

Time bar (total: 2.5min)

sample22.0s

Algorithm
intervals
sampling

Space saved by range analysis: 75%

Space saved by search: 86.444092%

Guaranteed chance to sample good point: 11.526339%

Results
3.5s461×body5120exit
739.0ms266×body1280overflowed
347.0ms247×body640overflowed
112.0ms136×body320overflowed
101.0ms491×body80overflowed
49.0ms1916×pre80true
32.0ms245×body80valid
27.0ms59×body160overflowed
8.0msbody1280valid
4.0msbody2560valid
3.0msbody640valid
1.0msbody160valid

simplify24.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 6.0b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

0.4b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
0.7b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
1.7b
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))
2.2b
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)

rewrite282.0ms

Algorithm
rewrite-expression-head
Rules
556×add-exp-log
312×prod-exp
264×pow-exp
249×div-exp
184×pow-to-exp
36×unpow-prod-down *-un-lft-identity
27×add-sqr-sqrt
26×times-frac
22×add-cube-cbrt
16×add-cbrt-cube
pow1 pow-unpow distribute-lft-out add-log-exp
cbrt-undiv associate-/r/ cbrt-unprod
div-inv
pow-pow flip3-+ flip-+ difference-of-squares sqr-pow
sub-neg flip3-- frac-2neg diff-log clear-num associate-/r* flip-- associate-/l* distribute-lft-out--
Counts
4 → 267
Calls
4 calls:
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
37.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)

series210.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
14.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
175.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))
14.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)

simplify105.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
09825948
131575704
250025704

prune286.0ms

Filtered
79 candidates to 279 candidates (-253.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2745279
Fresh000
Picked101
Done000
Total2755280

Merged error: 0.1b

Counts
280 → 5

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 0.5 (* s c_p))
0.0b
(* 0.5 (* s c_n))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
12×pow1 add-exp-log add-cbrt-cube
associate-*l* pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r* *-commutative add-log-exp
Counts
2 → 36
Calls
2 calls:
4.0ms
(* 0.5 (* s c_p))
4.0ms
(* 0.5 (* s c_n))

series7.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(* 0.5 (* s c_p))
3.0ms
(* 0.5 (* s c_n))

simplify56.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune52.0ms

Filtered
22 candidates to 42 candidates (-90.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New42042
Fresh044
Picked011
Done000
Total42547

Merged error: 0.1b

Counts
47 → 5

localize28.0ms

Local error

Found 4 expressions with local error:

0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
0.4b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
0.7b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
1.0b
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
169×add-exp-log
87×prod-exp
65×div-exp
55×pow-exp
42×pow-to-exp
23×add-sqr-sqrt *-un-lft-identity
18×unpow-prod-down
16×add-cbrt-cube
15×times-frac
13×add-cube-cbrt
add-log-exp
pow1
cbrt-undiv associate-/r/ cbrt-unprod difference-of-squares
pow-unpow distribute-lft-out
sub-neg flip3-- flip3-+ diff-log associate-*l/ flip-- flip-+ div-inv distribute-lft-out--
pow-pow frac-2neg clear-num associate-/r* associate-/l* sqr-pow
Counts
4 → 134
Calls
4 calls:
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
6.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
34.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

series229.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
7.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg t)))))
14.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
201.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

simplify97.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
08822847
137872592
250012592

prune257.0ms

Filtered
69 candidates to 146 candidates (-111.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1460146
Fresh033
Picked011
Done011
Total1465151

Merged error: 0.1b

Counts
151 → 5

localize26.0ms

Local error

Found 4 expressions with local error:

0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
0.7b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
1.7b
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p) (pow (- (+ (* 0.020833333333333336 (pow t 3)) 0.5) (* 0.25 t)) c_n)))
2.2b
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
556×add-exp-log
312×prod-exp
264×pow-exp
249×div-exp
184×pow-to-exp
36×unpow-prod-down *-un-lft-identity
27×add-sqr-sqrt
26×times-frac
22×add-cube-cbrt
16×add-cbrt-cube
pow1 pow-unpow distribute-lft-out add-log-exp
cbrt-undiv associate-/r/ cbrt-unprod
div-inv
pow-pow flip3-+ flip-+ difference-of-squares sqr-pow
sub-neg flip3-- frac-2neg diff-log clear-num associate-/r* flip-- associate-/l* distribute-lft-out--
Counts
4 → 267
Calls
4 calls:
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
6.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
35.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p) (pow (- (+ (* 0.020833333333333336 (pow t 3)) 0.5) (* 0.25 t)) c_n)))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)

series233.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
14.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
192.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p) (pow (- (+ (* 0.020833333333333336 (pow t 3)) 0.5) (* 0.25 t)) c_n)))
20.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)

simplify111.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
010115949
132795709
250025709

prune294.0ms

Filtered
80 candidates to 279 candidates (-248.8%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2790279
Fresh022
Picked011
Done022
Total2795284

Merged error: 0.1b

Counts
284 → 5

regimes1.1s

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05232
15232

end0.0ms

sample2.1min

Algorithm
intervals
sampling

Space saved by range analysis: 75%

Space saved by search: 86.444092%

Guaranteed chance to sample good point: 11.526339%

Results
1.3min11259×body5120exit
15.1s6074×body1280overflowed
7.3s5528×body640overflowed
2.4s2913×body320overflowed
2.2s11626×body80overflowed
1.1s44508×pre80true
686.0ms5612×body80valid
556.0ms1313×body160overflowed
118.0ms52×body1280valid
43.0ms38×body640valid
38.0msbody5120valid
24.0msbody2560valid
19.0ms57×body160valid
11.0ms17×body320valid
1.0msbody640invalid
1.0msbody80invalid

Profiling

Loading profile data...