Details

Time bar (total: 2.5m)

sample40.5s

Algorithm
intervals
Results
40.3s3106×body10240exit
73.0ms3362×pre80true
22.0ms247×body80valid
3.0msbody640valid
1.0msbody160valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05325
114725
285025
3500125

prune6.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 5.8b

Counts
2 → 1

localize34.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
0.2b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
1.7b
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
3.7b
(/ (* (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)))

rewrite111.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:
10.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
10.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
58.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)))

series754.0ms

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

simplify139.0ms

Algorithm
egg-herbie
Counts
344 → 344
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
012818124
143897090
250017090

prune523.0ms

Filtered
344 candidates to 106 candidates (30.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New3422344
Fresh000
Picked101
Done000
Total3432345

Merged error: 0.7b

Counts
345 → 2

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(* 0.5 (* s c_n))

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

series18.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
08877
132062
2123462
3343862
4500262

prune34.0ms

Filtered
23 candidates to 13 candidates (56.5%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New23023
Fresh011
Picked011
Done000
Total23225

Merged error: 0.7b

Counts
25 → 2

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 (exp (- t))))
0.1b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
0.2b
(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)))

rewrite65.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:
5.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
12.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
30.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)))

series836.0ms

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

simplify126.0ms

Algorithm
egg-herbie
Counts
227 → 227
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
011564971
147893939
250013939

prune609.0ms

Filtered
227 candidates to 106 candidates (46.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2252227
Fresh000
Picked101
Done011
Total2263229

Merged error: 0.6b

Counts
229 → 3

localize28.0ms

Local error

Found 4 expressions with local error:

1.5b
(sqrt (/ (* (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))))
1.5b
(sqrt (/ (* (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))))
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)))
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)))

rewrite130.0ms

Algorithm
rewrite-expression-head
Rules
328×add-exp-log
174×prod-exp
128×div-exp
106×pow-exp
82×pow-to-exp
28×add-cbrt-cube
10×sqrt-prod
cbrt-undiv add-sqr-sqrt cbrt-unprod
pow1 add-cube-cbrt *-un-lft-identity
expm1-log1p-u times-frac log1p-expm1-u div-inv add-log-exp
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 sqrt-div clear-num associate-/r* associate-/l*
Counts
4 → 178
Calls
4 calls:
29.0ms
(sqrt (/ (* (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))))
27.0ms
(sqrt (/ (* (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))))
30.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)))
33.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)))

series3.1s

Counts
4 → 12
Calls
4 calls:
938.0ms
(sqrt (/ (* (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))))
773.0ms
(sqrt (/ (* (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))))
701.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)))
696.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)))

simplify91.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05435180
122274710
250014702

prune435.0ms

Filtered
190 candidates to 70 candidates (36.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1891190
Fresh011
Picked101
Done011
Total1903193

Merged error: 0.6b

Counts
193 → 3

regimes200.0ms

bsearch3.8s

Steps
ItersRangePoint
6
-3.4701307512392483e-168
-2.3395287029331725e-169
-9.176994996289448e-169

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05158
15158

end0.0ms

sample1.7m

Algorithm
intervals
Results
1.7m8060×body10240exit
169.0ms8704×pre80true
56.0ms628×body80valid
17.0msbody5120valid
4.0msbody1280valid
3.0msbody640valid
3.0msbody2560valid
2.0msbody160valid

Profiling

Loading profile data...