Details

Time bar (total: 1.8m)

sample14.9s

Algorithm
intervals
Results
14.1s1586×body10240exit
394.0ms1735×body80overflowed
102.0ms3577×pre80true
51.0ms247×body80valid
9.0msbody5120valid
7.0msbody1280valid
2.0msbody640valid
1.0msbody160valid
1.0msbody320valid

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

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (+ 1.0 (exp (- t))))
1.5b
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
1.7b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) 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)))

rewrite144.0ms

Algorithm
rewrite-expression-head
Rules
558×add-exp-log
312×prod-exp
264×pow-exp
250×div-exp
184×pow-to-exp
51×*-un-lft-identity
37×times-frac
36×unpow-prod-down
31×add-sqr-sqrt add-cube-cbrt
18×add-cbrt-cube
10×distribute-lft-out
pow1 pow-unpow associate-/r/
cbrt-undiv associate-/r*
cbrt-unprod div-inv associate-/l* add-log-exp
flip3-+ flip-+
pow-pow frac-2neg clear-num sqr-pow
Counts
4 → 285
Calls
4 calls:
8.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
10.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
11.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
95.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)))

series743.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
297 → 297
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
09666045
132515797
250035797

prune504.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.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))

series38.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(* 0.5 (* s c_n))
20.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

prune76.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.6b

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite122.0ms

Algorithm
rewrite-expression-head
Rules
173×add-exp-log
88×prod-exp
66×div-exp
55×pow-exp
42×pow-to-exp
38×*-un-lft-identity
26×add-sqr-sqrt
25×times-frac
24×add-cube-cbrt
20×add-cbrt-cube
18×unpow-prod-down
pow1 distribute-lft-out
associate-/r/
cbrt-undiv associate-/r* cbrt-unprod
flip3-+ flip-+ associate-/l* add-log-exp
pow-unpow associate-*r* associate-*l* div-inv
frac-2neg associate-*r/ associate-*l/ clear-num
distribute-rgt-in pow-pow distribute-lft-in pow-prod-down *-commutative unswap-sqr sqr-pow
Counts
4 → 159
Calls
4 calls:
8.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
8.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
88.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)))
11.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)

series888.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(/ 1.0 (+ 1.0 (exp (- t))))
98.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
695.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)))
70.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)

simplify107.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09652920
143532665
250012665

prune517.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.6b

localize31.0ms

Local error

Found 4 expressions with local error:

0.2b
(* c_p (+ (log 0.5) (* 0.5 t)))
0.3b
(cbrt (pow (/ (* (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))) 3))
1.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)))
1.7b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)

rewrite122.0ms

Algorithm
rewrite-expression-head
Rules
171×add-exp-log
88×prod-exp
65×div-exp
55×pow-exp
42×pow-to-exp
25×unpow-prod-down
24×*-un-lft-identity
20×cbrt-prod add-sqr-sqrt
18×add-cube-cbrt add-cbrt-cube
15×times-frac
associate-/r/
pow1 cube-prod
associate-*l/
flip3-+ cbrt-unprod flip-+
cbrt-undiv div-inv add-log-exp
pow-unpow associate-*r* associate-*l* distribute-lft-out
associate-*r/ sqr-pow
cube-div distribute-rgt-in cube-mult cbrt-div pow-pow frac-2neg distribute-lft-in pow1/3 unpow3 pow-prod-down clear-num associate-/r* *-commutative rem-cbrt-cube associate-/l* unswap-sqr
Counts
4 → 156
Calls
4 calls:
8.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
8.0ms
(cbrt (pow (/ (* (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))) 3))
88.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)))
11.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)

series1.6s

Counts
4 → 12
Calls
4 calls:
98.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
705.0ms
(cbrt (pow (/ (* (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))) 3))
696.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)))
69.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)

simplify126.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
09813781
148213695
250013695

prune508.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.6b

regimes216.0ms

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06689
16689

end0.0ms

sample1.5m

Algorithm
intervals
Results
1.4m9620×body10240exit
2.3s10552×body80overflowed
550.0ms21746×pre80true
306.0ms1518×body80valid
31.0ms13×body1280valid
23.0msbody5120valid
13.0ms12×body640valid
10.0ms22×body160valid
9.0msbody2560valid
2.0msbody320valid