Details

Time bar (total: 29.4s)

sample2.4s

Algorithm
intervals
Results
1.6s234×body5120exit
483.0ms2896×body80overflowed
79.0ms3388×pre80true
44.0msbody5120valid
26.0ms246×body80valid
13.0msbody2560valid
4.0msbody1280valid
2.0msbody160valid
1.0msbody320overflowed

simplify27.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune5.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.3b

Counts
2 → 1

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite84.0ms

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

series777.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
08945867
130565614
250025614

prune426.0ms

Filtered
279 candidates to 78 candidates (28.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2754279
Fresh000
Picked101
Done000
Total2764280

Merged error: 0.5b

Counts
280 → 4

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.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:
5.0ms
(* 0.5 (* s c_n))
5.0ms
(* 0.5 (* s c_p))

series46.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(* 0.5 (* s c_n))
20.0ms
(* 0.5 (* s c_p))

simplify62.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune65.0ms

Filtered
42 candidates to 22 candidates (52.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New42042
Fresh033
Picked011
Done000
Total42446

Merged error: 0.5b

Counts
46 → 4

localize28.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ 1.0 (exp (- t))))
0.2b
(* c_p (+ (log 0.5) (* 0.5 t)))
0.2b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
1.2b
(/ (* (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)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
170×add-exp-log
88×prod-exp
65×div-exp
53×pow-exp
41×pow-to-exp
25×*-un-lft-identity
22×add-sqr-sqrt
20×add-cbrt-cube
15×add-cube-cbrt
14×times-frac
pow1 add-log-exp
cbrt-undiv associate-/r* cbrt-unprod
associate-/r/ distribute-lft-out associate-/l*
flip3-+ associate-*r* associate-*l* flip-+
frac-2neg associate-*r/ associate-*l/ clear-num div-inv difference-of-squares
distribute-rgt-in sub-neg flip3-- distribute-lft-in diff-log pow-prod-down *-commutative flip-- distribute-lft-out-- unswap-sqr
Counts
4 → 141
Calls
4 calls:
6.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
8.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
9.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
37.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)))

series1.0s

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
123.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
56.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
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)))

simplify118.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
08702744
139862483
250022483

prune457.0ms

Filtered
153 candidates to 73 candidates (47.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1521153
Fresh022
Picked011
Done011
Total1525157

Merged error: 0.5b

Counts
157 → 5

localize32.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.020833333333333336 (pow t 3))
0.2b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
0.7b
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
3.4b
(/ (* (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 (- (+ (* 0.25 t) 0.5) (* 0.020833333333333336 (pow t 3)))) c_n)))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
558×add-exp-log
315×prod-exp
263×pow-exp
248×div-exp
184×pow-to-exp
29×add-sqr-sqrt
25×*-un-lft-identity
22×unpow-prod-down
18×add-cbrt-cube
17×add-cube-cbrt
14×times-frac
12×associate-*r*
add-log-exp
pow1 cbrt-unprod
cbrt-undiv cube-prod unswap-sqr
pow-unpow associate-*l* distribute-lft-out sqr-pow
associate-/r/ div-inv difference-of-squares
cube-mult sub-neg flip3-- pow-pow frac-2neg flip3-+ diff-log unpow3 clear-num associate-/r* *-commutative flip-- flip-+ associate-/l* distribute-lft-out--
Counts
4 → 265
Calls
4 calls:
6.0ms
(* 0.020833333333333336 (pow t 3))
10.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
9.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
41.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 (- (+ (* 0.25 t) 0.5) (* 0.020833333333333336 (pow t 3)))) c_n)))

series879.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* 0.020833333333333336 (pow t 3))
56.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
71.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
707.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 (- (+ (* 0.25 t) 0.5) (* 0.020833333333333336 (pow t 3)))) c_n)))

simplify125.0ms

Algorithm
egg-herbie
Counts
277 → 277
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
09645917
134065663
250025663

prune500.0ms

Filtered
277 candidates to 74 candidates (26.7%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2770277
Fresh022
Picked011
Done022
Total2775282

Merged error: 0.5b

Counts
282 → 5

regimes650.0ms

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07259
17259

end0.0ms

sample21.5s

Algorithm
intervals
Results
14.7s2226×body5120exit
4.6s29019×body80overflowed
737.0ms33672×pre80true
241.0ms2337×body80valid
64.0msbody5120valid
28.0ms14×body1280valid
19.0msbody2560valid
12.0ms12×body640valid
9.0ms30×body160valid
7.0ms14×body320valid
3.0msbody320overflowed
2.0msbody640overflowed
2.0msbody160overflowed

Profiling

Loading profile data...