Details

Time bar (total: 7.3m)

sample48.2s

Algorithm
intervals
Results
47.8s3808×body10240exit
91.0ms4064×pre80true
24.0ms247×body80valid
6.0msbody1280valid
1.0msbody320valid
1.0msbody640valid
1.0msbody160valid

simplify24.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
0.7b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
1.9b
(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)))

rewrite151.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:
18.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
10.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
10.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
94.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)))

series912.0ms

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

IterNodesCost
09765948
131425704
250015704

prune430.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 1.6b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.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))
6.0ms
(* 0.5 (* s c_p))

series36.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune73.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 1.6b

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (* 0.5 (* s c_n))) (cbrt (* 0.5 (* s c_n))))
24.8b
(cbrt (* 0.5 (* s c_n)))
24.8b
(cbrt (* 0.5 (* s c_n)))
24.8b
(cbrt (* 0.5 (* s c_n)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1
10×add-sqr-sqrt
pow1/3
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 58
Calls
4 calls:
7.0ms
(* (cbrt (* 0.5 (* s c_n))) (cbrt (* 0.5 (* s c_n))))
4.0ms
(cbrt (* 0.5 (* s c_n)))
4.0ms
(cbrt (* 0.5 (* s c_n)))
4.0ms
(cbrt (* 0.5 (* s c_n)))

series383.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(* (cbrt (* 0.5 (* s c_n))) (cbrt (* 0.5 (* s c_n))))
86.0ms
(cbrt (* 0.5 (* s c_n)))
85.0ms
(cbrt (* 0.5 (* s c_n)))
89.0ms
(cbrt (* 0.5 (* s c_n)))

simplify93.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
0205441
1703390
23412330
35001323

prune210.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 1.6b

localize26.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)
0.3b
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
0.7b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
2.5b
(/ (* (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)))

rewrite154.0ms

Algorithm
rewrite-expression-head
Rules
170×add-exp-log
87×prod-exp
65×div-exp
56×pow-exp
43×pow-to-exp
25×add-sqr-sqrt *-un-lft-identity
24×unpow-prod-down
16×add-cbrt-cube
15×add-cube-cbrt times-frac
pow1 pow-unpow add-log-exp
cbrt-undiv associate-/r/ cbrt-unprod difference-of-squares
distribute-lft-out
pow-pow flip3-+ associate-*l/ flip-+ div-inv distribute-lft-out-- sqr-pow
sub-neg flip3-- frac-2neg diff-log clear-num associate-/r* flip-- associate-/l*
Counts
4 → 139
Calls
4 calls:
33.0ms
(pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)
18.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
10.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
86.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)))

series878.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- s))))) c_n)
46.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
67.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
682.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)))

simplify103.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
08782899
139992646
250022646

prune422.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 1.4b

regimes364.0ms

bsearch3.9s

Steps
ItersRangePoint
6
-3.4158361945667567e-79
-5.1113148475473346e-80
-6.3436807628579684e-80

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05841
15841

end0.0ms

sample6.4m

Algorithm
intervals
Results
6.3m31417×body10240exit
627.0ms33809×pre80true
196.0ms2320×body80valid
36.0msbody5120valid
34.0ms20×body1280valid
11.0ms13×body640valid
7.0msbody2560valid
6.0ms26×body160valid
2.0msbody320valid