Details

Time bar (total: 4.8m)

sample42.7s

Algorithm
intervals
Results
42.4s3358×body10240exit
71.0ms3614×pre80true
23.0ms250×body80valid
5.0msbody5120valid
3.0msbody1280valid
1.0msbody160valid

simplify24.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: 3.5b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
0.7b
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
1.9b
(/ (* (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)))

rewrite258.0ms

Algorithm
rewrite-expression-head
Rules
556×add-exp-log
312×prod-exp
264×pow-exp
249×div-exp
184×pow-to-exp
97×*-un-lft-identity
70×add-sqr-sqrt
65×add-cube-cbrt
62×times-frac
54×prod-diff
36×unpow-prod-down
16×add-cbrt-cube
15×distribute-lft-out
10×associate-/r/
pow1 pow-unpow div-inv add-log-exp
flip3-+ flip-+
cbrt-undiv expm1-log1p-u cbrt-unprod log1p-expm1-u
fma-neg
pow-pow difference-of-squares sqr-pow
sub-neg flip3-- frac-2neg diff-log clear-num associate-/r* flip-- associate-/l* distribute-lft-out--
Counts
4 → 332
Calls
4 calls:
19.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
37.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
20.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
160.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)))

series780.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
47.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
66.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
598.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)))

simplify123.0ms

Algorithm
egg-herbie
Counts
344 → 344
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
012818124
143807090
250017090

prune583.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 0.5 (* s c_n))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
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
expm1-log1p-u associate-*r* *-commutative log1p-expm1-u add-log-exp
Counts
1 → 20
Calls
1 calls:
15.0ms
(* 0.5 (* s c_n))

series19.0ms

Counts
1 → 3
Calls
1 calls:
19.0ms
(* 0.5 (* s c_n))

simplify72.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
08877
132062
2123462
3343862
4500262

prune46.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite225.0ms

Algorithm
rewrite-expression-head
Rules
171×add-exp-log
99×*-un-lft-identity
87×prod-exp
70×add-sqr-sqrt
66×div-exp
65×add-cube-cbrt
62×times-frac
55×pow-exp
54×prod-diff
42×pow-to-exp
18×unpow-prod-down add-cbrt-cube
16×distribute-lft-out
10×associate-/r/
div-inv add-log-exp
pow1 cbrt-undiv flip3-+ associate-/r* flip-+
expm1-log1p-u cbrt-unprod log1p-expm1-u associate-/l*
pow-unpow fma-neg
frac-2neg clear-num difference-of-squares
sub-neg flip3-- pow-pow diff-log flip-- distribute-lft-out-- sqr-pow
Counts
4 → 215
Calls
4 calls:
16.0ms
(/ 1.0 (+ 1.0 (exp (- s))))
18.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
38.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
141.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (fma (log 0.5) c_p (fma 0.5 (* t c_p) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

series871.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1.0 (+ 1.0 (exp (- s))))
71.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
49.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
726.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (fma (log 0.5) c_p (fma 0.5 (* t c_p) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

simplify119.0ms

Algorithm
egg-herbie
Counts
227 → 227
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
010874971
145983939
250013939

prune681.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.1b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite202.0ms

Algorithm
rewrite-expression-head
Rules
101×*-un-lft-identity
70×add-sqr-sqrt
65×add-cube-cbrt
62×times-frac
56×add-exp-log
54×prod-diff
24×prod-exp
20×add-cbrt-cube
18×div-exp
17×distribute-lft-out
10×associate-/r/
associate-/r*
pow-to-exp pow-exp
associate-/l*
cbrt-undiv div-inv add-log-exp
flip3-+ flip-+
pow1 expm1-log1p-u cbrt-unprod log1p-expm1-u
frac-2neg fma-neg clear-num
difference-of-squares
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 179
Calls
4 calls:
17.0ms
(/ 1.0 (+ 1.0 (exp (- s))))
16.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
38.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
123.0ms
(/ (* (fma (log 0.5) c_p (fma 0.5 (* s c_p) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (fma (log 0.5) c_p (fma 0.5 (* t c_p) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

series758.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1.0 (+ 1.0 (exp (- s))))
29.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
45.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
658.0ms
(/ (* (fma (log 0.5) c_p (fma 0.5 (* s c_p) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (fma (log 0.5) c_p (fma 0.5 (* t c_p) 1)) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

simplify98.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
010253971
141592922
250012918

prune724.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.1b

regimes181.0ms

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0155
1155

end0.0ms

sample4.0m

Algorithm
intervals
Results
4.0m19509×body10240exit
351.0ms21042×pre80true
125.0ms1491×body80valid
27.0msbody2560valid
26.0msbody5120valid
21.0ms15×body1280valid
3.0ms11×body160valid
3.0msbody640valid
1.0msbody320valid