Details

Time bar (total: 1.8m)

sample42.2s

Algorithm
intervals
Results
41.9s3148×body10240exit
59.0ms3404×pre80true
33.0ms252×body80valid
1.0msbody640valid
1.0msbody160valid
1.0msbody320valid

simplify24.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite252.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:
38.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
18.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
19.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
156.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)))

series685.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
62.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
61.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
520.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)))

simplify128.0ms

Algorithm
egg-herbie
Counts
344 → 344
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
012818124
143807090
250017090

prune1.2s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.7b

localize11.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:
14.0ms
(* 0.5 (* s c_n))

series17.0ms

Counts
1 → 3
Calls
1 calls:
17.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

prune63.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.7b

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 0.5 (* s c_n))
0.0b
(expm1 (log1p (* 0.5 (* s c_n))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
expm1-log1p associate-*r* *-commutative expm1-udef
Counts
2 → 31
Calls
2 calls:
14.0ms
(* 0.5 (* s c_n))
0.0ms
(expm1 (log1p (* 0.5 (* s c_n))))

series232.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(* 0.5 (* s c_n))
211.0ms
(expm1 (log1p (* 0.5 (* s c_n))))

simplify44.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0171161
1545137
22039131
35001121

prune109.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.7b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite222.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 (- t))))
38.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
18.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
140.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)))

series779.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
41.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
65.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
646.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
011604980
148353939
250013939

prune1.3s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.5b

regimes552.0ms

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05032
15032

end0.0ms

sample1.0m

Algorithm
intervals
Results
1.0m4636×body10240exit
84.0ms5011×pre80true
48.0ms369×body80valid
2.0msbody2560valid
2.0msbody1280valid
1.0msbody640valid
1.0msbody160valid
1.0msbody320valid