Details

Time bar (total: 6.8m)

sample40.0s

Algorithm
intervals
Results
39.7s3188×body10240exit
75.0ms3446×pre80true
22.0ms247×body80valid
6.0msbody5120valid
4.0msbody1280valid
3.0msbody2560valid
1.0msbody320valid
1.0msbody160valid
0.0msbody640valid

simplify23.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.8b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 (exp (- t))))
0.2b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
1.5b
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
4.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)))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
558×add-exp-log
312×prod-exp
264×pow-exp
250×div-exp
184×pow-to-exp
51×*-un-lft-identity
37×times-frac
36×unpow-prod-down
31×add-sqr-sqrt add-cube-cbrt
18×add-cbrt-cube
10×distribute-lft-out
pow1 pow-unpow associate-/r/
cbrt-undiv associate-/r*
cbrt-unprod div-inv associate-/l* add-log-exp
flip3-+ flip-+
pow-pow frac-2neg clear-num sqr-pow
Counts
4 → 285
Calls
4 calls:
5.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
42.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)))

series739.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
70.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
68.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
576.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)))

simplify103.0ms

Algorithm
egg-herbie
Counts
297 → 297
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
09666045
132515797
250035797

prune502.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 1.0b

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

series41.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune71.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 1.0b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
176×add-exp-log
91×prod-exp
65×div-exp
56×pow-exp
43×pow-to-exp
30×add-sqr-sqrt
26×*-un-lft-identity
25×unpow-prod-down
20×add-cbrt-cube
18×add-cube-cbrt
14×times-frac
13×associate-*r*
pow1
associate-*l* cbrt-unprod
cbrt-undiv flip3-+ associate-*l/ associate-/r/ flip-+ add-log-exp unswap-sqr
pow-unpow distribute-lft-out sqr-pow
associate-*r/ *-commutative div-inv difference-of-squares
distribute-rgt-in pow-pow frac-2neg distribute-lft-in pow-prod-down clear-num associate-/r* associate-/l* distribute-lft-out--
Counts
4 → 156
Calls
4 calls:
10.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
5.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
19.0ms
(* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n))
36.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:
71.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
98.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
140.0ms
(* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n))
703.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)))

simplify116.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
09563201
143782903
250022903

prune509.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
43×add-exp-log
27×*-un-lft-identity
24×add-sqr-sqrt
18×unpow-prod-down
17×add-cube-cbrt div-exp
16×times-frac
13×prod-exp
12×pow-exp
11×add-cbrt-cube
pow1 pow-to-exp
add-log-exp
associate-*r* associate-*l* associate-/r/ distribute-lft-out
pow-unpow flip3-+ associate-/r* flip-+
cbrt-undiv associate-*r/ cbrt-unprod 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 log-pow *-commutative flip-- associate-/l* distribute-lft-out-- unswap-sqr sqr-pow
Counts
4 → 106
Calls
4 calls:
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
25.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (+ 1 (* (log 0.5) (+ c_p c_n))))
6.0ms
(* (log 0.5) (+ c_p c_n))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)

series746.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
543.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (+ 1 (* (log 0.5) (+ c_p c_n))))
81.0ms
(* (log 0.5) (+ c_p c_n))
71.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)

simplify66.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06451346
127411225
250021224

prune322.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes166.0ms

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04625
14625

end0.0ms

sample6.1m

Algorithm
intervals
Results
6.1m29561×body10240exit
606.0ms31815×pre80true
187.0ms2176×body80valid
84.0msbody5120valid
28.0ms16×body1280valid
14.0ms19×body640valid
7.0msbody2560valid
6.0ms25×body160valid
3.0msbody320valid