Details

Time bar (total: 30.1s)

sample2.4s

Algorithm
intervals
Results
1.6s234×body5120exit
496.0ms2896×body80overflowed
76.0ms3388×pre80true
43.0msbody5120valid
27.0ms246×body80valid
12.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

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

Counts
2 → 1

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

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
555×add-exp-log
312×prod-exp
262×pow-exp
249×div-exp
183×pow-to-exp
99×*-un-lft-identity
70×add-sqr-sqrt
65×add-cube-cbrt
62×times-frac
54×prod-diff
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 → 332
Calls
4 calls:
6.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
12.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
7.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
44.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)))

series755.0ms

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

simplify327.0ms

Algorithm
egg-herbie
Counts
344 → 344
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
012568043
144866999
250016999

prune540.0ms

Filtered
344 candidates to 105 candidates (30.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New3404344
Fresh000
Picked101
Done000
Total3414345

Merged error: 0.5b

Counts
345 → 4

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
expm1-log1p-u associate-*r* *-commutative log1p-expm1-u add-log-exp
Counts
1 → 20
Calls
1 calls:
5.0ms
(* 0.5 (* s c_n))

series22.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
23 → 23
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
08877
132062
2123462
3343862
4500262

prune45.0ms

Filtered
23 candidates to 13 candidates (56.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New23023
Fresh033
Picked011
Done000
Total23427

Merged error: 0.5b

Counts
27 → 4

localize32.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.2b
(fma 0.5 (* t c_p) 1)
1.2b
(/ (* (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)))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
168×add-exp-log
87×prod-exp
84×*-un-lft-identity
65×div-exp
61×add-sqr-sqrt
56×add-cube-cbrt
54×prod-diff
53×pow-exp
50×times-frac
41×pow-to-exp
18×add-cbrt-cube
13×distribute-lft-out
associate-/r/
add-log-exp
cbrt-undiv associate-/r* div-inv
pow1 expm1-log1p-u flip3-+ cbrt-unprod flip-+ log1p-expm1-u associate-/l*
fma-neg
frac-2neg clear-num difference-of-squares
sub-neg flip3-- diff-log flip-- fma-udef distribute-lft-out--
Counts
4 → 190
Calls
4 calls:
6.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
12.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
1.0ms
(fma 0.5 (* t c_p) 1)
34.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)))

series860.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
51.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
34.0ms
(fma 0.5 (* t c_p) 1)
748.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)))

simplify125.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
010644673
142593635
250013631

prune558.0ms

Filtered
202 candidates to 90 candidates (44.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2011202
Fresh022
Picked011
Done011
Total2015206

Merged error: 0.5b

Counts
206 → 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 (fma t 0.25 (- 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
86×*-un-lft-identity
72×add-sqr-sqrt
60×add-cube-cbrt
54×prod-diff
50×times-frac
22×unpow-prod-down
18×add-cbrt-cube
12×associate-*r* distribute-lft-out
associate-/r/
add-log-exp
pow1 cbrt-unprod div-inv
cbrt-undiv expm1-log1p-u flip3-+ cube-prod flip-+ log1p-expm1-u unswap-sqr
pow-unpow fma-neg associate-*l* sqr-pow
difference-of-squares
cube-mult sub-neg flip3-- pow-pow frac-2neg diff-log unpow3 clear-num associate-/r* *-commutative flip-- associate-/l* distribute-lft-out--
Counts
4 → 330
Calls
4 calls:
7.0ms
(* 0.020833333333333336 (pow t 3))
14.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
8.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
36.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 (fma t 0.25 (- 0.5 (* 0.020833333333333336 (pow t 3))))) c_n)))

series824.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* 0.020833333333333336 (pow t 3))
52.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
72.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
666.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 (fma t 0.25 (- 0.5 (* 0.020833333333333336 (pow t 3))))) c_n)))

simplify163.0ms

Algorithm
egg-herbie
Counts
342 → 342
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
013207898
148346860
250016860

prune679.0ms

Filtered
342 candidates to 101 candidates (29.5%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New3420342
Fresh022
Picked011
Done022
Total3425347

Merged error: 0.5b

Counts
347 → 5

regimes638.0ms

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06256
16256

end0.0ms

sample21.7s

Algorithm
intervals
Results
14.8s2226×body5120exit
4.8s29019×body80overflowed
739.0ms33672×pre80true
254.0ms2337×body80valid
64.0msbody5120valid
30.0ms14×body1280valid
19.0msbody2560valid
13.0ms12×body640valid
10.0ms30×body160valid
7.0ms14×body320valid
4.0msbody320overflowed
2.0msbody640overflowed
2.0msbody160overflowed

Profiling

Loading profile data...