Details

Time bar (total: 2.0min)

sample20.9s

Algorithm
intervals
sampling

Space saved by range analysis: 75%

Space saved by search: 75%

Guaranteed chance to sample good point: 6.25%

Results
3.6s522×body5120exit
748.0ms297×body1280overflowed
437.0ms2284×body80overflowed
310.0ms235×body640overflowed
89.0ms118×body320overflowed
86.0ms3777×pre80true
28.0ms241×body80valid
26.0ms64×body160overflowed
13.0msbody5120valid
5.0msbody640valid
3.0msbody2560valid
2.0msbody160valid
1.0msbody320valid
0.0msbody80invalid

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.7b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
0.5b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
2.4b
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
2.9b
(/ (* (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)))

rewrite86.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)))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
41.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)))

series202.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
13.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
14.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg t)))) c_p)
168.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)))

simplify104.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
09825948
131575704
250035704

prune264.0ms

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2772279
Fresh000
Picked101
Done000
Total2782280

Merged error: 0.4b

Counts
280 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

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

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_n))
5.0ms
(* 0.5 (* s c_p))

series6.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune36.0ms

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

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New42042
Fresh011
Picked011
Done000
Total42244

Merged error: 0.4b

Counts
44 → 2

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
0.2b
(* c_p (+ (log 0.5) (* 0.5 t)))
0.5b
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
1.2b
(/ (* (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)))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
171×add-exp-log
88×prod-exp
65×div-exp
55×pow-exp
42×pow-to-exp
23×*-un-lft-identity
22×add-sqr-sqrt
18×unpow-prod-down add-cbrt-cube
15×add-cube-cbrt
14×times-frac
pow1
add-log-exp
cbrt-unprod
cbrt-undiv associate-/r/
pow-unpow flip3-+ associate-*r* associate-*l* flip-+ distribute-lft-out
associate-*r/ associate-*l/ div-inv difference-of-squares
distribute-rgt-in sub-neg flip3-- pow-pow frac-2neg distribute-lft-in diff-log pow-prod-down clear-num associate-/r* *-commutative flip-- associate-/l* distribute-lft-out-- unswap-sqr sqr-pow
Counts
4 → 141
Calls
4 calls:
11.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
5.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
7.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)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (neg t))))) c_n)))

series224.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (neg s)))))
11.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
13.0ms
(pow (/ 1.0 (+ 1.0 (exp (neg s)))) c_p)
193.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)))

simplify105.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
09202823
140622572
250022572

prune244.0ms

Filtered
72 candidates to 153 candidates (-112.5%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1521153
Fresh000
Picked101
Done011
Total1532155

Merged error: 0.4b

Counts
155 → 2

localize31.0ms

Local error

Found 4 expressions with local error:

1.2b
(/ (* (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)))
1.2b
(/ (* (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)))
1.7b
(sqrt (/ (* (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))))
1.7b
(sqrt (/ (* (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))))

rewrite151.0ms

Algorithm
rewrite-expression-head
Rules
328×add-exp-log
174×prod-exp
128×div-exp
106×pow-exp
82×pow-to-exp
28×add-cbrt-cube
14×sqrt-prod
cbrt-undiv add-sqr-sqrt associate-*l/ associate-/r/ cbrt-unprod
pow1 add-cube-cbrt *-un-lft-identity
flip3-+ times-frac flip-+ div-inv add-log-exp
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 sqrt-div clear-num associate-/r* associate-/l*
Counts
4 → 178
Calls
4 calls:
39.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)))
35.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)))
35.0ms
(sqrt (/ (* (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))))
32.0ms
(sqrt (/ (* (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))))

series772.0ms

Counts
4 → 12
Calls
4 calls:
193.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)))
195.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)))
191.0ms
(sqrt (/ (* (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))))
193.0ms
(sqrt (/ (* (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))))

simplify99.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06175452
128984958
250034958

prune449.0ms

Filtered
68 candidates to 190 candidates (-179.4%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1891190
Fresh000
Picked101
Done011
Total1902192

Merged error: 0.4b

Counts
192 → 2

regimes411.0ms

bsearch3.3s

Steps
ItersRangePoint
10
-12873.275831682608
-5.107967110095968e-08
-7.293725585434315e-05

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
059116
159116

end0.0ms

sample1.5min

Algorithm
intervals
sampling

Space saved by range analysis: 75%

Space saved by search: 75%

Guaranteed chance to sample good point: 6.25%

Results
48.3s7164×body5120exit
10.1s4040×body1280overflowed
6.0s31216×body80overflowed
4.7s3538×body640overflowed
1.4s1807×body320overflowed
1.2s52212×pre80true
409.0ms3446×body80valid
375.0ms895×body160overflowed
73.0msbody5120valid
30.0ms13×body1280valid
28.0msbody2560valid
26.0ms23×body640valid
11.0ms34×body160valid
11.0ms17×body320valid
10.0msbody5120overflowed
1.0msbody80invalid

Profiling

Loading profile data...