Details

Time bar (total: 6.9m)

sample40.1s

Algorithm
intervals
Results
39.8s3188×body10240exit
80.0ms3446×pre80true
28.0ms247×body80valid
7.0msbody5120valid
4.0msbody1280valid
3.0msbody2560valid
1.0msbody320valid
1.0msbody160valid
0.0msbody640valid

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

rewrite143.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:
8.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
10.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
12.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
93.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)))

series728.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
297 → 297
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
09666045
132515797
250035797

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

rewrite12.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))
6.0ms
(* 0.5 (* s c_n))

series40.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune73.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 1.0b

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

rewrite259.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)
8.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
146.0ms
(* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n))
86.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:
69.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
100.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
136.0ms
(* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n))
700.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)))

simplify113.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09563201
143782903
250022903

prune512.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

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

rewrite90.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:
17.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
50.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))))
9.0ms
(* (log 0.5) (+ c_p c_n))
10.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)

series737.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
537.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))))
80.0ms
(* (log 0.5) (+ c_p c_n))
70.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)

simplify67.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06451346
127411225
250021224

prune331.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes165.0ms

bsearch1.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
647.0ms31815×pre80true
187.0ms2176×body80valid
86.0msbody5120valid
28.0ms16×body1280valid
14.0ms19×body640valid
7.0msbody2560valid
6.0ms25×body160valid
3.0msbody320valid