Details

Time bar (total: 1.8m)

sample41.8s

Algorithm
intervals
Results
41.6s3148×body10240exit
59.0ms3404×pre80true
30.0ms252×body80valid
1.0msbody640valid
1.0msbody160valid
1.0msbody320valid

simplify24.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.0b

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite254.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:
30.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
19.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
20.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
167.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)))

series718.0ms

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

IterNodesCost
09765948
131425704
250015704

prune869.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.7b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite35.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:
15.0ms
(* 0.5 (* s c_n))
19.0ms
(* 0.5 (* s c_p))

series34.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0153142
1595112
22373112
35002112

prune93.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.7b

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite234.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:
30.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
19.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
20.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
159.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)))

series865.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
90.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
66.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
663.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)))

simplify101.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
09222823
140792572
250012572

prune777.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.7b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite216.0ms

Algorithm
rewrite-expression-head
Rules
56×add-exp-log
26×prod-exp
20×add-cbrt-cube
17×add-sqr-sqrt
16×div-exp
10×*-un-lft-identity
pow1 pow-to-exp add-cube-cbrt pow-exp
associate-*r* associate-*l* cbrt-unprod add-log-exp
cbrt-undiv flip3-+ associate-*r/ associate-*l/ flip-+
distribute-rgt-in distribute-lft-in times-frac pow-prod-down associate-/r/ *-commutative associate-/l/ difference-of-squares unswap-sqr
sub-neg flip3-- frac-2neg diff-log clear-num associate-/r* flip-- div-inv associate-/l* distribute-lft-out--
Counts
4 → 96
Calls
4 calls:
30.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
18.0ms
(* c_p (+ (log 0.5) (* 0.5 s)))
19.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
145.0ms
(/ (* (+ 1 (* c_p (+ (log 0.5) (* 0.5 s)))) (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)))

series816.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(- 1.0 (/ 1.0 (+ 1.0 (exp (- s)))))
90.0ms
(* c_p (+ (log 0.5) (* 0.5 s)))
94.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
589.0ms
(/ (* (+ 1 (* c_p (+ (log 0.5) (* 0.5 s)))) (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)))

simplify98.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
08301759
138401486
250011486

prune625.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.7b

regimes226.0ms

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05251
15251

end0.0ms

sample1.0m

Algorithm
intervals
Results
1.0m4636×body10240exit
81.0ms5011×pre80true
44.0ms369×body80valid
2.0msbody2560valid
2.0msbody1280valid
1.0msbody640valid
1.0msbody160valid
1.0msbody320valid