Details

Time bar (total: 2.6m)

sample43.5s

Algorithm
intervals
Results
43.3s3413×body10240exit
80.0ms3669×pre80true
23.0ms245×body80valid
6.0msbody5120valid
6.0msbody1280valid
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: 8.2b

Counts
2 → 1

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite80.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 (- s)))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
40.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)))

series757.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
09765948
131425704
250015704

prune428.0ms

Filtered
279 candidates to 79 candidates (28.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2763279
Fresh000
Picked101
Done000
Total2773280

Merged error: 0.9b

Counts
280 → 3

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 0.5 (* s c_n))
0.0b
(* 0.5 (* s c_p))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
12×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
2 → 36
Calls
2 calls:
4.0ms
(* 0.5 (* s c_n))
5.0ms
(* 0.5 (* s c_p))

series40.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(* 0.5 (* s c_n))
22.0ms
(* 0.5 (* s c_p))

simplify57.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune75.0ms

Filtered
42 candidates to 22 candidates (52.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New40242
Fresh022
Picked011
Done000
Total40545

Merged error: 0.9b

Counts
45 → 5

localize28.0ms

Local error

Found 4 expressions with local error:

0.2b
(* c_p (+ (log 0.5) (* 0.5 t)))
0.5b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
1.0b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
2.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:
7.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
10.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
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)))

series911.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
45.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
69.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
697.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
09222823
140792572
250012572

prune444.0ms

Filtered
153 candidates to 72 candidates (47.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1512153
Fresh213
Picked101
Done011
Total1544158

Merged error: 0.9b

Counts
158 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 1/2 (* (pow (log 0.5) 2) (pow c_p 2)))
0.0b
(* 0.5 (* s c_p))
0.1b
(* (pow (log 0.5) 2) (pow c_p 2))
1.0b
(pow (log 0.5) 2)

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
45×add-exp-log
31×prod-exp
28×add-sqr-sqrt
19×unpow-prod-down
16×add-cbrt-cube unswap-sqr
15×associate-*l*
14×pow1
13×pow-to-exp pow-exp
12×add-cube-cbrt *-un-lft-identity
11×unpow2 sqr-pow
10×associate-*r*
cbrt-unprod
pow-prod-down
add-log-exp
pow-unpow *-commutative
log-pow
pow-pow
Counts
4 → 114
Calls
4 calls:
7.0ms
(* 1/2 (* (pow (log 0.5) 2) (pow c_p 2)))
4.0ms
(* 0.5 (* s c_p))
7.0ms
(* (pow (log 0.5) 2) (pow c_p 2))
2.0ms
(pow (log 0.5) 2)

series353.0ms

Counts
4 → 10
Calls
4 calls:
173.0ms
(* 1/2 (* (pow (log 0.5) 2) (pow c_p 2)))
24.0ms
(* 0.5 (* s c_p))
156.0ms
(* (pow (log 0.5) 2) (pow c_p 2))
0.0ms
(pow (log 0.5) 2)

simplify47.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0343646
11473541
25001535

prune213.0ms

Filtered
124 candidates to 59 candidates (47.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1240124
Fresh022
Picked011
Done011
Total1244128

Merged error: 0.9b

Counts
128 → 4

regimes409.0ms

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05687
15687

end0.0ms

sample1.8m

Algorithm
intervals
Results
1.8m8781×body10240exit
182.0ms9435×pre80true
56.0ms634×body80valid
12.0msbody5120valid
8.0msbody1280valid
4.0msbody640valid
2.0msbody320valid
1.0msbody160valid