Details

Time bar (total: 2.5m)

sample40.7s

Algorithm
intervals
Results
40.4s3106×body10240exit
91.0ms3362×pre80true
22.0ms247×body80valid
3.0msbody640valid
1.0msbody160valid

simplify24.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

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

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

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
556×add-exp-log
312×prod-exp
264×pow-exp
249×div-exp
184×pow-to-exp
36×unpow-prod-down *-un-lft-identity
27×add-sqr-sqrt
26×times-frac
22×add-cube-cbrt
16×add-cbrt-cube
pow1 pow-unpow distribute-lft-out add-log-exp
cbrt-undiv associate-/r/ cbrt-unprod
div-inv
pow-pow flip3-+ flip-+ difference-of-squares sqr-pow
sub-neg flip3-- frac-2neg diff-log clear-num associate-/r* flip-- associate-/l* distribute-lft-out--
Counts
4 → 267
Calls
4 calls:
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
39.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)))

series747.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
09765948
131425704
250015704

prune385.0ms

Filtered
279 candidates to 79 candidates (28.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2772279
Fresh000
Picked101
Done000
Total2782280

Merged error: 0.7b

Counts
280 → 2

localize8.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
associate-*r* *-commutative add-log-exp
Counts
1 → 18
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))

simplify71.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
08671
131856
2123256
3343656
4500256

prune29.0ms

Filtered
21 candidates to 11 candidates (52.4%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New21021
Fresh011
Picked011
Done000
Total21223

Merged error: 0.7b

Counts
23 → 2

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
171×add-exp-log
88×prod-exp
65×div-exp
55×pow-exp
42×pow-to-exp
23×*-un-lft-identity
22×add-sqr-sqrt
18×unpow-prod-down add-cbrt-cube
15×add-cube-cbrt
14×times-frac
pow1
add-log-exp
cbrt-unprod
cbrt-undiv associate-/r/
pow-unpow flip3-+ associate-*r* associate-*l* flip-+ distribute-lft-out
associate-*r/ associate-*l/ div-inv difference-of-squares
distribute-rgt-in sub-neg flip3-- pow-pow frac-2neg distribute-lft-in diff-log pow-prod-down clear-num associate-/r* *-commutative flip-- associate-/l* distribute-lft-out-- unswap-sqr sqr-pow
Counts
4 → 141
Calls
4 calls:
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
5.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
38.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

series997.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- t)))))
91.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
66.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
794.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

simplify104.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09232823
140472572
250022572

prune380.0ms

Filtered
153 candidates to 72 candidates (47.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1512153
Fresh000
Picked101
Done011
Total1523155

Merged error: 0.6b

Counts
155 → 3

localize29.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)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 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)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 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)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 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)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

rewrite149.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
14×sqrt-prod
cbrt-undiv add-sqr-sqrt associate-*l/ associate-/r/ cbrt-unprod
pow1 add-cube-cbrt *-un-lft-identity
flip3-+ times-frac flip-+ 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:
32.0ms
(sqrt (/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n))))
35.0ms
(sqrt (/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n))))
34.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))
38.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

series2.9s

Counts
4 → 12
Calls
4 calls:
761.0ms
(sqrt (/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n))))
756.0ms
(sqrt (/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n))))
681.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))
681.0ms
(/ (* (pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)) (* (+ (* c_p (+ (log 0.5) (* 0.5 t))) 1) (pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)))

simplify97.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06195454
129124958
250014958

prune446.0ms

Filtered
190 candidates to 68 candidates (35.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1891190
Fresh011
Picked101
Done011
Total1903193

Merged error: 0.6b

Counts
193 → 3

regimes199.0ms

bsearch3.9s

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

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05861
15861

end0.0ms

sample1.7m

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

Profiling

Loading profile data...