Details

Time bar (total: 5.8m)

sample41.6s

Algorithm
intervals
Results
41.3s3211×body10240exit
65.0ms3468×pre80true
21.0ms250×body80valid
2.0msbody1280valid
1.0msbody160valid
1.0msbody640valid

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: 5.5b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite255.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:
37.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
18.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
18.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
159.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)))

series712.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
65.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
60.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
542.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)))

simplify127.0ms

Algorithm
egg-herbie
Counts
344 → 344
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
012818124
143807090
250017090

prune757.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.8b

localize8.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 0.5 (* s c_n))

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

series17.0ms

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

prune41.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.8b

localize27.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
0.5b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
0.5b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
1.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)))

rewrite250.0ms

Algorithm
rewrite-expression-head
Rules
169×add-exp-log
145×*-un-lft-identity
109×add-sqr-sqrt
108×prod-diff
99×add-cube-cbrt
87×times-frac prod-exp
65×div-exp
55×pow-exp
42×pow-to-exp
21×distribute-lft-out
18×unpow-prod-down
16×add-cbrt-cube
14×associate-/r/
div-inv add-log-exp
flip3-+ flip-+
fma-neg
pow1
cbrt-undiv expm1-log1p-u cbrt-unprod log1p-expm1-u difference-of-squares
pow-unpow
sub-neg flip3-- diff-log flip-- distribute-lft-out--
pow-pow frac-2neg clear-num associate-/r* associate-/l* sqr-pow
Counts
4 → 254
Calls
4 calls:
38.0ms
(- 1.0 (/ 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)
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)))

series779.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
266 → 266
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
014416977
150025446

prune747.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.3b

localize11.0ms

Local error

Found 2 expressions with local error:

0.2b
(* (pow (log 0.5) 2) (pow c_p 2))
1.0b
(pow (log 0.5) 2)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
19×unpow-prod-down
16×unswap-sqr
15×add-exp-log
11×unpow2 sqr-pow
associate-*l* prod-exp
add-cube-cbrt *-un-lft-identity associate-*r*
pow-to-exp pow-exp
pow1
add-cbrt-cube
pow-unpow
expm1-log1p-u log-pow log1p-expm1-u add-log-exp
pow-pow pow-prod-down *-commutative cbrt-unprod
Counts
2 → 75
Calls
2 calls:
20.0ms
(* (pow (log 0.5) 2) (pow c_p 2))
3.0ms
(pow (log 0.5) 2)

series150.0ms

Counts
2 → 4
Calls
2 calls:
149.0ms
(* (pow (log 0.5) 2) (pow c_p 2))
0.0ms
(pow (log 0.5) 2)

simplify178.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0206405
1818338
24725332
35001332

prune151.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.3b

regimes288.0ms

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0155
1155

end0.0ms

sample5.0m

Algorithm
intervals
Results
5.0m24468×body10240exit
471.0ms26383×pre80true
154.0ms1861×body80valid
18.0msbody5120valid
16.0ms11×body1280valid
10.0ms12×body640valid
5.0ms21×body160valid
5.0msbody2560valid
2.0msbody320valid