Details

Time bar (total: 4.8m)

sample38.5s

Algorithm
intervals
Results
38.2s2836×body10240exit
146.0ms3092×pre80true
39.0ms253×body80valid
2.0msbody1280valid
1.0msbody160valid

simplify24.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05325
114725
285025
3500125

prune14.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.5b

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)
0.5b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
1.2b
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
2.7b
(/ (* (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)))

rewrite163.0ms

Algorithm
rewrite-expression-head
Rules
557×add-exp-log
312×prod-exp
265×pow-exp
249×div-exp
185×pow-to-exp
42×unpow-prod-down
38×*-un-lft-identity
29×add-sqr-sqrt
26×times-frac
24×add-cube-cbrt
16×add-cbrt-cube
pow-unpow
pow1
distribute-lft-out
cbrt-undiv associate-/r/ cbrt-unprod add-log-exp
pow-pow div-inv sqr-pow
flip3-+ flip-+ difference-of-squares
frac-2neg clear-num associate-/r* associate-/l* distribute-lft-out--
Counts
4 → 272
Calls
4 calls:
34.0ms
(pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)
10.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
10.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
92.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)))

series259.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)
15.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
17.0ms
(pow (/ 1.0 (+ 1.0 (exp (- t)))) c_p)
207.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)))

simplify103.0ms

Algorithm
egg-herbie
Counts
284 → 284
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
09805999
132415759
250015759

prune1.5s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

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

series7.0ms

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

prune204.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)
0.3b
(* c_p (+ (log 0.5) (* 0.5 t)))
0.5b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
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)))

rewrite142.0ms

Algorithm
rewrite-expression-head
Rules
172×add-exp-log
88×prod-exp
65×div-exp
56×pow-exp
43×pow-to-exp
25×*-un-lft-identity
24×add-sqr-sqrt unpow-prod-down
18×add-cbrt-cube
17×add-cube-cbrt
14×times-frac
pow1
pow-unpow
cbrt-unprod
cbrt-undiv associate-/r/ add-log-exp
flip3-+ associate-*r* associate-*l* flip-+ distribute-lft-out
pow-pow associate-*r/ associate-*l/ div-inv difference-of-squares sqr-pow
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num associate-/r* *-commutative associate-/l* distribute-lft-out-- unswap-sqr
Counts
4 → 146
Calls
4 calls:
32.0ms
(pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)
10.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
10.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
84.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)))

series283.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(pow (- 1.0 (/ 1.0 (+ 1.0 (exp (- t))))) c_n)
9.0ms
(* c_p (+ (log 0.5) (* 0.5 t)))
16.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
239.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)))

simplify107.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09292874
142082627
250022627

prune1.5s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize35.0ms

Local error

Found 4 expressions with local error:

0.5b
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
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.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.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)))

rewrite281.0ms

Algorithm
rewrite-expression-head
Rules
493×add-exp-log
261×prod-exp
193×div-exp
161×pow-exp
124×pow-to-exp
40×add-cbrt-cube
19×*-un-lft-identity
18×unpow-prod-down
15×times-frac
13×add-sqr-sqrt add-cube-cbrt
12×cbrt-undiv cbrt-unprod
associate-/r/
associate-*l/
pow1
flip3-+ flip-+ div-inv add-log-exp
pow-unpow frac-2neg clear-num associate-/r* distribute-lft-out associate-/l*
pow-pow sqr-pow
Counts
4 → 246
Calls
4 calls:
12.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
84.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)))
85.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)))
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)))

series729.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(pow (/ 1.0 (+ 1.0 (exp (- s)))) c_p)
237.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)))
236.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)))
240.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
258 → 258
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
07466884
134076210
250026210

prune2.3s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.1b

regimes943.0ms

bsearch3.8s

Steps
ItersRangePoint
6
-3.444845483985724e-119
-2.422812615369833e-120
-2.469112325337647e-120

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05686
15686

end0.0ms

sample4.0m

Algorithm
intervals
Results
4.0m18376×body10240exit
867.0ms19848×pre80true
215.0ms1429×body80valid
19.0ms10×body1280valid
11.0ms12×body640valid
10.0msbody2560valid
5.0ms13×body160valid
3.0msbody320valid