Details

Time bar (total: 18.2s)

sample4.5s

Algorithm
intervals
Results
3.7s527×body5120exit
509.0ms2951×body80overflowed
93.0ms3735×pre80true
28.0ms250×body80valid
3.0msbody1280valid
1.0msbody640valid
1.0msbody160valid
1.0msbody320valid

simplify27.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune5.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 6.0b

Counts
2 → 1

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)
0.5b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
1.9b
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
3.2b
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
557×add-exp-log
312×prod-exp
265×pow-exp
249×div-exp
185×pow-to-exp
42×unpow-prod-down
38×*-un-lft-identity
29×add-sqr-sqrt
26×times-frac
24×add-cube-cbrt
16×add-cbrt-cube
pow-unpow
pow1
distribute-lft-out
cbrt-undiv associate-/r/ cbrt-unprod add-log-exp
pow-pow div-inv sqr-pow
flip3-+ flip-+ difference-of-squares
frac-2neg clear-num associate-/r* associate-/l* distribute-lft-out--
Counts
4 → 272
Calls
4 calls:
16.0ms
(pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)
8.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
8.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
44.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

series859.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)
68.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
73.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
623.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

simplify109.0ms

Algorithm
egg-herbie
Counts
284 → 284
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
09805999
132415759
250015759

prune424.0ms

Filtered
284 candidates to 81 candidates (28.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2813284
Fresh000
Picked101
Done000
Total2823285

Merged error: 0b

Counts
285 → 3

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.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:
5.0ms
(* 0.5 (* s c_p))
5.0ms
(* 0.5 (* s c_n))

series39.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune55.0ms

Filtered
42 candidates to 22 candidates (52.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New42042
Fresh022
Picked011
Done000
Total42345

Merged error: 0b

Counts
45 → 3

localize32.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)
0.2b
(* c_p (+ (log 0.5) (* 0.5 t)))
0.5b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
1.7b
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
172×add-exp-log
88×prod-exp
65×div-exp
56×pow-exp
43×pow-to-exp
25×*-un-lft-identity
24×add-sqr-sqrt unpow-prod-down
18×add-cbrt-cube
17×add-cube-cbrt
14×times-frac
pow1
pow-unpow
cbrt-unprod
cbrt-undiv associate-/r/ add-log-exp
flip3-+ associate-*r* associate-*l* flip-+ distribute-lft-out
pow-pow associate-*r/ associate-*l/ div-inv difference-of-squares sqr-pow
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num associate-/r* *-commutative associate-/l* distribute-lft-out-- unswap-sqr
Counts
4 → 146
Calls
4 calls:
15.0ms
(pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)
6.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
38.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

series1.0s

Counts
4 → 12
Calls
4 calls:
90.0ms
(pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)
102.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
74.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
758.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

simplify111.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
09292874
142082627
250022627

prune423.0ms

Filtered
158 candidates to 74 candidates (46.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1580158
Fresh011
Picked011
Done011
Total1583161

Merged error: 0b

Counts
161 → 3

localize28.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (log 0.5) c_n)
0.5b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
1.5b
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p) (- (+ (* (log 0.5) c_n) 1) (* 0.5 (* t c_n)))))
1.9b
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
234×add-exp-log
113×prod-exp
95×div-exp
80×pow-exp
50×pow-to-exp
36×unpow-prod-down *-un-lft-identity
26×add-sqr-sqrt
25×times-frac
24×add-cube-cbrt
18×add-cbrt-cube
pow1
pow-unpow associate-/r/ distribute-lft-out
cbrt-unprod
cbrt-undiv associate-*l* add-log-exp
associate-*r* div-inv
pow-pow flip3-+ associate-*r/ flip-+ sqr-pow
flip3-- frac-2neg pow-prod-down clear-num associate-/r* log-pow *-commutative flip-- associate-/l* unswap-sqr
Counts
4 → 169
Calls
4 calls:
4.0ms
(* (log 0.5) c_n)
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
35.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p) (- (+ (* (log 0.5) c_n) 1) (* 0.5 (* t c_n)))))
11.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)

series1.4s

Counts
4 → 12
Calls
4 calls:
346.0ms
(* (log 0.5) c_n)
76.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
922.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p) (- (+ (* (log 0.5) c_n) 1) (* 0.5 (* t c_n)))))
74.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)

simplify112.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
09683270
138463021
250023021

prune469.0ms

Filtered
181 candidates to 81 candidates (44.8%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1810181
Fresh000
Picked011
Done022
Total1813184

Merged error: 0b

Counts
184 → 3

regimes284.0ms

bsearch1.5s

Steps
ItersRangePoint
9
-59.52527005214053
-1.0187921666786291e-07
-1.0357602324729432e-07

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05231
15231

end0.0ms

sample6.4s

Algorithm
intervals
Results
5.3s763×body5120exit
712.0ms4272×body80overflowed
128.0ms5423×pre80true
42.0ms373×body80valid
12.0msbody1280valid
3.0msbody640overflowed
2.0msbody640valid
1.0msbody160valid
1.0msbody320valid
0.0msbody160overflowed