Details

Time bar (total: 4.8m)

sample42.7s

Algorithm
intervals
Results
42.4s3358×body10240exit
67.0ms3614×pre80true
20.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

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

rewrite264.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)
39.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
19.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
163.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)))

series810.0ms

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

simplify129.0ms

Algorithm
egg-herbie
Counts
344 → 344
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
012818124
143807090
250017090

prune600.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 0.5 (* s c_n))

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

series23.0ms

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

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

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

rewrite232.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:
17.0ms
(/ 1.0 (+ 1.0 (exp (- s))))
20.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
39.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
146.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)))

series897.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ 1.0 (+ 1.0 (exp (- s))))
72.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
51.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
748.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)))

simplify114.0ms

Algorithm
egg-herbie
Counts
227 → 227
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
010874971
145983939
250013939

prune867.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.1b

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

rewrite207.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:
16.0ms
(/ 1.0 (+ 1.0 (exp (- s))))
17.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
39.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
126.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)))

series768.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/ 1.0 (+ 1.0 (exp (- s))))
26.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
46.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
666.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 (74.0ms)

IterNodesCost
010253971
141592922
250012918

prune715.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.1b

regimes184.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
359.0ms21042×pre80true
117.0ms1491×body80valid
27.0msbody2560valid
26.0msbody5120valid
20.0ms15×body1280valid
3.0ms11×body160valid
2.0msbody640valid
1.0msbody320valid